unclean SPARC

This commit is contained in:
STEINNI
2025-08-27 07:03:09 +00:00
commit f308460931
430 changed files with 54426 additions and 0 deletions
+219
View File
@@ -0,0 +1,219 @@
/**********************************************************************
.massmailer [hidden]{
display:none;
}
.massmailer .massmail-send{
justify-self: center;
}
.massmailer .panes{
grid-template-columns: 2fr 3fr;
}
.massmailer article header h1{
color: var(--eicui-base-color-primary);
}
.massmailer article header h1.mailing-name{
text-align: center;
}
.massmailer article header .template-name,
.massmailer article header h1.mailing-name span{
color: var(--eicui-body-color);
}
.massmailer .workflow[loading="true"]::before{
content: "\e981";
animation: spin 1s infinite linear;
font-family: 'glyphs';
position: absolute;
font-size: inherit;
width: min-content;
color: var(--app-color-info);
left: var(--eicui-base-spacing-xs);
top: var(--eicui-base-spacing-xs);
background: transparent;
z-index: 2;
}
.massmailer .workflow[loading="true"]::after{
content: "updating...";
position: absolute;
font-size: inherit;
width: min-content;
padding: 0 var(--eicui-base-spacing-s);
color: var(--app-color-info);
top: 0;
padding: var(--eicui-base-spacing-xs) var(--eicui-base-spacing-xs) var(--eicui-base-spacing-xs) var(--eicui-base-spacing-xl);
background: transparent;
left: 0;
}
.massmailer .workflow text.title{
font-size: var(--eicui-base-font-size-xs);
}
.massmailer .workflow text.subtitle{
font-size: calc(var(--eicui-base-font-size-xs)/1.2);
font-style: italic;
}
.massmailer .workflow .badge{
opacity: .85;
}
.massmailer .templates-grid{
height: fit-content;
min-height: 8em;
}
.massmailer span.token[eicchip]{
font-size: 0.75rem;
}
.massmailer .templates-grid li.row{
grid-template-columns: 15em 10em 4em 8em;
}
.massmailer .templates-grid .cell i.ffs{ margin-right: .5em; }
.massmailer .templates-grid .cell i.ffs.icon-folder{
color: var(--eicui-base-color-warning);
}
.massmailer .tpl-panes{
grid-template-columns: 32em 2fr;
}
.massmailer .tpl-text-body{
max-width: 50vw;
}
.massmailer .tpl-text-body pre{
text-wrap: wrap;
font-family: var(--eicui-base-font-family);
}
.massmailer .mapping-grid ul{
list-style: none;
}
.massmailer .mapping-grid ul li .cols-3{
grid-template-columns: 1fr 1fr 10em;
}
.massmailer .mapping-grid ul li [eicchip]{
max-width: fit-content;
height: 2em;
}
.massmailer button.test-send{
justify-self: right;
}
.massmailer .approval-panel button.reject,
.massmailer .approval-panel button.approve,
.massmailer .schedule-tab button.schedule {
width: 20rem;
}
.massmailer .schedule-tab footer{
justify-content: center;
}
.massmailer .approval-panel .buttons {
justify-items: center;
}
.massmailer .schedule-panel [name="scheduleDate"],
.massmailer .schedule-panel .eicui-input-container {
width:10rem;
}
.import-dialog .toggle-switch.greyed .toggle-bar,
.import-dialog .toggle-switch.greyed .toggle-thumb{
background-color: var(--eicui-base-color-grey-25)!important;
}
.import-dialog .hidden{
display: none;
}
.import-dialog .settings div{
text-align: center;
}
.import-dialog .report-title{
color: var(--eicui-base-color-success);
font-style: italic;
grid-row: 1/3;
}
.import-dialog .report-details ul{
margin: 0 0 0 1em;
list-style: disclosure-closed;
}
.import-dialog .report-details ul span[success]{
font-weight: bold;
}
.import-dialog .report.error{
color: var(--eicui-base-color-danger);
}
.import-dialog [eiccard][hidden]{
display: none;
}
.import-dialog span[spinner][spin]{
width: fit-content;
}
.import-dialog .switches{
align-items: center;
}
.import-dialog .toggle-switch.greyed .toggle-bar{
background-color: var(--eicui-base-color-grey-25)!important;
}
.import-dialog .toggle-switch.greyed .toggle-thumb{
background-color: var(--eicui-base-color-grey-75)!important;
}
.import-dialog .toggle-switch[disabled]{
opacity:0.5;
}
.mapping-dialog .toggle-switch.greyed .toggle-bar,
.mapping-dialog .toggle-switch.greyed .toggle-thumb{
background-color: var(--eicui-base-color-grey-25)!important;
}
.mapping-dialog .hidden{
display: none;
}
.mapping-dialog .settings div{
text-align: center;
}
.mapping-dialog .report-title{
color: var(--eicui-base-color-success);
font-style: italic;
grid-row: 1/3;
}
.mapping-dialog .report-details ul{
margin: 0 0 0 1em;
list-style: disclosure-closed;
}
.mapping-dialog .report-details ul span[success]{
font-weight: bold;
}
.mapping-dialog .report.error{
color: var(--eicui-base-color-danger);
}
.mapping-dialog [eiccard][hidden]{
display: none;
}
.mapping-dialog .sample-grid{
font-size: var(--eicui-base-font-size-s);
}
.mapping-dialog .sample-grid li.row{
grid-template-columns: auto 3em;
}
.test-dialog .toggle-switch.greyed .toggle-bar,
.test-dialog .toggle-switch.greyed .toggle-thumb{
background-color: var(--eicui-base-color-grey-25)!important;
}
.test-dialog .hidden{
display: none;
}
.test-dialog input.token-value{
padding: initial;
}
.test-dialog .tokens-form{
padding: 0 .5em .5em .5em;
}
.test-dialog .tokens-form li{
margin-bottom: 0.2em;
}
*/
+386
View File
@@ -0,0 +1,386 @@
.templitor > header,
.templitorManage > header {
background: url('/app/assets/images/cards/templitorHeader.png') center/cover no-repeat;
border-bottom: 4px solid white !important;
}
.templates-tab, .cols-2 {
display: flex;
}
.templitor .templates {
width: 60vw;
}
.create-new-tpl {
float: right;
top: -2em;
}
.tplViewer {
flex: 1;
position: relative;
width: 20vw;
max-width: 20vw;
max-width: 30%;
max-height: 61vh;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: none;
}
.tplViewer .tpl-html {
max-width: 22vw;
}
.tplViewer .img {
max-width: 100%;
height: auto;
}
.tpl-html {
border: 1px solid #ccc;
padding: 10px;
border-radius: 5px;
position: inherit;
overflow: auto;
}
.tpl-html img {
max-width: 100%;
height: auto;
}
.tpl-html table {
table-layout: auto;
}
.tpl-html p,
.tpl-html span.token,
.tpl-html footer span,
.tpl-html table {
font-size: 0.8em;
}
.templatesList[templatesList] {
max-height: calc(95vh - 40vh);
overflow-y: auto;
display: grid;
grid-template-columns: repeat(6, 1fr);
}
.templatesList .grid-header,
.templatesList .grid-row {
display: grid;
grid-template-columns: repeat(6, 1fr);
padding: 10px;
border-bottom: 1px solid #ddd;
}
.templatesList .grid-header {
background-color: #f5f5f5;
font-weight: bold;
}
.tplMeta,
.tplTools{
border: unset!important;
box-shadow: none!important;
}
.tpl-editor,
.tpl-editor-container{
background-color: #a0a0a0;
}
.template-item {
background: #f9f9f9;
border: 2px solid var(--eicui-app-body-bg-color) !important;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
font-size: 0.75em;
position: relative;
margin: 0.4em !important;
}
.template-item h1, .template-item h2, .template-item h3 {
font-size: 1.5em;
margin: 0.5em;
}
.template-item p {
font-size: 1.2em;
margin: 0.5em;
line-height: 0;
}
.template-item:hover {
transform: scale(1.02);
background-color: #FFFAE9 !important;
}
.templatesList .template-item.selected {
background-color: #FFFAE9 !important;
font-weight: 600;
font-style: italic;
}
.tplEditor {
margin-top: 20px;
border: 1px solid #a0a0a0;
padding: 10px;
}
.tplEditor textarea {
display: block !important;
width: 100%;
height: 100px;
font-size: 14px;
}
.tplEditor h6 {
margin: 0!important;
padding:0;
}
.save-html, .tool-button {
display: inline-block;
margin-top: 10px;
padding: 10px;
border: 1px solid #ccc;
cursor: grab;
}
.templateEditor {
min-width: 30em;
}
.tplViewer section > header,
.tplPreview section > header {
display: flex;
justify-content: space-between;
align-items: center;
}
.tplViewer section > header h1,
.tplPreview section > header h1 {
margin: 0;
}
.tplViewer section > header button,
.tplPreview section > header button {
margin-left: 10px;
padding: 5px !important;
}
.tpl-header-editor, .tpl-main-editor, .tpl-footer-editor, .tpl-alternateText-editor {
border: 1px solid #a0a0a0;
padding: 10px;
position: relative;
margin-bottom: 10px;
min-height: 5em;
}
.tpl-header-editor::before, .tpl-main-editor::before, .tpl-footer-editor::before {
content: attr(data-label);
position: absolute;
top: -10px;
left: 10px;
background: white;
padding: 0 5px;
font-weight: bold;
}
.tpl-html > footer {
position: inherit;
}
.paragraph-placeholder {
border: 1px dashed #ccc;
padding: 5px;
margin: 5px 0;
}
.line-break {
display: block;
margin: 10px 0;
border-top: 1px solid #ccc;
}
#colorWell {
position: absolute;
display: none;
background: white;
padding: 5px;
border: 1px solid #ccc;
z-index: 1000;
}
.radioB {
display: flex;
align-items: center;
gap: 10px;
}
.tpl-em{
font-size: small;
}
.tplName {
flex-grow: 0.7;
min-width: 50%;
margin-bottom: 0;
}
.tplSubject input,
.tplName input{
width: 60ch;
}
input[type="radio"] {
margin-right: 5px;
}
.tpl-alternateText-editor {
user-select: none;
}
.tpl-toolButtons {
position: sticky;
top: 0;
background-color: white;
z-index: 1000;
}
.tpl-sendMailTest {
margin-left: auto !important;
}
.resizable {
display: inline-block;
position: relative;
border: 1px solid transparent;
}
.resizable img {
max-width: 100%;
height: auto;
}
.resize-handle {
width: 10px;
height: 10px;
background-color: #fff;
position: absolute;
bottom: 0;
right: 0;
cursor: se-resize;
}
.resize-handle::after {
content: "↔";
font-size: 16px;
}
@media (max-width: 768px) {
.templatesList[templatesList] {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.templatesList[templatesList] {
grid-template-columns: 1fr;
}
}
/* Styles for lists */
.tpl-bullet-list,
.tpl-dash-list,
.tpl-numbered-list {
margin-left: 20px!important;
}
/* Styles for bullet lists */
.tpl-bullet-list {
list-style-type: disc;
}
/* Styles for dashed lists */
.tpl-dash-list {
list-style-type: none;
}
.tpl-dash-list li::before {
content: "-"; /* Add a dash before each list item */
margin-right: 10px;
}
/* Styles for numbered lists */
.tpl-numbered-list {
list-style-type: decimal; /* Default numbered list */
}
/* Optional: Customize the appearance of list items */
.tpl-bullet-list li,
.tpl-dash-list li,
.tpl-numbered-list li {
padding: 5px 0;
}
/*Add Table */
.tpl-table {
width: 100%;
border-collapse: collapse;
resize: both;
overflow: hidden;
}
.tpl-table-bordered {
border: 1px solid #ccc;
}
.tpl-table th, .tpl-table td {
border: 1px solid #ccc;
padding: 10px;
text-align: left;
}
.tpl-table-bordered th, .tpl-table-bordered td {
border: 1px solid #ccc;
}
.tpl-table th {
background-color: #f2f2f2;
}
.tpl-table-bordered {
border: 1px solid #ccc;
}
.tpl-table th {
background-color: #f4f4f4;
}
.tpl-table td, .tpl-table th {
resize: both;
}
/*HTMLPreview */
.he-img-select-container {
display: none;
position: fixed;
z-index: 1000;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
}
.tplViewer.not-editable::after {
content: 'Not Editable';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
font-size: 5rem;
color: rgba(200, 0, 0, 0.1); /* Transparent red */
z-index: 10;
pointer-events: none;
white-space: nowrap;
}