2022-12-10 12:14:48 +03:00
|
|
|
#settings-container h2 {
|
2022-12-21 15:00:45 +03:00
|
|
|
font-size: 0.9em;
|
2022-12-10 12:14:48 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
}
|
2022-12-10 15:48:48 +03:00
|
|
|
#settings-container h2 ~ h2 {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
#settings-container ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
#settings-container ul li {
|
|
|
|
padding: 8px 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
#settings-container ul li .current {
|
|
|
|
margin-right: 8px;
|
|
|
|
color: var(--green-color);
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
#settings-container ul li .current.is-current {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#settings-container ul li .current.is-current + .avatar {
|
2022-12-30 15:39:27 +03:00
|
|
|
box-shadow: 0 0 0 1.5px var(--green-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
#settings-container ul li > div {
|
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
#settings-container ul li > div.actions {
|
|
|
|
flex-basis: min-content;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
#settings-container ul li > div:last-child {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
#settings-container div,
|
2022-12-21 15:00:45 +03:00
|
|
|
#settings-container div > * {
|
2022-12-10 12:14:48 +03:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#settings-container .avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#settings-container .radio-group {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 999px;
|
|
|
|
border: 1px solid var(--button-bg-color);
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 1px;
|
|
|
|
}
|
2022-12-21 15:00:45 +03:00
|
|
|
#settings-container .radio-group input[type='radio'] {
|
2022-12-10 12:14:48 +03:00
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
#settings-container .radio-group label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 12px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#settings-container .radio-group label input:checked + span {
|
|
|
|
color: var(--link-color);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
#settings-container .radio-group label:is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--button-bg-color);
|
|
|
|
}
|
|
|
|
#settings-container .radio-group label:has(input:checked) {
|
|
|
|
border-radius: 999px;
|
|
|
|
color: var(--button-text-color);
|
|
|
|
background-color: var(--button-bg-color);
|
|
|
|
}
|
|
|
|
#settings-container .radio-group label:has(input:checked) input:checked + span {
|
|
|
|
color: inherit;
|
2022-12-21 15:00:45 +03:00
|
|
|
}
|