Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -21,7 +21,9 @@
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
unicode-range:
|
||||
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
@@ -30,11 +32,97 @@
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url("/fonts/instrument-sans-latin-ext.woff2") format("woff2");
|
||||
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
unicode-range:
|
||||
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
/*
|
||||
Some synced Subframe components and legacy theme presets still reference
|
||||
Inter directly (`font-['Inter']`) or through `--font-inter`. Keep those
|
||||
references metric-compatible with the app font instead of falling back to the
|
||||
browser/system stack during navigation.
|
||||
*/
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400 700;
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
|
||||
unicode-range:
|
||||
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400 700;
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url("/fonts/instrument-sans-latin-ext.woff2") format("woff2");
|
||||
unicode-range:
|
||||
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
||||
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@theme {
|
||||
--default-font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--font-inter: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
Product surfaces must never fall back to the browser's serif default when the
|
||||
self-hosted font is still loading or unavailable. Subframe typography classes
|
||||
reference individual font variables, so bind the complete product type scale
|
||||
to one resilient product stack at the document boundary.
|
||||
*/
|
||||
.font-product {
|
||||
--product-font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--font-inter: var(--product-font-family);
|
||||
--font-sans: var(--product-font-family);
|
||||
--font-title-hero: var(--product-font-family);
|
||||
--font-title-page: var(--product-font-family);
|
||||
--font-subtitle: var(--product-font-family);
|
||||
--font-heading-: var(--product-font-family);
|
||||
--font-body-extra-small-regular-150: var(--product-font-family);
|
||||
--font-body-small-medium-150: var(--product-font-family);
|
||||
--font-body-default-medium-150: var(--product-font-family);
|
||||
--font-body-large: var(--product-font-family);
|
||||
--font-body-small-regular-150: var(--product-font-family);
|
||||
--font-body-default-regular-150: var(--product-font-family);
|
||||
--font-body-extra-small-medium-150: var(--product-font-family);
|
||||
--font-body-extra-small-semibold-150: var(--product-font-family);
|
||||
--font-body-small-semibold-150: var(--product-font-family);
|
||||
--font-body-default-semibold-150: var(--product-font-family);
|
||||
--font-body-small-medium-0: var(--product-font-family);
|
||||
--font-body-extra-small-semibold-0: var(--product-font-family);
|
||||
--font-body-extra-small-medium-0: var(--product-font-family);
|
||||
--font-body-extra-small-regular-0: var(--product-font-family);
|
||||
--font-body-small-regular-0: var(--product-font-family);
|
||||
--font-body-small-semibold-0: var(--product-font-family);
|
||||
--font-body-default-regular-0: var(--product-font-family);
|
||||
--font-body-default-medium-0: var(--product-font-family);
|
||||
--font-body-default-semibold-0: var(--product-font-family);
|
||||
--font-body-large-0: var(--product-font-family);
|
||||
--font-subtitle-0: var(--product-font-family);
|
||||
--font-heading-0: var(--product-font-family);
|
||||
font-family: var(--product-font-family);
|
||||
}
|
||||
|
||||
/*
|
||||
Solid-neutral surfaces (Button/IconButton variant="neutral", BadgeFeedback/Tag
|
||||
solid-neutral) shipped with default grey-800 / active grey-900 — a washed-out
|
||||
"almost black" that visibly clashes next to the primary button's grey-900.
|
||||
Mirror the primary solid ramp instead (default grey-900, hover grey-700,
|
||||
active grey-800) so all solid dark controls share the same black. theme.css is
|
||||
overwritten on every Subframe sync, so the override lives here.
|
||||
*/
|
||||
@theme {
|
||||
--color-surface-feedback-solid-neutral: var(--color-neutral-900);
|
||||
--color-surface-feedback-solid-neutral-hover: var(--color-neutral-700);
|
||||
--color-surface-feedback-solid-neutral-active: var(--color-neutral-800);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -58,6 +146,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Tailwind v4 preflight resets buttons to `cursor: default`. Every clickable
|
||||
control in the app should signal interactivity like a link does; disabled
|
||||
controls keep the default cursor (components may override with not-allowed).
|
||||
*/
|
||||
@layer base {
|
||||
button:not(:disabled),
|
||||
[role="button"]:not([aria-disabled="true"]),
|
||||
input[type="submit"]:not(:disabled),
|
||||
input[type="checkbox"]:not(:disabled),
|
||||
input[type="radio"]:not(:disabled),
|
||||
select:not(:disabled),
|
||||
summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Subframe's "-0" text tokens used line-height equal to font-size. That clips
|
||||
glyphs with ascenders/descenders or umlauts in tight containers (e.g. "Ü", "g",
|
||||
@@ -81,6 +186,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@tailwindcss/forms paints a 1px blue ring (box-shadow, not outline) on every
|
||||
focused input. The design system shows focus on the surrounding field instead —
|
||||
TextInput, SearchInput and the filter bar all carry `focus-within:shadow-focus`
|
||||
on their wrapper — so the plugin ring draws a second, differently coloured
|
||||
border inside the one that is already there.
|
||||
|
||||
Removed for the controls that carry the kit marker class, not for inputs in
|
||||
general: a bare input outside the design system still needs a visible focus
|
||||
indicator, and dropping it there would be an accessibility regression.
|
||||
*/
|
||||
@layer base {
|
||||
.subframe-text-input-control:focus,
|
||||
.subframe-text-input-control:focus-visible {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
@layer base {
|
||||
.subframe-text-input-control:-webkit-autofill,
|
||||
.subframe-text-input-control:-webkit-autofill:hover,
|
||||
@@ -757,8 +880,97 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Keep dialog positioning stable when third-party widgets inject global styles. */
|
||||
[data-slot="dialog-content"] {
|
||||
/* Browser-local accessibility preference: remove optional motion and blur. */
|
||||
html[data-hg-visual-effects="off"] {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
|
||||
html[data-hg-visual-effects="off"] *,
|
||||
html[data-hg-visual-effects="off"] *::before,
|
||||
html[data-hg-visual-effects="off"] *::after {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
|
||||
html[data-hg-visual-effects="off"] [class*="blur"],
|
||||
html[data-hg-visual-effects="off"] [style*="blur("] {
|
||||
filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
backdrop-filter: none !important;
|
||||
}
|
||||
|
||||
/* Full-width workflow drawer motion: the panel starts completely beyond the
|
||||
right viewport edge and visibly travels left onto the canvas. */
|
||||
@keyframes hg-drawer-enter-from-right {
|
||||
from {
|
||||
transform: translate3d(105%, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hg-drawer-exit-to-right {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(105%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hg-drawer-backdrop-enter {
|
||||
from {
|
||||
background-color: rgb(0 0 0 / 0%);
|
||||
-webkit-backdrop-filter: blur(0);
|
||||
backdrop-filter: blur(0);
|
||||
}
|
||||
to {
|
||||
background-color: rgb(0 0 0 / 35%);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hg-drawer-backdrop-exit {
|
||||
from {
|
||||
background-color: rgb(0 0 0 / 35%);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
to {
|
||||
background-color: rgb(0 0 0 / 0%);
|
||||
-webkit-backdrop-filter: blur(0);
|
||||
backdrop-filter: blur(0);
|
||||
}
|
||||
}
|
||||
|
||||
.hg-drawer-backdrop[data-state="open"] {
|
||||
animation: hg-drawer-backdrop-enter 300ms ease-out both;
|
||||
}
|
||||
|
||||
.hg-drawer-backdrop[data-state="closed"] {
|
||||
animation: hg-drawer-backdrop-exit 300ms ease-out both;
|
||||
}
|
||||
|
||||
.hg-drawer-full-from-right[data-state="open"] {
|
||||
animation: hg-drawer-enter-from-right 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
.hg-drawer-full-from-right[data-state="closed"] {
|
||||
animation: hg-drawer-exit-to-right 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hg-drawer-backdrop,
|
||||
.hg-drawer-full-from-right {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Keep centered dialogs stable when third-party widgets inject global styles. */
|
||||
[data-slot="dialog-content"][data-positioning="centered"] {
|
||||
position: fixed !important;
|
||||
top: 50% !important;
|
||||
left: 50% !important;
|
||||
@@ -769,3 +981,163 @@
|
||||
position: fixed !important;
|
||||
inset: 0 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* VD-MCP connect pill — idle it stays a plain bordered button. On hover (and on
|
||||
* keyboard focus) the brand gold sweeps around the border and the client marks
|
||||
* ride past on a 3D conveyor showing every supported client, not just the three
|
||||
* that fit. Pure decoration: everything below is inert under reduced motion.
|
||||
*/
|
||||
|
||||
/*
|
||||
* The sweep is back to the original form: one conic gradient turning at a
|
||||
* constant angular rate. Thickness and the dual glow stay at the tuned values.
|
||||
*/
|
||||
@property --hg-mcp-angle {
|
||||
syntax: "<angle>";
|
||||
inherits: false;
|
||||
initial-value: 0deg;
|
||||
}
|
||||
|
||||
@keyframes hg-mcp-border-sweep {
|
||||
to {
|
||||
--hg-mcp-angle: 360deg;
|
||||
}
|
||||
}
|
||||
|
||||
.hg-mcp-pill::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -4.05px;
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
padding: 4.05px;
|
||||
/* Tight hot glow plus a wide soft one — this is what reads as sparkle. */
|
||||
filter: drop-shadow(0 0 2px rgb(255 236 179 / 0.9)) drop-shadow(0 0 7px rgb(241 183 41 / 0.6));
|
||||
background: conic-gradient(
|
||||
from var(--hg-mcp-angle),
|
||||
rgb(241 183 41 / 0) 0deg,
|
||||
rgb(241 183 41 / 0.15) 40deg,
|
||||
rgb(241 183 41 / 1) 80deg,
|
||||
rgb(255 236 179 / 1) 100deg,
|
||||
rgb(241 183 41 / 1) 120deg,
|
||||
rgb(241 183 41 / 0.15) 160deg,
|
||||
rgb(241 183 41 / 0) 200deg
|
||||
);
|
||||
/* Ring-only fill: the mask keeps the padding box and drops the content box. */
|
||||
-webkit-mask:
|
||||
linear-gradient(#000 0 0) content-box,
|
||||
linear-gradient(#000 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask:
|
||||
linear-gradient(#000 0 0) content-box,
|
||||
linear-gradient(#000 0 0);
|
||||
mask-composite: exclude;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 180ms ease;
|
||||
}
|
||||
|
||||
.hg-mcp-pill:hover::before,
|
||||
.hg-mcp-pill:focus-visible::before {
|
||||
opacity: 1;
|
||||
animation: hg-mcp-border-sweep 2.4s linear infinite;
|
||||
}
|
||||
|
||||
/* Two identical mark copies, so -50% -> 0 loops without a seam. */
|
||||
@keyframes hg-mcp-marks-ride {
|
||||
from {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hg-mcp-mark-flip {
|
||||
0% {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotateY(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.hg-mcp-pill {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.hg-mcp-marks {
|
||||
display: block;
|
||||
/* Three marks wide (3 x 14px + 2 x 6px gap); the rest rides in from outside. */
|
||||
width: 3.375rem;
|
||||
overflow: hidden;
|
||||
perspective: 220px;
|
||||
}
|
||||
|
||||
.hg-mcp-pill:hover .hg-mcp-marks,
|
||||
.hg-mcp-pill:focus-visible .hg-mcp-marks {
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
|
||||
mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
|
||||
}
|
||||
|
||||
/*
|
||||
* At rest the track is parked on the second copy's first mark, which is where
|
||||
* the ride animation starts and ends — so hovering picks up exactly here with
|
||||
* no jump. Parking it explicitly rather than relying on a paused animation's
|
||||
* frame 0: a paused animation still advances its clock in Chrome and ends up
|
||||
* holding an arbitrary offset that slices the marks mid-glyph.
|
||||
*/
|
||||
.hg-mcp-marks-track {
|
||||
display: flex;
|
||||
width: max-content;
|
||||
align-items: center;
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
transform-style: preserve-3d;
|
||||
/* Lets the marks glide back into place when the pointer leaves mid-ride. */
|
||||
transition: transform 260ms ease-out;
|
||||
}
|
||||
|
||||
/* Margin instead of flex gap: gap would leave half a gap unaccounted for in
|
||||
the 50% loop period and the conveyor would jump 3px every cycle. */
|
||||
.hg-mcp-marks-track > * {
|
||||
margin-right: 0.375rem;
|
||||
flex: none;
|
||||
backface-visibility: visible;
|
||||
}
|
||||
|
||||
.hg-mcp-pill:hover .hg-mcp-marks-track,
|
||||
.hg-mcp-pill:focus-visible .hg-mcp-marks-track {
|
||||
animation: hg-mcp-marks-ride 3.47s linear infinite;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.hg-mcp-pill:hover .hg-mcp-marks-track > *,
|
||||
.hg-mcp-pill:focus-visible .hg-mcp-marks-track > * {
|
||||
animation: hg-mcp-mark-flip 6.48s linear infinite;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hg-mcp-pill::before,
|
||||
.hg-mcp-marks-track,
|
||||
.hg-mcp-marks-track > * {
|
||||
animation: none !important;
|
||||
}
|
||||
.hg-mcp-pill:hover::before,
|
||||
.hg-mcp-pill:focus-visible::before {
|
||||
/* Keep the affordance, drop the motion. */
|
||||
opacity: 1;
|
||||
background: rgb(241 183 41 / 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
/* Kanban drag & drop: while a card is in hand the pointer leaves the tile it
|
||||
started on, so a `cursor-grabbing` class on the card alone would flicker back
|
||||
to the default arrow. SortableKanbanBoard sets this class on <html> for the
|
||||
duration of the drag and the grabbing fist wins everywhere, including over
|
||||
the drop targets and the text inside them. */
|
||||
html.hg-kanban-dragging,
|
||||
html.hg-kanban-dragging * {
|
||||
cursor: grabbing !important;
|
||||
}
|
||||
Reference in new issue
Block a user