use super::*;
class! {
// ═══════════════════════════════════════════════════════════════════════════
// Buttons
// ═══════════════════════════════════════════════════════════════════════════
pub c_primary_button {
display: "flex";
justify-content: "center";
align-items: "center";
gap: var!(space-sm);
width: "100%";
height: var!(control-height);
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
padding: format!("0px {}", var!(space-2xl));
cursor: "pointer";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
letter-spacing: var!(letter-spacing-normal);
text-align: "center";
outline: "none";
box-sizing: "border-box";
white-space: "nowrap";
overflow: "hidden";
text-overflow: "ellipsis";
user-select: "none";
-webkit-user-select: "none";
:focus-visible {
outline: "none";
}
:disabled {
background: var!(muted-foreground);
cursor: "not-allowed";
opacity: "1";
}
:hover {
background: var!(primary-hover);
}
:active {
background: var!(primary);
color: var!(primary-foreground);
border-color: "transparent";
}
@media ((max-width: 767px)) {
max-width: "100%";
padding: format!("{} {}", var!(space-lg), var!(space-xl));
font-size: var!(font-md);
}
border-radius: var!(radius-md);
}
// ═══════════════════════════════════════════════════════════════════════════
// Button Controls Container
// ═══════════════════════════════════════════════════════════════════════════
pub c_button_controls {
display: "flex";
flex-wrap: "wrap";
gap: var!(gap-element);
margin-top: var!(gap-component);
margin-bottom: var!(gap-component);
}
// ═══════════════════════════════════════════════════════════════════════════
// Euv Button — the registry button
//
// The control is inline-flex so it hugs its label instead of filling
// the row, it carries the 14px control type scale, and it answers a
// keyboard focus with a ring drawn from the theme's own ink.
// ═══════════════════════════════════════════════════════════════════════════
pub c_euv_button_link {
background: "transparent";
color: var!(primary);
text-decoration: "none";
text-underline-offset: "4px";
:hover {
text-decoration: "underline";
}
}
// The legacy single-class button kept for the pages that name it
// directly. It carries the registry look in one rule so a caller that
// cannot compose classes still gets the inline-flex control.
pub c_euv_button_primary_md {
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
height: "40px";
padding: format!("{} {}", var!(space-sm), var!(space-lg));
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
cursor: "pointer";
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1";
white-space: "nowrap";
user-select: "none";
-webkit-user-select: "none";
box-sizing: "border-box";
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}, box-shadow {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out)
);
:hover {
background: var!(primary-hover);
}
:focus-visible {
outline: "none";
box-shadow: format!("0 0 0 2px {}, 0 0 0 4px {}", var!(background), var!(ring));
}
:disabled {
pointer-events: "none";
opacity: "0.5";
}
border-radius: var!(radius-md);
}
pub c_euv_button_outline_md {
box-shadow: var!(shadow-xs);
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
height: "40px";
padding: format!("{} {}", var!(space-sm), var!(space-lg));
background: var!(background);
color: var!(foreground);
border: format!("{} solid {}", var!(border-width), var!(input));
cursor: "pointer";
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1";
white-space: "nowrap";
user-select: "none";
-webkit-user-select: "none";
box-sizing: "border-box";
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}, box-shadow {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out)
);
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
:focus-visible {
outline: "none";
box-shadow: format!("0 0 0 2px {}, 0 0 0 4px {}", var!(background), var!(ring));
}
:disabled {
pointer-events: "none";
opacity: "0.5";
}
border-radius: var!(radius-md);
}
// ═══════════════════════════════════════════════════════════════════════════
// Status Boxes
// ═══════════════════════════════════════════════════════════════════════════
pub c_error_box {
margin: format!("{} 0px", var!(gap-component));
background: var!(destructive);
color: var!(destructive-foreground);
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
padding: format!("{} {}", var!(space-sm), var!(space-lg));
border-radius: var!(radius-sm);
box-sizing: "border-box";
}
pub c_success_box {
margin: format!("{} 0px", var!(gap-component));
background: var!(success);
color: var!(success-foreground);
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
padding: format!("{} {}", var!(space-sm), var!(space-lg));
border-radius: var!(radius-sm);
box-sizing: "border-box";
}
// ═══════════════════════════════════════════════════════════════════════════
// Alerts — the registry's two variants
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_alert_title {
color: "inherit";
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
letter-spacing: var!(letter-spacing-tight);
line-height: "1";
}
pub(crate) c_euv_alert_description {
color: var!(muted-foreground);
font-size: var!(font-sm);
line-height: "1.5";
}
pub(crate) c_euv_alert_action {
position: "absolute";
top: var!(space-sm);
right: var!(space-sm);
display: "flex";
align-items: "center";
gap: var!(space-sm);
}
// ═══════════════════════════════════════════════════════════════════════════
// Counter / Signals Demo
// ═══════════════════════════════════════════════════════════════════════════
pub c_counter_row {
display: "grid";
grid-template-columns: "minmax(0px, 1fr) minmax(0px, 1fr)";
align-items: "center";
gap: var!(gap-component);
@media ((max-width: 767px)) {
grid-template-columns: "1fr";
}
}
pub c_counter_text {
font-size: var!(font-base);
color: "inherit";
margin-bottom: var!(gap-component);
}
pub c_counter_value {
font-weight: var!(font-weight-bold);
color: var!(primary);
font-size: var!(font-base);
}
pub c_counter_value_row {
margin-top: var!(space-sm);
word-break: "break-all";
overflow-wrap: "anywhere";
font-size: var!(font-base);
color: "inherit";
font-weight: var!(font-weight-normal);
}
pub c_badge_row {
display: "flex";
gap: var!(gap-inline);
flex-wrap: "wrap";
align-items: "center";
}
pub c_badge_hint {
margin-bottom: var!(gap-component);
color: "inherit";
opacity: "1";
font-size: var!(font-base);
}
// ═══════════════════════════════════════════════════════════════════════════
// Tabs
// ═══════════════════════════════════════════════════════════════════════════
pub c_tab_bar {
display: "flex";
border-bottom: format!("{} solid {}", var!(border-width), var!(border));
margin-bottom: var!(gap-component);
gap: var!(gap-element);
@media ((max-width: 767px)) {
flex-wrap: "wrap";
}
}
pub c_tab_item_active {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
border-bottom: format!("2px solid {}", var!(primary));
color: var!(primary-foreground);
background: var!(primary);
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
// iOS WebKit: tap on a non-button element inside a scrollable
// container can be silently dropped because iOS interprets the
// touch as the start of a scroll gesture and never dispatches the
// synthetic `click`. `touch-action: manipulation` tells iOS this
// element only responds to taps and panning — no double-tap-zoom
// wait, no scroll-gesture disambiguation. `user-select: none`
// additionally suppresses the iOS text-selection bubble that
// would otherwise intercept the tap. See ui/src/style/css/fn.rs
// for the global reset and PR that documents the iOS repro.
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
border-radius: var!(radius-md);
}
pub c_tab_item_inactive {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
border-bottom: "2px solid transparent";
color: "inherit";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
// iOS WebKit fix — see c_tab_item_active above for the rationale.
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
:hover {
background: var!(muted);
color: var!(primary);
}
border-radius: var!(radius-md);
}
pub c_tab_content {
padding: format!("{} 0px", var!(gap-element));
}
pub c_tab_text {
color: "inherit";
font-size: var!(font-base);
margin-bottom: var!(gap-element);
}
pub c_tab_text_muted {
color: "inherit";
opacity: "1";
font-size: var!(font-base);
}
pub c_tab_text_input {
color: "inherit";
font-size: var!(font-base);
margin-bottom: var!(gap-component);
}
// ═══════════════════════════════════════════════════════════════════════════
// List
// ═══════════════════════════════════════════════════════════════════════════
pub c_list_input {
width: "100%";
flex: "1";
height: "42px";
padding: format!("0px {}", var!(space-lg));
border: format!("{} solid {}", var!(border-width), var!(border));
font-size: var!(font-base);
line-height: "normal";
box-sizing: "border-box";
outline: "none";
color: var!(foreground);
appearance: "none";
-webkit-appearance: "none";
-moz-appearance: "none";
vertical-align: "middle";
:hover {
border-color: var!(ring);
background: var!(muted);
}
:focus {
outline: "none";
border-color: var!(ring);
background: var!(muted);
}
border-radius: var!(radius-md);
}
pub c_list_input_error {
width: "100%";
flex: "1";
height: "42px";
padding: format!("0px {}", var!(space-lg));
border: format!("{} solid {}", var!(border-width), var!(destructive));
font-size: var!(font-base);
line-height: "normal";
box-sizing: "border-box";
outline: "none";
color: var!(foreground);
appearance: "none";
-webkit-appearance: "none";
-moz-appearance: "none";
vertical-align: "middle";
:focus {
outline: "none";
border-color: var!(foreground);
}
border-radius: var!(radius-md);
}
pub c_list_error_text {
color: var!(destructive);
font-size: var!(font-base);
margin: format!("{} 0px", var!(gap-element));
}
pub c_inline_input_button_wrap {
flex-shrink: "0";
}
pub c_list_ul {
list-style: "none";
padding: "0px";
margin: "0px";
margin-top: var!(gap-component);
}
pub c_list_item {
display: "flex";
justify-content: "space-between";
align-items: "center";
gap: var!(gap-component);
min-height: var!(control-height);
margin: format!("{} 0px", var!(gap-element));
border-radius: var!(radius-sm);
}
pub c_list_item_text {
flex: "1";
overflow: "hidden";
text-overflow: "ellipsis";
white-space: "nowrap";
font-size: var!(font-base);
color: "inherit";
min-width: "0";
}
pub c_list_item_button {
max-width: "120px";
flex-shrink: "0";
border-radius: var!(radius-sm);
}
// ═══════════════════════════════════════════════════════════════════════════
// Animation Demo
// ═══════════════════════════════════════════════════════════════════════════
pub c_anim_fade_in {
margin-top: var!(gap-component);
animation: format!("euv-fade-in 0.5s {}", var!(ease-out));
font-size: var!(font-base);
color: "inherit";
}
pub c_anim_spin_container {
display: "flex";
justify-content: "center";
align-items: "center";
margin: format!("{} 0px", var!(space-lg));
min-height: "80px";
}
pub c_anim_spin {
font-size: var!(font-5xl);
animation: "euv-spin 1.5s linear infinite";
display: "inline-block";
@media ((max-width: 767px)) {
font-size: var!(font-4xl);
}
}
pub c_anim_spin_stopped {
font-size: var!(font-5xl);
display: "inline-block";
opacity: "1";
@media ((max-width: 767px)) {
font-size: var!(font-4xl);
}
}
pub c_anim_pulse_container {
display: "flex";
justify-content: "center";
align-items: "center";
margin: format!("{} 0px", var!(space-lg));
min-height: "80px";
}
pub c_anim_pulse {
font-size: var!(font-5xl);
animation: "euv-pulse 1.5s ease-in-out infinite";
display: "inline-block";
color: var!(foreground);
@media ((max-width: 767px)) {
font-size: var!(font-4xl);
}
}
pub c_anim_pulse_stopped {
font-size: var!(font-5xl);
display: "inline-block";
opacity: "1";
color: var!(foreground);
@media ((max-width: 767px)) {
font-size: var!(font-4xl);
}
}
pub c_euv_progress_label {
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
}
pub c_euv_progress_value {
margin-left: "auto";
font-size: var!(font-sm);
font-variant-numeric: "tabular-nums";
color: var!(muted-foreground);
}
pub c_progress_bar_running {
height: "100%";
background: var!(primary);
animation: format!("euv-progress 1.6s {} forwards", var!(ease-in-out));
border-radius: var!(radius-full);
}
pub c_progress_bar_stopped {
height: "100%";
background: var!(primary);
width: "0%";
border-radius: var!(radius-full);
transition: "none";
}
pub c_anim_scale_box {
margin: format!("{} 0px", var!(gap-component));
padding: var!(space-xl);
background: var!(primary);
cursor: "pointer";
transition: format!("transform {} {}", var!(duration-normal), var!(ease-out));
}
// ═══════════════════════════════════════════════════════════════════════════
// Unified Layout Primitives
// ═══════════════════════════════════════════════════════════════════════════
pub c_element_stack {
display: "flex";
flex-direction: "column";
gap: var!(gap-element);
}
pub c_switcher {
display: "flex";
gap: var!(gap-component);
flex-wrap: "wrap";
@media ((max-width: 767px)) {
flex-direction: "column";
gap: var!(gap-component-mobile);
}
}
pub c_switcher_col {
flex: "1";
min-width: "200px";
@media ((max-width: 767px)) {
min-width: "100%";
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Unified Description / Hint Text
// ═══════════════════════════════════════════════════════════════════════════
pub c_hint {
color: "inherit";
opacity: "1";
font-size: var!(font-base);
margin-bottom: var!(gap-component);
}
// ═══════════════════════════════════════════════════════════════════════════
// euv_pagination
// ═══════════════════════════════════════════════════════════════════════════
pub c_euv_footer {
// Footer sits at the natural end of the article column. The user
// reaches it by scrolling to the bottom of the article — no sticky
// or fixed positioning. This matches the desktop behavior and
// Avoid any layout interference on mobile (where a sticky footer
// would overlap the last lines of content while scrolling).
// No top margin: the preceding tail block already carries the gap
// between the article and its pagination, so a margin here would
// stack with it and leave the rule stranded below an empty band.
// The dashed rule is this element's own `border-top`, so the
// padding below is the gap from the rule to the text and the
// padding above is the gap from the preceding content to the rule.
// Only one of them belongs to the band inside the rule, and it is
// the top one — that is the space between the divider and the text.
// `space-md` keeps the text close to the rule; the block is
// `display: flex` so the row is centred in the band the padding
// defines rather than riding its top edge.
padding: format!("{} 0px", var!(space-md));
border-top: format!("{} solid {}", var!(border-width), var!(border));
display: "flex";
// One row: the text and the notices sit side by side and never
// wrap. `align-items: center` keeps the badge on the text's
// midline, and `overflow: hidden` keeps a long row inside the
// column instead of pushing the page wider.
flex-wrap: "nowrap";
align-items: "center";
justify-content: "center";
gap: var!(space-md);
text-align: "center";
font-size: var!(font-sm);
color: var!(muted-foreground);
min-width: "0px";
overflow: "hidden";
}
// One item of the footer row.
//
// `inline-block` rather than a flex box: the text is inline content
// inside this box, so `text-overflow: ellipsis` can cut it with a
// dot when the row is too narrow. A flex box would put the text in
// an anonymous item that no selector can reach, and the text would
// be clipped without a hint that it was cut.
pub c_euv_footer_item {
display: "inline-block";
min-width: "0px";
max-width: "100%";
overflow: "hidden";
text-overflow: "ellipsis";
white-space: "nowrap";
vertical-align: "middle";
}
// A linked item of the footer row.
pub c_euv_footer_item_link {
c_euv_footer_item();
color: "inherit";
text-decoration: "none";
:hover {
color: var!(primary);
}
}
// The official badge that precedes a filing number.
//
// The height is the badge's own size (20px), so the picture is
// served at its native resolution instead of being scaled by the
// browser. The margin is the gap to the number: the link is an
// inline box, so the gap cannot come from a flex `gap`.
pub c_euv_footer_item_icon {
display: "inline-block";
height: var!(space-xl);
width: "auto";
vertical-align: "middle";
margin-right: var!(space-2xs);
}
pub c_euv_doc_layout {
display: "flex";
gap: var!(space-4xl);
width: "100%";
min-width: "0px";
max-width: "1080px";
margin: "0px auto";
// Fill the visible area of the scroll container (`c_app_main`,
// `overflow: auto` with a definite `height: 100%`) so the content
// column has room to push its tail to the bottom. A viewport unit
// would be wrong here: `100vh` measures the whole window including
// the app header, overshooting the visible area by the header
// height and pushing pagination/footer one header past the fold.
// Being a direct child of the scroll container, a percentage does
// resolve against its content box — put it one level deeper and
// the intermediate auto-height flex row makes `100%` degenerate to
// `auto`.
min-height: "100%";
// As a flex item of the scroll container's column, the default
// `flex-shrink: 1` lets this row be compressed to the `min-height`
// floor — 824px here — even though its content is 12780px tall. A
// sticky descendant can only travel inside its containing block, so
// the clamped row made `c_euv_doc_toc` unpin after roughly one
// viewport of scroll. Never shrink: the row must carry the article's
// full height so the sticky range spans the whole page.
flex-shrink: "0";
}
pub c_euv_doc_content {
// Two parallel children — the article body and the
// `c_euv_doc_tail` wrapper (pagination + footer). The flex column
// distributes them at the two ends:
// - when the article is shorter than the column's intrinsic
// height, `justify-content: space-between` pushes the tail to
// the bottom edge;
// - when the article is longer, the tail sits right after the
// article in normal flow (because content height exceeds
// min-height, there's no remaining space to distribute).
// The scroll container is `c_app_main` (`overflow: auto`), not the
// window, so a viewport unit measures the whole window including the
// app header. `100vh` therefore overshoots by the header height and
// pushes the tail one header past the fold on a short page. Height
// comes from `c_euv_doc_layout` (a direct child of the scroll
// container, where a percentage resolves); here `align-items:
// stretch` — the flex default — makes this column take that height
// so `space-between` has the full column to distribute across.
// - article shorter than the column: `space-between` drops the
// tail to the bottom edge of the visible area;
// - article longer: the column grows with it and the tail follows
// the body in normal flow, scrolling with the page.
flex: "1";
min-width: "0px";
max-width: var!(content-max-width);
display: "flex";
flex-direction: "column";
justify-content: "space-between";
}
pub c_euv_doc_body {
// Groups the page title and the rendered markdown into a single
// flex item. Without this the column would hold the `<h1>` and
// the `<article>` as two separate items, and
// `justify-content: space-between` would push them apart — a wide
// blank band between the title and the first paragraph on any
// page whose body is shorter than the column.
display: "flex";
flex-direction: "column";
// The body takes its natural height; only the tail is pushed to
// the far end. `flex-shrink: 0` keeps a long body from being
// compressed when the column is height-constrained.
flex: "0 0 auto";
min-width: "0px";
}
pub c_euv_doc_tail {
// Plain block wrapper that groups pagination + footer into one
// flex child. With `display: contents` the wrapper would be
// skipped and the two siblings would behave as direct children
// of `c_euv_doc_content` — breaking the two-parallel-containers
// contract that `justify-content: space-between` relies on.
display: "block";
}
pub c_euv_doc_toc {
width: "200px";
flex-shrink: "0";
// Pin the TOC column to the viewport while the main content scrolls.
// The sticky scroll container is `c_app_main` (the overflow:auto
// wrapper), so this offset is measured from that container's top edge.
// It tracks `padding-main-top` rather than a bare `0` so the pinned
// column keeps the same breathing room below the container edge as the
// article has below the same edge — the two columns stay on one
// vertical rhythm instead of the TOC riding flush against the top.
position: "sticky";
top: var!(padding-main-top);
@media ((max-width: 1100px)) {
display: "none";
}
}
// Makes the element's own box disappear while its children stay in the
// parent's layout flow, so a wrapper can carry a key or a conditional
// without contributing a box.
//
// The docs shell and page wrappers spelled this as an inline
// `style: "display: contents"`; the rule is the same either way, but a
// named class keeps the markup declarative and lets the browser cache it.
pub c_euv_display_contents {
display: "contents";
}
// ═══════════════════════════════════════════════════════════════════════
// Home Page Layout
// ═══════════════════════════════════════════════════════════════════════
pub c_home_layout {
// Mirrors `c_euv_doc_layout`: fill the visible area of the scroll
// container (`c_app_main`, `overflow: auto` with a definite
// `height: 100%`) so the column below has room to push its footer to
// the bottom. A viewport unit would overshoot by the app header.
//
// As a flex item of the scroll container's column it must never be
// shrunk below its content, or a tall home page collapses and the
// sticky-free column loses its height floor.
display: "flex";
flex-direction: "column";
width: "100%";
min-width: "0px";
min-height: "100%";
flex-shrink: "0";
margin: "0px auto";
max-width: var!(content-max-width);
}
pub c_home_content {
// Two parallel children — the content region (hero, stats, feature
// grid, blocks) and `c_home_tail` (the footer). `space-between`
// puts the footer at the far end of the column: on a short home page
// it drops to the bottom of the visible area, and on a tall one it
// follows the content in normal flow.
flex: "1";
min-width: "0px";
display: "flex";
flex-direction: "column";
justify-content: "space-between";
}
pub c_home_body {
// Groups hero + stats + grid + blocks into one flex item. Without
// this wrapper `space-between` would distribute the free space
// between the hero and the grid, tearing the title away from the
// content it introduces.
display: "flex";
flex-direction: "column";
flex-shrink: "0";
}
pub c_home_tail {
// Plain block wrapper around the footer so the column keeps exactly
// two children. A `display: contents` wrapper would be skipped and
// the footer would become a direct flex item, which is the case this
// structure exists to avoid.
display: "block";
flex-shrink: "0";
}
pub(crate) c_euv_collapse_item {
border-bottom: format!("{} solid {}", var!(border-width), var!(border));
}
pub(crate) c_euv_collapse_header {
display: "flex";
align-items: "center";
gap: var!(space-sm);
width: "100%";
min-height: var!(control-height);
padding: format!("{} 0px", var!(space-sm));
cursor: "pointer";
text-align: "left";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
color: var!(foreground);
background: "transparent";
border: "none";
outline: "none";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
:hover {
background: var!(muted);
color: var!(primary);
}
}
pub(crate) c_euv_collapse_header_active {
display: "flex";
align-items: "center";
gap: var!(space-sm);
width: "100%";
min-height: var!(control-height);
padding: format!("{} 0px", var!(space-sm));
cursor: "pointer";
text-align: "left";
font-size: var!(font-base);
font-weight: var!(font-weight-semibold);
color: var!(primary);
background: var!(muted);
border: "none";
outline: "none";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
}
pub(crate) c_euv_collapse_body {
overflow: "hidden";
font-size: var!(font-base);
color: var!(foreground);
transition: format!("max-height {} {}, opacity {} {}", var!(duration-normal), var!(ease-out), var!(duration-normal), var!(ease-out));
}
pub(crate) c_euv_collapse_body_open {
overflow: "hidden";
max-height: "none";
opacity: "1";
padding-bottom: var!(space-md);
font-size: var!(font-base);
color: var!(foreground);
transition: format!("max-height {} {}, opacity {} {}", var!(duration-normal), var!(ease-out), var!(duration-normal), var!(ease-out));
}
pub(crate) c_euv_collapse_body_closed {
overflow: "hidden";
max-height: "0px";
opacity: "0";
font-size: var!(font-base);
color: var!(foreground);
transition: format!("max-height {} {}, opacity {} {}", var!(duration-normal), var!(ease-out), var!(duration-normal), var!(ease-out));
}
pub(crate) c_euv_breadcrumb {
display: "flex";
align-items: "center";
flex-wrap: "wrap";
gap: var!(space-xs);
font-size: var!(font-sm);
}
pub(crate) c_euv_breadcrumb_list {
display: "flex";
align-items: "center";
flex-wrap: "wrap";
gap: var!(space-xs);
margin: "0px";
padding: "0px";
list-style: "none";
}
pub(crate) c_euv_breadcrumb_item {
display: "inline-flex";
align-items: "center";
gap: var!(space-xs);
font-size: var!(font-sm);
color: var!(muted-foreground);
}
pub(crate) c_euv_breadcrumb_link {
font-size: var!(font-sm);
color: var!(muted-foreground);
cursor: "pointer";
text-decoration: "none";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
:hover {
background: var!(muted);
color: var!(primary);
}
}
pub(crate) c_euv_breadcrumb_sep {
font-size: var!(font-sm);
color: var!(muted-foreground);
user-select: "none";
-webkit-user-select: "none";
}
pub(crate) c_euv_breadcrumb_ellipsis {
display: "inline-flex";
align-items: "center";
justify-content: "center";
width: var!(space-xl);
height: var!(space-lg);
font-size: var!(font-sm);
color: var!(muted-foreground);
user-select: "none";
-webkit-user-select: "none";
}
pub(crate) c_euv_breadcrumb_current {
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
color: var!(foreground);
cursor: "default";
}
pub(crate) c_euv_divider {
display: "block";
width: "100%";
}
pub(crate) c_euv_divider_horizontal {
display: "block";
width: "100%";
height: "0px";
border: "none";
border-top: format!("{} solid {}", var!(border-width), var!(border));
margin: format!("{} 0px", var!(space-lg));
}
pub(crate) c_euv_divider_vertical {
display: "block";
width: "0px";
height: "auto";
align-self: "center";
border: "none";
border-left: format!("{} solid {}", var!(border-width), var!(border));
margin: format!("0px {}", var!(space-sm));
}
pub(crate) c_euv_divider_labeled {
display: "flex";
align-items: "center";
gap: var!(space-sm);
width: "100%";
margin: format!("{} 0px", var!(space-lg));
}
pub(crate) c_euv_divider_label_text {
font-size: var!(font-xs);
font-weight: var!(font-weight-medium);
color: var!(muted-foreground);
white-space: "nowrap";
user-select: "none";
-webkit-user-select: "none";
}
// ═══════════════════════════════════════════════════════════════════════════
// Card Component
// ═══════════════════════════════════════════════════════════════════════════
pub c_card_stack {
display: "flex";
flex-direction: "column";
gap: var!(page-block-gap);
> :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
:is(".c_page_container > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack") {
margin-top: var!(page-block-gap);
}
@media ((max-width: 767px)) {
gap: var!(page-block-gap-mobile);
}
@media ((max-width: 767px)) {
:is(".c_page_container > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card_stack") {
margin-top: var!(page-block-gap-mobile);
}
}
}
pub(crate) c_euv_card_description {
color: var!(muted-foreground);
font-size: var!(font-sm);
line-height: "1.5";
}
pub(crate) c_euv_card_content {
display: "flex";
flex-direction: "column";
gap: var!(space-sm);
}
pub(crate) c_euv_card_footer {
display: "flex";
align-items: "center";
gap: var!(space-sm);
}
pub(crate) c_euv_card_action {
display: "flex";
align-items: "center";
gap: var!(space-sm);
grid-column-start: "2";
grid-row-start: "1";
grid-row-end: "auto";
:is(".c_euv_card_header:has(.c_euv_card_description) .c_euv_card_action") {
grid-row-end: "span 2";
}
justify-self: "end";
align-self: "start";
}
pub(crate) c_modal_close_button {
display: "flex";
justify-content: "center";
align-items: "center";
color: "inherit";
border: "none";
padding: format!("{} {}", var!(space-sm), var!(space-md));
cursor: "pointer";
font-size: "20px";
font-weight: var!(font-weight-normal);
vertical-align: "middle";
outline: "none";
opacity: "1";
flex-shrink: "0";
transition: format!("opacity {} {}", var!(duration-fast), var!(ease-out));
:hover {
opacity: "1";
}
:active {
opacity: "1";
}
:focus {
outline: "none";
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Badges
//
// The badge is the registry's badge: a small pill with four variants.
// The shared class carries the shape and the type scale, the variant
// classes carry the fill.
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_badge_clickable {
cursor: "pointer";
}
pub(crate) c_euv_badge_default {
color: var!(primary-foreground);
background: var!(primary);
border: format!("{} solid transparent", var!(border-width));
}
pub(crate) c_euv_badge_secondary {
color: var!(secondary-foreground);
background: var!(secondary);
border: format!("{} solid transparent", var!(border-width));
}
pub(crate) c_euv_badge_outline {
color: var!(foreground);
background: "transparent";
border: format!("{} solid {}", var!(border-width), var!(border));
}
pub(crate) c_euv_badge_ghost {
color: var!(foreground);
background: "transparent";
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
}
pub(crate) c_euv_badge_link {
color: var!(primary);
background: "transparent";
border: format!("{} solid transparent", var!(border-width));
text-underline-offset: var!(space-xs);
:hover {
text-decoration: "underline";
}
}
pub(crate) c_euv_tag_solid_black {
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
color: var!(primary-foreground);
padding: format!("{} {}", var!(space-xs), var!(space-md));
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
cursor: "pointer";
background: var!(primary);
border: format!("{} solid {}", var!(border-width), var!(primary));
box-sizing: "border-box";
border-radius: var!(radius-sm);
}
pub(crate) c_euv_tag_solid_white {
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
color: var!(foreground);
padding: format!("{} {}", var!(space-2xs), var!(space-sm));
font-size: var!(font-xs);
font-weight: var!(font-weight-semibold);
cursor: "pointer";
border: format!("1.5px solid {}", var!(primary));
box-sizing: "border-box";
border-radius: var!(radius-sm);
}
// ═══════════════════════════════════════════════════════════════════════════
// Euv Tag Variants (semantic colour tags)
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_tag_outline_black {
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
color: var!(primary);
padding: format!("{} {}", var!(space-2xs), var!(space-sm));
font-size: var!(font-xs);
font-weight: var!(font-weight-semibold);
cursor: "pointer";
border: format!("1.5px solid {}", var!(primary));
box-sizing: "border-box";
border-radius: var!(radius-sm);
}
pub(crate) c_euv_tag_outline_white {
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
color: var!(foreground);
padding: format!("{} {}", var!(space-xs), var!(space-md));
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
cursor: "pointer";
border: format!("1.5px solid {}", var!(border));
box-sizing: "border-box";
border-radius: var!(radius-sm);
}
pub(crate) c_euv_pagination_no_next {
text-align: "left";
}
pub(crate) c_euv_pagination_spacer {
flex: "1";
}
// ═══════════════════════════════════════════════════════════════════════════
// euv_markdown / euv_footer
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_markdown {
width: "100%";
min-width: "0px";
}
// Scroll container for a markdown table.
//
// The table keeps `display: table` (so it fills the column and its
// columns are sized by real table layout), which means the *wrapper*
// is what can scroll: `overflow-x` on the table box itself is ignored.
// `min-width: 0` is what lets the wrapper shrink inside the flex/grid
// prose column instead of being floored by its table's intrinsic width,
// so a wide table scrolls rather than pushing the whole article wide.
pub(crate) c_euv_markdown_table_scroll {
overflow-x: "auto";
max-width: "100%";
min-width: "0px";
}
// ═══════════════════════════════════════════════════════════════════════════
// euv_result / euv_doc_layout
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_result {
display: "flex";
flex-direction: "column";
align-items: "center";
justify-content: "center";
text-align: "center";
gap: var!(space-md);
padding: format!("{} {}", var!(space-4xl), var!(space-md));
// Half the available height, not half the viewport: the result block
// lives inside a scroll container, so a viewport unit would be taller
// than the visible area on short pages and leave the buttons below
// the fold.
min-height: "50%";
}
pub(crate) c_euv_result_code {
font-size: var!(font-6xl);
font-weight: var!(font-weight-bold);
line-height: "1";
letter-spacing: var!(letter-spacing-tight);
}
pub(crate) c_euv_result_title {
font-size: var!(font-2xl);
font-weight: var!(font-weight-semibold);
margin: "0px";
}
pub(crate) c_euv_result_description {
color: var!(muted-foreground);
margin: "0px";
}
pub(crate) c_euv_result_actions {
display: "flex";
gap: var!(space-md);
margin-top: var!(space-lg);
}
// ═══════════════════════════════════════════════════════════════════════════
// Empty
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_empty_icon {
font-size: var!(font-3xl);
line-height: "1";
color: var!(muted-foreground);
}
pub(crate) c_euv_alert_icon {
display: "inline-flex";
align-items: "center";
justify-content: "center";
width: var!(space-3xl);
height: var!(space-3xl);
flex-shrink: "0";
color: var!(foreground);
}
pub(crate) c_euv_empty_text {
font-size: var!(font-lg);
font-weight: var!(font-weight-semibold);
color: var!(foreground);
}
pub(crate) c_euv_empty_desc {
font-size: var!(font-sm);
color: var!(muted-foreground);
max-width: var!(text-measure);
}
pub(crate) c_euv_empty_action {
margin-top: var!(space-sm);
}
// ═══════════════════════════════════════════════════════════════════════════
// Typography
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_text {
margin: "0px";
color: var!(foreground);
font-size: var!(font-base);
line-height: "1.6";
}
pub(crate) c_euv_text_title {
margin: "0px";
color: var!(foreground);
font-size: var!(font-xl);
font-weight: var!(font-weight-semibold);
line-height: "1.4";
}
pub(crate) c_euv_text_title_lg {
margin: "0px";
color: var!(foreground);
font-size: var!(font-2xl);
font-weight: var!(font-weight-semibold);
line-height: "1.35";
}
pub(crate) c_euv_text_title_sm {
margin: "0px";
color: var!(foreground);
font-size: var!(font-lg);
font-weight: var!(font-weight-semibold);
line-height: "1.4";
}
pub(crate) c_euv_text_paragraph {
margin: "0px";
color: var!(foreground);
font-size: var!(font-base);
line-height: "1.6";
}
pub(crate) c_euv_text_secondary {
margin: "0px";
color: var!(muted-foreground);
font-size: var!(font-sm);
line-height: "1.6";
}
pub(crate) c_euv_text_mono {
margin: "0px";
color: var!(foreground);
font-size: var!(font-sm);
font-family: var!(font-family-mono);
line-height: "1.5";
}
pub(crate) c_euv_text_deletion {
margin: "0px";
color: var!(muted-foreground);
font-size: var!(font-base);
text-decoration: "line-through";
line-height: "1.6";
}
pub(crate) c_euv_text_underline {
margin: "0px";
color: var!(foreground);
font-size: var!(font-base);
text-decoration: "underline";
line-height: "1.6";
}
// ═══════════════════════════════════════════════════════════════════════════
// Link
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_link {
display: "inline";
color: var!(foreground);
font-size: var!(font-base);
text-decoration: "underline";
text-underline-offset: "2px";
cursor: "pointer";
touch-action: "manipulation";
:hover {
color: var!(muted-foreground);
}
}
pub(crate) c_euv_link_disabled {
display: "inline";
color: var!(muted-foreground);
font-size: var!(font-base);
text-decoration: "none";
cursor: "not-allowed";
opacity: "0.5";
}
// ═══════════════════════════════════════════════════════════════════════════
// Image
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_image {
display: "block";
max-width: "100%";
height: "auto";
border: "none";
background: "transparent";
}
pub(crate) c_euv_image_placeholder {
position: "relative";
display: "flex";
align-items: "center";
justify-content: "center";
width: "100%";
min-height: var!(control-height);
padding: var!(space-md);
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(background);
color: var!(muted-foreground);
font-size: var!(font-sm);
text-align: "center";
box-sizing: "border-box";
}
// Keep native lazy loading active without exposing intrinsic broken-image layout.
pub(crate) c_euv_image_unavailable_picture {
position: "absolute";
inset: "0px";
width: "100%";
height: "100%";
opacity: "0";
pointer-events: "none";
}
pub(crate) c_euv_image_failed {
position: "relative";
display: "flex";
align-items: "center";
justify-content: "center";
width: "100%";
min-height: var!(control-height);
padding: var!(space-md);
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(background);
color: var!(muted-foreground);
font-size: var!(font-sm);
text-align: "center";
box-sizing: "border-box";
}
// ═══════════════════════════════════════════════════════════════════════════
// Carousel
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_carousel {
position: "relative";
display: "flex";
flex-direction: "column";
width: "100%";
overflow: "hidden";
touch-action: "pan-y";
}
pub(crate) c_euv_carousel_track {
display: "flex";
flex-direction: "row";
width: "100%";
transition: format!("transform {} {}", var!(duration-normal), var!(ease-out));
}
pub(crate) c_euv_carousel_slide {
flex: "0 0 100%";
width: "100%";
min-width: "100%";
box-sizing: "border-box";
padding-left: format!("calc({} + {})", var!(space-4xl), var!(space-lg));
padding-right: format!("calc({} + {})", var!(space-4xl), var!(space-lg));
}
pub(crate) c_euv_carousel_dots {
display: "flex";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
padding-top: var!(space-sm);
}
pub(crate) c_euv_carousel_dot {
width: var!(space-sm);
height: var!(space-sm);
padding: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-full);
background: var!(background);
cursor: "pointer";
touch-action: "manipulation";
:hover {
background: var!(muted);
}
}
pub(crate) c_euv_carousel_dot_active {
width: var!(space-sm);
height: var!(space-sm);
padding: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-full);
background: var!(primary);
cursor: "pointer";
touch-action: "manipulation";
:hover {
background: var!(primary);
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Anchor
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_anchor {
display: "flex";
flex-direction: "column";
gap: var!(space-xs);
width: "100%";
}
pub(crate) c_euv_anchor_title {
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
color: var!(foreground);
margin-bottom: var!(space-xs);
}
pub(crate) c_euv_anchor_link {
display: "block";
padding: format!("{} 0px", var!(space-2xs));
color: var!(muted-foreground);
font-size: var!(font-sm);
text-decoration: "none";
cursor: "pointer";
touch-action: "manipulation";
:hover {
color: var!(foreground);
}
}
pub(crate) c_euv_anchor_link_active {
display: "block";
padding: format!("{} 0px", var!(space-2xs));
color: var!(foreground);
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
text-decoration: "none";
cursor: "pointer";
touch-action: "manipulation";
:hover {
color: var!(foreground);
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Watermark
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_watermark {
position: "relative";
display: "block";
width: "100%";
}
pub(crate) c_euv_watermark_layer {
position: "absolute";
top: "0px";
left: "0px";
right: "0px";
bottom: "0px";
z-index: "1";
display: "flex";
align-items: "center";
justify-content: "center";
overflow: "hidden";
pointer-events: "none";
}
pub(crate) c_euv_watermark_text {
color: var!(muted-foreground);
font-size: var!(font-2xl);
font-weight: var!(font-weight-bold);
letter-spacing: var!(letter-spacing-wide);
opacity: "0.12";
transform: "rotate(-22deg)";
user-select: "none";
-webkit-user-select: "none";
white-space: "nowrap";
}
// ═══════════════════════════════════════════════════════════════════════════
// Back To Top
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_back_top_visible {
position: "fixed";
right: var!(space-xl);
bottom: var!(space-xl);
z-index: "900";
display: "flex";
align-items: "center";
justify-content: "center";
width: "40px";
height: "40px";
padding: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(background);
color: var!(foreground);
font-size: var!(font-sm);
line-height: "1";
cursor: "pointer";
box-shadow: var!(shadow-sm);
touch-action: "manipulation";
:hover {
background: var!(muted);
color: var!(primary);
}
@media ((max-width: 767px)) {
right: var!(space-lg);
bottom: var!(space-lg);
}
}
pub(crate) c_euv_back_top_hidden {
position: "fixed";
right: var!(space-xl);
bottom: var!(space-xl);
z-index: "900";
display: "none";
align-items: "center";
justify-content: "center";
width: "40px";
height: "40px";
padding: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(background);
color: var!(foreground);
font-size: var!(font-sm);
line-height: "1";
cursor: "pointer";
box-shadow: var!(shadow-sm);
touch-action: "manipulation";
:hover {
background: var!(muted);
color: var!(primary);
}
@media ((max-width: 767px)) {
right: var!(space-lg);
bottom: var!(space-lg);
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Splitter
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_splitter {
display: "flex";
align-items: "stretch";
width: "100%";
height: "100%";
min-height: "0px";
}
pub(crate) c_euv_splitter_pane {
flex: "1";
min-width: "0px";
min-height: "0px";
overflow: "auto";
}
pub(crate) c_euv_splitter_bar {
flex: "0 0 6px";
align-self: "stretch";
background: var!(border);
cursor: "col-resize";
touch-action: "none";
user-select: "none";
-webkit-user-select: "none";
:hover {
background: var!(primary);
}
}
// ═══════════════════════════════════════════════════════════════════════════
// Grid
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_grid {
display: "flex";
flex-wrap: "wrap";
width: "100%";
box-sizing: "border-box";
}
// A grid row that spaces its columns.
//
// The spacing is padding on the columns, not a `gap` on the row: a
// column's width is a percentage of the row, so a gap would be
// added on top of a row that already sums to a hundred percent and
// push the last column onto a second line. The row pulls itself
// out by half the gutter and the columns pad themselves back in, so
// the columns still add up to the row's full width.
pub(crate) c_euv_grid_gutter {
display: "flex";
flex-wrap: "wrap";
width: "100%";
box-sizing: "border-box";
margin-left: {
format!("calc({} / -2)", var!(gap-component))
};
margin-right: {
format!("calc({} / -2)", var!(gap-component))
};
}
// A grid column. The width is a share of the row, and the caller
// sets it inline, so a row's columns add up exactly whatever their
// span.
pub(crate) c_euv_grid_col {
display: "block";
flex: "0 0 auto";
box-sizing: "border-box";
min-width: "0px";
}
// A grid column inside a spaced row. The column keeps its share of
// the row and takes half the gutter as padding on each side, which
// is what opens the space between two columns.
pub(crate) c_euv_grid_gutter_col {
display: "block";
flex: "0 0 auto";
box-sizing: "border-box";
min-width: "0px";
padding-left: {
format!("calc({} / 2)", var!(gap-component))
};
padding-right: {
format!("calc({} / 2)", var!(gap-component))
};
}
// A grid column that is pushed to the right by an offset. The
// offset's size is set inline, like the column's own width.
pub(crate) c_euv_grid_col_offset {
display: "block";
flex: "0 0 auto";
box-sizing: "border-box";
min-width: "0px";
}
// A grid column inside a spaced row that is also pushed to the
// right by an offset. It is the spaced column and the offset
// column at once: the padding that opens the gutter and the offset
// that pushes the column along the row.
pub(crate) c_euv_grid_gutter_col_offset {
display: "block";
flex: "0 0 auto";
box-sizing: "border-box";
min-width: "0px";
padding-left: {
format!("calc({} / 2)", var!(gap-component))
};
padding-right: {
format!("calc({} / 2)", var!(gap-component))
};
}
// ═══════════════════════════════════════════════════════════════════════════
// Affix
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_affix {
position: "sticky";
z-index: "10";
width: "100%";
box-sizing: "border-box";
}
// ═══════════════════════════════════════════════════════════════════════════
// Accordion
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_accordion {
display: "flex";
flex-direction: "column";
width: "100%";
}
pub(crate) c_euv_accordion_header {
display: "flex";
width: "100%";
}
pub(crate) c_euv_accordion_trigger_open {
text-decoration: "underline";
}
pub(crate) c_euv_accordion_icon {
flex-shrink: "0";
width: var!(space-lg);
height: var!(space-lg);
border-right: format!("{} solid {}", var!(border-width), var!(muted-foreground));
border-bottom: format!("{} solid {}", var!(border-width), var!(muted-foreground));
transform: "rotate(45deg)";
transform-origin: "center";
transition: format!("{} {}", var!(duration-normal), var!(ease-out));
}
pub(crate) c_euv_accordion_icon_open {
transform: "rotate(225deg)";
}
pub(crate) c_euv_accordion_content_open {
display: "block";
}
pub(crate) c_euv_accordion_content_closed {
display: "none";
}
pub(crate) c_euv_accordion_content_inner {
padding: format!("0px 0px {}", var!(space-lg));
}
// ═══════════════════════════════════════════════════════════════════════════
// Item
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_item_media_default {
display: "flex";
flex-shrink: "0";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
background: "transparent";
}
pub(crate) c_euv_item_media_icon {
display: "flex";
flex-shrink: "0";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
width: "32px";
height: "32px";
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-sm);
background: var!(muted);
color: var!(foreground);
font-size: var!(font-base);
}
pub(crate) c_euv_item_media_image {
display: "flex";
flex-shrink: "0";
align-items: "center";
justify-content: "center";
width: "40px";
height: "40px";
overflow: "hidden";
border-radius: var!(radius-sm);
background: var!(muted);
}
pub(crate) c_euv_item_content {
display: "flex";
flex: "1";
flex-direction: "column";
gap: var!(space-xs);
min-width: "0px";
}
pub(crate) c_euv_item_title {
display: "flex";
align-items: "center";
gap: var!(space-sm);
color: var!(foreground);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1.25";
}
pub(crate) c_euv_item_description {
margin: "0px";
color: var!(muted-foreground);
font-size: var!(font-sm);
font-weight: var!(font-weight-normal);
line-height: "1.5";
}
pub(crate) c_euv_item_actions {
display: "flex";
align-items: "center";
gap: var!(space-sm);
}
pub(crate) c_euv_item_header {
display: "flex";
width: "100%";
align-items: "center";
justify-content: "space-between";
gap: var!(space-sm);
}
pub(crate) c_euv_item_footer {
display: "flex";
width: "100%";
align-items: "center";
justify-content: "space-between";
gap: var!(space-sm);
}
pub(crate) c_euv_item_separator {
width: "100%";
height: "1px";
margin: "0px";
background: var!(border);
}
// ═══════════════════════════════════════════════════════════════════════════
// Spinner
// ═══════════════════════════════════════════════════════════════════════════
pub(crate) c_euv_spinner_root {
display: "inline-flex";
align-items: "center";
gap: var!(space-sm);
}
pub(crate) c_euv_spinner {
display: "inline-block";
width: var!(space-lg);
height: var!(space-lg);
border: format!("{} solid {}", var!(border-width), var!(muted));
border-top-color: var!(foreground);
border-radius: var!(radius-full);
box-sizing: "border-box";
vertical-align: "middle";
line-height: "1";
text-align: "center";
animation: "euv-spin 0.8s linear infinite";
}
pub(crate) c_euv_spinner_label {
color: var!(muted-foreground);
font-size: var!(font-sm);
white-space: "nowrap";
}
pub(crate) c_euv_spinner_label_hidden {
display: "none";
}
// ═══════════════════════════════════════════════════════════════════════════
// Aspect Ratio
// ═══════════════════════════════════════════════════════════════════════════
pub c_euv_separator_horizontal {
height: "1px";
width: "100%";
}
pub c_euv_separator_vertical {
height: "100%";
width: "1px";
}
}
#[cfg(not(feature = "theme-shadcn"))]
class! {
pub c_card_title {
margin: "0px";
color: var!(card-foreground);
font-size: var!(font-lg);
font-weight: var!(font-weight-semibold);
letter-spacing: var!(letter-spacing-tight);
@media ((max-width: 767px)) {
font-size: var!(font-md);
}
}
pub c_euv_button {
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
white-space: "nowrap";
border-radius: var!(radius-lg);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1";
box-sizing: "border-box";
cursor: "pointer";
// The control may be an anchor rather than a button, and an anchor
// carries an underline the control does not want.
text-decoration: "none";
user-select: "none";
-webkit-user-select: "none";
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}, box-shadow {} {}, transform {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-press),
var!(ease-accelerate)
);
:focus-visible {
outline: "none";
box-shadow: format!("0 0 0 {} {}, 0 0 0 calc({} + {}) {}", var!(ring-offset), var!(background), var!(ring-offset), var!(ring-width), var!(ring));
}
// The scale is what makes the press read as the button taking the
// weight of the finger instead of a colour swap.
:active {
transform: format!("scale({})", var!(press-scale));
}
:disabled {
pointer-events: "none";
opacity: "0.5";
}
}
pub c_euv_button_default {
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(primary-hover);
}
}
pub c_euv_button_secondary {
background: var!(secondary);
color: var!(secondary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: format!("color-mix(in srgb, {} 80%, transparent)", var!(secondary));
}
}
pub c_euv_button_destructive {
background: var!(destructive);
color: var!(destructive-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: format!("color-mix(in srgb, {} 90%, transparent)", var!(destructive));
}
}
pub c_euv_button_outline {
background: var!(background);
color: var!(foreground);
border: format!("{} solid {}", var!(border-width), var!(input));
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
}
pub c_euv_button_ghost {
background: "transparent";
color: var!(foreground);
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
}
pub c_euv_button_size_default {
height: var!(control-height-sm);
padding: format!("0px {}", var!(control-pad-inline));
}
pub c_euv_button_size_small {
height: format!("calc({} - 4px)", var!(control-height-sm));
padding: format!("0px {}", var!(control-pad-inline));
}
pub c_euv_button_size_large {
height: var!(control-height);
padding: format!("0px {}", var!(control-pad-inline));
}
pub c_euv_button_size_icon {
height: var!(control-height-sm);
width: var!(control-height-sm);
padding: "0px";
}
pub c_euv_button_size_xs {
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: format!("0px {}", var!(control-pad-inline));
}
pub c_euv_button_size_icon_xs {
width: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: "0px";
}
pub c_euv_button_size_icon_sm {
width: var!(control-height-sm);
height: var!(control-height-sm);
padding: "0px";
}
pub c_euv_button_size_icon_lg {
width: format!("calc({} + {})", var!(control-height), var!(space-xs));
height: format!("calc({} + {})", var!(control-height), var!(space-xs));
padding: "0px";
}
pub(crate) c_euv_alert_default {
position: "relative";
width: "100%";
box-sizing: "border-box";
padding: var!(space-lg);
background: var!(background);
color: var!(foreground);
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-lg);
}
pub(crate) c_euv_alert_destructive {
position: "relative";
width: "100%";
box-sizing: "border-box";
padding: var!(space-lg);
color: var!(destructive);
background: var!(background);
border: format!("{} solid {}", var!(border-width), var!(destructive));
border-radius: var!(radius-lg);
}
pub c_progress_container {
width: "100%";
margin: format!("{} 0px", var!(space-lg));
}
pub(crate) c_progress_bar_track {
position: "relative";
display: "flex";
align-items: "center";
width: "100%";
height: "12px";
overflow: "hidden";
background: var!(muted);
border-radius: var!(radius-sm);
}
pub c_euv_pagination {}
pub c_euv_pagination_link {
// `min-width: 0` lets long labels ellipsize on the desktop row
// layout. `overflow: hidden` is required to actually apply ellipsis
// when content is wider than the link.
min-width: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
padding: var!(space-lg);
cursor: "pointer";
display: "flex";
flex-direction: "column";
gap: var!(space-2xs);
overflow: "hidden";
:hover {
border-color: var!(ring);
}
border-radius: var!(radius-md);
:is(".c_euv_pagination_auto_content .c_euv_pagination_link") {
display: "grid";
grid-template-columns: "auto minmax(0px, 1fr) auto";
grid-template-rows: "auto auto";
align-content: "center";
align-items: "center";
justify-items: "stretch";
flex: "1";
width: "100%";
height: "auto";
min-height: format!("calc({} + {})", var!(control-height), var!(space-lg));
box-sizing: "border-box";
padding: var!(space-lg);
column-gap: var!(space-sm);
row-gap: var!(space-2xs);
white-space: "normal";
text-decoration: "none";
}
}
pub(crate) c_euv_tabs {
display: "flex";
flex-direction: "column";
width: "100%";
}
pub(crate) c_euv_tabs_bar {
display: "flex";
background: var!(muted);
border-radius: var!(radius-lg);
padding: var!(space-xs);
margin-bottom: var!(gap-component);
gap: var!(space-xs);
@media ((max-width: 767px)) {
flex-wrap: "wrap";
}
}
pub(crate) c_euv_tab_item {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
border-bottom: "2px solid transparent";
color: "inherit";
background: "transparent";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
white-space: "nowrap";
:hover {
background: var!(muted);
color: var!(primary);
}
border-radius: var!(radius-md);
}
pub(crate) c_euv_tab_item_active {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
border-bottom: format!("2px solid {}", var!(primary));
color: var!(primary-foreground);
background: var!(primary);
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
white-space: "nowrap";
border-radius: var!(radius-md);
}
pub(crate) c_euv_tabs_panel {
padding: format!("{} 0px", var!(gap-element));
}
pub(crate) c_card {
color: var!(card-foreground);
background: var!(card);
border: format!("{} solid {}", var!(surface-border-width), var!(border));
box-shadow: var!(shadow-sm);
padding: var!(card-padding);
display: "flex";
flex-direction: "column";
gap: var!(card-content-gap);
// Shell-owned spacing outranks child classes, including through transparent slots.
> :is("[class], *") {
margin-block: "0px";
}
> slot > :is("[class], *") {
margin-block: "0px";
}
> slot > slot > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
box-sizing: "border-box";
// Only page-level cards own a block gap; composed cards use their parent's gap.
margin-top: "0px";
:is(".c_page_container > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card") {
margin-top: var!(page-block-gap);
}
@media ((max-width: 767px)) {
:is(".c_page_container > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card") {
margin-top: var!(page-block-gap-mobile);
}
}
border-radius: var!(radius-xl);
}
pub(crate) c_euv_card_header {
display: "grid";
grid-template-columns: "1fr auto";
grid-template-rows: "auto";
grid-auto-rows: "min-content";
align-items: "start";
gap: var!(space-xs);
}
pub(crate) c_euv_badge {
// The wrapping-atom recipe (§7): an inline flex box is atomic, so a
// wrapped label left-aligns while the border stays at the parent
// width — the right border reads as missing. The four `c_euv_tag_*`
// variants already use this recipe; a badge is the same kind of
// element and must not mix the two.
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
height: "20px";
box-sizing: "border-box";
padding: format!("{} {}", var!(space-2xs), var!(space-sm));
font-size: var!(font-xs);
font-weight: var!(font-weight-semibold);
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out)
);
:focus-visible {
outline: "none";
}
@media ((max-width: 767px)) {
padding: format!("{} {}", var!(space-2xs), var!(space-xs));
font-size: var!(font-xs);
}
border-radius: var!(radius-full);
}
pub(crate) c_euv_badge_destructive {
color: var!(destructive);
background: format!("color-mix(in srgb, {} 10%, transparent)", var!(destructive));
border: format!("{} solid transparent", var!(border-width));
}
pub(crate) c_euv_pagination_next {
text-align: "right";
:is(".c_euv_pagination_auto_content .c_euv_pagination_next") {
padding: var!(space-lg);
text-align: "right";
}
}
pub(crate) c_euv_empty {
display: "flex";
flex-direction: "column";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
width: "100%";
padding: var!(space-3xl);
box-sizing: "border-box";
text-align: "center";
}
pub(crate) c_euv_kbd {
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-2xs);
min-width: "20px";
height: "20px";
padding-inline: var!(space-2xs);
border-radius: var!(radius-sm);
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(muted);
color: var!(muted-foreground);
font-family: var!(font-family-mono);
font-size: var!(font-xs);
font-weight: var!(font-weight-medium);
line-height: "1";
white-space: "nowrap";
user-select: "none";
-webkit-user-select: "none";
}
pub(crate) c_euv_accordion_item {
display: "flex";
flex-direction: "column";
width: "100%";
border-bottom: format!("{} solid {}", var!(border-width), var!(border));
:last-child {
border-bottom: "none";
}
}
pub(crate) c_euv_accordion_trigger {
display: "flex";
flex: "1";
align-items: "center";
justify-content: "space-between";
gap: var!(space-sm);
padding: format!("{} 0px", var!(space-lg));
border: "none";
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1.5";
text-align: "left";
cursor: "pointer";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:hover {
color: var!(muted-foreground);
text-decoration: "underline";
}
:disabled {
opacity: "0.5";
cursor: "not-allowed";
}
}
pub(crate) c_euv_accordion_content {
overflow: "hidden";
color: var!(foreground);
font-size: var!(font-sm);
line-height: "1.5";
}
pub(crate) c_euv_item_group {
display: "flex";
flex-direction: "column";
}
pub(crate) c_euv_item_default {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid transparent", var!(border-width));
border-radius: var!(radius-md);
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
}
pub(crate) c_euv_item_outline {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-md);
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
}
pub(crate) c_euv_item_muted {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid transparent", var!(border-width));
border-radius: var!(radius-md);
background: var!(muted);
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
}
pub(crate) c_euv_item_size_default {
gap: var!(space-lg);
padding: var!(space-lg);
}
pub(crate) c_euv_item_size_sm {
gap: var!(space-sm-md);
padding: format!("{} {}", var!(space-md), var!(space-lg));
}
pub(crate) c_euv_item_size_xs {
gap: var!(space-sm);
padding: format!("{} {}", var!(space-sm), var!(space-sm-md));
}
pub(crate) c_euv_aspect_ratio {
position: "relative";
width: "100%";
overflow: "hidden";
}
pub c_euv_separator {
flex-shrink: "0";
background: var!(border);
}
pub(crate) c_euv_pagination_previous {
:is(".c_euv_pagination_auto_content .c_euv_pagination_previous") {
padding: var!(space-lg);
text-align: "left";
}
}
pub c_euv_button_primary {
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(primary-hover);
}
}
pub(crate) c_euv_pagination_label {
font-size: var!(font-xs);
color: var!(muted-foreground);
text-transform: var!(text-transform-uppercase);
letter-spacing: var!(letter-spacing-wide);
:is(".c_euv_pagination_auto_content .c_euv_pagination_label") {
display: "block";
grid-column: "2";
grid-row: "1";
min-width: "0px";
overflow: "hidden";
white-space: "nowrap";
text-overflow: "ellipsis";
font-size: var!(font-xs);
line-height: "1.5";
color: var!(muted-foreground);
}
}
pub(crate) c_euv_pagination_text {
font-size: var!(font-base);
font-weight: var!(font-weight-semibold);
color: var!(primary);
// Ellipsize when the link is too narrow for the page title. The
// outer `.c_euv_pagination_link` already sets `overflow: hidden`
// and `min-width: 0`, so a single `text-overflow: ellipsis` here
// is enough — without `white-space: nowrap` the text wraps to
// multiple lines and the ellipsis never kicks in.
white-space: "nowrap";
overflow: "hidden";
text-overflow: "ellipsis";
min-width: "0px";
:is(".c_euv_pagination_auto_content .c_euv_pagination_text") {
display: "block";
grid-column: "2";
grid-row: "2";
min-width: "0px";
overflow: "hidden";
white-space: "nowrap";
text-overflow: "ellipsis";
font-size: var!(font-sm);
line-height: "1.5";
color: var!(foreground);
}
}
pub(crate) c_euv_pagination_icon {
display: "none";
:is(".c_euv_pagination_auto_content .c_euv_pagination_icon") {
display: "flex";
grid-row: "1 / 3";
align-items: "center";
justify-content: "center";
width: var!(space-lg);
color: var!(foreground);
}
:is(".c_euv_pagination_auto_content .c_euv_pagination_previous .c_euv_pagination_icon") {
grid-column: "1";
}
:is(".c_euv_pagination_auto_content .c_euv_pagination_next .c_euv_pagination_icon") {
grid-column: "3";
}
}
}
#[cfg(feature = "theme-shadcn")]
class! {
pub c_card_title {
margin: "0px";
color: var!(card-foreground);
font-size: var!(font-lg);
font-weight: var!(font-weight-semibold);
letter-spacing: var!(letter-spacing-tight);
@media ((max-width: 767px)) {
font-size: var!(font-md);
}
margin: "0px";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
letter-spacing: var!(letter-spacing-normal);
}
pub c_euv_button {
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
white-space: "nowrap";
border-radius: var!(radius-lg);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1";
box-sizing: "border-box";
cursor: "pointer";
// The control may be an anchor rather than a button, and an anchor
// carries an underline the control does not want.
text-decoration: "none";
user-select: "none";
-webkit-user-select: "none";
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}, box-shadow {} {}, transform {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-press),
var!(ease-accelerate)
);
:focus-visible {
outline: "none";
box-shadow: format!("0 0 0 {} {}, 0 0 0 calc({} + {}) {}", var!(ring-offset), var!(background), var!(ring-offset), var!(ring-width), var!(ring));
}
// The scale is what makes the press read as the button taking the
// weight of the finger instead of a colour swap.
:active {
transform: format!("scale({})", var!(press-scale));
}
:disabled {
pointer-events: "none";
opacity: "0.5";
}
border-radius: var!(radius-lg);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1.428571";
gap: var!(space-sm);
cursor: "default";
// The reference button uses a 3px focus ring and a 1px press translation.
:focus-visible {
border-color: var!(ring);
box-shadow: format!("0 0 0 3px color-mix(in srgb, {} 50%, transparent)", var!(ring));
}
:active {
transform: "translateY(1px)";
}
}
pub c_euv_button_default {
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(primary-hover);
}
:hover {
background: var!(button-primary-hover-bg);
}
}
pub c_euv_button_secondary {
background: var!(secondary);
color: var!(secondary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: format!("color-mix(in srgb, {} 80%, transparent)", var!(secondary));
}
:hover {
background: var!(button-secondary-hover-bg);
}
}
pub c_euv_button_destructive {
background: var!(destructive);
color: var!(destructive-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: format!("color-mix(in srgb, {} 90%, transparent)", var!(destructive));
}
background: var!(button-destructive-bg);
color: var!(destructive);
:hover {
background: var!(button-destructive-hover-bg);
}
// The reference uses a destructive-tinted focus border and ring.
:focus-visible {
border-color: var!(button-destructive-focus-border);
box-shadow: format!("0 0 0 3px {}", var!(button-destructive-focus-ring));
}
}
pub c_euv_button_outline {
background: var!(background);
color: var!(foreground);
border: format!("{} solid {}", var!(border-width), var!(input));
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
background: var!(button-outline-bg);
box-shadow: var!(shadow-xs);
:hover {
background: var!(button-outline-hover-bg);
color: var!(button-outline-hover-fg);
}
}
pub c_euv_button_ghost {
background: "transparent";
color: var!(foreground);
:hover {
background: var!(accent);
color: var!(accent-foreground);
}
:hover {
background: var!(button-ghost-hover-bg);
color: var!(button-ghost-hover-fg);
}
}
pub c_euv_button_size_default {
height: var!(control-height-sm);
padding: format!("0px {}", var!(control-pad-inline));
height: var!(control-height-sm);
min-height: var!(control-height-sm);
padding: format!("0px {}", var!(space-sm-md));
gap: format!("calc({} - {})", var!(space-sm), var!(space-2xs));
border-radius: var!(radius-lg);
}
pub c_euv_button_size_small {
height: format!("calc({} - 4px)", var!(control-height-sm));
padding: format!("0px {}", var!(control-pad-inline));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-xs));
min-height: format!("calc({} - {})", var!(control-height-sm), var!(space-xs));
padding: format!("0px {}", var!(space-sm-md));
gap: var!(space-xs);
font-size: var!(font-xs);
border-radius: var!(radius-md);
}
pub c_euv_button_size_large {
height: var!(control-height);
padding: format!("0px {}", var!(control-pad-inline));
height: var!(control-height);
min-height: var!(control-height);
padding: format!("0px {}", var!(space-sm-md));
gap: format!("calc({} - {})", var!(space-sm), var!(space-2xs));
border-radius: var!(radius-lg);
}
pub c_euv_button_size_icon {
height: var!(control-height-sm);
width: var!(control-height-sm);
padding: "0px";
width: var!(control-height-sm);
height: var!(control-height-sm);
min-height: var!(control-height-sm);
padding: "0px";
border-radius: var!(radius-md);
}
pub c_euv_button_size_xs {
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: format!("0px {}", var!(control-pad-inline));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
min-height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: format!("0px {}", var!(space-sm));
gap: var!(space-xs);
font-size: var!(font-xs);
border-radius: var!(radius-md);
}
pub c_euv_button_size_icon_xs {
width: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: "0px";
width: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
min-height: format!("calc({} - {})", var!(control-height-sm), var!(space-sm));
padding: "0px";
border-radius: var!(radius-md);
}
pub c_euv_button_size_icon_sm {
width: var!(control-height-sm);
height: var!(control-height-sm);
padding: "0px";
width: format!("calc({} - {})", var!(control-height-sm), var!(space-xs));
height: format!("calc({} - {})", var!(control-height-sm), var!(space-xs));
min-height: format!("calc({} - {})", var!(control-height-sm), var!(space-xs));
padding: "0px";
border-radius: var!(radius-md);
}
pub c_euv_button_size_icon_lg {
width: format!("calc({} + {})", var!(control-height), var!(space-xs));
height: format!("calc({} + {})", var!(control-height), var!(space-xs));
padding: "0px";
width: var!(control-height);
height: var!(control-height);
min-height: var!(control-height);
padding: "0px";
border-radius: var!(radius-lg);
}
pub(crate) c_euv_alert_default {
position: "relative";
width: "100%";
box-sizing: "border-box";
padding: var!(space-lg);
background: var!(background);
color: var!(foreground);
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-lg);
padding: format!("{} {}", var!(space-sm), var!(control-pad-inline));
background: var!(card);
}
pub(crate) c_euv_alert_destructive {
position: "relative";
width: "100%";
box-sizing: "border-box";
padding: var!(space-lg);
color: var!(destructive);
background: var!(background);
border: format!("{} solid {}", var!(border-width), var!(destructive));
border-radius: var!(radius-lg);
padding: format!("{} {}", var!(space-sm), var!(control-pad-inline));
color: var!(destructive);
background: var!(card);
border-color: var!(border);
}
pub c_progress_container {
width: "100%";
margin: format!("{} 0px", var!(space-lg));
flex-wrap: "wrap";
gap: var!(space-md);
}
pub(crate) c_progress_bar_track {
position: "relative";
display: "flex";
align-items: "center";
width: "100%";
height: "12px";
overflow: "hidden";
background: var!(muted);
border-radius: var!(radius-sm);
height: var!(space-xs);
}
pub c_euv_pagination {
display: "flex";
justify-content: "center";
width: "100%";
min-width: "0px";
margin: "0px";
}
pub c_euv_pagination_link {
// `min-width: 0` lets long labels ellipsize on the desktop row
// layout. `overflow: hidden` is required to actually apply ellipsis
// when content is wider than the link.
min-width: "0px";
border: format!("{} solid {}", var!(border-width), var!(border));
padding: var!(space-lg);
cursor: "pointer";
display: "flex";
flex-direction: "column";
gap: var!(space-2xs);
overflow: "hidden";
:hover {
border-color: var!(ring);
}
border-radius: var!(radius-md);
display: "inline-flex";
flex-direction: "row";
align-items: "center";
justify-content: "center";
gap: format!("calc({} - {})", var!(space-sm), var!(space-2xs));
height: var!(control-height-sm);
min-height: var!(control-height-sm);
padding: "0px";
border-color: var!(card);
border-radius: var!(radius-lg);
text-align: "center";
white-space: "nowrap";
:is(".c_euv_pagination_auto_content .c_euv_pagination_link") {
display: "grid";
grid-template-columns: "auto minmax(0px, 1fr) auto";
grid-template-rows: "auto auto";
align-content: "center";
align-items: "center";
justify-content: "normal";
justify-items: "stretch";
flex: "1";
width: "100%";
height: "auto";
min-height: format!("calc({} + {})", var!(control-height), var!(space-lg));
box-sizing: "border-box";
padding: var!(space-lg);
column-gap: var!(space-sm);
row-gap: var!(space-2xs);
white-space: "normal";
text-decoration: "none";
}
}
pub(crate) c_euv_tabs {
display: "flex";
flex-direction: "column";
width: "100%";
gap: var!(space-sm);
}
pub(crate) c_euv_tabs_bar {
display: "flex";
background: var!(muted);
border-radius: var!(radius-lg);
padding: var!(space-xs);
margin-bottom: var!(gap-component);
gap: var!(space-xs);
@media ((max-width: 767px)) {
flex-wrap: "wrap";
}
width: "fit-content";
height: var!(control-height-sm);
align-items: "center";
box-sizing: "border-box";
margin-bottom: "0px";
padding: var!(tablist-inset);
gap: "0px";
color: var!(muted-foreground);
justify-content: "center";
}
pub(crate) c_euv_tab_item {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
border-bottom: "2px solid transparent";
color: "inherit";
background: "transparent";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
white-space: "nowrap";
:hover {
background: var!(muted);
color: var!(primary);
}
border-radius: var!(radius-md);
display: "inline-flex";
flex: "1";
height: "calc(100% - 1px)";
align-items: "center";
justify-content: "center";
gap: format!("calc({} - {})", var!(space-sm), var!(space-2xs));
padding: format!("{} calc({} + {})", var!(space-2xs), var!(space-xs), var!(space-2xs));
border: format!("{} solid transparent", var!(border-width));
border-bottom: "none";
border-radius: var!(radius-md);
background: "transparent";
color: format!("color-mix(in srgb, {} 60%, transparent)", var!(foreground));
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
white-space: "nowrap";
line-height: var!(space-xl);
box-sizing: "border-box";
user-select: "none";
-webkit-user-select: "none";
border-color: "transparent";
border-bottom-style: "solid";
border-left-style: "solid";
border-right-style: "solid";
border-top-style: "solid";
border-bottom-width: var!(border-width);
border-left-width: var!(border-width);
border-right-width: var!(border-width);
border-top-width: var!(border-width);
:hover {
background: "transparent";
color: var!(foreground);
}
:is(.c_theme_dark button) {
color: var!(muted-foreground);
}
: is(.c_theme_dark button):hover {
color: var!(foreground);
}
}
pub(crate) c_euv_tab_item_active {
padding: format!("{} {}", var!(space-md), var!(space-xl));
cursor: "pointer";
font-size: var!(font-base);
font-weight: var!(font-weight-medium);
border-bottom: "2px solid transparent";
color: "inherit";
background: "transparent";
touch-action: "manipulation";
user-select: "none";
-webkit-user-select: "none";
white-space: "nowrap";
:hover {
background: var!(muted);
color: var!(primary);
}
border-radius: var!(radius-md);
display: "inline-flex";
flex: "1";
height: "calc(100% - 1px)";
align-items: "center";
justify-content: "center";
gap: format!("calc({} - {})", var!(space-sm), var!(space-2xs));
padding: format!("{} calc({} + {})", var!(space-2xs), var!(space-xs), var!(space-2xs));
border: format!("{} solid transparent", var!(border-width));
border-bottom: "none";
border-radius: var!(radius-md);
background: "transparent";
color: format!("color-mix(in srgb, {} 60%, transparent)", var!(foreground));
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
white-space: "nowrap";
line-height: var!(space-xl);
box-sizing: "border-box";
user-select: "none";
-webkit-user-select: "none";
border-color: "transparent";
border-bottom-style: "solid";
border-left-style: "solid";
border-right-style: "solid";
border-top-style: "solid";
border-bottom-width: var!(border-width);
border-left-width: var!(border-width);
border-right-width: var!(border-width);
border-top-width: var!(border-width);
:hover {
background: "transparent";
color: var!(foreground);
}
:is(.c_theme_dark button) {
color: var!(muted-foreground);
}
: is(.c_theme_dark button):hover {
color: var!(foreground);
}
:hover {
background: var!(background);
color: var!(foreground);
}
background: var!(background);
color: var!(foreground);
box-shadow: var!(shadow-sm);
:is(.c_theme_dark button) {
background: format!("color-mix(in srgb, {} 30%, transparent)", var!(input));
border-color: var!(input);
color: var!(foreground);
}
// Both base and state classes stay mounted; state paint also wins on hover.
:is(.c_euv_tab_item_active) {
background: var!(background);
color: var!(foreground);
}
: is(.c_euv_tab_item_active):hover {
background: var!(background);
color: var!(foreground);
}
:is(".c_theme_dark .c_euv_tab_item_active") {
background: format!("color-mix(in srgb, {} 30%, transparent)", var!(input));
border-color: var!(input);
color: var!(foreground);
}
: is(".c_theme_dark .c_euv_tab_item_active"):hover {
background: format!("color-mix(in srgb, {} 30%, transparent)", var!(input));
color: var!(foreground);
}
}
pub(crate) c_euv_tabs_panel {
padding: format!("{} 0px", var!(gap-element));
padding: "0px";
}
pub(crate) c_card {
color: var!(card-foreground);
background: var!(card);
border: format!("{} solid {}", var!(surface-border-width), var!(border));
box-shadow: var!(shadow-sm);
padding: var!(card-padding);
display: "flex";
flex-direction: "column";
gap: var!(card-content-gap);
// Shell-owned spacing outranks child classes, including through transparent slots.
> :is("[class], *") {
margin-block: "0px";
}
> slot > :is("[class], *") {
margin-block: "0px";
}
> slot > slot > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
> : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > : is("slot, [data-euv-dynamic-id]") > :is("[class], *") {
margin-block: "0px";
}
box-sizing: "border-box";
// Only page-level cards own a block gap; composed cards use their parent's gap.
margin-top: "0px";
:is(".c_page_container > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card") {
margin-top: var!(page-block-gap);
}
@media ((max-width: 767px)) {
:is(".c_page_container > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card, .c_page_container > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > :is(slot, [data-euv-dynamic-id]) > .c_card") {
margin-top: var!(page-block-gap-mobile);
}
}
border-radius: var!(radius-xl);
display: "flex";
flex-direction: "column";
gap: var!(card-content-gap);
border: "none";
box-shadow: format!(
"0 0 0 1px color-mix(in srgb, {} 10%, transparent)",
var!(foreground)
);
padding: var!(card-padding);
overflow: "hidden";
}
pub(crate) c_euv_card_header {
display: "grid";
grid-template-columns: "1fr auto";
grid-template-rows: "auto";
grid-auto-rows: "min-content";
align-items: "start";
gap: var!(space-xs);
align-items: "flex-start";
}
pub(crate) c_euv_badge {
// The wrapping-atom recipe (§7): an inline flex box is atomic, so a
// wrapped label left-aligns while the border stays at the parent
// width — the right border reads as missing. The four `c_euv_tag_*`
// variants already use this recipe; a badge is the same kind of
// element and must not mix the two.
display: "inline-block";
vertical-align: "middle";
text-align: "center";
line-height: "1";
height: "20px";
box-sizing: "border-box";
padding: format!("{} {}", var!(space-2xs), var!(space-sm));
font-size: var!(font-xs);
font-weight: var!(font-weight-semibold);
transition: format!(
"background-color {} {}, border-color {} {}, color {} {}",
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out),
var!(duration-fast),
var!(ease-out)
);
:focus-visible {
outline: "none";
}
@media ((max-width: 767px)) {
padding: format!("{} {}", var!(space-2xs), var!(space-xs));
font-size: var!(font-xs);
}
border-radius: var!(radius-full);
font-weight: var!(font-weight-medium);
}
pub(crate) c_euv_badge_destructive {
color: var!(destructive);
background: format!("color-mix(in srgb, {} 10%, transparent)", var!(destructive));
border: format!("{} solid transparent", var!(border-width));
color: var!(destructive);
background: var!(button-destructive-bg);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(button-destructive-hover-bg);
}
:focus-visible {
border-color: var!(button-destructive-focus-border);
box-shadow: format!("0 0 0 3px {}", var!(button-destructive-focus-ring));
}
}
pub(crate) c_euv_pagination_next {
text-align: "right";
padding: format!(
"0px calc({} - {}) 0px {}",
var!(space-sm),
var!(space-2xs),
var!(space-sm-md)
);
:is(".c_euv_pagination_auto_content .c_euv_pagination_next") {
padding: var!(space-lg);
text-align: "right";
}
}
pub(crate) c_euv_empty {
display: "flex";
flex-direction: "column";
align-items: "center";
justify-content: "center";
gap: var!(space-sm);
width: "100%";
padding: var!(space-3xl);
box-sizing: "border-box";
text-align: "center";
gap: var!(space-lg);
padding: var!(space-2xl);
border-bottom-right-radius: var!(radius-xl);
border-bottom-left-radius: var!(radius-xl);
border-top-right-radius: var!(radius-xl);
border-top-left-radius: var!(radius-xl);
}
pub(crate) c_euv_kbd {
display: "inline-flex";
align-items: "center";
justify-content: "center";
gap: var!(space-2xs);
min-width: "20px";
height: "20px";
padding-inline: var!(space-2xs);
border-radius: var!(radius-sm);
border: format!("{} solid {}", var!(border-width), var!(border));
background: var!(muted);
color: var!(muted-foreground);
font-family: var!(font-family-mono);
font-size: var!(font-xs);
font-weight: var!(font-weight-medium);
line-height: "1";
white-space: "nowrap";
user-select: "none";
-webkit-user-select: "none";
gap: var!(space-xs);
padding-left: var!(space-xs);
}
pub(crate) c_euv_accordion_item {
display: "flex";
flex-direction: "column";
width: "100%";
border-bottom: format!("{} solid {}", var!(border-width), var!(border));
:last-child {
border-bottom: "none";
}
padding-left: var!(space-lg);
}
pub(crate) c_euv_accordion_trigger {
display: "flex";
flex: "1";
align-items: "center";
justify-content: "space-between";
gap: var!(space-sm);
padding: format!("{} 0px", var!(space-lg));
border: "none";
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
font-weight: var!(font-weight-medium);
line-height: "1.5";
text-align: "left";
cursor: "pointer";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:hover {
color: var!(muted-foreground);
text-decoration: "underline";
}
:disabled {
opacity: "0.5";
cursor: "not-allowed";
}
padding: format!("{} 0px", var!(control-pad-inline));
border: format!("{} solid transparent", var!(border-width));
border-radius: var!(radius-lg);
line-height: "1.428571";
align-items: "flex-start";
border-color: var!(border);
border-bottom-style: "solid";
border-left-style: "solid";
border-right-style: "solid";
border-top-style: "solid";
border-bottom-width: var!(border-width);
border-left-width: var!(border-width);
border-right-width: var!(border-width);
border-top-width: var!(border-width);
:hover {
color: var!(foreground);
text-decoration: "underline";
}
:focus-visible {
border-color: var!(ring);
box-shadow: format!("0 0 0 3px color-mix(in srgb, {} 50%, transparent)", var!(ring));
}
}
pub(crate) c_euv_accordion_content {
overflow: "hidden";
color: var!(foreground);
font-size: var!(font-sm);
line-height: "1.5";
line-height: "1.428571";
}
pub(crate) c_euv_item_group {
display: "flex";
flex-direction: "column";
gap: var!(space-lg);
}
pub(crate) c_euv_item_default {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid transparent", var!(border-width));
border-radius: var!(radius-md);
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
border-color: var!(border);
border-bottom-right-radius: var!(radius-lg);
border-bottom-left-radius: var!(radius-lg);
border-top-right-radius: var!(radius-lg);
border-top-left-radius: var!(radius-lg);
}
pub(crate) c_euv_item_outline {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid {}", var!(border-width), var!(border));
border-radius: var!(radius-md);
background: "transparent";
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
border-color: var!(border);
border-bottom-right-radius: var!(radius-lg);
border-bottom-left-radius: var!(radius-lg);
border-top-right-radius: var!(radius-lg);
border-top-left-radius: var!(radius-lg);
border-bottom-style: "solid";
border-left-style: "solid";
border-right-style: "solid";
border-top-style: "solid";
border-bottom-width: var!(border-width);
border-left-width: var!(border-width);
border-right-width: var!(border-width);
border-top-width: var!(border-width);
}
pub(crate) c_euv_item_muted {
display: "flex";
flex-wrap: "wrap";
align-items: "center";
border: format!("{} solid transparent", var!(border-width));
border-radius: var!(radius-md);
background: var!(muted);
color: var!(foreground);
font-size: var!(font-sm);
outline: "none";
transition: format!("{} {}", var!(duration-fast), var!(ease-out));
:focus-within {
border-color: var!(ring);
}
border-bottom-right-radius: var!(radius-lg);
border-bottom-left-radius: var!(radius-lg);
border-top-right-radius: var!(radius-lg);
border-top-left-radius: var!(radius-lg);
}
pub(crate) c_euv_item_size_default {
gap: var!(space-lg);
padding: var!(space-lg);
gap: var!(space-sm-md);
padding: format!("{} {}", var!(space-sm-md), var!(space-md));
}
pub(crate) c_euv_item_size_sm {
gap: var!(space-sm-md);
padding: format!("{} {}", var!(space-md), var!(space-lg));
gap: var!(space-sm-md);
padding: format!("{} {}", var!(space-sm-md), var!(space-md));
}
pub(crate) c_euv_item_size_xs {
gap: var!(space-sm);
padding: format!("{} {}", var!(space-sm), var!(space-sm-md));
gap: var!(space-sm);
padding: format!("{} {}", var!(space-sm), var!(space-sm-md));
}
pub(crate) c_euv_aspect_ratio {
position: "relative";
width: "100%";
overflow: "hidden";
background-color: var!(muted);
border-bottom-right-radius: var!(radius-lg);
border-bottom-left-radius: var!(radius-lg);
border-top-right-radius: var!(radius-lg);
border-top-left-radius: var!(radius-lg);
}
pub c_euv_separator {
flex-shrink: "0";
background: var!(border);
flex-shrink: "0";
background: var!(border);
}
pub(crate) c_euv_pagination_previous {
padding: format!(
"0px {} 0px calc({} - {})",
var!(space-sm-md),
var!(space-sm),
var!(space-2xs)
);
:is(".c_euv_pagination_auto_content .c_euv_pagination_previous") {
padding: var!(space-lg);
text-align: "left";
}
}
pub c_euv_button_primary {
background: var!(primary);
color: var!(primary-foreground);
border: format!("{} solid transparent", var!(border-width));
:hover {
background: var!(primary-hover);
}
:hover {
background: var!(button-primary-hover-bg);
}
}
pub(crate) c_euv_pagination_label {
display: "inline";
:is(".c_euv_pagination_auto_content .c_euv_pagination_label") {
display: "block";
grid-column: "2";
grid-row: "1";
min-width: "0px";
overflow: "hidden";
white-space: "nowrap";
text-overflow: "ellipsis";
font-size: var!(font-xs);
line-height: "1.5";
color: var!(muted-foreground);
}
}
pub(crate) c_euv_pagination_text {
display: "none";
:is(".c_euv_pagination_auto_content .c_euv_pagination_text") {
display: "block";
grid-column: "2";
grid-row: "2";
min-width: "0px";
overflow: "hidden";
white-space: "nowrap";
text-overflow: "ellipsis";
font-size: var!(font-sm);
font-weight: var!(font-weight-semibold);
line-height: "1.5";
color: var!(foreground);
}
}
pub(crate) c_euv_pagination_icon {
display: "inline-flex";
align-items: "center";
justify-content: "center";
flex: "0 0 auto";
width: var!(space-lg);
height: var!(space-lg);
font-size: var!(font-sm);
line-height: "1";
:is(".c_euv_pagination_auto_content .c_euv_pagination_icon") {
display: "flex";
grid-row: "1 / 3";
align-items: "center";
justify-content: "center";
color: var!(foreground);
}
:is(".c_euv_pagination_auto_content .c_euv_pagination_previous .c_euv_pagination_icon") {
grid-column: "1";
}
:is(".c_euv_pagination_auto_content .c_euv_pagination_next .c_euv_pagination_icon") {
grid-column: "3";
}
}
}