Lengths read through one expression reader. Without viewport units an expression folds to pixels as the sheet is read, so box, size and flex lengths take calc() and em too (em is the rule's own font-size, else 16px). With vw or vh it stays a clamp of linear forms the install evaluates against the environment's viewport; packs carry them in an exprs table, and CssSheetSameMedia reports a change when a new viewport changes an active rule's length. A var() fallback may hold one more var(), and var(--kryon-NAME) reads the installed theme palette.
93 lines
1.4 KiB
CSS
93 lines
1.4 KiB
CSS
Row.packed, Column.packed {
|
|
width: 5.5rem;
|
|
height: 35px;
|
|
}
|
|
|
|
Row.packed#fluid {
|
|
width: auto;
|
|
}
|
|
|
|
Section.dashboard {
|
|
gap: 10px;
|
|
padding: 16px;
|
|
}
|
|
|
|
Grid.panels {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px 14px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
Grid.metrics {
|
|
grid-template-columns: repeat(auto-fit, minmax(min(165px, 100%), 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
Grid.panels { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
@media (min-width: 75rem) {
|
|
Grid.panels { row-gap: 20px; }
|
|
}
|
|
|
|
Row.filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 5px 10px;
|
|
padding: 3px 5px;
|
|
}
|
|
|
|
Text.primary-filter {
|
|
flex: 1 0 15rem;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
Text.secondary-filter {
|
|
flex: none;
|
|
}
|
|
|
|
@media (min-width: 75rem) {
|
|
Row.filters {
|
|
flex-direction: row-reverse;
|
|
flex-wrap: nowrap;
|
|
}
|
|
}
|
|
|
|
Column.page {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
Column.inset {
|
|
margin: 4px 6px 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
Row.bounded {
|
|
min-width: 300px;
|
|
max-height: 24px;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
Column.page { max-width: none; margin-inline: 1rem; }
|
|
}
|
|
|
|
Text.centered { text-align: center; }
|
|
|
|
Column.card {
|
|
background: #102030;
|
|
border: 1px solid #405060;
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
Column.side { width: 120px; }
|
|
Column.grow { flex: 1; }
|
|
Row.push { width: 50px; margin-left: auto; }
|
|
|
|
@media (min-width: 75rem) {
|
|
Column.fluid-pad { padding: clamp(8px, 2vw, 20px); }
|
|
}
|