Spaces:
Running
Running
Download static/css/dilution.css from Arrechenash/stocks: direct link, hf CLI and curl.
- Browser
- Download file 19 kB
-
https://huggingface.co/spaces/Arrechenash/stocks/resolve/main/static/css/dilution.css
- Command line
-
hf download hf://spaces/Arrechenash/stocks/static/css/dilution.css
-
curl -L -o dilution.css https://huggingface.co/spaces/Arrechenash/stocks/resolve/main/static/css/dilution.css
19 kB
| /* Dilution page β page-level layout only, on the app's dark tokens. Shared | |
| tokens and classes (.card-title, .card-subtitle, .data-table, .badge*, | |
| .empty-state) come from common.css; see CONVENTIONS.md. This file owns the | |
| instrument grid, the card padding and the chart frame, and reads every | |
| colour from a shared token so the page stays inside the app's theme. */ | |
| :root { | |
| --dil-card-padding: 12px; | |
| --dil-content-max: 1184px; | |
| --dil-chart-height: 350px; | |
| } | |
| body[data-page="dilution"] .page-wrapper { | |
| max-width: var(--dil-content-max); | |
| } | |
| /* ββ Company header ββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .dilution-header { | |
| margin-bottom: var(--space-md); | |
| } | |
| .dilution-header-top { | |
| display: flex; | |
| align-items: baseline; | |
| gap: var(--space-sm); | |
| flex-wrap: wrap; | |
| } | |
| .dilution-symbol { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-xxxl); | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| cursor: pointer; | |
| } | |
| .dilution-change { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 19px; | |
| min-width: 43px; | |
| padding: 0 10px 1px; | |
| border-radius: var(--radius-sm); | |
| font-family: var(--font-mono); | |
| font-size: var(--font-sm); | |
| font-weight: 600; | |
| background: var(--bg-tertiary); | |
| } | |
| .dilution-change--up { | |
| color: var(--positive); | |
| } | |
| .dilution-change--down { | |
| color: var(--negative); | |
| } | |
| .dilution-name { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-xl); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-top: var(--space-sm); | |
| } | |
| .dilution-meta { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: var(--space-xs) var(--space-lg); | |
| margin-top: var(--space-xs); | |
| font-size: var(--font-sm); | |
| } | |
| .dilution-meta__pair { | |
| color: var(--text-secondary); | |
| max-width: 100%; | |
| overflow-wrap: anywhere; | |
| } | |
| .dilution-meta__label { | |
| color: var(--text-muted); | |
| } | |
| .dilution-meta__value { | |
| color: var(--text-primary); | |
| } | |
| /* ββ Risk grade pills βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| /* The label sits left of a tinted pill, and the app paints such a pill with | |
| the status tint plus its matching text token rather than the fill colour, | |
| which is picked for solid backgrounds. */ | |
| .dilution-badges { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0 35px; | |
| margin: var(--space-md) 0 var(--space-md); | |
| } | |
| .dilution-badge { | |
| display: flex; | |
| flex-direction: row; | |
| align-items: baseline; | |
| gap: 5px; | |
| } | |
| .dilution-badge__label { | |
| font-size: var(--font-sm); | |
| font-weight: 500; | |
| color: var(--text-primary); | |
| white-space: nowrap; | |
| } | |
| .dilution-badge__value { | |
| display: inline-block; | |
| padding: 1px 10px var(--space-2xs); | |
| margin-top: -1px; | |
| border-radius: var(--radius-md); | |
| font-size: var(--font-sm); | |
| font-weight: 600; | |
| line-height: 1.2; | |
| color: var(--negative-text); | |
| } | |
| .dilution-badge__value--high { | |
| background: var(--negative-bg); | |
| } | |
| .dilution-badge__value--medium { | |
| background: var(--warning-bg); | |
| color: var(--warning-text); | |
| } | |
| .dilution-badge__value--low { | |
| background: var(--positive-bg); | |
| color: var(--positive-text); | |
| } | |
| .dilution-badge__value--unknown { | |
| background: var(--bg-tertiary); | |
| color: var(--text-muted); | |
| } | |
| /* ββ Charts βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .dilution-chart-card { | |
| margin-bottom: var(--space-md); | |
| } | |
| .dilution-chart-card .card-title { | |
| color: var(--text-primary); | |
| } | |
| .dilution-chart-card .card-subtitle { | |
| color: var(--text-muted); | |
| } | |
| /* The plot sits inside a frame only to make room for the Y-axis title; the | |
| frame draws nothing. */ | |
| .dilution-chart-frame { | |
| position: relative; | |
| padding-left: var(--icon-size); | |
| } | |
| /* Bottom-edge seam: the chart is the panel above its own grip, so dragging | |
| down grows it. Each chart carries its own copy of the size token (the | |
| splitter writes it on the frame), so the two cards resize independently. */ | |
| .dilution-chart-frame > .panel-resize-handle--row { | |
| top: auto; | |
| bottom: 0; | |
| } | |
| /* "Millions of Shares" / "Millions of USD" sit above the plot, flush left, | |
| rather than rotated down the side, which is why the frame reserves the | |
| left gutter the absolutely positioned title occupies. */ | |
| .dilution-chart__axis-title { | |
| position: absolute; | |
| left: var(--icon-size); | |
| top: 0; | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| white-space: nowrap; | |
| } | |
| .dilution-chart { | |
| height: var(--picker-list-height); | |
| margin-top: var(--space-sm); | |
| } | |
| .dilution-chart--tall { | |
| height: var(--dil-chart-height); | |
| } | |
| /* ββ Instrument sections (measured: 3 x 354px cards, 38px gutters) βββββ */ | |
| .dilution-section { | |
| margin-bottom: var(--space-xl); | |
| } | |
| .dilution-section__title { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-lg); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: var(--space-md); | |
| } | |
| .dilution-section__count { | |
| margin-left: var(--space-xs-plus); | |
| font-size: var(--font-sm); | |
| font-weight: 400; | |
| color: var(--text-dim); | |
| } | |
| /* Three cards a row: a flex-wrap wrapper with `gap: 3.75rem 2.5rem` β | |
| 60px between rows, 40px between columns. */ | |
| .dilution-section__grid { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 60px 40px; | |
| align-items: flex-start; | |
| } | |
| /* `flex-basis`, not `width`: a flex item shrinks by default, so three 400px | |
| cards in an 1184px column render at the width the column allows, and the | |
| responsive rules below halve or stack them rather than overflowing. */ | |
| .dilution-card { | |
| flex: 0 1 25rem; | |
| min-width: 0; | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| padding: var(--dil-card-padding); | |
| } | |
| /* The card header is a bordered block: title and EDGAR link on one line, the | |
| registration state as a dimmed sub-line under them, then a 1px rule closing | |
| the head before the field list starts. */ | |
| .dilution-card__head { | |
| display: flex; | |
| align-items: baseline; | |
| justify-content: space-between; | |
| gap: var(--space-sm); | |
| padding-bottom: var(--space-xs); | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .dilution-card__subheading { | |
| margin: var(--space-xs) 0 0; | |
| font-size: var(--font-sm); | |
| color: var(--text-muted); | |
| opacity: 0.7; | |
| } | |
| /* Card titles are large and light, which is most of what makes the instrument | |
| grid read the way it does. */ | |
| .dilution-card__title { | |
| font-size: var(--font-display); | |
| font-weight: 300; | |
| line-height: 1.2; | |
| color: var(--text-primary); | |
| overflow-wrap: anywhere; | |
| } | |
| .dilution-card__source { | |
| font-size: var(--font-xs); | |
| font-weight: 600; | |
| color: var(--accent); | |
| text-decoration: none; | |
| white-space: nowrap; | |
| } | |
| .dilution-card__source:hover { | |
| text-decoration: underline; | |
| } | |
| .dilution-field { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: baseline; | |
| gap: var(--space-sm); | |
| padding: var(--space-2xs) 0; | |
| font-size: var(--font-sm); | |
| } | |
| /* The label column is capped so a long label wraps instead of squeezing the | |
| value it shares the row with. */ | |
| .dilution-field__label { | |
| color: var(--text-muted); | |
| max-width: 245px; | |
| } | |
| .dilution-field__value { | |
| color: var(--text-secondary); | |
| font-weight: 600; | |
| text-align: right; | |
| overflow-wrap: anywhere; | |
| flex-shrink: 0; | |
| } | |
| .dilution-field--stacked { | |
| display: block; | |
| } | |
| .dilution-field--stacked .dilution-field__value { | |
| text-align: left; | |
| font-weight: 400; | |
| color: var(--text-muted); | |
| font-size: var(--font-xs); | |
| line-height: 1.45; | |
| margin-top: var(--space-xs); | |
| } | |
| .dilution-field__value--empty { | |
| color: var(--text-dim); | |
| font-weight: 400; | |
| } | |
| /* A row the filing says nothing about dims the whole line, not just the | |
| hyphen, so the row reads as unavailable rather than as a short value. */ | |
| .dilution-field--empty .dilution-field__label { | |
| color: var(--text-dim); | |
| font-weight: 400; | |
| } | |
| /* ββ Completed offerings table βββββββββββββββββββββββββββββββββββββββββ */ | |
| /* Column widths follow the filings feed's own column order; the header | |
| sticks to the top of the scroll container, which needs an opaque fill on | |
| this page because the rows scroll under it on --surface rather than on the | |
| table's own surface. */ | |
| .dilution-completed-table { | |
| min-width: 900px; | |
| font-size: var(--font-sm); | |
| } | |
| /* The shared table owns the header look; this table scrolls over the page, | |
| so the sticky fill is the page background and not a card surface. */ | |
| .dilution-completed-table th { | |
| background: var(--bg); | |
| white-space: nowrap; | |
| } | |
| /* Row hover has no shared rule to inherit, so this table declares its own. */ | |
| .dilution-completed-table tbody tr:hover { | |
| background: var(--bg-tertiary); | |
| } | |
| .dilution-completed-table td { | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .dilution-completed-table td:first-child { | |
| color: var(--text-primary); | |
| font-weight: 600; | |
| } | |
| .dilution-completed-table__investors { | |
| color: var(--text-muted); | |
| font-size: var(--font-xs); | |
| white-space: normal; | |
| } | |
| /* ββ Feeds (news / holders / filings panels) βββββββββββββββββββββββββββ */ | |
| .dilution-feed { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0; | |
| margin-top: var(--space-sm); | |
| } | |
| .dilution-feed__row { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: var(--space-xs) var(--space-md); | |
| padding: var(--space-xs) 0; | |
| border-bottom: 1px solid var(--border); | |
| font-size: var(--font-sm); | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| } | |
| .dilution-feed__row:last-child { | |
| border-bottom: none; | |
| } | |
| a.dilution-feed__row:hover { | |
| color: var(--text-primary); | |
| } | |
| .dilution-feed__form { | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| } | |
| .dilution-feed__date { | |
| color: var(--text-muted); | |
| font-family: var(--font-mono); | |
| font-size: var(--font-xs); | |
| } | |
| /* A value the issuer's filings state plainly, against one worth noticing. */ | |
| .dilution-feed__date--warn { | |
| color: var(--negative-text); | |
| font-weight: 600; | |
| } | |
| .dilution-feed__date--muted { | |
| color: var(--text-dim); | |
| } | |
| /* An 8-K/6-K that does not name a dilutive instrument. For a foreign private | |
| issuer these are earnings releases: real filings, not dilution events. */ | |
| .dilution-feed__row--routine { | |
| opacity: 0.55; | |
| } | |
| .dilution-feed__row--routine .dilution-feed__form { | |
| font-weight: 400; | |
| } | |
| .dilution-context-note { | |
| padding: var(--space-xs) 0; | |
| border-bottom: 1px solid var(--border); | |
| color: var(--text-muted); | |
| font-size: var(--font-xs); | |
| } | |
| /* How an instrument entry was read. "index only" means the filing document | |
| was never opened, so its terms are inferred rather than parsed. It is a | |
| severity, so the border and the text take the negative pair: the fill value | |
| is picked for solid backgrounds, not for 1px rules and small type. */ | |
| .dilution-card__confidence { | |
| padding: 1px var(--space-xs); | |
| border: 1px solid var(--negative); | |
| border-radius: var(--radius-sm); | |
| color: var(--negative-text); | |
| font-size: var(--font-xs); | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| white-space: nowrap; | |
| } | |
| .dilution-card__confidence--parsed { | |
| border-color: var(--border); | |
| color: var(--text-dim); | |
| font-weight: 500; | |
| } | |
| .dilution-card--unverified { | |
| background: var(--bg-secondary); | |
| } | |
| /* "split" means the two readings disagree, which is a medium grade between | |
| "index only" (high) and "parsed" (neutral), so it takes the warning pair | |
| rather than the negative one. */ | |
| .dilution-card__confidence--split { | |
| border-color: var(--warning); | |
| color: var(--warning-text); | |
| font-weight: 500; | |
| } | |
| /* ββ Verification band βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .dilution-verify { | |
| margin: var(--space-md) 0 0; | |
| padding: var(--space-sm) var(--space-md); | |
| border: 1px solid var(--border); | |
| border-left: 3px solid var(--negative); | |
| border-radius: var(--radius-sm); | |
| background: var(--bg-secondary); | |
| } | |
| .dilution-verify__note { | |
| margin: 0 0 var(--space-sm); | |
| color: var(--text-dim); | |
| font-size: var(--font-xs); | |
| } | |
| .dilution-verify__list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-xs); | |
| } | |
| .dilution-check { | |
| display: flex; | |
| flex-flow: row wrap; | |
| align-items: baseline; | |
| gap: 5px var(--space-sm); | |
| font-size: var(--font-sm); | |
| } | |
| .dilution-check__summary { | |
| font-weight: 600; | |
| color: var(--negative-text); | |
| } | |
| .dilution-check__detail { | |
| color: var(--text-dim); | |
| } | |
| .dilution-check__section { | |
| padding: 1px var(--space-xs); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| color: var(--text-dim); | |
| font-size: var(--font-xs); | |
| text-transform: uppercase; | |
| white-space: nowrap; | |
| } | |
| /* ββ Redesigned profile βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .dilution-profile { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-lg); | |
| } | |
| .dilution-rail { | |
| position: sticky; | |
| top: 0; | |
| z-index: 2; | |
| display: flex; | |
| gap: var(--space-xs); | |
| padding: var(--space-xs) 0; | |
| background: var(--surface); | |
| border-bottom: 1px solid var(--border); | |
| overflow-x: auto; | |
| } | |
| .dilution-rail__link { | |
| padding: var(--space-2xs) var(--space-sm); | |
| border-radius: var(--radius-sm); | |
| color: var(--text-secondary); | |
| font-size: var(--font-sm); | |
| text-decoration: none; | |
| white-space: nowrap; | |
| } | |
| .dilution-rail__link:hover, | |
| .dilution-rail__link:focus-visible { | |
| color: var(--text-primary); | |
| background: var(--bg-tertiary); | |
| } | |
| .dilution-profile__header { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-xs); | |
| } | |
| .dilution-profile__summary { | |
| display: grid; | |
| grid-template-columns: repeat(4, minmax(0, 1fr)); | |
| gap: var(--space-sm); | |
| } | |
| .dilution-kpi { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-2xs); | |
| padding: var(--dil-card-padding); | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| min-width: 0; | |
| } | |
| .dilution-kpi__label { | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.04em; | |
| } | |
| .dilution-kpi__value { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-xl); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| overflow-wrap: anywhere; | |
| } | |
| .dilution-kpi__value small { | |
| font-family: var(--font-body); | |
| font-size: var(--font-xs); | |
| font-weight: 400; | |
| color: var(--text-muted); | |
| } | |
| .dilution-kpi__note { | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| } | |
| .dilution-kpi__note--warn { | |
| color: var(--warning); | |
| } | |
| .dilution-kpi__tip { | |
| display: inline-block; | |
| width: 1rem; | |
| height: 1rem; | |
| margin-left: 0.375rem; | |
| border-radius: 50%; | |
| background: var(--bg-tertiary); | |
| border: 1px solid var(--border); | |
| color: var(--text-muted); | |
| font-size: var(--font-xs); | |
| font-weight: 600; | |
| line-height: 1; | |
| text-align: center; | |
| cursor: help; | |
| } | |
| .dilution-kpi__tip:hover { | |
| background: var(--bg-hover); | |
| border-color: var(--text-muted); | |
| } | |
| .dilution-kpi__source { | |
| margin: 0; | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| } | |
| .dilution-kpi__source a { | |
| color: var(--text-muted); | |
| text-decoration: underline; | |
| text-decoration-style: dotted; | |
| } | |
| .dilution-kpi__source a:hover, | |
| .dilution-kpi__source a:focus-visible { | |
| color: var(--text-primary); | |
| } | |
| .dilution-profile__section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-sm); | |
| } | |
| .dilution-section__title--sub { | |
| font-size: var(--font-md); | |
| margin: var(--space-sm) 0 0; | |
| } | |
| .dilution-subsection { | |
| margin-top: var(--space-sm); | |
| } | |
| .dilution-inventory__group { | |
| margin-top: var(--space-sm); | |
| } | |
| .dilution-inventory__title { | |
| font-size: var(--font-md); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: var(--space-2xs); | |
| } | |
| .dilution-inventory__note { | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| margin: 0 0 var(--space-xs); | |
| } | |
| .dilution-inventory__name { | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| } | |
| .dilution-inventory__table td { | |
| vertical-align: top; | |
| } | |
| .dilution-context-grid { | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: var(--space-md); | |
| } | |
| @media (width <= 1024px) { | |
| .dilution-profile__summary { | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| } | |
| .dilution-context-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| @media (width <= 640px) { | |
| .dilution-profile__summary { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* ββ Responsive ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media (width <= 1024px) { | |
| .dilution-card { | |
| flex-basis: calc(50% - var(--icon-size)); | |
| } | |
| } | |
| @media (width <= 768px) { | |
| .dilution-card { | |
| flex-basis: 100%; | |
| } | |
| } | |
| @media (width <= 480px) { | |
| .dilution-chart, | |
| .dilution-chart--tall { | |
| height: var(--picker-list-height); | |
| } | |
| .dilution-chart-frame { | |
| padding-left: var(--space-md); | |
| } | |
| .dilution-symbol { | |
| font-size: var(--font-xxl); | |
| } | |
| /* The filing links in the shelf and offerings tables are 16px tall as text. | |
| The responsive audit's 28px touch floor grows the hit area, not the text. */ | |
| .dilution-panel a { | |
| display: inline-flex; | |
| align-items: center; | |
| min-height: var(--touch-floor); | |
| } | |
| } | |
| /* ββ Offerings view βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .offerings-section__title { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-lg); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: var(--space-md); | |
| } | |
| .offerings-summary { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: var(--space-md); | |
| margin-bottom: var(--space-lg); | |
| } | |
| .offerings-kpi { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--space-2xs); | |
| padding: var(--dil-card-padding); | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| min-width: 140px; | |
| } | |
| .offerings-kpi__label { | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.04em; | |
| } | |
| .offerings-kpi__value { | |
| font-family: var(--font-heading); | |
| font-size: var(--font-xl); | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| } | |
| .offerings-banks { | |
| margin-top: var(--space-lg); | |
| } | |
| .offerings-banks .offerings-section__title { | |
| margin-bottom: var(--space-sm); | |
| } | |
| .offerings-rank__num { | |
| text-align: right; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .offerings-summary .data-table, | |
| .offerings-banks .data-table { | |
| margin-top: var(--space-sm); | |
| } | |
| .offerings-summary .data-table th, | |
| .offerings-banks .data-table th { | |
| font-size: var(--font-xs); | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.04em; | |
| } | |
| .offerings-summary .data-table td, | |
| .offerings-banks .data-table td { | |
| font-size: var(--font-sm); | |
| } | |
| @media (width <= 768px) { | |
| .offerings-summary { | |
| flex-direction: column; | |
| } | |
| .offerings-kpi { | |
| flex-direction: row; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .offerings-kpi__label, | |
| .offerings-kpi__value { | |
| font-size: var(--font-sm); | |
| } | |
| } | |