mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
205 lines
3.3 KiB
CSS
205 lines
3.3 KiB
CSS
/* SPDX-License-Identifier: AGPL-3.0-or-later */
|
|
|
|
.menuItem {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
text-align: left;
|
|
transition: none;
|
|
appearance: none;
|
|
outline: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.menuItem:hover {
|
|
background-color: var(--background-secondary-alt);
|
|
}
|
|
|
|
.menuItem:not(.disabled):not(.danger):active {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.menuItem.danger:not(.disabled):active {
|
|
background-color: var(--background-secondary);
|
|
}
|
|
}
|
|
|
|
.menuItem:not(.disabled):not(.danger) {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.menuItem.danger:not(.disabled) {
|
|
color: hsl(350, calc(90% * var(--saturation-factor)), 65%);
|
|
}
|
|
|
|
.menuItem.disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.menuItem.pressed {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.menuItem.pressedDanger {
|
|
background-color: var(--background-secondary);
|
|
}
|
|
|
|
.iconContainer {
|
|
display: flex;
|
|
height: 1.25rem;
|
|
width: 1.25rem;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.label {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.checkboxContainer {
|
|
display: flex;
|
|
height: 1.25rem;
|
|
width: 1.25rem;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.checkbox {
|
|
display: flex;
|
|
height: 1.25rem;
|
|
width: 1.25rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 0.1875rem;
|
|
border: 0.125rem solid var(--background-header-secondary);
|
|
transition: none;
|
|
}
|
|
|
|
.checkbox.checked {
|
|
border-color: var(--brand-primary-foreground);
|
|
background-color: var(--brand-primary);
|
|
}
|
|
|
|
.checkIcon {
|
|
height: 0.75rem;
|
|
width: 0.75rem;
|
|
color: var(--brand-primary-fill);
|
|
}
|
|
|
|
.radioContainer {
|
|
display: flex;
|
|
height: 1.25rem;
|
|
width: 1.25rem;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.radio {
|
|
display: flex;
|
|
height: 1.25rem;
|
|
width: 1.25rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
border: 0.125rem solid var(--background-header-secondary);
|
|
transition: none;
|
|
}
|
|
|
|
.radio.radioSelected {
|
|
border-color: var(--brand-primary-foreground);
|
|
}
|
|
|
|
.radioInner {
|
|
height: 0.625rem;
|
|
width: 0.625rem;
|
|
border-radius: 50%;
|
|
background-color: var(--brand-primary-foreground);
|
|
}
|
|
|
|
.labelColumn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
gap: 0.125rem;
|
|
}
|
|
|
|
.subtext {
|
|
font-size: 0.75rem;
|
|
color: var(--text-primary-muted);
|
|
}
|
|
|
|
.divider {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
height: 0.0625rem;
|
|
background-color: var(--background-header-secondary);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.sliderContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sliderLabel {
|
|
font-weight: 500;
|
|
font-size: 1rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.groupContainer {
|
|
overflow: hidden;
|
|
border-radius: 0.75rem;
|
|
background-color: var(--background-secondary-alt);
|
|
}
|
|
|
|
.groupSpacer {
|
|
height: 1rem;
|
|
}
|
|
|
|
.bottomSheetContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.headerSlot {
|
|
padding-bottom: 0.75rem;
|
|
}
|
|
|
|
.groupStack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.groupStackWithHeader {
|
|
padding-top: 0.75rem;
|
|
}
|
|
|
|
.submenuChevron {
|
|
flex-shrink: 0;
|
|
color: var(--text-primary-muted);
|
|
}
|
|
|
|
.backButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
color: var(--text-primary);
|
|
appearance: none;
|
|
outline: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|