c7dd134fce
Co-authored-by: Cursor <cursoragent@cursor.com>
67 lines
6.4 KiB
SCSS
67 lines
6.4 KiB
SCSS
:host { display: block; min-width: 0; }
|
|
.confirmacion { min-width: 0; padding-top: var(--issste-space-3); }
|
|
p, h3, summary { overflow-wrap: anywhere; }
|
|
.applied-summary, .note { color: var(--issste-text-secondary); }
|
|
.methodology { padding: 1rem; border: 1px solid var(--issste-border); border-radius: var(--issste-radius); }
|
|
.selection-status { font-weight: 600; }
|
|
.legend { display: grid; gap: .6rem; margin-block: 1rem; }
|
|
.families { display: flex; flex-wrap: wrap; gap: .75rem; }
|
|
.family { flex: 1 1 16rem; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--issste-border); border-radius: 1rem; background: var(--issste-surface); }
|
|
.family button { display: inline-flex; align-items: center; gap: .55rem; }
|
|
.family .parent { width: 100%; justify-content: flex-start; border: 0; border-radius: 0; border-bottom: 1px solid var(--issste-border); font-weight: 650; background: color-mix(in srgb, var(--swatch) 14%, var(--issste-surface)); }
|
|
.family .children { display: flex; flex-wrap: wrap; gap: .4rem; padding: .55rem; }
|
|
.family .child { flex: 1 1 8rem; border-radius: .75rem; border-color: color-mix(in srgb, var(--swatch) 55%, var(--issste-border)); background: var(--issste-surface); }
|
|
.family .parent[aria-pressed=true] { background: color-mix(in srgb, var(--swatch) 24%, var(--issste-surface)); box-shadow: inset 0 -3px 0 var(--swatch); }
|
|
.family .child[aria-pressed=true] { background: color-mix(in srgb, var(--swatch) 16%, var(--issste-surface)); border-color: var(--swatch); transform: scale(1.03); }
|
|
.family .swatch { width: .35rem; height: 1.15rem; border: 0; border-radius: .2rem; background: var(--swatch); }
|
|
.keys { display: flex; flex-wrap: wrap; gap: .5rem; }
|
|
.legend > button { justify-self: start; }
|
|
button { min-height: 44px; max-width: 100%; padding: .5rem .8rem; border: 1px solid var(--issste-border);
|
|
border-radius: 999px; color: var(--issste-text); background: var(--issste-surface); font: inherit; cursor: pointer; }
|
|
.keys button { display: inline-flex; align-items: center; gap: .4rem; text-align: start; overflow-wrap: anywhere; }
|
|
button[aria-pressed=true] { border-color: var(--issste-accent); box-shadow: inset 0 0 0 1px var(--issste-accent); font-weight: 700; }
|
|
button:disabled { opacity: .5; cursor: default; }
|
|
button:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--issste-text); outline-offset: 3px; }
|
|
.swatch { display: inline-block; width: .85rem; height: .85rem; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; }
|
|
.figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
|
|
.figure { min-width: 0; border-top: 1px solid var(--issste-border); }
|
|
h3 { font-size: 1rem; line-height: 1.5; }
|
|
app-plotly-chart { --plot-height: 440px; }
|
|
.periods { display: flex; align-items: center; justify-content: center; gap: .75rem; }
|
|
.periods span { text-align: center; }
|
|
.periods button { min-width: 44px; font-size: 1.5rem; }
|
|
summary { cursor: pointer; padding-block: .75rem; }
|
|
.table-scroll { overflow: auto; max-height: 28rem; }
|
|
table { border-collapse: collapse; width: 100%; margin-block: 1rem; }
|
|
th, td { padding: .5rem; text-align: start; border-bottom: 1px solid var(--issste-border); }
|
|
caption { text-align: start; font-weight: 600; }
|
|
.histo-meta { display: flex; justify-content: flex-end; align-items: flex-start; gap: .75rem; margin: -.85rem -.65rem 0 0; }
|
|
.view-context { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; margin: .2rem 0 0; color: var(--issste-text-secondary); font-size: .75rem; line-height: 1.35; }
|
|
.histo .figure { border-top: 0; }
|
|
.histo .figure + .figure { border-top: 1px solid var(--issste-border); padding-top: .25rem; }
|
|
.histo .help { position: relative; display: flex; justify-content: flex-end; padding-bottom: 0; }
|
|
.histo .help .methodology-toggle { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; min-width: 1.75rem; min-height: 1.75rem; padding: 0; border: 0; border-radius: 50%; font-weight: 800; font-size: 1rem; line-height: 1; background: var(--issste-accent); color: var(--issste-on-accent); }
|
|
.histo .help .methodology { position: absolute; z-index: 8; top: 100%; right: 0; width: min(34rem, calc(100vw - 2rem)); max-height: 18rem; overflow: auto; background: var(--issste-surface); box-shadow: 0 10px 28px rgb(0 0 0 / .14); }
|
|
.histo .legend { display: flex; flex-direction: column; gap: 0; margin-block: .15rem 1rem; }
|
|
.histo .tab-bar { display: flex; align-items: flex-end; gap: .5rem; border-bottom: 1px solid var(--issste-border); }
|
|
.histo .tabs { display: flex; flex-wrap: wrap; gap: .2rem; min-width: 0; }
|
|
.histo .tabs .tab { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid transparent; border-bottom: 0; border-radius: .75rem .75rem 0 0; background: transparent; box-shadow: none; }
|
|
.histo .tabs .tab[aria-selected=true] { background: color-mix(in srgb, var(--swatch) 18%, var(--issste-surface)); border-color: var(--issste-border); box-shadow: inset 0 -3px 0 var(--swatch); font-weight: 700; }
|
|
.histo .child-groups { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; row-gap: .45rem; padding: .65rem .1rem .1rem; }
|
|
.histo .tab-panel { display: flex; flex-wrap: wrap; gap: .45rem; }
|
|
.histo .tab-panel .child { display: inline-flex; align-items: center; gap: .45rem; border-radius: .75rem; border-color: color-mix(in srgb, var(--swatch) 55%, var(--issste-border)); background: var(--issste-surface); }
|
|
.histo .tab-panel .child[aria-pressed=true] { background: color-mix(in srgb, var(--swatch) 16%, var(--issste-surface)); border-color: var(--swatch); }
|
|
.histo .tab .swatch, .histo .tab-panel .swatch { display: block; width: .35rem; height: 1em; margin: 0; border: 0; border-radius: .2rem; background: var(--swatch); align-self: center; }
|
|
.reading-guide h3 { margin: 0 0 .25rem; }
|
|
.reading-guide + .reading-guide { margin-top: 1rem; }
|
|
.reading-guide ul { margin: .5rem 0 0; padding-inline-start: 1.25rem; }
|
|
.reading-guide li + li { margin-top: .25rem; }
|
|
app-plotly-chart { --plot-height: 360px; }
|
|
.rate-states { margin: 0; padding-inline-start: 1.25rem; color: var(--issste-text-secondary); }
|
|
.rate-states:empty { display: none; }
|
|
/* Rates on the left, donut on the right (the reverse of EU7). */
|
|
@media (min-width: 1100px) {
|
|
.figures { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
|
|
.histo .figure + .figure { border-top: 0; border-inline-start: 1px solid var(--issste-border); padding-top: 0; padding-inline-start: 1rem; }
|
|
}
|