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

103 lines
1.9 KiB
CSS

.section-settings {
margin-bottom: .6rem;
border-radius: .6rem;
padding: .6rem;
box-sizing: border-box;
}
.section-settings hr {
margin-top: .6rem;
margin-bottom: .6rem;
}
.section-settings,.section-settings ul {
border: 2px solid var(--border) !important;
background-color: var(--background-card) !important;
}
.section-settings ul {
border-radius: .6rem;
padding: .6rem;
box-sizing: border-box;
}
.section-settings ul li {
border-radius: .6rem;
}
.form {
display: flex;
border-radius: .6rem;
padding: .6rem;
box-sizing: border-box;
}
.form form {
width: 100%;
}
.form #save {
display: flex;
flex-direction: column;
padding: .6rem;
box-sizing: border-box;
}
.form #save div {
display: contents;
}
.form #save div label {
display: inline-block;
font-family: 'Poppins',sans-serif;
}
.form #save div input,.form #save div textarea {
display: inline-block;
position: relative;
border-radius: .6rem;
padding: .6rem;
box-sizing: border-box;
}
.form #save div textarea {
resize: vertical;
}
.form #save div p {
font-style: italic;
}
.form #save div:last-of-type {
text-align: end;
}
.section-title-settings section {
margin-top: .6rem;
}
.section-title-settings summary {
padding: .6rem 1rem;
}
.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);
}