Files
openmotion/packages/design-system/base.css
open-design-crew[bot] 86c6f3ea2a Refine Skills discovery and soften Studio interaction states (#636)
* Refine Skills discovery layout and soften Studio interaction states

* Increase Skills card titles to 14px and keep them on one line

* Refine compact Skills cards, detail controls and layout transitions

* Tighten Skills toolbar spacing and retain portable input focus outlines

* Keep the Skills submission action vertically stable during detail transitions

* Remove unused Skills option class to pass the token gate

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-19 14:57:08 +08:00

33 lines
2.0 KiB
CSS

:where([data-motion-ui]), :where([data-motion-ui]) * { box-sizing: border-box; }
:where([data-motion-ui]) {
background: var(--motion-bg);
color: var(--motion-text);
font: var(--motion-weight-regular) var(--motion-text-body)/var(--motion-leading-body) var(--motion-font-sans);
font-synthesis: none;
-webkit-font-smoothing: antialiased;
accent-color: var(--motion-accent);
}
:where(html[data-motion-ui]), :where(html[data-motion-ui]) body { margin: 0; min-height: 100%; }
:where([data-motion-ui]) :where(button, input, textarea, select) { font: inherit; color: inherit; }
[data-motion-ui] :is(input, textarea)::placeholder { color: var(--motion-placeholder); opacity: 1; }
:where([data-motion-ui]) :where(button, a, label, input, textarea, select) { -webkit-tap-highlight-color: transparent; }
:where([data-motion-ui]) :where(button) { cursor: pointer; }
:where([data-motion-ui]) :where(button, input, textarea, select):disabled { cursor: not-allowed; opacity: .4; }
:where([data-motion-ui]) :where(a) { color: inherit; }
:where([data-motion-ui]) :where(h1, h2, h3, p) { margin: 0; }
:where([data-motion-ui]) :where(button, a, input, textarea, select):focus-visible,
:where([data-motion-ui]) label:has(input[type='file']:focus-visible) { outline: 1px solid var(--motion-focus); outline-offset: 1px; }
:where([data-motion-ui]) ::selection { background: var(--motion-highlight); color: var(--motion-strong); }
:where([data-motion-ui]) :where(code, pre, kbd) { font-family: var(--motion-font-mono); }
:where([data-motion-ui]) [hidden] { display: none !important; }
:where([data-motion-ui]) .visually-hidden {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
:where([data-motion-ui]) *, :where([data-motion-ui]) *::before, :where([data-motion-ui]) *::after {
animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
scroll-behavior: auto !important;
}
}