This release adds a new "USP" (Unique Selling Proposition) block type, allowing for flexible display of image-based selling points with optional links. Additionally, administrators can now assign custom CSS classes to Custom HTML Groups, enhancing layout and styling capabilities. Includes a refinement to the FAQ accordion template to ensure questions without answers do not display a collapse button, improving usability. Updates module version to 1.13.0 with a database upgrade script for the new `custom_class` column.
82 lines
1.4 KiB
CSS
82 lines
1.4 KiB
CSS
/* Banners */
|
|
.customhtml-block img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
.customhtml-banner-content {
|
|
padding: 2rem;
|
|
bottom: 0px;
|
|
position: absolute;
|
|
}
|
|
|
|
.customhtml-banner-title {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.customhtml-banner-description,
|
|
.customhtml-banner-extra-description {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.customhtml-banner-image--gradient {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
background: transparent linear-gradient(180deg, #27272777 0%, #272727 100%)
|
|
0% 0% no-repeat padding-box;
|
|
}
|
|
/* Alert */
|
|
.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;
|
|
}
|
|
|
|
.customhtml-usp {
|
|
gap: 0.5rem;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.customhtml-usp-icon img {
|
|
max-height: 32px;
|
|
width: auto;
|
|
}
|
|
|
|
.customhtml-usp-text {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* FAQ */
|
|
.accordion-icon-minus {
|
|
display: block;
|
|
}
|
|
|
|
.accordion-icon-plus {
|
|
display: none;
|
|
}
|
|
|
|
.customhtml-faq-accordion .btn.collapsed .accordion-icon-minus {
|
|
display: none;
|
|
}
|
|
|
|
.customhtml-faq-accordion .btn.collapsed .accordion-icon-plus {
|
|
display: block;
|
|
}
|