oficina / estilo Public

Clone
git clone https://amadan.net/oficina/estilo

Plain git — no account needed to clone.

Download

Download this file

1[estilo-call-header] {
2 display: flex;
3 flex-wrap: wrap;
4 align-items: center;
5 justify-content: space-between;
6 gap: var(--rst-sp-4);
7 margin-block-end: var(--rst-sp-4);
8}
9[estilo-call-header] > * { min-inline-size: 0; }
10[estilo-call-header] h1 { margin: 0; overflow-wrap: anywhere; }
11[estilo-call-workspace] {
12 display: grid;
13 grid-template-columns: minmax(0, 1fr);
14 gap: var(--rst-sp-4);
15 align-items: start;
16}
17[estilo-call-workspace] > * { min-inline-size: 0; }
18[estilo-call-panel] {
19 padding: var(--rst-sp-4);
20 border: 1px solid var(--rst-line);
21 border-radius: 1.25rem;
22 background: var(--rst-surface);
23}
24[estilo-call-actions] {
25 display: flex;
26 flex-wrap: wrap;
27 align-items: center;
28 gap: var(--rst-sp-2);
29 padding-block: var(--rst-sp-3);
30}
31[estilo-call-actions] button,
32[estilo-call-actions] a {
33 min-inline-size: 44px;
34 min-block-size: 44px;
35 border-radius: 14px;
36}
37[estilo-call-actions] svg { flex: none; inline-size: 20px; block-size: 20px; }
38[estilo-call-actions] [aria-pressed='true'] {
39 box-shadow: inset 0 0 0 2px currentColor;
40 font-weight: 700;
41}
42[estilo-call-segmented] {
43 display: flex;
44 padding: 3px;
45 border: 1px solid var(--rst-line);
46 border-radius: 12px;
47 background: var(--rst-surface-2);
48}
49[estilo-call-segmented] button {
50 min-inline-size: 64px;
51 min-block-size: 44px;
52 border: 1px solid transparent;
53 border-radius: 9px;
54 background: transparent;
55 color: var(--rst-text);
56 font: inherit;
57 cursor: pointer;
58}
59[estilo-call-segmented] [aria-pressed='true'] {
60 background: var(--rst-surface);
61 border-color: var(--rst-line);
62 font-weight: 700;
63}
64[estilo-call-segmented] button:focus-visible {
65 outline: 2px solid var(--rst-accent);
66 outline-offset: 2px;
67}
68[estilo-call-actions][hidden],
69[estilo-call-segmented][hidden],
70[estilo-call-workspace][hidden] { display: none; }
71@media (min-width: 64rem) {
72 [estilo-call-workspace~='sidebar'] { grid-template-columns: minmax(0, 1fr) 20rem; }
73}
74