feat(main): Add alert type; add template override support
This commit is contained in:
@@ -18,21 +18,27 @@ td.action-type .btn-group-action {
|
||||
max-width: unset !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
form[name="custom_html_block"] .card-body {
|
||||
form[name="custom_html_block"] .card-body,
|
||||
form[name="custom_html_group"] .card-body {
|
||||
padding: 25px 50px !important;
|
||||
}
|
||||
form[name="custom_html_block"] .card-header,
|
||||
form[name="custom_html_block"] .card-footer {
|
||||
form[name="custom_html_block"] .card-footer,
|
||||
form[name="custom_html_group"] .card-header,
|
||||
form[name="custom_html_group"] .card-footer {
|
||||
padding: 20px 50px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1500px) {
|
||||
form[name="custom_html_block"] .card-body {
|
||||
form[name="custom_html_block"] .card-body,
|
||||
form[name="custom_html_group"] .card-body {
|
||||
padding: 25px 300px !important;
|
||||
}
|
||||
form[name="custom_html_block"] .card-header,
|
||||
form[name="custom_html_block"] .card-footer {
|
||||
form[name="custom_html_block"] .card-footer,
|
||||
form[name="custom_html_group"] .card-header,
|
||||
form[name="custom_html_group"] .card-footer {
|
||||
padding: 20px 300px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,3 +15,25 @@
|
||||
.customhtml-banner-extra-description {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.customhtml-alert {
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
transition:
|
||||
max-height 0.4s ease,
|
||||
padding 0.4s ease,
|
||||
margin 0.4s ease,
|
||||
opacity 0.4s ease;
|
||||
}
|
||||
|
||||
.customhtml-alert.customhtml-alert-collapsing {
|
||||
max-height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.customhtml-alert-title {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user