3604 lines
84 KiB
CSS
3604 lines
84 KiB
CSS
/*
|
|
* Wire UI stylesheet. Served once at /__wrnexus/ui.css. Every value is a theme
|
|
* token (var(--wire-*)), so components restyle instantly when the theme changes.
|
|
* Override any of these classes in your own CSS (it loads after ui.css).
|
|
*/
|
|
|
|
/* SSR visibility fallback. The reactive runtime also manages `data-show`, but
|
|
* server-rendered components must not flash or permanently expose inactive
|
|
* branches before hydration (for example an action's link and button at once). */
|
|
[data-show=""],
|
|
[data-show="false"],
|
|
[data-show="0"],
|
|
[data-show="null"],
|
|
[data-show="undefined"] {
|
|
display: none !important;
|
|
}
|
|
|
|
/*
|
|
* Universal component configuration. Every canonical component exposes
|
|
* `color` and `size`, while theme, mode, and font flow through inherited
|
|
* design tokens configured at the application root.
|
|
*/
|
|
.wire-next {
|
|
--wire-component-color: var(--wire-color-primary);
|
|
--wire-component-scale: 1;
|
|
font-family: inherit;
|
|
}
|
|
.wire-next--color-primary {
|
|
--wire-component-color: var(--wire-color-primary);
|
|
}
|
|
.wire-next--color-secondary {
|
|
--wire-component-color: var(--wire-color-secondary);
|
|
}
|
|
.wire-next--color-success {
|
|
--wire-component-color: var(--wire-color-success);
|
|
}
|
|
.wire-next--color-warning {
|
|
--wire-component-color: var(--wire-color-warning);
|
|
}
|
|
.wire-next--color-danger {
|
|
--wire-component-color: var(--wire-color-danger);
|
|
}
|
|
.wire-next--color-info {
|
|
--wire-component-color: var(--wire-color-info);
|
|
}
|
|
.wire-next--size-xs {
|
|
--wire-component-scale: 0.78;
|
|
}
|
|
.wire-next--size-sm {
|
|
--wire-component-scale: 0.88;
|
|
}
|
|
.wire-next--size-default,
|
|
.wire-next--size-md {
|
|
--wire-component-scale: 1;
|
|
}
|
|
.wire-next--size-lg {
|
|
--wire-component-scale: 1.14;
|
|
}
|
|
.wire-next--size-xl {
|
|
--wire-component-scale: 1.28;
|
|
}
|
|
.wire-next:not(.wire-btn) {
|
|
font-size: calc(1em * var(--wire-component-scale));
|
|
}
|
|
.wire-next :is(a, button, input, select, textarea):focus-visible {
|
|
outline-color: var(--wire-component-color);
|
|
}
|
|
|
|
/* --- Layout --------------------------------------------------------------- */
|
|
.wire-container {
|
|
width: 100%;
|
|
max-width: 960px;
|
|
margin-inline: auto;
|
|
padding-inline: 1rem;
|
|
}
|
|
.wire-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.wire-hstack {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
.wire-grid {
|
|
display: grid;
|
|
}
|
|
.wire-spacer {
|
|
flex: 1 1 auto;
|
|
}
|
|
.wire-divider {
|
|
border: 0;
|
|
border-top: 1px solid var(--wire-color-border);
|
|
margin: 0;
|
|
}
|
|
|
|
/* gap scale (shared by stack / hstack / grid) */
|
|
.wire-gap-0 {
|
|
gap: 0;
|
|
}
|
|
.wire-gap-1 {
|
|
gap: 0.25rem;
|
|
}
|
|
.wire-gap-2 {
|
|
gap: 0.5rem;
|
|
}
|
|
.wire-gap-3 {
|
|
gap: 0.75rem;
|
|
}
|
|
.wire-gap-4 {
|
|
gap: 1rem;
|
|
}
|
|
.wire-gap-5 {
|
|
gap: 1.5rem;
|
|
}
|
|
.wire-gap-6 {
|
|
gap: 2rem;
|
|
}
|
|
.wire-gap-8 {
|
|
gap: 3rem;
|
|
}
|
|
|
|
.wire-items-start {
|
|
align-items: flex-start;
|
|
}
|
|
.wire-items-center {
|
|
align-items: center;
|
|
}
|
|
.wire-items-end {
|
|
align-items: flex-end;
|
|
}
|
|
.wire-items-stretch {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.wire-cols-1 {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
.wire-cols-2 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.wire-cols-3 {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
.wire-cols-4 {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
.wire-cols-5 {
|
|
grid-template-columns: repeat(5, 1fr);
|
|
}
|
|
.wire-cols-6 {
|
|
grid-template-columns: repeat(6, 1fr);
|
|
}
|
|
@media (max-width: 640px) {
|
|
.wire-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* --- Button --------------------------------------------------------------- */
|
|
.wire-action {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
.wire-btn {
|
|
position: relative;
|
|
--wire-btn-color: var(--wire-color-primary);
|
|
--wire-btn-contrast: var(--wire-color-primary-contrast);
|
|
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
font: inherit;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--wire-radius-sm);
|
|
padding: 0 0.75rem;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
min-height: 2rem;
|
|
transition:
|
|
color var(--wire-motion-base) var(--wire-ease-standard),
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
background var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard),
|
|
transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
.wire-btn:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.wire-btn--color-primary {
|
|
--wire-btn-color: var(--wire-color-primary);
|
|
--wire-btn-contrast: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-btn--color-secondary {
|
|
--wire-btn-color: var(--wire-color-muted);
|
|
--wire-btn-contrast: var(--wire-color-bg);
|
|
}
|
|
.wire-btn--color-success {
|
|
--wire-btn-color: var(--wire-color-success);
|
|
--wire-btn-contrast: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-btn--color-warning {
|
|
--wire-btn-color: var(--wire-color-warning);
|
|
--wire-btn-contrast: var(--wire-color-bg);
|
|
}
|
|
.wire-btn--color-danger {
|
|
--wire-btn-color: var(--wire-color-danger);
|
|
--wire-btn-contrast: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-btn--color-info {
|
|
--wire-btn-color: var(--wire-color-info);
|
|
--wire-btn-contrast: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-btn--variant-default,
|
|
.wire-btn--default,
|
|
.wire-btn--primary {
|
|
color: var(--wire-btn-contrast);
|
|
background: var(--wire-btn-color);
|
|
box-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--wire-btn-color) 20%, transparent);
|
|
}
|
|
.wire-btn--variant-default:hover,
|
|
.wire-btn--default:hover,
|
|
.wire-btn--primary:hover {
|
|
background: color-mix(in srgb, var(--wire-btn-color) 84%, black);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 1rem 2rem color-mix(in srgb, var(--wire-btn-color) 28%, transparent);
|
|
}
|
|
.wire-btn--variant-outline,
|
|
.wire-btn--outline {
|
|
color: var(--wire-btn-color);
|
|
background: transparent;
|
|
border-color: color-mix(in srgb, var(--wire-btn-color) 55%, var(--wire-color-border));
|
|
}
|
|
.wire-btn--variant-outline:hover,
|
|
.wire-btn--outline:hover {
|
|
background: color-mix(in srgb, var(--wire-btn-color) 10%, transparent);
|
|
border-color: var(--wire-btn-color);
|
|
}
|
|
.wire-btn--variant-destructive,
|
|
.wire-btn--danger,
|
|
.wire-btn--destructive {
|
|
color: var(--wire-btn-color);
|
|
background: color-mix(in srgb, var(--wire-btn-color) 12%, transparent);
|
|
border-color: color-mix(in srgb, var(--wire-btn-color) 28%, transparent);
|
|
}
|
|
.wire-btn--danger,
|
|
.wire-btn--destructive {
|
|
--wire-btn-color: var(--wire-color-danger);
|
|
}
|
|
.wire-btn--variant-destructive:hover,
|
|
.wire-btn--danger:hover,
|
|
.wire-btn--destructive:hover {
|
|
background: color-mix(in srgb, var(--wire-btn-color) 20%, transparent);
|
|
}
|
|
.wire-btn--variant-ghost,
|
|
.wire-btn--ghost {
|
|
background: transparent;
|
|
color: var(--wire-btn-color);
|
|
}
|
|
.wire-btn--variant-ghost:hover,
|
|
.wire-btn--ghost:hover {
|
|
background: color-mix(in srgb, var(--wire-btn-color) 10%, transparent);
|
|
}
|
|
.wire-btn--variant-secondary,
|
|
.wire-btn--secondary {
|
|
color: var(--wire-color-text);
|
|
background: color-mix(in srgb, var(--wire-btn-color) 10%, var(--wire-color-surface));
|
|
border-color: color-mix(in srgb, var(--wire-btn-color) 24%, var(--wire-color-border));
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-btn--variant-secondary:hover,
|
|
.wire-btn--secondary:hover {
|
|
color: var(--wire-btn-color);
|
|
border-color: color-mix(in srgb, var(--wire-btn-color) 55%, var(--wire-color-border));
|
|
background: color-mix(in srgb, var(--wire-btn-color) 15%, var(--wire-color-surface));
|
|
transform: translateY(-2px);
|
|
}
|
|
.wire-btn--variant-link,
|
|
.wire-btn--link {
|
|
min-height: auto;
|
|
padding: 0;
|
|
color: var(--wire-btn-color);
|
|
background: transparent;
|
|
border-color: transparent;
|
|
border-radius: 0;
|
|
text-underline-offset: 0.22em;
|
|
}
|
|
.wire-btn--variant-link:hover,
|
|
.wire-btn--link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.wire-btn:disabled,
|
|
.wire-btn[aria-busy="true"] {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wire-btn--size-xs,
|
|
.wire-btn--xs {
|
|
min-height: 1.5rem;
|
|
padding-inline: 0.5rem;
|
|
gap: 0.25rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
.wire-btn--size-sm,
|
|
.wire-btn--sm {
|
|
min-height: 1.75rem;
|
|
padding-inline: 0.625rem;
|
|
gap: 0.25rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
.wire-btn--size-default,
|
|
.wire-btn--md {
|
|
min-height: 2rem;
|
|
padding-inline: 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
.wire-btn--size-lg,
|
|
.wire-btn--lg {
|
|
min-height: 2.25rem;
|
|
padding-inline: 0.875rem;
|
|
font-size: 0.925rem;
|
|
}
|
|
.wire-btn--size-icon,
|
|
.wire-btn--size-icon-xs,
|
|
.wire-btn--size-icon-sm,
|
|
.wire-btn--size-icon-lg,
|
|
.wire-btn--icon,
|
|
.wire-btn--icon-xs,
|
|
.wire-btn--icon-sm,
|
|
.wire-btn--icon-lg {
|
|
flex: none;
|
|
padding: 0;
|
|
}
|
|
.wire-btn--size-icon,
|
|
.wire-btn--icon {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
.wire-btn--size-icon-xs,
|
|
.wire-btn--icon-xs {
|
|
width: 1.5rem;
|
|
min-height: 1.5rem;
|
|
}
|
|
.wire-btn--size-icon-sm,
|
|
.wire-btn--icon-sm {
|
|
width: 1.75rem;
|
|
min-height: 1.75rem;
|
|
}
|
|
.wire-btn--size-icon-lg,
|
|
.wire-btn--icon-lg {
|
|
width: 2.25rem;
|
|
min-height: 2.25rem;
|
|
}
|
|
.wire-btn--pill {
|
|
border-radius: 999px;
|
|
}
|
|
.wire-btn--with-description {
|
|
min-height: 3.5rem;
|
|
justify-content: flex-start;
|
|
padding: 0.6rem 0.875rem;
|
|
text-align: left;
|
|
}
|
|
.wire-btn__icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex: none;
|
|
}
|
|
.wire-btn__copy {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 0.15rem;
|
|
}
|
|
.wire-btn__label {
|
|
font-weight: 650;
|
|
}
|
|
.wire-btn__description {
|
|
color: currentColor;
|
|
font-size: 0.75rem;
|
|
font-weight: 450;
|
|
line-height: 1.35;
|
|
opacity: 0.74;
|
|
}
|
|
.wire-btn__tooltip {
|
|
position: absolute;
|
|
z-index: 80;
|
|
inset-block-end: calc(100% + 0.5rem);
|
|
inset-inline-start: 50%;
|
|
width: max-content;
|
|
max-width: min(16rem, calc(100vw - 2rem));
|
|
padding: 0.4rem 0.6rem;
|
|
color: var(--wire-color-bg);
|
|
background: var(--wire-color-text);
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-text) 85%, var(--wire-color-border));
|
|
border-radius: var(--wire-radius-sm);
|
|
box-shadow: var(--wire-shadow-2);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transform: translate(-50%, 0.25rem);
|
|
transition:
|
|
opacity var(--wire-motion-fast) var(--wire-ease-standard),
|
|
transform var(--wire-motion-fast) var(--wire-ease-standard);
|
|
}
|
|
.wire-btn:hover > .wire-btn__tooltip,
|
|
.wire-btn:focus-visible > .wire-btn__tooltip {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
/* --- Inputs --------------------------------------------------------------- */
|
|
.wire-input {
|
|
width: 100%;
|
|
font: inherit;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-bg);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
padding: 0.5rem 0.7rem;
|
|
}
|
|
.wire-input::placeholder {
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-input:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 1px;
|
|
border-color: var(--wire-color-primary);
|
|
}
|
|
.wire-textarea {
|
|
resize: vertical;
|
|
min-height: 4.5rem;
|
|
}
|
|
|
|
/* Validation states (set by /__wrnexus/validate.js). */
|
|
.wire-invalid {
|
|
border-color: var(--wire-color-danger) !important;
|
|
}
|
|
.wire-field-error {
|
|
display: block;
|
|
min-height: 1em;
|
|
margin-top: 0.25rem;
|
|
color: var(--wire-color-danger);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.wire-check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
.wire-check__box {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
accent-color: var(--wire-color-primary);
|
|
}
|
|
.wire-check__box:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
.wire-check__label {
|
|
color: var(--wire-color-text);
|
|
}
|
|
|
|
/* --- Badge ---------------------------------------------------------------- */
|
|
.wire-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 999px;
|
|
}
|
|
.wire-badge--default {
|
|
background: var(--wire-color-surface-2);
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-badge--primary {
|
|
background: var(--wire-color-primary);
|
|
color: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-badge--success {
|
|
background: var(--wire-color-success);
|
|
color: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-badge--danger {
|
|
background: var(--wire-color-danger);
|
|
color: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-badge--warning {
|
|
background: var(--wire-color-warning);
|
|
color: var(--wire-color-primary-contrast);
|
|
}
|
|
|
|
/* --- Alert ---------------------------------------------------------------- */
|
|
.wire-alert {
|
|
border: 1px solid var(--wire-color-border);
|
|
border-left-width: 4px;
|
|
border-radius: var(--wire-radius-sm);
|
|
padding: 0.75rem 1rem;
|
|
background: var(--wire-color-surface);
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-alert__title {
|
|
font-weight: 700;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
.wire-alert__title:empty {
|
|
display: none;
|
|
}
|
|
.wire-alert__body {
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-alert--info {
|
|
border-left-color: var(--wire-color-info);
|
|
}
|
|
.wire-alert--success {
|
|
border-left-color: var(--wire-color-success);
|
|
}
|
|
.wire-alert--danger {
|
|
border-left-color: var(--wire-color-danger);
|
|
}
|
|
.wire-alert--warning {
|
|
border-left-color: var(--wire-color-warning);
|
|
}
|
|
.wire-alert--brand {
|
|
border-color: var(--wire-color-border);
|
|
}
|
|
.wire-alert--rich {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
min-height: 6.125rem;
|
|
padding: 1rem 1.25rem;
|
|
border-left-width: 1px;
|
|
border-radius: 1rem;
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-alert--rich .wire-alert__icon {
|
|
display: grid;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
place-items: center;
|
|
border-radius: 0.75rem;
|
|
color: var(--wire-color-primary);
|
|
background: color-mix(in srgb, var(--wire-color-primary) 22%, transparent);
|
|
}
|
|
.wire-alert--rich .wire-alert__icon svg {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.wire-alert--rich .wire-alert__body {
|
|
margin: 0.25rem 0 0;
|
|
line-height: 1.55;
|
|
}
|
|
.wire-alert__dismiss {
|
|
border: 0;
|
|
border-radius: 0.5rem;
|
|
color: inherit;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.wire-alert__dismiss:hover {
|
|
background: color-mix(in srgb, currentColor 8%, transparent);
|
|
}
|
|
|
|
/* --- Card ----------------------------------------------------------------- */
|
|
.wire-card {
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
padding: 1.25rem;
|
|
box-shadow: var(--wire-shadow-1);
|
|
color: var(--wire-color-text);
|
|
transition:
|
|
border-color var(--wire-motion-base),
|
|
box-shadow var(--wire-motion-slow),
|
|
transform var(--wire-motion-slow) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-card--padding-none {
|
|
padding: 0;
|
|
}
|
|
.wire-card--padding-sm {
|
|
padding: 1rem;
|
|
}
|
|
.wire-card--padding-md {
|
|
padding: 1.5rem;
|
|
}
|
|
.wire-card--padding-lg {
|
|
padding: 2rem;
|
|
}
|
|
.wire-card--glass {
|
|
background: color-mix(in srgb, var(--wire-color-surface) 78%, transparent);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
.wire-card--elevated {
|
|
box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--wire-color-text) 9%, transparent);
|
|
}
|
|
.wire-card--interactive:hover {
|
|
transform: translateY(-0.25rem);
|
|
border-color: color-mix(in srgb, var(--wire-color-primary) 45%, var(--wire-color-border));
|
|
box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--wire-color-text) 11%, transparent);
|
|
}
|
|
|
|
/* --- Avatar --------------------------------------------------------------- */
|
|
.wire-avatar {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
border: 1px solid var(--wire-color-border);
|
|
}
|
|
|
|
/* --- Spinner -------------------------------------------------------------- */
|
|
.wire-spinner {
|
|
display: inline-block;
|
|
width: 1.15rem;
|
|
height: 1.15rem;
|
|
border: 2px solid var(--wire-color-border);
|
|
border-top-color: var(--wire-color-primary);
|
|
border-radius: 999px;
|
|
animation: wire-spin 0.7s linear infinite;
|
|
}
|
|
@keyframes wire-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* --- Disclosure ----------------------------------------------------------- */
|
|
.wire-disclosure {
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
background: var(--wire-color-surface);
|
|
}
|
|
.wire-disclosure__summary {
|
|
cursor: pointer;
|
|
padding: 0.6rem 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
.wire-disclosure__summary:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: -2px;
|
|
}
|
|
.wire-disclosure__body {
|
|
padding: 0 0.9rem 0.75rem;
|
|
color: var(--wire-color-muted);
|
|
}
|
|
|
|
/* --- Select --------------------------------------------------------------- */
|
|
.wire-select {
|
|
appearance: none;
|
|
background-image:
|
|
linear-gradient(45deg, transparent 50%, var(--wire-color-muted) 50%),
|
|
linear-gradient(135deg, var(--wire-color-muted) 50%, transparent 50%);
|
|
background-position:
|
|
calc(100% - 18px) 1.05em,
|
|
calc(100% - 13px) 1.05em;
|
|
background-size:
|
|
5px 5px,
|
|
5px 5px;
|
|
background-repeat: no-repeat;
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
/* --- Switch --------------------------------------------------------------- */
|
|
.wire-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
.wire-switch__input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.wire-switch__track {
|
|
position: relative;
|
|
width: 2.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 999px;
|
|
background: var(--wire-color-border);
|
|
transition: background 0.15s ease;
|
|
flex: none;
|
|
}
|
|
.wire-switch__thumb {
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: calc(1.25rem - 4px);
|
|
height: calc(1.25rem - 4px);
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
.wire-switch__input:checked + .wire-switch__track {
|
|
background: var(--wire-color-primary);
|
|
}
|
|
.wire-switch__input:checked + .wire-switch__track .wire-switch__thumb {
|
|
transform: translateX(1rem);
|
|
}
|
|
.wire-switch__input:focus-visible + .wire-switch__track {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
.wire-switch__label {
|
|
color: var(--wire-color-text);
|
|
}
|
|
|
|
/* --- Progress ------------------------------------------------------------- */
|
|
.wire-progress {
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 0.5rem;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-progress::-webkit-progress-bar {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-progress::-webkit-progress-value {
|
|
background: var(--wire-color-primary);
|
|
border-radius: 999px;
|
|
}
|
|
.wire-progress::-moz-progress-bar {
|
|
background: var(--wire-color-primary);
|
|
}
|
|
|
|
/* --- Tag ------------------------------------------------------------------ */
|
|
.wire-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: var(--wire-radius-sm);
|
|
border: 1px solid var(--wire-color-border);
|
|
background: var(--wire-color-surface-2);
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-tag--primary {
|
|
background: var(--wire-color-primary);
|
|
color: var(--wire-color-primary-contrast);
|
|
border-color: transparent;
|
|
}
|
|
.wire-tag--success {
|
|
background: var(--wire-color-success);
|
|
color: #05210f;
|
|
border-color: transparent;
|
|
}
|
|
.wire-tag--danger {
|
|
background: var(--wire-color-danger);
|
|
color: #fff;
|
|
border-color: transparent;
|
|
}
|
|
.wire-tag--warning {
|
|
background: var(--wire-color-warning);
|
|
color: #201400;
|
|
border-color: transparent;
|
|
}
|
|
|
|
/* --- Skeleton ------------------------------------------------------------- */
|
|
.wire-skeleton {
|
|
display: inline-block;
|
|
border-radius: var(--wire-radius-sm);
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--wire-color-surface-2) 25%,
|
|
var(--wire-color-border) 37%,
|
|
var(--wire-color-surface-2) 63%
|
|
);
|
|
background-size: 400% 100%;
|
|
animation: wire-shimmer 1.4s ease infinite;
|
|
}
|
|
@keyframes wire-shimmer {
|
|
0% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0 50%;
|
|
}
|
|
}
|
|
|
|
/* --- Tooltip -------------------------------------------------------------- */
|
|
.wire-tooltip {
|
|
position: relative;
|
|
display: inline-flex;
|
|
cursor: help;
|
|
}
|
|
.wire-tooltip::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
bottom: calc(100% + 6px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
background: var(--wire-color-text);
|
|
color: var(--wire-color-bg);
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: var(--wire-radius-sm);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.12s ease;
|
|
z-index: 10;
|
|
}
|
|
.wire-tooltip:hover::after,
|
|
.wire-tooltip:focus-visible::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* --- Table ---------------------------------------------------------------- */
|
|
.wire-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
.wire-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.95rem;
|
|
}
|
|
.wire-table th,
|
|
.wire-table td {
|
|
text-align: left;
|
|
padding: 0.5rem 0.75rem;
|
|
border-bottom: 1px solid var(--wire-color-border);
|
|
}
|
|
.wire-table th {
|
|
font-weight: 700;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.wire-table tbody tr:hover {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
:where(button, a, input, select, textarea):focus-visible {
|
|
outline: 2px solid rgb(124 58 237);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* --- Component-system foundations --------------------------------------- */
|
|
.wire-type {
|
|
margin: 0;
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-type--display {
|
|
font-size: clamp(2.25rem, 7vw, 4.75rem);
|
|
line-height: 1.02;
|
|
font-weight: 800;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
.wire-type--heading {
|
|
font-size: clamp(1.75rem, 4vw, 3rem);
|
|
line-height: 1.1;
|
|
font-weight: 750;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
.wire-type--lead {
|
|
font-size: clamp(1.05rem, 2vw, 1.25rem);
|
|
line-height: 1.65;
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-type--body {
|
|
font-size: 1rem;
|
|
line-height: 1.65;
|
|
}
|
|
.wire-type--small {
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
}
|
|
.wire-text--center {
|
|
text-align: center;
|
|
}
|
|
.wire-text--end {
|
|
text-align: end;
|
|
}
|
|
|
|
.wire-form {
|
|
display: grid;
|
|
gap: 1.25rem;
|
|
width: 100%;
|
|
}
|
|
.wire-form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
.wire-field,
|
|
.wire-fieldset {
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
min-width: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.wire-label {
|
|
color: var(--wire-color-text);
|
|
font-size: 0.875rem;
|
|
font-weight: 650;
|
|
line-height: 1.4;
|
|
}
|
|
.wire-required,
|
|
.wire-field-message--error {
|
|
color: var(--wire-color-danger);
|
|
}
|
|
.wire-optional,
|
|
.wire-field-message--help {
|
|
color: var(--wire-color-muted);
|
|
font-weight: 400;
|
|
}
|
|
.wire-field-message {
|
|
margin: 0;
|
|
font-size: 0.8125rem;
|
|
line-height: 1.5;
|
|
}
|
|
.wire-input:disabled,
|
|
.wire-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
}
|
|
.wire-input[aria-invalid="true"] {
|
|
border-color: var(--wire-color-danger);
|
|
}
|
|
.wire-multiselect {
|
|
min-height: 8rem;
|
|
}
|
|
.wire-loading-button {
|
|
min-height: 44px;
|
|
}
|
|
.wire-spinner--inline {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
.wire-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 1rem;
|
|
background: rgb(0 0 0 / 0.55);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
.wire-dialog {
|
|
width: min(100%, 32rem);
|
|
max-height: calc(100dvh - 2rem);
|
|
overflow: auto;
|
|
padding: clamp(1.25rem, 4vw, 2rem);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-dialog__title {
|
|
margin: 0;
|
|
font-size: 1.35rem;
|
|
line-height: 1.25;
|
|
}
|
|
.wire-dialog__description {
|
|
margin: 0.75rem 0 0;
|
|
color: var(--wire-color-muted);
|
|
line-height: 1.6;
|
|
}
|
|
.wire-dialog__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.75rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
.wire-dialog__actions--wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wire-filter-bar {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
}
|
|
.wire-filter-bar__controls {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
align-items: end;
|
|
gap: 0.75rem;
|
|
}
|
|
.wire-table--striped tbody tr:nth-child(even) {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-comparison-table {
|
|
min-width: 42rem;
|
|
}
|
|
|
|
.wire-desktop-nav > ul,
|
|
.wire-mobile-nav ul,
|
|
.wire-mega-menu ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.wire-desktop-nav > ul {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
.wire-desktop-nav a,
|
|
.wire-mega-menu__trigger {
|
|
display: inline-flex;
|
|
min-height: 44px;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.6rem 0.8rem;
|
|
color: var(--wire-color-text);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: var(--wire-radius-sm);
|
|
text-decoration: none;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.wire-desktop-nav a:hover,
|
|
.wire-mega-menu__trigger:hover {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-mega-menu {
|
|
position: relative;
|
|
}
|
|
.wire-mega-menu__panel {
|
|
position: absolute;
|
|
z-index: 100;
|
|
top: calc(100% + 0.5rem);
|
|
left: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(10rem, 1fr));
|
|
gap: 1.25rem;
|
|
width: min(46rem, calc(100vw - 2rem));
|
|
padding: 1.25rem;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-mega-menu__panel h3 {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
.wire-mega-menu__panel a,
|
|
.wire-mobile-nav__panel a {
|
|
display: flex;
|
|
min-height: 44px;
|
|
align-items: center;
|
|
color: var(--wire-color-text);
|
|
text-decoration: none;
|
|
}
|
|
.wire-mobile-nav {
|
|
display: none;
|
|
}
|
|
.wire-mobile-nav__panel {
|
|
position: fixed;
|
|
inset: 4rem 1rem auto;
|
|
z-index: 100;
|
|
max-height: calc(100dvh - 5rem);
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
|
|
.wire-page-shell {
|
|
width: 100%;
|
|
min-width: 0;
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-page-shell--marketing,
|
|
.wire-page-shell--product {
|
|
overflow: clip;
|
|
}
|
|
.wire-page-shell--legal {
|
|
display: grid;
|
|
grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
|
|
gap: clamp(2rem, 5vw, 5rem);
|
|
max-width: 80rem;
|
|
}
|
|
.wire-page-shell__aside {
|
|
position: sticky;
|
|
top: 1rem;
|
|
align-self: start;
|
|
}
|
|
.wire-page-shell__main {
|
|
min-width: 0;
|
|
max-width: 52rem;
|
|
}
|
|
|
|
.wire-product-card,
|
|
.wire-metric {
|
|
padding: clamp(1rem, 3vw, 1.5rem);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-product-card {
|
|
display: grid;
|
|
gap: 0.8rem;
|
|
}
|
|
.wire-product-card__meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
.wire-product-card h3,
|
|
.wire-product-card p {
|
|
margin: 0;
|
|
}
|
|
.wire-product-card p {
|
|
color: var(--wire-color-muted);
|
|
line-height: 1.6;
|
|
}
|
|
.wire-product-card__link {
|
|
color: var(--wire-color-primary);
|
|
font-weight: 650;
|
|
text-decoration: none;
|
|
}
|
|
.wire-eyebrow {
|
|
color: var(--wire-color-primary);
|
|
font-size: 0.75rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
.wire-metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
|
|
gap: 1rem;
|
|
}
|
|
.wire-metric__value {
|
|
margin: 0;
|
|
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
font-weight: 800;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.wire-metric__label {
|
|
margin: 0.35rem 0 0;
|
|
font-weight: 650;
|
|
}
|
|
.wire-metric__description {
|
|
margin: 0.35rem 0 0;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wire-sdk-tabs__panel {
|
|
overflow-x: auto;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: 0 0 var(--wire-radius) var(--wire-radius);
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-sdk-tabs__panel pre {
|
|
margin: 0;
|
|
min-width: max-content;
|
|
padding: 1rem;
|
|
}
|
|
.wire-legal-toc {
|
|
padding: 1rem;
|
|
border-left: 2px solid var(--wire-color-border);
|
|
}
|
|
.wire-legal-toc h2 {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
.wire-legal-toc ol {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
}
|
|
.wire-legal-toc a {
|
|
color: var(--wire-color-muted);
|
|
text-decoration: none;
|
|
}
|
|
.wire-cookie-list {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
margin: 0;
|
|
}
|
|
.wire-cookie-option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
min-height: 44px;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
}
|
|
.wire-cookie-option span {
|
|
display: grid;
|
|
gap: 0.25rem;
|
|
}
|
|
.wire-cookie-option small {
|
|
color: var(--wire-color-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.wire-desktop-nav {
|
|
display: none;
|
|
}
|
|
.wire-mobile-nav {
|
|
display: block;
|
|
}
|
|
.wire-mega-menu__panel {
|
|
position: static;
|
|
grid-template-columns: 1fr;
|
|
width: 100%;
|
|
box-shadow: none;
|
|
}
|
|
.wire-page-shell--legal {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.wire-page-shell__aside {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
/* --- Complete catalog composition patterns ----------------------------- */
|
|
.wire-catalog-action {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
}
|
|
.wire-catalog-action > :only-child {
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Authentication compositions intentionally mirror the polished identity
|
|
* experience: compact hierarchy, generous controls, and token-driven color. */
|
|
.wire-auth-card {
|
|
display: grid;
|
|
gap: 0;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: clamp(1.25rem, 4vw, 2rem);
|
|
border-color: color-mix(in srgb, var(--wire-color-border) 82%, transparent);
|
|
background: color-mix(in srgb, var(--wire-color-surface) 94%, transparent);
|
|
box-shadow: 0 1.5rem 5rem color-mix(in srgb, var(--wire-color-text) 8%, transparent);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
.wire-auth-card > .wire-eyebrow {
|
|
justify-self: start;
|
|
margin-bottom: 0.9rem;
|
|
padding: 0.4rem 0.75rem;
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-primary) 24%, transparent);
|
|
border-radius: 999px;
|
|
color: var(--wire-color-primary);
|
|
background: color-mix(in srgb, var(--wire-color-primary) 9%, transparent);
|
|
font-size: 0.7rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.wire-auth-card > h3 {
|
|
margin: 0;
|
|
color: var(--wire-color-text);
|
|
font-size: clamp(1.9rem, 5vw, 2.5rem);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
.wire-auth-card > h3 + p {
|
|
margin: 0.85rem 0 0;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.925rem;
|
|
line-height: 1.7;
|
|
}
|
|
.wire-auth-card > .wire-catalog-card__image {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.wire-auth-action {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.wire-auth-action > :where(a, button) {
|
|
display: grid;
|
|
width: 100%;
|
|
min-height: 5.5rem;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 1.25rem;
|
|
text-align: left;
|
|
border-radius: 1rem;
|
|
}
|
|
.wire-auth-action__icon {
|
|
display: grid;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
place-items: center;
|
|
border-radius: 0.75rem;
|
|
color: currentColor;
|
|
background: color-mix(in srgb, currentColor 12%, transparent);
|
|
}
|
|
.wire-auth-action__icon svg {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.wire-auth-action__icon--passkey {
|
|
color: #fff;
|
|
background: rgb(255 255 255 / 20%);
|
|
}
|
|
.wire-auth-action__icon--password {
|
|
color: color-mix(in srgb, var(--wire-color-primary) 70%, white);
|
|
background: color-mix(in srgb, var(--wire-color-primary) 30%, transparent);
|
|
}
|
|
.wire-auth-action__icon--account {
|
|
color: #5ee9b5;
|
|
background: color-mix(in srgb, #00a96e 30%, transparent);
|
|
}
|
|
.wire-auth-action__copy {
|
|
min-width: 0;
|
|
}
|
|
.wire-auth-action__label {
|
|
display: block;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
}
|
|
.wire-auth-action__description {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
color: color-mix(in srgb, currentColor 66%, transparent);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
}
|
|
.wire-auth-action__arrow {
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
opacity: 0.65;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
transition: transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-auth-action > :where(a, button):hover .wire-auth-action__arrow {
|
|
transform: translateX(0.25rem);
|
|
}
|
|
|
|
.wire-auth-field {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
}
|
|
.wire-auth-field__control {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.wire-public-header-action {
|
|
display: inline-flex;
|
|
min-height: 2.5rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 0.75rem;
|
|
padding: 0.625rem 1rem;
|
|
color: var(--wire-color-text);
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transition:
|
|
background var(--wire-motion-base),
|
|
border-color var(--wire-motion-base),
|
|
color var(--wire-motion-base),
|
|
transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-public-header-action--primary {
|
|
color: var(--wire-color-primary-contrast);
|
|
background: var(--wire-color-primary);
|
|
box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--wire-color-primary) 20%, transparent);
|
|
}
|
|
.wire-public-header-action--primary:hover {
|
|
background: var(--wire-color-primary-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
.wire-public-header-action--secondary {
|
|
border-color: var(--wire-color-border);
|
|
background: var(--wire-color-surface);
|
|
}
|
|
.wire-public-header-action--secondary:hover,
|
|
.wire-public-header-action--ghost:hover {
|
|
color: var(--wire-color-primary);
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-auth-field__input {
|
|
width: 100%;
|
|
min-height: 3.5rem;
|
|
padding-inline: 3rem;
|
|
border-radius: var(--wire-radius-sm);
|
|
box-shadow: var(--wire-shadow-1);
|
|
transition:
|
|
border-color var(--wire-motion-base),
|
|
box-shadow var(--wire-motion-base),
|
|
background var(--wire-motion-base);
|
|
}
|
|
.wire-auth-field__input:focus {
|
|
border-color: var(--wire-color-primary);
|
|
box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--wire-color-primary) 12%, transparent);
|
|
}
|
|
.wire-auth-field__icon {
|
|
position: absolute;
|
|
left: 1rem;
|
|
z-index: 1;
|
|
width: 1.15rem;
|
|
height: 1.15rem;
|
|
color: var(--wire-color-muted);
|
|
pointer-events: none;
|
|
transition: color var(--wire-motion-base);
|
|
}
|
|
.wire-auth-field__control:focus-within .wire-auth-field__icon {
|
|
color: var(--wire-color-primary);
|
|
}
|
|
.wire-auth-field__toggle {
|
|
position: absolute;
|
|
right: 0.25rem;
|
|
display: grid;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: calc(var(--wire-radius-sm) * 0.75);
|
|
color: var(--wire-color-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.wire-auth-field__toggle:hover {
|
|
color: var(--wire-color-primary);
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-auth-field__toggle:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: -2px;
|
|
}
|
|
.wire-catalog-form,
|
|
.wire-catalog-collection,
|
|
.wire-catalog-section {
|
|
display: grid;
|
|
gap: clamp(1rem, 2vw, 1.5rem);
|
|
min-width: 0;
|
|
}
|
|
.wire-catalog-form > header,
|
|
.wire-catalog-collection > header,
|
|
.wire-catalog-section > header {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
}
|
|
.wire-catalog-form :where(h2, p),
|
|
.wire-catalog-collection :where(h2, p),
|
|
.wire-catalog-section :where(h2, p) {
|
|
margin: 0;
|
|
}
|
|
.wire-catalog-field {
|
|
min-width: 0;
|
|
}
|
|
.wire-catalog-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
overflow: auto;
|
|
padding: clamp(1rem, 4vw, 2rem);
|
|
background: rgb(2 6 23 / 0.68);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.wire-catalog-overlay .wire-dialog {
|
|
width: min(100%, 42rem);
|
|
max-height: calc(100dvh - 2rem);
|
|
overflow: auto;
|
|
padding: clamp(1rem, 4vw, 1.5rem);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 0.3);
|
|
}
|
|
.wire-catalog-collection__items {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
.wire-catalog-feedback {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 0.5rem 1rem;
|
|
align-items: start;
|
|
}
|
|
.wire-catalog-feedback p {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
}
|
|
.wire-catalog-visualization {
|
|
display: grid;
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
.wire-catalog-visualization figcaption {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
.wire-catalog-visualization__content {
|
|
min-height: 10rem;
|
|
overflow-x: auto;
|
|
}
|
|
.wire-catalog-visualization__skeleton {
|
|
width: 100%;
|
|
min-height: 10rem;
|
|
}
|
|
.wire-catalog-card__image {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
border-radius: calc(var(--wire-radius) * 0.75);
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.wire-catalog-action,
|
|
.wire-catalog-action > :where(a, button) {
|
|
width: 100%;
|
|
}
|
|
.wire-catalog-overlay {
|
|
align-items: end;
|
|
padding: 0;
|
|
}
|
|
.wire-catalog-overlay .wire-dialog {
|
|
max-height: 92dvh;
|
|
border-radius: var(--wire-radius) var(--wire-radius) 0 0;
|
|
}
|
|
}
|
|
|
|
/* --- Motion system -------------------------------------------------------
|
|
* Applies to both Tailwind-authored and token-authored components. Motion is
|
|
* intentionally limited to composited properties so interaction stays fluid.
|
|
*/
|
|
:root {
|
|
--wire-motion-fast: 120ms;
|
|
--wire-motion-base: 200ms;
|
|
--wire-motion-slow: 320ms;
|
|
--wire-ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
--wire-ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
/* Tailwind v4 color bridge. Define the aliases at the document root so both
|
|
* packaged components and application-authored pages/components inherit the
|
|
* palette selected in wrnexus.config.ts. */
|
|
:root {
|
|
--color-violet-50: color-mix(in srgb, var(--wire-color-primary) 7%, white);
|
|
--color-violet-100: color-mix(in srgb, var(--wire-color-primary) 14%, white);
|
|
--color-violet-200: color-mix(in srgb, var(--wire-color-primary) 25%, white);
|
|
--color-violet-300: color-mix(in srgb, var(--wire-color-primary) 42%, white);
|
|
--color-violet-400: color-mix(in srgb, var(--wire-color-primary) 72%, white);
|
|
--color-violet-500: var(--wire-color-primary);
|
|
--color-violet-600: var(--wire-color-primary);
|
|
--color-violet-700: var(--wire-color-primary-hover);
|
|
--color-violet-800: color-mix(in srgb, var(--wire-color-primary-hover) 82%, black);
|
|
--color-violet-900: color-mix(in srgb, var(--wire-color-primary-hover) 65%, black);
|
|
--color-violet-950: color-mix(in srgb, var(--wire-color-primary-hover) 42%, black);
|
|
--color-indigo-50: var(--color-violet-50);
|
|
--color-indigo-100: var(--color-violet-100);
|
|
--color-indigo-200: var(--color-violet-200);
|
|
--color-indigo-300: var(--color-violet-300);
|
|
--color-indigo-400: var(--color-violet-400);
|
|
--color-indigo-500: var(--color-violet-500);
|
|
--color-indigo-600: var(--color-violet-600);
|
|
--color-indigo-700: var(--color-violet-700);
|
|
--color-indigo-800: var(--color-violet-800);
|
|
--color-indigo-900: var(--color-violet-900);
|
|
--color-indigo-950: var(--color-violet-950);
|
|
--color-blue-500: var(--wire-color-info);
|
|
--color-blue-600: var(--wire-color-info);
|
|
--color-blue-700: color-mix(in srgb, var(--wire-color-info) 80%, black);
|
|
--color-emerald-500: var(--wire-color-success);
|
|
--color-emerald-600: var(--wire-color-success);
|
|
--color-emerald-700: color-mix(in srgb, var(--wire-color-success) 80%, black);
|
|
--color-green-500: var(--wire-color-success);
|
|
--color-green-600: var(--wire-color-success);
|
|
--color-amber-500: var(--wire-color-warning);
|
|
--color-amber-600: var(--wire-color-warning);
|
|
--color-amber-700: color-mix(in srgb, var(--wire-color-warning) 80%, black);
|
|
--color-yellow-500: var(--wire-color-warning);
|
|
--color-red-400: color-mix(in srgb, var(--wire-color-danger) 75%, white);
|
|
--color-red-500: var(--wire-color-danger);
|
|
--color-red-600: var(--wire-color-danger);
|
|
--color-red-700: color-mix(in srgb, var(--wire-color-danger) 80%, black);
|
|
--color-rose-500: var(--wire-color-danger);
|
|
--color-rose-600: var(--wire-color-danger);
|
|
--color-rose-700: color-mix(in srgb, var(--wire-color-danger) 80%, black);
|
|
}
|
|
|
|
/* Stable semantic helpers for application-authored markup. These deliberately
|
|
* avoid spacing so applications remain in control of their own layout. */
|
|
.wire-bg-page {
|
|
background-color: var(--wire-color-bg);
|
|
}
|
|
.wire-bg-surface {
|
|
background-color: var(--wire-color-surface);
|
|
}
|
|
.wire-bg-surface-2 {
|
|
background-color: var(--wire-color-surface-2);
|
|
}
|
|
.wire-bg-primary {
|
|
background-color: var(--wire-color-primary);
|
|
color: var(--wire-color-primary-contrast);
|
|
}
|
|
.wire-bg-secondary {
|
|
background-color: var(--wire-color-secondary);
|
|
color: var(--wire-color-secondary-contrast);
|
|
}
|
|
.wire-text {
|
|
color: var(--wire-color-text);
|
|
}
|
|
.wire-text-muted {
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-text-primary {
|
|
color: var(--wire-color-primary);
|
|
}
|
|
.wire-text-success {
|
|
color: var(--wire-color-success);
|
|
}
|
|
.wire-text-warning {
|
|
color: var(--wire-color-warning);
|
|
}
|
|
.wire-text-danger {
|
|
color: var(--wire-color-danger);
|
|
}
|
|
.wire-border {
|
|
border-color: var(--wire-color-border);
|
|
}
|
|
|
|
[data-component] {
|
|
animation: wire-component-enter var(--wire-motion-slow) var(--wire-ease-emphasized) both;
|
|
}
|
|
|
|
[data-component]
|
|
:where(button, a, input, select, textarea, summary, [role="button"], [role="tab"]) {
|
|
transition-property: color, background-color, border-color, opacity, box-shadow, transform;
|
|
transition-duration: var(--wire-motion-base);
|
|
transition-timing-function: var(--wire-ease-standard);
|
|
}
|
|
|
|
[data-component] :where(input, select, textarea, .wire-input, .wire-select) {
|
|
transition-duration: var(--wire-motion-fast);
|
|
}
|
|
|
|
[data-component] :where(.wire-card, .wire-panel, .wire-surface, .wire-catalog-card, article) {
|
|
transition-property: border-color, background-color, box-shadow, transform;
|
|
transition-duration: var(--wire-motion-base);
|
|
transition-timing-function: var(--wire-ease-emphasized);
|
|
}
|
|
|
|
[data-component] :where(.wire-overlay, [role="dialog"]) {
|
|
animation: wire-overlay-enter var(--wire-motion-base) var(--wire-ease-standard) both;
|
|
}
|
|
|
|
[data-component] :where(.wire-dialog, [role="dialog"] > :first-child) {
|
|
animation: wire-dialog-enter var(--wire-motion-slow) var(--wire-ease-emphasized) both;
|
|
}
|
|
|
|
[data-component] :where([role="menu"], [role="listbox"], [role="tooltip"], .wire-mega-menu__panel) {
|
|
transform-origin: top center;
|
|
animation: wire-popover-enter var(--wire-motion-base) var(--wire-ease-emphasized) both;
|
|
}
|
|
|
|
[data-component] :where([role="progressbar"], progress) {
|
|
transition: inline-size var(--wire-motion-slow) var(--wire-ease-emphasized);
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
[data-component] :where(button, .wire-btn, [role="button"]):not(:disabled):hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
[data-component] :where(.wire-card, .wire-catalog-card, article):has(a):hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0.75rem 2rem rgb(15 23 42 / 0.12);
|
|
}
|
|
}
|
|
|
|
/* --- Screenshot-directed canonical component set ------------------------- */
|
|
.wire-next {
|
|
margin: 0;
|
|
color: var(--wire-color-text);
|
|
font-family: var(--wrn-font-sans, inherit);
|
|
}
|
|
|
|
.wire-next--rounded,
|
|
.wire-next--image img {
|
|
border-radius: var(--wire-radius-md);
|
|
}
|
|
|
|
.wire-next--container {
|
|
width: min(100%, 72rem);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.wire-next--columns,
|
|
.wire-next--grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--wire-next-columns, 2), minmax(0, 1fr));
|
|
}
|
|
|
|
.wire-next--columns-1 {
|
|
--wire-next-columns: 1;
|
|
}
|
|
.wire-next--columns-2 {
|
|
--wire-next-columns: 2;
|
|
}
|
|
.wire-next--columns-3 {
|
|
--wire-next-columns: 3;
|
|
}
|
|
.wire-next--columns-4 {
|
|
--wire-next-columns: 4;
|
|
}
|
|
.wire-next--gap-sm {
|
|
gap: 0.5rem;
|
|
}
|
|
.wire-next--gap-md {
|
|
gap: 1rem;
|
|
}
|
|
.wire-next--gap-lg {
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.wire-next--layout-splitter {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
}
|
|
|
|
.wire-next--custom-scrollbar {
|
|
max-height: 24rem;
|
|
overflow: auto;
|
|
scrollbar-color: var(--wire-color-primary) transparent;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.wire-next--link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
color: var(--wire-color-primary);
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
|
|
.wire-next--divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-next--divider::before,
|
|
.wire-next--divider::after {
|
|
height: 1px;
|
|
flex: 1;
|
|
background: var(--wire-color-border);
|
|
content: "";
|
|
}
|
|
.wire-next--divider-vertical {
|
|
width: 1px;
|
|
min-height: 4rem;
|
|
background: var(--wire-color-border);
|
|
}
|
|
|
|
.wire-next--kbd {
|
|
display: inline-flex;
|
|
min-width: 1.8rem;
|
|
justify-content: center;
|
|
padding: 0.25rem 0.45rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-bottom-width: 2px;
|
|
border-radius: 0.4rem;
|
|
background: var(--wire-color-surface-2);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.wire-next--accordion,
|
|
.wire-next--collapse,
|
|
.wire-next--card,
|
|
.wire-next--alert,
|
|
.wire-next--toast,
|
|
.wire-next--chat-bubble,
|
|
.wire-next--blockquote,
|
|
.wire-next--device-frame,
|
|
.wire-next--tree-view,
|
|
.wire-next--timeline,
|
|
.wire-next--carousel,
|
|
.wire-next--list,
|
|
.wire-next--list-group,
|
|
.wire-next--legend-indicator,
|
|
.wire-next--rating,
|
|
.wire-next--styled-icon,
|
|
.wire-next--confetti,
|
|
.wire-next--data-map,
|
|
.wire-next--chart,
|
|
.wire-next--map,
|
|
.wire-next--drag-and-drop,
|
|
.wire-next--file-upload,
|
|
.wire-next--toast-notifications,
|
|
.wire-next--clipboard,
|
|
.wire-next--copy-markup,
|
|
.wire-next--toggle-count {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-md);
|
|
background: var(--wire-color-surface);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
|
|
.wire-next p {
|
|
margin: 0;
|
|
color: var(--wire-color-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.wire-next__items {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
.wire-next__items > span,
|
|
.wire-next--badge {
|
|
padding: 0.3rem 0.55rem;
|
|
border-radius: 999px;
|
|
background: var(--wire-color-surface-2);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.wire-next details {
|
|
overflow: hidden;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
}
|
|
.wire-next summary {
|
|
padding: 0.75rem;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
}
|
|
.wire-next details > div {
|
|
padding: 0 0.75rem 0.75rem;
|
|
color: var(--wire-color-muted);
|
|
}
|
|
|
|
.wire-next__row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
.wire-next progress {
|
|
width: 100%;
|
|
accent-color: var(--wire-color-primary);
|
|
}
|
|
|
|
.wire-next--pin-input {
|
|
display: grid;
|
|
width: 100%;
|
|
min-width: 0;
|
|
gap: 0.65rem;
|
|
padding: 0;
|
|
border: 0;
|
|
color: var(--wire-color-text);
|
|
}
|
|
|
|
.wire-next__pin-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.wire-next__pin-heading legend {
|
|
padding: 0;
|
|
font-size: 0.82em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wire-next__pin-clear {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0;
|
|
border: 0;
|
|
color: var(--wire-component-color);
|
|
background: transparent;
|
|
font: inherit;
|
|
font-size: 0.7em;
|
|
font-weight: 750;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wire-next__pin-clear > span:first-child {
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
}
|
|
|
|
.wire-next__pin-cells {
|
|
display: flex;
|
|
max-width: 100%;
|
|
align-items: center;
|
|
gap: clamp(0.35rem, 1.5vw, 0.65rem);
|
|
overflow-x: auto;
|
|
padding: 0.2rem;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.wire-next--pin-input .wire-next__pin-cells input {
|
|
flex: 0 0 clamp(2.4rem, 8vw, 3.25rem);
|
|
width: clamp(2.4rem, 8vw, 3.25rem);
|
|
height: clamp(2.75rem, 9vw, 3.5rem);
|
|
min-width: clamp(2.4rem, 8vw, 3.25rem);
|
|
padding: 0;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-bg);
|
|
font: inherit;
|
|
font-size: clamp(1rem, 3vw, 1.25rem);
|
|
font-weight: 750;
|
|
text-align: center;
|
|
caret-color: var(--wire-component-color);
|
|
transition:
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard),
|
|
transform var(--wire-motion-fast) var(--wire-ease-standard);
|
|
}
|
|
|
|
.wire-next--pin-input .wire-next__pin-cells input::placeholder {
|
|
color: var(--wire-color-muted);
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.wire-next--pin-input .wire-next__pin-cells input:focus-visible {
|
|
border-color: var(--wire-component-color);
|
|
outline: 0;
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-component-color) 18%, transparent);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.wire-next--pin-input .wire-next__pin-cells input:disabled,
|
|
.wire-next--pin-input .wire-next__pin-cells input:read-only {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.wire-next__pin-separator {
|
|
color: var(--wire-color-muted);
|
|
font-size: 1.1rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.wire-next--pin-input[data-complete="true"] .wire-next__pin-cells input {
|
|
border-color: color-mix(in srgb, var(--wire-component-color) 72%, var(--wire-color-border));
|
|
background: color-mix(in srgb, var(--wire-component-color) 7%, var(--wire-color-bg));
|
|
}
|
|
|
|
.wire-next--pin-input.wire-next--invalid .wire-next__pin-cells input,
|
|
.wire-next--pin-input:has(input.wire-invalid) .wire-next__pin-cells input {
|
|
border-color: var(--wire-color-danger);
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.wire-next__pin-cells {
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.wire-next--pin-input .wire-next__pin-cells input {
|
|
flex-basis: min(2.7rem, 12vw);
|
|
width: min(2.7rem, 12vw);
|
|
min-width: min(2.7rem, 12vw);
|
|
height: min(3rem, 14vw);
|
|
}
|
|
}
|
|
|
|
.wire-next--spinner i {
|
|
display: block;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
border: 2px solid var(--wire-color-border);
|
|
border-top-color: var(--wire-color-primary);
|
|
border-radius: 50%;
|
|
animation: wire-spin 700ms linear infinite;
|
|
}
|
|
.wire-next--skeleton {
|
|
display: grid;
|
|
width: min(100%, 24rem);
|
|
gap: 0.55rem;
|
|
}
|
|
.wire-next--skeleton span {
|
|
height: 0.8rem;
|
|
border-radius: 999px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--wire-color-surface-2),
|
|
var(--wire-color-border),
|
|
var(--wire-color-surface-2)
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: wire-shimmer 1.4s infinite;
|
|
}
|
|
|
|
.wire-next--navbar,
|
|
.wire-next--mega-menu,
|
|
.wire-next--nav,
|
|
.wire-next--tabs,
|
|
.wire-next--sidebar,
|
|
.wire-next--scrollspy,
|
|
.wire-next--breadcrumb,
|
|
.wire-next--pagination,
|
|
.wire-next--stepper {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem;
|
|
}
|
|
.wire-next--vertical {
|
|
flex-direction: column;
|
|
}
|
|
.wire-next nav a,
|
|
.wire-next--navbar a,
|
|
.wire-next--mega-menu a,
|
|
.wire-next--nav a,
|
|
.wire-next--tabs a,
|
|
.wire-next--sidebar a,
|
|
.wire-next--scrollspy a,
|
|
.wire-next--breadcrumb a,
|
|
.wire-next--pagination a,
|
|
.wire-next--stepper a {
|
|
padding: 0.5rem 0.7rem;
|
|
border-radius: 0.5rem;
|
|
color: var(--wire-color-muted);
|
|
text-decoration: none;
|
|
}
|
|
.wire-next a[aria-current="page"] {
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
|
|
.wire-next--field {
|
|
display: grid;
|
|
width: min(100%, 28rem);
|
|
gap: 0.4rem;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
}
|
|
.wire-next--field :where(input, textarea, select) {
|
|
width: 100%;
|
|
min-height: 2.65rem;
|
|
padding: 0.6rem 0.7rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: 0.6rem;
|
|
outline: 0;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-bg);
|
|
font: inherit;
|
|
font-weight: 500;
|
|
}
|
|
.wire-next--field :where(input, textarea, select):focus-visible {
|
|
border-color: var(--wire-color-primary);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-color-primary) 16%, transparent);
|
|
}
|
|
.wire-next--field textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.wire-next--toggle-password {
|
|
display: grid;
|
|
width: min(100%, 28rem);
|
|
min-width: 0;
|
|
gap: 0.45rem;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.wire-next--toggle-password > label {
|
|
color: var(--wire-color-text);
|
|
font-size: 0.82em;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.wire-next__password-fields {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.wire-next__password-field {
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.wire-next__password-field > label {
|
|
color: var(--wire-color-text);
|
|
font-size: 0.82em;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.wire-next__password-control {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.wire-next__password-control > input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 2.75em;
|
|
padding: 0.65em 3em 0.65em 0.8em;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
outline: 0;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-bg);
|
|
font: inherit;
|
|
transition:
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard);
|
|
}
|
|
|
|
.wire-next__password-control > input:focus-visible {
|
|
border-color: var(--wire-component-color);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-component-color) 18%, transparent);
|
|
}
|
|
|
|
.wire-next__password-toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0.45em;
|
|
display: grid;
|
|
width: 2em;
|
|
height: 2em;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: calc(var(--wire-radius-sm) * 0.72);
|
|
color: var(--wire-color-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.wire-next__password-toggle:hover,
|
|
.wire-next__password-toggle:focus-visible {
|
|
color: var(--wire-component-color);
|
|
background: color-mix(in srgb, var(--wire-component-color) 10%, transparent);
|
|
outline: 0;
|
|
}
|
|
|
|
.wire-next__password-icon {
|
|
display: block;
|
|
width: 1.05em;
|
|
height: 1.05em;
|
|
background: currentColor;
|
|
mask-position: center;
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
}
|
|
|
|
.wire-next__password-icon--show {
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7C3.7 7.6 7.64 5 12 5c4.36 0 8.3 2.6 9.94 6.65a1 1 0 0 1 0 .7C20.3 16.4 16.36 19 12 19c-4.36 0-8.3-2.6-9.94-6.65Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.wire-next__password-toggle[aria-pressed="true"]::after {
|
|
position: absolute;
|
|
width: 1.25em;
|
|
height: 0.12em;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
content: "";
|
|
transform: rotate(45deg);
|
|
box-shadow: 0 0 0 1px var(--wire-color-bg);
|
|
}
|
|
|
|
.wire-next__password-checkbox {
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.78em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wire-next__password-checkbox > input {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
margin: 0;
|
|
accent-color: var(--wire-component-color);
|
|
}
|
|
|
|
.wire-next--toggle-password > small {
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.72em;
|
|
}
|
|
|
|
.wire-next--toggle-password:has(input.wire-invalid) .wire-next__password-control > input,
|
|
.wire-next--toggle-password.wire-next--invalid .wire-next__password-control > input {
|
|
border-color: var(--wire-color-danger);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-color-danger) 14%, transparent);
|
|
}
|
|
|
|
.wire-next--strong-password {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
gap: 0.6rem;
|
|
color: var(--wire-color-text);
|
|
}
|
|
|
|
.wire-next--strong-password > label {
|
|
font-size: 0.82em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wire-next__strong-password-anchor {
|
|
position: relative;
|
|
}
|
|
|
|
.wire-next--strong-password input {
|
|
width: 100%;
|
|
min-height: 2.75em;
|
|
padding: 0.68em 0.85em;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
outline: 0;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
font: inherit;
|
|
transition:
|
|
border-color 160ms ease,
|
|
box-shadow 160ms ease;
|
|
}
|
|
|
|
.wire-next--strong-password input:focus-visible {
|
|
border-color: var(--wire-component-color);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-component-color) 16%, transparent);
|
|
}
|
|
|
|
.wire-next--strong-password.wire-next--invalid input,
|
|
.wire-next--strong-password input.wire-invalid {
|
|
border-color: var(--wire-color-danger);
|
|
}
|
|
|
|
.wire-next__strong-password-details {
|
|
display: grid;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.wire-next__strong-password-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.wire-next__strong-password-summary strong {
|
|
color: var(--wire-color-text);
|
|
}
|
|
|
|
.wire-next__strong-password-meter {
|
|
width: 100%;
|
|
height: 0.42rem;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--wire-color-border) 72%, transparent);
|
|
}
|
|
|
|
.wire-next__strong-password-meter > span {
|
|
display: block;
|
|
width: 0;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: var(--wire-color-danger);
|
|
transition:
|
|
width 180ms ease,
|
|
background-color 180ms ease;
|
|
}
|
|
|
|
.wire-next--strong-password[data-strength="fair"] .wire-next__strong-password-meter > span {
|
|
background: var(--wire-color-warning);
|
|
}
|
|
|
|
.wire-next--strong-password[data-strength="good"] .wire-next__strong-password-meter > span {
|
|
background: var(--wire-component-color);
|
|
}
|
|
|
|
.wire-next--strong-password[data-strength="strong"] .wire-next__strong-password-meter > span {
|
|
background: var(--wire-color-success);
|
|
}
|
|
|
|
.wire-next__strong-password-requirements {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.45rem 1rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.wire-next__strong-password-requirements li {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: flex-start;
|
|
gap: 0.45rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.72em;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.wire-next__strong-password-requirements li > span {
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
flex: 0 0 auto;
|
|
margin-top: 0.08rem;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.wire-next__strong-password-requirements li[data-met="true"] {
|
|
color: var(--wire-color-success);
|
|
}
|
|
|
|
.wire-next__strong-password-requirements li[data-met="true"] > span {
|
|
border-color: var(--wire-color-success);
|
|
background:
|
|
linear-gradient(135deg, transparent 42%, var(--wire-color-surface) 42% 52%, transparent 52%)
|
|
0.05rem 0.07rem / 0.52rem 0.52rem no-repeat,
|
|
var(--wire-color-success);
|
|
}
|
|
|
|
.wire-next__strong-password-details > small {
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.7em;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wire-next__strong-password-popover {
|
|
position: absolute;
|
|
top: calc(100% + 0.7rem);
|
|
left: 0;
|
|
z-index: 30;
|
|
width: min(28rem, calc(100vw - 2rem));
|
|
padding: 1rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
background: var(--wire-color-surface);
|
|
box-shadow: var(--wire-shadow-2);
|
|
transform: translateY(-0.35rem);
|
|
transition:
|
|
opacity 140ms ease,
|
|
transform 140ms ease,
|
|
visibility 140ms ease;
|
|
}
|
|
|
|
.wire-next__strong-password-popover[data-open="true"] {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.wire-next__strong-password-popover-arrow {
|
|
position: absolute;
|
|
top: -0.38rem;
|
|
left: 1.25rem;
|
|
width: 0.7rem;
|
|
height: 0.7rem;
|
|
border-top: 1px solid var(--wire-color-border);
|
|
border-left: 1px solid var(--wire-color-border);
|
|
background: var(--wire-color-surface);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.wire-next__strong-password-requirements {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.wire-next--advanced-select {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
gap: 0.55rem;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
.wire-next--advanced-select > label:first-child,
|
|
.wire-next--advanced-select .wire-next__row > label {
|
|
color: var(--wire-color-text);
|
|
font-size: 0.82em;
|
|
font-weight: 700;
|
|
}
|
|
.wire-next--advanced-select .wire-next__row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
.wire-next--advanced-select small {
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.72em;
|
|
}
|
|
.wire-next__select-search {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
.wire-next__select-search input,
|
|
.wire-next--advanced-select select {
|
|
width: 100%;
|
|
min-height: 2.6em;
|
|
padding: 0.62em 0.75em;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
font: inherit;
|
|
}
|
|
.wire-next__select-search input {
|
|
padding-left: 2.25em;
|
|
}
|
|
.wire-next__search-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0.75em;
|
|
z-index: 1;
|
|
color: var(--wire-component-color);
|
|
transform: translateY(-50%);
|
|
}
|
|
.wire-next--advanced-select select:focus-visible,
|
|
.wire-next__select-search input:focus-visible {
|
|
border-color: var(--wire-component-color);
|
|
outline: 2px solid color-mix(in srgb, var(--wire-component-color) 24%, transparent);
|
|
outline-offset: 1px;
|
|
}
|
|
.wire-next--advanced-select select[multiple] {
|
|
min-height: 8rem;
|
|
}
|
|
.wire-next__select-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
}
|
|
.wire-next__select-tags > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.3rem 0.55rem;
|
|
border-radius: 999px;
|
|
color: var(--wire-component-color);
|
|
background: color-mix(in srgb, var(--wire-component-color) 12%, transparent);
|
|
font-size: 0.75em;
|
|
font-weight: 700;
|
|
}
|
|
.wire-next__select-tags img {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
.wire-next__color-dot {
|
|
width: 0.65rem;
|
|
height: 0.65rem;
|
|
border-radius: 50%;
|
|
background: var(--option-color);
|
|
}
|
|
.wire-next__clear-select,
|
|
.wire-next__create-option,
|
|
.wire-next__load-more {
|
|
width: fit-content;
|
|
padding: 0;
|
|
border: 0;
|
|
color: var(--wire-component-color);
|
|
background: transparent;
|
|
font: inherit;
|
|
font-size: 0.75em;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
.wire-next--invalid :is(input, select) {
|
|
border-color: var(--wire-color-danger);
|
|
}
|
|
.wire-next__validation {
|
|
color: var(--wire-color-danger) !important;
|
|
}
|
|
.wire-next__validation:empty {
|
|
display: none;
|
|
}
|
|
.wire-next--advanced-select:has(input.wire-invalid) .wire-next__select-trigger {
|
|
border-color: var(--wire-color-danger);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-color-danger) 16%, transparent);
|
|
}
|
|
.wire-next--advanced-select-fixed select {
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-next__select-control {
|
|
position: relative;
|
|
}
|
|
.wire-next__combobox-control > .wire-next__search-icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
pointer-events: none;
|
|
}
|
|
.wire-next__combobox-toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
z-index: 1;
|
|
display: grid;
|
|
width: 2.25em;
|
|
height: 100%;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 0;
|
|
color: var(--wire-color-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
.wire-next__combobox-toggle .wire-next__select-chevron {
|
|
position: static;
|
|
transform: none;
|
|
}
|
|
.wire-next--combobox .wire-next__clear-select {
|
|
right: 2.4em;
|
|
}
|
|
.wire-next__select-trigger {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 2.75em;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.55em 2.75em 0.55em 0.8em;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-bg);
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard);
|
|
}
|
|
.wire-next--combobox .wire-next__combobox-input {
|
|
padding-right: 5.25em;
|
|
padding-left: 2.5em;
|
|
cursor: text;
|
|
}
|
|
.wire-next--open .wire-next__select-trigger,
|
|
.wire-next__select-trigger:focus-visible {
|
|
border-color: var(--wire-component-color);
|
|
outline: 0;
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wire-component-color) 18%, transparent);
|
|
}
|
|
.wire-next__select-value {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 0.55em;
|
|
}
|
|
.wire-next__placeholder {
|
|
overflow: hidden;
|
|
color: var(--wire-color-muted);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.wire-next__select-chevron {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0.9em;
|
|
color: var(--wire-color-muted);
|
|
pointer-events: none;
|
|
transform: translateY(-54%);
|
|
}
|
|
.wire-next__clear-select {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 2.15em;
|
|
z-index: 2;
|
|
display: grid;
|
|
width: 1.4em;
|
|
height: 1.4em;
|
|
padding: 0;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
.wire-next__clear-select:hover {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-next__select-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 0.4rem);
|
|
left: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
width: 100%;
|
|
min-width: min(20rem, 92vw);
|
|
gap: 0.45rem;
|
|
padding: 0.5rem;
|
|
overflow: hidden;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-sm);
|
|
background: var(--wire-color-surface);
|
|
box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 18%);
|
|
}
|
|
.wire-next[data-placement="top"] .wire-next__select-dropdown {
|
|
top: auto;
|
|
bottom: calc(100% + 0.4rem);
|
|
}
|
|
.wire-next__select-dropdown--fixed {
|
|
position: fixed;
|
|
top: auto;
|
|
}
|
|
.wire-next__select-list {
|
|
display: grid;
|
|
max-height: 18rem;
|
|
gap: 0.15rem;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-width: thin;
|
|
}
|
|
.wire-next__option-group {
|
|
display: grid;
|
|
gap: 0.15rem;
|
|
}
|
|
.wire-next__group-label {
|
|
padding: 0.55rem 0.7rem 0.3rem;
|
|
color: var(--wire-component-color);
|
|
font-size: 0.68em;
|
|
font-weight: 800;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.wire-next__select-option {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
padding: 0.58rem 2.5rem 0.58rem 0.7rem;
|
|
border: 0;
|
|
border-radius: calc(var(--wire-radius-sm) * 0.72);
|
|
color: var(--wire-color-text);
|
|
background: transparent;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
.wire-next__select-option:has(> img),
|
|
.wire-next__select-option:has(> i:not(.wire-next__check)) {
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
}
|
|
.wire-next__select-option > span {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 0.12rem;
|
|
}
|
|
.wire-next__select-option strong {
|
|
overflow: hidden;
|
|
font-size: 0.82em;
|
|
font-weight: 650;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.wire-next__select-option small {
|
|
overflow: hidden;
|
|
font-size: 0.68em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.wire-next__select-option img,
|
|
.wire-next__selected-avatar {
|
|
width: 1.65rem;
|
|
height: 1.65rem;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
.wire-next__select-option--active {
|
|
background: var(--wire-color-surface-2);
|
|
}
|
|
.wire-next__select-option--selected {
|
|
color: var(--wire-component-color);
|
|
}
|
|
.wire-next__select-option:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
.wire-next__check {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0.8rem;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
color: var(--wire-component-color);
|
|
transform: translateY(-50%);
|
|
}
|
|
.wire-next__select-message {
|
|
display: flex;
|
|
min-height: 4rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.78em;
|
|
text-align: center;
|
|
}
|
|
.wire-next__create-option,
|
|
.wire-next__load-more {
|
|
width: 100%;
|
|
padding: 0.65rem;
|
|
border-top: 1px solid var(--wire-color-border);
|
|
text-align: left;
|
|
}
|
|
.wire-next--disabled {
|
|
opacity: 0.62;
|
|
}
|
|
.wire-next__select-trigger .wire-next__select-tags {
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
@media (max-width: 640px) {
|
|
.wire-next__select-dropdown {
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
.wire-next--choice {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
cursor: pointer;
|
|
}
|
|
.wire-next--choice input {
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
accent-color: var(--wire-color-primary);
|
|
}
|
|
|
|
.wire-next--modal,
|
|
.wire-next--drawer,
|
|
.wire-next--dropdown,
|
|
.wire-next--context-menu,
|
|
.wire-next--popover,
|
|
.wire-next--tooltip {
|
|
width: min(100%, 28rem);
|
|
padding: 1rem;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-md);
|
|
background: var(--wire-color-surface);
|
|
box-shadow: var(--wire-shadow-3);
|
|
}
|
|
.wire-next--modal > header,
|
|
.wire-next--drawer > header,
|
|
.wire-next--dropdown > header,
|
|
.wire-next--context-menu > header,
|
|
.wire-next--popover > header,
|
|
.wire-next--tooltip > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.wire-next > header button {
|
|
border: 0;
|
|
color: var(--wire-color-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wire-next--table {
|
|
width: 100%;
|
|
overflow: auto;
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius-md);
|
|
}
|
|
.wire-next--table table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.wire-next--table caption,
|
|
.wire-next--table th,
|
|
.wire-next--table td {
|
|
padding: 0.75rem;
|
|
border-bottom: 1px solid var(--wire-color-border);
|
|
text-align: left;
|
|
}
|
|
.wire-next--table caption,
|
|
.wire-next--table th {
|
|
font-weight: 800;
|
|
}
|
|
|
|
@keyframes wire-shimmer {
|
|
to {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.wire-next--columns,
|
|
.wire-next--grid,
|
|
.wire-next--layout-splitter {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
[data-component] :where(button, .wire-btn, [role="button"]):not(:disabled):active {
|
|
transform: translateY(0) scale(0.98);
|
|
transition-duration: var(--wire-motion-fast);
|
|
}
|
|
|
|
@keyframes wire-component-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes wire-overlay-enter {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes wire-dialog-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px) scale(0.98);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes wire-popover-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-4px) scale(0.98);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
[data-component],
|
|
[data-component] *,
|
|
[data-component] *::before,
|
|
[data-component] *::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
transition-delay: 0ms !important;
|
|
}
|
|
}
|
|
@media (max-width: 480px) {
|
|
.wire-form-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.wire-filter-bar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
.wire-filter-bar__controls {
|
|
display: grid;
|
|
}
|
|
.wire-dialog__actions > * {
|
|
flex: 1 1 100%;
|
|
}
|
|
}
|
|
|
|
/* --- Expanded foundation catalog ---------------------------------------- */
|
|
.wire-container--narrow {
|
|
max-width: 44rem;
|
|
}
|
|
.wire-container--wide {
|
|
max-width: 90rem;
|
|
}
|
|
.wire-full-bleed {
|
|
width: 100vw;
|
|
margin-inline: calc(50% - 50vw);
|
|
}
|
|
.wire-flex {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
.wire-auto-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
|
|
gap: 1rem;
|
|
}
|
|
.wire-split-layout {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
align-items: center;
|
|
gap: clamp(1.5rem, 5vw, 5rem);
|
|
}
|
|
.wire-sidebar-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
|
|
gap: clamp(1rem, 4vw, 3rem);
|
|
}
|
|
.wire-sticky-layout {
|
|
position: sticky;
|
|
top: 1rem;
|
|
align-self: start;
|
|
}
|
|
.wire-aspect-ratio {
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
}
|
|
.wire-panel,
|
|
.wire-surface,
|
|
.wire-well,
|
|
.wire-inset-panel {
|
|
min-width: 0;
|
|
padding: clamp(1rem, 3vw, 1.5rem);
|
|
color: var(--wire-color-text);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
}
|
|
.wire-panel,
|
|
.wire-surface {
|
|
background: var(--wire-color-surface);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
.wire-well,
|
|
.wire-inset-panel {
|
|
background: var(--wire-color-surface-2);
|
|
box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.06);
|
|
}
|
|
.wire-scroll-area {
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
.wire-sticky {
|
|
position: sticky;
|
|
top: 1rem;
|
|
z-index: 10;
|
|
}
|
|
.wire-muted {
|
|
color: var(--wire-color-muted);
|
|
}
|
|
.wire-visually-hidden {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
padding: 0 !important;
|
|
margin: -1px !important;
|
|
overflow: hidden !important;
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
white-space: nowrap !important;
|
|
border: 0 !important;
|
|
}
|
|
.wire-catalog-card {
|
|
position: relative;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 0.85rem;
|
|
min-width: 0;
|
|
min-height: 13rem;
|
|
overflow: hidden;
|
|
padding: clamp(1.25rem, 3vw, 1.75rem);
|
|
isolation: isolate;
|
|
transition:
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard),
|
|
transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-catalog-card::before {
|
|
display: none;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
place-items: center;
|
|
margin-bottom: 0.35rem;
|
|
color: var(--wire-color-primary);
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-primary) 28%, transparent);
|
|
border-radius: calc(var(--wire-radius) * 0.8);
|
|
background: color-mix(in srgb, var(--wire-color-primary) 12%, transparent);
|
|
}
|
|
.wire-catalog-card__icon {
|
|
display: grid;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
place-items: center;
|
|
margin-bottom: 0.35rem;
|
|
color: var(--wire-color-primary);
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-primary) 28%, transparent);
|
|
border-radius: calc(var(--wire-radius) * 0.8);
|
|
background: color-mix(in srgb, var(--wire-color-primary) 10%, transparent);
|
|
}
|
|
.wire-catalog-card--channel::before {
|
|
content: "◉";
|
|
}
|
|
.wire-catalog-card--integration::before {
|
|
content: "⌘";
|
|
}
|
|
.wire-catalog-card--campaign::before {
|
|
content: "↗";
|
|
}
|
|
.wire-catalog-card h3,
|
|
.wire-catalog-card p {
|
|
margin: 0;
|
|
}
|
|
.wire-catalog-card h3 {
|
|
color: var(--wire-color-text);
|
|
font-size: clamp(1.05rem, 2vw, 1.25rem);
|
|
line-height: 1.25;
|
|
}
|
|
.wire-catalog-card p {
|
|
color: var(--wire-color-muted);
|
|
line-height: 1.6;
|
|
}
|
|
.wire-catalog-card:has(.wire-catalog-card__link)::after {
|
|
content: "→";
|
|
position: absolute;
|
|
right: 1.25rem;
|
|
bottom: 1.1rem;
|
|
z-index: 1;
|
|
color: var(--wire-color-primary);
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
transition: transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
.wire-catalog-card__link {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
border-radius: inherit;
|
|
}
|
|
.wire-catalog-card__link:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 3px;
|
|
}
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.wire-catalog-card:has(.wire-catalog-card__link):hover {
|
|
border-color: color-mix(in srgb, var(--wire-color-primary) 48%, var(--wire-color-border));
|
|
box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--wire-color-primary) 12%, transparent);
|
|
transform: translateY(-3px);
|
|
}
|
|
.wire-catalog-card:has(.wire-catalog-card__link):hover::after {
|
|
transform: translateX(0.25rem);
|
|
}
|
|
}
|
|
.wire-catalog-card--glass {
|
|
background: color-mix(in srgb, var(--wire-color-surface) 80%, transparent);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
.wire-catalog-card--outlined {
|
|
box-shadow: none;
|
|
}
|
|
.wire-catalog-card--elevated {
|
|
box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.14);
|
|
}
|
|
.wire-catalog-card--error {
|
|
border-color: var(--wire-color-danger);
|
|
}
|
|
.wire-catalog-card--success {
|
|
border-color: var(--wire-color-success);
|
|
}
|
|
.wire-catalog-card--warning {
|
|
border-color: var(--wire-color-warning);
|
|
}
|
|
.wire-catalog-badge {
|
|
min-height: 1.5rem;
|
|
}
|
|
.wire-catalog-badge--notificationdot,
|
|
.wire-catalog-badge--onlineindicator,
|
|
.wire-catalog-badge--healthindicator {
|
|
min-width: 0.65rem;
|
|
width: 0.65rem;
|
|
height: 0.65rem;
|
|
min-height: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
color: transparent;
|
|
border-radius: 999px;
|
|
background: var(--wire-color-success);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.wire-split-layout,
|
|
.wire-sidebar-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.wire-sticky-layout {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
/* --- Segmented button group --------------------------------------------- */
|
|
.wire-segmented-group {
|
|
display: inline-grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: minmax(max-content, 1fr);
|
|
align-items: stretch;
|
|
gap: 0.25rem;
|
|
max-width: 100%;
|
|
padding: 0.3rem;
|
|
overflow-x: auto;
|
|
color: var(--wire-color-text);
|
|
background: color-mix(in srgb, var(--wire-color-surface-2) 86%, transparent);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: calc(var(--wire-radius-sm) + 0.25rem);
|
|
box-shadow:
|
|
inset 0 1px 0 color-mix(in srgb, var(--wire-color-text) 4%, transparent),
|
|
var(--wire-shadow-1);
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.wire-segmented-group::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.wire-segmented-group--full {
|
|
display: grid;
|
|
width: 100%;
|
|
}
|
|
|
|
.wire-segmented-group__button {
|
|
position: relative;
|
|
isolation: isolate;
|
|
display: inline-flex;
|
|
min-width: 0;
|
|
min-height: 2.5rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.45rem;
|
|
padding: 0.55rem 0.9rem;
|
|
overflow: hidden;
|
|
color: var(--wire-color-muted);
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--wire-radius-sm);
|
|
font: inherit;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
transition:
|
|
color var(--wire-motion-base) var(--wire-ease-standard),
|
|
background-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
border-color var(--wire-motion-base) var(--wire-ease-standard),
|
|
box-shadow var(--wire-motion-base) var(--wire-ease-standard),
|
|
transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
|
|
.wire-segmented-group__button::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
border-radius: inherit;
|
|
background: var(--wire-color-surface);
|
|
box-shadow: var(--wire-shadow-1);
|
|
opacity: 0;
|
|
transform: scale(0.88);
|
|
transition:
|
|
opacity var(--wire-motion-base) var(--wire-ease-standard),
|
|
transform var(--wire-motion-slow) var(--wire-ease-emphasized);
|
|
}
|
|
|
|
.wire-segmented-group__button:hover:not(:disabled) {
|
|
color: var(--wire-color-text);
|
|
background: color-mix(in srgb, var(--wire-color-surface) 65%, transparent);
|
|
}
|
|
|
|
.wire-segmented-group__button--active {
|
|
color: var(--wire-color-text);
|
|
border-color: color-mix(in srgb, var(--wire-color-primary) 22%, var(--wire-color-border));
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.wire-segmented-group__button--active::before {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.wire-segmented-group__button--active .wire-segmented-group__label {
|
|
animation: wire-segmented-label-in var(--wire-motion-slow) var(--wire-ease-emphasized) both;
|
|
}
|
|
|
|
.wire-segmented-group__button:focus-visible {
|
|
outline: 2px solid var(--wire-color-primary);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.wire-segmented-group__button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.wire-segmented-group__badge {
|
|
display: inline-flex;
|
|
min-height: 1.35rem;
|
|
align-items: center;
|
|
padding: 0.15rem 0.45rem;
|
|
color: var(--wire-color-success);
|
|
background: color-mix(in srgb, var(--wire-color-success) 14%, transparent);
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-success) 22%, transparent);
|
|
border-radius: 999px;
|
|
font-size: 0.7rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.wire-segmented-group__icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex: none;
|
|
color: currentColor;
|
|
}
|
|
|
|
.wire-segmented-group--sm .wire-segmented-group__button {
|
|
min-height: 2.15rem;
|
|
padding: 0.4rem 0.7rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.wire-segmented-group--lg .wire-segmented-group__button {
|
|
min-height: 3rem;
|
|
padding: 0.7rem 1.15rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.wire-segmented-group__empty {
|
|
padding: 0.65rem 0.9rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
@keyframes wire-segmented-label-in {
|
|
from {
|
|
opacity: 0.68;
|
|
transform: translateY(3px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* --- Analytics dashboard preview ---------------------------------------- */
|
|
.wire-analytics-preview {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wire-analytics-preview__surface {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
|
|
gap: clamp(1.5rem, 4vw, 3.5rem);
|
|
align-items: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: clamp(1.25rem, 3vw, 2rem);
|
|
overflow: hidden;
|
|
color: var(--wire-color-text);
|
|
background:
|
|
radial-gradient(
|
|
circle at 100% 0%,
|
|
color-mix(in srgb, var(--wire-color-primary) 10%, transparent),
|
|
transparent 38%
|
|
),
|
|
var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: calc(var(--wire-radius) * 1.35);
|
|
box-shadow: 0 1.25rem 3.5rem color-mix(in srgb, var(--wire-color-text) 9%, transparent);
|
|
}
|
|
|
|
.wire-analytics-preview__visual,
|
|
.wire-analytics-preview__content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.wire-analytics-preview__chart,
|
|
.wire-analytics-preview__image {
|
|
width: 100%;
|
|
border: 1px solid color-mix(in srgb, var(--wire-color-border) 88%, transparent);
|
|
border-radius: calc(var(--wire-radius) * 0.95);
|
|
background: color-mix(in srgb, var(--wire-color-surface-2) 92%, transparent);
|
|
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wire-color-text) 4%, transparent);
|
|
}
|
|
|
|
.wire-analytics-preview__image {
|
|
aspect-ratio: 16 / 10;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.wire-analytics-preview__chart {
|
|
padding: clamp(1rem, 2vw, 1.35rem);
|
|
}
|
|
|
|
.wire-analytics-preview__chart-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
color: var(--wire-color-text);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.wire-analytics-preview__chart-header span {
|
|
color: var(--wire-color-success);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.wire-analytics-preview__chart-svg {
|
|
width: 100%;
|
|
height: auto;
|
|
margin-top: 1rem;
|
|
color: var(--wire-color-primary);
|
|
}
|
|
|
|
.wire-analytics-preview__days {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.wire-analytics-preview__content {
|
|
display: grid;
|
|
align-content: center;
|
|
}
|
|
|
|
.wire-analytics-preview__eyebrow {
|
|
margin: 0;
|
|
color: var(--wire-color-primary);
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wire-analytics-preview__title {
|
|
max-width: 13ch;
|
|
margin: 0;
|
|
color: var(--wire-color-text);
|
|
font-size: clamp(1.85rem, 4vw, 3rem);
|
|
line-height: 1.03;
|
|
font-weight: 750;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.wire-analytics-preview__eyebrow + .wire-analytics-preview__title {
|
|
margin-top: 0.8rem;
|
|
}
|
|
|
|
.wire-analytics-preview__description {
|
|
max-width: 34rem;
|
|
margin: 1rem 0 0;
|
|
color: var(--wire-color-muted);
|
|
font-size: 1rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.wire-analytics-preview__metrics {
|
|
min-width: 0;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.wire-analytics-preview__action {
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 1.5rem;
|
|
color: var(--wire-color-primary);
|
|
font-weight: 750;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wire-analytics-preview__action span {
|
|
transition: transform var(--wire-motion-base) var(--wire-ease-emphasized);
|
|
}
|
|
|
|
.wire-analytics-preview__action:hover span {
|
|
transform: translateX(0.25rem);
|
|
}
|
|
|
|
/* --- Metric grid refinements -------------------------------------------- */
|
|
.wire-metric-grid-shell {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wire-metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wire-metric-grid[data-columns="2"] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.wire-metric-grid[data-columns="3"] {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.wire-metric-grid[data-columns="4"] {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.wire-metric-card {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 9.5rem;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 1.25rem;
|
|
color: var(--wire-color-text);
|
|
background: var(--wire-color-surface);
|
|
border: 1px solid var(--wire-color-border);
|
|
border-radius: calc(var(--wire-radius) * 0.9);
|
|
box-shadow: var(--wire-shadow-1);
|
|
}
|
|
|
|
.wire-metric-card__value {
|
|
overflow-wrap: anywhere;
|
|
color: var(--wire-color-text);
|
|
font-size: clamp(1.65rem, 3vw, 2.25rem);
|
|
line-height: 1;
|
|
font-weight: 750;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.wire-metric-card__label {
|
|
margin-top: 0.7rem;
|
|
color: var(--wire-color-text);
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wire-metric-card__description {
|
|
margin: 0.45rem 0 0;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wire-metric-grid--compact {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.wire-metric-card--compact {
|
|
min-height: 7.25rem;
|
|
padding: 1rem;
|
|
text-align: left;
|
|
background: color-mix(in srgb, var(--wire-color-surface-2) 72%, var(--wire-color-surface));
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wire-metric-card--compact .wire-metric-card__value {
|
|
font-size: clamp(1rem, 2vw, 1.35rem);
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.wire-metric-card--compact .wire-metric-card__label {
|
|
margin-top: 0.45rem;
|
|
color: var(--wire-color-muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.wire-metric-grid__empty {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
padding: 1.5rem;
|
|
color: var(--wire-color-muted);
|
|
text-align: center;
|
|
border: 1px dashed var(--wire-color-border);
|
|
border-radius: var(--wire-radius);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.wire-analytics-preview__surface {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.wire-analytics-preview__title {
|
|
max-width: 18ch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.wire-segmented-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.wire-segmented-group__button {
|
|
min-width: max-content;
|
|
}
|
|
|
|
.wire-metric-grid,
|
|
.wire-metric-grid[data-columns="2"],
|
|
.wire-metric-grid[data-columns="3"],
|
|
.wire-metric-grid[data-columns="4"],
|
|
.wire-metric-grid--compact {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.wire-metric-card--compact {
|
|
min-height: auto;
|
|
}
|
|
}
|