gnu-social/public/assets/default_theme/css/pages/settings.css
Eliseu Amaro e7ee558f4a
[TWIG] Fix empty accessibility menu anchor, accesskey anchors placement
[CSS] Dark theme hover/focus border, settings page form visibility
2021-12-01 20:29:11 +00:00

52 lines
1.2 KiB
CSS

.section-settings {
border: 2px solid var(--border);
box-shadow: var(--shadow);
}
.section-settings,
.section-title-settings {
background: var(--background-card);
margin-bottom: .6rem;
border-radius: .6rem;
padding: .6rem;
box-sizing: border-box;
}
.section-title-settings[open] {
border-left: 2px solid var(--accent);
}
.section-title-settings[open] > summary:first-child {
margin-bottom: var(--smaller);
}
.section-title-settings summary + form {
padding-left: var(--smaller);
}
.section-settings hr {
margin-top: .6rem;
margin-bottom: .6rem;
}
.section-title-settings summary h3:first-letter ,.section-title-settings summary em:first-letter {
text-transform: uppercase;
}
.section-title-settings summary:focus .icon-details-open,.section-title-settings summary:hover .icon-details-open {
transition: all 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-title-settings[open] svg {
transform: rotate(180deg);
animation: fadeOut 200ms cubic-bezier(0,0.55,0.45,1);
}
.section-title-settings[open] .set-nav li:last-of-type {
margin-bottom: 0;
}
.section-title-settings:not([open]) svg {
transform: initial;
animation: fadeIn 200ms cubic-bezier(0,0.55,0.45,1);
}