release: WRNexusJS 0.2.54
This commit is contained in:
@@ -537,3 +537,418 @@
|
||||
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);
|
||||
background: var(--wire-color-bg);
|
||||
}
|
||||
.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;
|
||||
margin-inline: auto;
|
||||
padding: clamp(1rem, 4vw, 3rem);
|
||||
}
|
||||
.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-top: 1.25rem;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@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%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user