mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
208 lines
4.0 KiB
CSS
208 lines
4.0 KiB
CSS
.sendou-popover-content {
|
|
max-width: 20rem;
|
|
padding: var(--s-2);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-darker);
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--semi-bold);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.react-aria-Dialog {
|
|
outline: none;
|
|
}
|
|
|
|
.react-aria-Label {
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--bold);
|
|
margin-block-end: var(--label-margin);
|
|
display: block;
|
|
}
|
|
|
|
.react-aria-DatePicker .react-aria-Group {
|
|
display: flex;
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--rounded-sm);
|
|
accent-color: var(--theme-secondary);
|
|
background-color: var(--bg-input);
|
|
color: var(--text);
|
|
font-size: var(--fonts-sm);
|
|
outline: none;
|
|
height: 1rem;
|
|
padding: var(--s-4) var(--s-3);
|
|
}
|
|
|
|
.react-aria-DatePicker[data-open] .react-aria-Group {
|
|
border-color: transparent;
|
|
outline: 2px solid var(--theme);
|
|
}
|
|
|
|
.react-aria-DatePicker .react-aria-DateInput {
|
|
display: flex;
|
|
margin-block-start: -11px;
|
|
}
|
|
|
|
.react-aria-DateSegment {
|
|
outline-color: var(--theme-transparent);
|
|
}
|
|
|
|
.react-aria-DatePicker .react-aria-Button {
|
|
margin-inline-start: auto;
|
|
background-color: transparent;
|
|
border: none;
|
|
margin-block-start: -9px;
|
|
margin-inline-end: -8px;
|
|
outline: none;
|
|
}
|
|
|
|
.react-aria-DatePicker .react-aria-Button[data-focused] svg {
|
|
fill: var(--theme);
|
|
}
|
|
|
|
.react-aria-DatePicker svg {
|
|
fill: var(--input-icon);
|
|
width: 17.5px;
|
|
}
|
|
|
|
.react-aria-Calendar {
|
|
background-color: var(--bg-lighter-solid);
|
|
border-radius: var(--rounded);
|
|
padding: var(--s-4);
|
|
border: var(--border-style);
|
|
}
|
|
|
|
.react-aria-Calendar header {
|
|
display: flex;
|
|
gap: var(--s-2);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-block-end: var(--s-1);
|
|
min-width: 250px;
|
|
}
|
|
|
|
.react-aria-Calendar .react-aria-Heading {
|
|
font-size: var(--fonts-lg);
|
|
}
|
|
|
|
.react-aria-Calendar .react-aria-Button {
|
|
background-color: transparent;
|
|
color: var(--theme);
|
|
border: none;
|
|
padding: 0;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.react-aria-Calendar .react-aria-Button svg {
|
|
fill: var(--theme);
|
|
width: 27.5px;
|
|
}
|
|
|
|
.react-aria-CalendarGrid {
|
|
width: 100%;
|
|
}
|
|
|
|
.react-aria-CalendarHeaderCell {
|
|
color: var(--text-lighter);
|
|
}
|
|
|
|
.react-aria-CalendarCell {
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: var(--fonts-sm);
|
|
padding: var(--s-1-5);
|
|
width: 35px;
|
|
height: 35px;
|
|
border-radius: var(--rounded-sm);
|
|
outline-color: var(--theme);
|
|
}
|
|
|
|
.react-aria-CalendarCell[data-outside-month] {
|
|
display: none;
|
|
}
|
|
|
|
.react-aria-CalendarCell[data-disabled] {
|
|
opacity: 0.5;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.react-aria-Calendar .react-aria-CalendarCell[data-selected] {
|
|
background-color: var(--theme-transparent);
|
|
color: var(--theme);
|
|
}
|
|
|
|
.react-aria-CalendarCell:hover {
|
|
background-color: var(--theme-transparent);
|
|
outline: initial;
|
|
}
|
|
|
|
.react-aria-Switch {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
gap: 0.571rem;
|
|
color: var(--text-color);
|
|
forced-color-adjust: none;
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--bold);
|
|
margin-block-end: 0;
|
|
}
|
|
|
|
.react-aria-Switch .indicator {
|
|
width: var(--s-11);
|
|
height: var(--s-6);
|
|
background: var(--theme-transparent);
|
|
border-radius: 1.143rem;
|
|
}
|
|
|
|
.react-aria-Switch.small .indicator {
|
|
width: 2rem;
|
|
height: 1.143rem;
|
|
}
|
|
|
|
.react-aria-Switch .indicator:before {
|
|
content: "";
|
|
display: block;
|
|
margin: 0.26rem;
|
|
width: var(--s-4);
|
|
height: var(--s-4);
|
|
background: white;
|
|
border-radius: 16px;
|
|
transition: transform 200ms;
|
|
}
|
|
|
|
.react-aria-Switch.small .indicator:before {
|
|
width: 0.857rem;
|
|
height: 0.857rem;
|
|
margin: 0.143rem;
|
|
}
|
|
|
|
.react-aria-Switch[data-pressed] .indicator:before {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.react-aria-Switch[data-selected] .indicator {
|
|
background: var(--theme-vibrant);
|
|
}
|
|
|
|
.react-aria-Switch[data-selected] .indicator:before {
|
|
transform: translateX(125%);
|
|
}
|
|
|
|
.react-aria-Switch.small[data-selected] .indicator:before {
|
|
transform: translateX(100%);
|
|
}
|
|
|
|
.react-aria-Switch[data-focus-visible] .indicator {
|
|
outline: 2px solid var(--theme-vibrant);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.react-aria-Switch[data-disabled] .indicator {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.react-aria-Switch[data-disabled] {
|
|
cursor: not-allowed;
|
|
}
|