ldapmanager/test/scss/entry-form-fields/_collapsible-section.scss

27 lines
661 B
SCSS
Raw Normal View History

2024-10-29 11:14:12 +00:00
@use "../colors" as *;
@use "../vars" as *;
// Collapsible sections in the form, like "Advanced"
@mixin collapsible {
2024-10-29 18:02:45 +00:00
.collapsible-section-title {
2024-10-29 11:14:12 +00:00
display: block;
width: 100%;
color: $details-closed-summary-color;
font-weight: bold;
font-size: 18px;
cursor: pointer;
margin-bottom: 10px;
border-bottom: 2px solid $details-summary-border-color;
padding: 10px 2px;
&:hover {
color: $details-summary-hover-color;
background-color: #d4d4d4;
}
}
#collapsible-section-title-1:checked + .collapsible-section {
display: none;
}
2024-10-29 11:14:12 +00:00
}