UPD: Minor CMS updates

This commit is contained in:
Tony Air 2022-02-23 15:44:42 +02:00
parent 11dbcee5a2
commit 914ef2a8e1

View File

@ -3,103 +3,129 @@
#Menu-Dynamic-Elements-Sponsors-Admin-SponsorsAdmin, #Menu-Dynamic-Elements-Sponsors-Admin-SponsorsAdmin,
#Menu-Dynamic-Elements-Admin-TestimonialsAdmin, #Menu-Dynamic-Elements-Admin-TestimonialsAdmin,
#Menu-Dynamic-Elements-Promos-Admin-PromosAdmin { #Menu-Dynamic-Elements-Promos-Admin-PromosAdmin {
display: none; display: none;
}
// Fix form actions
#Form_ItemEditForm_MajorActions_Holder {
margin-bottom: 0;
padding-bottom: 0;
border: 0;
.btn {
white-space: nowrap;
}
}
#Form_ItemEditForm_RightGroup_Holder {
margin-bottom: 0;
padding-bottom: 0;
}
#Form_ItemEditForm_RightGroup {
display: flex;
margin-bottom: 0;
padding-bottom: 0;
border: 0;
align-items: center;
justify-content: center;
} }
// make edit icon always shown // make edit icon always shown
.grid-field__icon-action { .grid-field__icon-action {
&.edit-link { &.edit-link {
opacity: 1; opacity: 1;
} }
} }
// better items aligment // better items aligment
.grid-field__col-compact { .grid-field__col-compact {
vertical-align: bottom;
} }
.grid-field__table .form-check-input.editable-column-field {
margin: 0!important;
}
// correct primary buttons coloring // correct primary buttons coloring
.toolbar--south { .toolbar--south {
.btn-primary { .btn-primary {
color: #fff; color: #fff;
} }
.btn-outline-primary { .btn-outline-primary {
color: #999; color: #999;
} }
} }
#ActionMenus_MoreOptions { #ActionMenus_MoreOptions {
.btn-primary { .btn-primary {
color: #5589a7; color: #5589a7;
} }
} }
// correct scrolls // correct scrolls
body.cms { body.cms {
flex-direction: column; overflow-x: hidden;
overflow-x: hidden; flex-direction: column;
} }
// short fields margins/paddings // short fields margins/paddings
.fields-compact { .fields-compact {
.form-group { .form-group {
margin-bottom: 0.25rem; margin-bottom: .25rem;
padding-bottom: 0.5rem; padding-bottom: .5rem;
.form__field-label { .form__field-label {
font-weight: bold; font-weight: bold;
}
&:after {
margin-bottom: .25rem;
}
} }
&:after { .form-group:after,
margin-bottom: 0.25rem; .form__divider:after {
display: none;
}
/*.mce-edit-area {
height: 5em;
iframe {
height: 5em !important;
} }
} }
.form-control.textarea {
.form-group:after, height: 13.5em;
.form__divider:after { }*/
display: none;
}
/*.mce-edit-area {
height: 5em;
iframe {
height: 5em !important;
}
}
.form-control.textarea {
height: 13.5em;
}*/
} }
.fields-row { .fields-row {
margin: 0 !important; width: 100%;
padding: 0 0 2em !important;
width: 100%;
.form__fieldgroup {
display: flex;
flex: 0 0 100% !important;
flex-wrap: wrap;
margin: 0 !important; margin: 0 !important;
max-width: 100% !important; padding: 0 0 2em !important;
padding: 0 !important;
width: 100% !important;
> .form-group { .form__fieldgroup {
flex: 1 1 50%; flex: 0 0 100% !important;
margin: 0 !important; display: flex;
max-width: 50%; width: 100% !important;
padding: 0 1rem; max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
flex-wrap: wrap;
> .form-group {
flex: 1 1 50%;
max-width: 50%;
margin: 0 !important;
padding: 0 1rem;
}
} }
}
} }
// notifications rendering // notifications rendering
.notifications-list { .notifications-list {
.alert { .alert {
.btn-close { .btn-close {
display: none; display: none;
}
} }
}
} }