gnu-social/public/assets/default_theme/css/pages/settings.css

52 lines
1.2 KiB
CSS
Raw Normal View History

.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;
2020-09-05 14:34:41 +09:00
}
.section-title-settings:not([open]) svg {
transform: initial;
animation: fadeIn 200ms cubic-bezier(0,0.55,0.45,1);
}