Repository navigation
Expand file tree
/
Copy pathrows.css
More file actions
112 lines (103 loc) · 9.35 KB
/
Copy pathrows.css
File metadata and controls
112 lines (103 loc) · 9.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* rows.css: Work hub (redesign thread 3, Oct 2026). Loads after shared.css.
The card itself comes from shared.css (wc-, ds-). This file adds the page
around it: hero, groups, filter buttons, the deep dive inside a card, footer.
Tokens only, so light and dark both work. Page classes start with wk-. */
/* ---------- reset what the old hub layout set ---------- */
.wk-walk[hidden], .wk-end[hidden], .wk-media[hidden], .wk-chart[hidden], .wk-cap[hidden], .wk-lane[hidden] { display: none; }
#lanes { display: block; max-width: none; margin: 0; padding: 0; }
/* ---------- hero ---------- */
.wk-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.wk-hero .wrap { max-width: var(--max, 1180px); display: grid; gap: 1.2rem; justify-items: start; }
.wk-hero h1 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(2.2rem, 4.4vw, 3.6rem); text-wrap: balance; max-width: 20ch; color: var(--ink); }
.wk-hero .wk-lede { margin: 0; color: var(--steel); font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.6; max-width: 56ch; }
.wk-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.wk-hero > .wrap > * { animation: wk-rise .6s var(--ease) both; }
.wk-hero > .wrap > :nth-child(2) { animation-delay: .06s; }
.wk-hero > .wrap > :nth-child(3) { animation-delay: .12s; }
.wk-hero > .wrap > :nth-child(4) { animation-delay: .18s; }
/* ---------- filter buttons (header's second row) ---------- */
.nav-chips-inner { gap: .45rem; scrollbar-width: none; }
.nav-chips-inner::-webkit-scrollbar { display: none; }
.wk-chip { flex: none; display: inline-flex; align-items: baseline; gap: .4rem; border: 1px solid var(--line); background: var(--bg); color: var(--steel); border-radius: 999px; padding: .38rem .85rem; font-family: var(--body); font-size: .86rem; font-weight: 600; line-height: 1.3; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.wk-chip:hover { color: var(--ink); border-color: var(--ink); }
.wk-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.wk-chip i { font-style: normal; font-size: .76rem; opacity: .7; font-variant-numeric: tabular-nums; }
/* ---------- groups ---------- */
.wk-lane { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.wk-lane > .wrap { max-width: var(--max, 1180px); }
.wk-lane-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.6rem; }
.wk-lane-head > div { display: grid; gap: .4rem; min-width: 0; }
.wk-lane-head h2 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; text-wrap: balance; color: var(--ink); }
.wk-lane-head > p { margin: 0; color: var(--steel); max-width: 48ch; }
.wk-pipe { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 10px; padding: .2rem 1rem; }
.wk-pipe summary { cursor: pointer; padding: .7rem 0; font-weight: 600; font-size: .92rem; color: var(--steel); }
.wk-pipe ul { margin: 0 0 .8rem; padding-left: 1.1rem; color: var(--steel); font-size: .92rem; display: grid; gap: .3rem; }
.wk-pipe a { color: var(--ink); }
/* ---------- card additions (the card is shared.css .wc) ---------- */
.wk-card { scroll-margin-top: 130px; }
.wk-card .wc-trace { margin-top: .2rem; }
.wk-card.open { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: none; box-shadow: var(--shadow); }
.wk-dd i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.wk-card.open .wk-dd i { transform: rotate(45deg); }
.wc-visual.has-cover { padding: clamp(.8rem, 2vw, 1.2rem); }
.wk-cover { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); cursor: zoom-in; aspect-ratio: 4 / 3; max-width: 100%; }
.wk-cover img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; }
/* ---------- deep dive, inside the card ---------- */
.wk-walk { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.2rem clamp(1.4rem, 3vw, 2.4rem); padding: clamp(1.2rem, 3vw, 2rem); background: var(--surface); border-top: 1px solid var(--line); }
.wk-walk.no-fig { grid-template-columns: minmax(0, 1fr); }
.wk-card.open .wk-walk { animation: wk-rise .4s var(--ease); }
.wk-fig { min-width: 0; display: grid; gap: .6rem; align-content: start; }
.wk-media { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; max-height: 18rem; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.wk-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.wk-zoom { position: absolute; right: .5rem; bottom: .5rem; z-index: 1; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--bg); border-radius: 999px; padding: .25rem .6rem; opacity: 0; transition: opacity .2s; }
.wk-media:hover .wk-zoom, .wk-media:focus-visible .wk-zoom { opacity: 1; }
.wk-cap { margin: 0; font-size: .84rem; color: var(--steel); line-height: 1.45; }
.wk-chart { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; display: grid; gap: .8rem; min-width: 0; }
.wk-chart p { margin: 0; }
.wk-chart-title { font-weight: 600; line-height: 1.35; color: var(--ink); }
.wk-chart-cap { font-size: .84rem; color: var(--steel); line-height: 1.45; }
.wk-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: .9rem; }
.wk-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; font-size: .9rem; }
.wk-steps span { display: block; color: var(--steel); }
.wk-panel { min-width: 0; display: grid; gap: .7rem; align-content: start; }
.wk-ptop { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wk-x { width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--steel); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.wk-x:hover { color: var(--ink); border-color: var(--ink); }
.wk-x svg { width: 15px; height: 15px; }
.wk-step-h { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.15; color: var(--ink); }
.wk-step-t { display: grid; gap: .6rem; max-width: 60ch; color: var(--ink); }
.wk-step-t p { margin: 0; }
.wk-step-t .wk-call { padding-left: .9rem; border-left: 2px solid var(--line); }
.wk-step-t.wk-in { animation: wk-rise .35s var(--ease); }
.wk-end { display: grid; gap: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.wk-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.wk-links .ds-btn { padding: .5rem .95rem; font-size: .85rem; }
.wk-links .ds-btn-line { background: var(--bg); }
.wk-setting { margin: 0; font-size: .86rem; color: var(--steel); }
.wk-nav { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .6rem; }
.wk-back { background: none; border: 0; padding: .4rem 0; font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--steel); cursor: pointer; }
.wk-back:hover { color: var(--ink); }
.wk-back:disabled { opacity: .35; cursor: default; }
.wk-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.wk-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .2s; }
.wk-dot[aria-current="step"] { width: 22px; background: var(--accent); }
.wk-next { padding: .6rem 1.05rem; font-size: .88rem; }
@media (max-width: 760px) { .wk-walk { grid-template-columns: minmax(0, 1fr); } }
.wk-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,19,31,.86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: clamp(1rem, 4vw, 3rem); cursor: zoom-out; }
.wk-lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 10px; background: #fff; }
.wk-lb-cap { color: #fff; font-size: .85rem; text-align: center; margin: 0; }
/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .foot-links a { font-family: var(--body); text-transform: none; letter-spacing: 0; color: var(--steel); text-decoration: none; }
.site-footer .foot-links a:hover { color: var(--ink); text-decoration: none; }
.site-footer .fine { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--steel); }
/* ---------- motion ---------- */
@keyframes wk-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wk-rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.wk-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.wk-hero > .wrap > *, .wk-card.open .wk-walk, .wk-step-t.wk-in { animation: none; }
.wk-rv { opacity: 1; transform: none; transition: none; }
.wk-dd i, .wk-dot { transition: none; }
}
.wk-rv.in:not(.open):hover { transform: translateY(-2px); }