Files
dusklight/res/rml/tuner.rcss
T
2026-09-01 23:07:40 -06:00

145 lines
2.8 KiB
Plaintext

body {
overflow: visible;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: var(--font-family-heading);
font-size: var(--font-size-4xl);
color: var(--color-white);
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: stretch;
}
tuner-root {
width: 100%;
min-height: 45%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: stretch;
decorator: vertical-gradient(rgba(var(--color-black-rgb), 0%) rgba(var(--color-surface-rgb), 242));
filter: opacity(0);
transition: filter 0.2s linear-in-out;
}
tuner-root[open] {
filter: opacity(1);
}
graphics-tuner {
width: 100%;
max-width: 1216dp;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: column;
gap: var(--space-xl);
padding: 48dp 64dp;
}
@media (max-height: 800dp) {
tuner-root {
min-height: 38%;
}
graphics-tuner {
gap: var(--space-lg);
padding: var(--space-2xl) 48dp;
}
}
tuner-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-xl);
}
carousel-container {
flex: 1 1 auto;
display: flex;
justify-content: flex-end;
min-width: 0;
}
tuner-description {
font-size: var(--font-size-xl);
line-height: 22dp;
color: rgba(var(--color-white-rgb), 50%);
}
tuner-divider {
margin: 1dp 0;
border-top-width: 1dp;
border-top-color: rgba(var(--color-neutral-rgb), 50%);
}
tuner-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-xl);
}
footer-button {
display: block;
width: 100%;
max-width: 220dp;
border: 0;
padding: 0;
background-color: transparent;
font-family: var(--font-family-heading);
font-weight: bold;
font-size: var(--font-size-2xl);
line-height: 24dp;
text-transform: uppercase;
color: var(--color-white);
opacity: 1;
cursor: pointer;
}
footer-button.return {
text-align: left;
}
footer-button.reset {
text-align: right;
}
stepped-carousel {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-lg);
width: auto;
min-width: 246dp;
padding: 0;
background-color: transparent;
font-family: var(--font-family-heading);
font-weight: bold;
}
stepped-carousel-value {
line-height: 29dp;
min-width: 166dp;
text-align: center;
white-space: nowrap;
opacity: 0.9;
}
.stepped-carousel-arrow {
width: 24dp;
height: 24dp;
min-width: 24dp;
padding: 0;
border: 0;
background-color: transparent;
opacity: 1;
cursor: pointer;
font-family: var(--font-family-icons);
font-weight: normal;
}