dsh-ustc-campus 0.2.14 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +74 -71
- package/dist/client.js +5946 -1061
- package/package.json +63 -24
- package/src/account-data.mjs +194 -0
- package/src/bb-actions.mjs +3 -1
- package/src/bb.mjs +15 -9
- package/src/campus-transit.mjs +58 -52
- package/src/client.mjs +74 -633
- package/src/concurrency.mjs +13 -0
- package/src/custom-feeds.mjs +519 -0
- package/src/exams.mjs +21 -7
- package/src/feed.mjs +525 -137
- package/src/grades.mjs +30 -16
- package/src/host.mjs +52 -81
- package/src/library-spaces.mjs +39 -35
- package/src/material.mjs +2268 -65
- package/src/mcp-host.mjs +56 -5
- package/src/mcp.mjs +136 -27
- package/src/recommender.mjs +1319 -0
- package/src/school.mjs +218 -154
- package/src/snapshot-cache.mjs +98 -0
- package/src/state.mjs +152 -16
- package/src/youth-actions.mjs +52 -58
- package/src/youth.mjs +55 -26
package/src/material.mjs
CHANGED
|
@@ -1,65 +1,2268 @@
|
|
|
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
|
-
|
|
1
|
+
const STYLE_ID = 'ustc-campus-md3-styles';
|
|
2
|
+
|
|
3
|
+
export const material = `
|
|
4
|
+
/* ==========================================================================
|
|
5
|
+
USTC Campus Workbench v2 — Material Design 3 Tokens & Component Styles
|
|
6
|
+
Seed Color: #005AC1 (USTC Cobalt Blue)
|
|
7
|
+
========================================================================== */
|
|
8
|
+
|
|
9
|
+
.uc-workbench,
|
|
10
|
+
.uc-card-root {
|
|
11
|
+
color-scheme: light dark;
|
|
12
|
+
|
|
13
|
+
/* Raw Light / Dark Palette Tokens (Seed #005AC1) */
|
|
14
|
+
--uc-l-primary: #005AC1;
|
|
15
|
+
--uc-d-primary: #ADC6FF;
|
|
16
|
+
--uc-l-on-primary: #FFFFFF;
|
|
17
|
+
--uc-d-on-primary: #002E69;
|
|
18
|
+
--uc-l-primary-container: #D8E2FF;
|
|
19
|
+
--uc-d-primary-container: #004494;
|
|
20
|
+
--uc-l-on-primary-container: #001A41;
|
|
21
|
+
--uc-d-on-primary-container: #D8E2FF;
|
|
22
|
+
|
|
23
|
+
--uc-l-secondary: #535E78;
|
|
24
|
+
--uc-d-secondary: #BBC6E4;
|
|
25
|
+
--uc-l-on-secondary: #FFFFFF;
|
|
26
|
+
--uc-d-on-secondary: #253048;
|
|
27
|
+
--uc-l-secondary-container: #D7E2FF;
|
|
28
|
+
--uc-d-secondary-container: #3B475F;
|
|
29
|
+
--uc-l-on-secondary-container: #0F1B32;
|
|
30
|
+
--uc-d-on-secondary-container: #D7E2FF;
|
|
31
|
+
|
|
32
|
+
--uc-l-tertiary: #6B538C;
|
|
33
|
+
--uc-d-tertiary: #D7BAFA;
|
|
34
|
+
--uc-l-on-tertiary: #FFFFFF;
|
|
35
|
+
--uc-d-on-tertiary: #3B255A;
|
|
36
|
+
--uc-l-tertiary-container: #EDDCFF;
|
|
37
|
+
--uc-d-tertiary-container: #523B72;
|
|
38
|
+
--uc-l-on-tertiary-container: #250E44;
|
|
39
|
+
--uc-d-on-tertiary-container: #EDDCFF;
|
|
40
|
+
|
|
41
|
+
--uc-l-error: #BA1A1A;
|
|
42
|
+
--uc-d-error: #FFB4AB;
|
|
43
|
+
--uc-l-on-error: #FFFFFF;
|
|
44
|
+
--uc-d-on-error: #690005;
|
|
45
|
+
--uc-l-error-container: #FFDAD6;
|
|
46
|
+
--uc-d-error-container: #93000A;
|
|
47
|
+
--uc-l-on-error-container: #410002;
|
|
48
|
+
--uc-d-on-error-container: #FFDAD6;
|
|
49
|
+
|
|
50
|
+
/* Harmonized Semantic Roles (Success / Warning) */
|
|
51
|
+
--uc-l-success: #146C43;
|
|
52
|
+
--uc-d-success: #79DBA2;
|
|
53
|
+
--uc-l-on-success: #FFFFFF;
|
|
54
|
+
--uc-d-on-success: #00391F;
|
|
55
|
+
--uc-l-success-container: #B9F2CE;
|
|
56
|
+
--uc-d-success-container: #00522F;
|
|
57
|
+
--uc-l-on-success-container: #002110;
|
|
58
|
+
--uc-d-on-success-container: #B9F2CE;
|
|
59
|
+
|
|
60
|
+
--uc-l-warning: #8A5300;
|
|
61
|
+
--uc-d-warning: #FFB95C;
|
|
62
|
+
--uc-l-on-warning: #FFFFFF;
|
|
63
|
+
--uc-d-on-warning: #492900;
|
|
64
|
+
--uc-l-warning-container: #FFDDB6;
|
|
65
|
+
--uc-d-warning-container: #683D00;
|
|
66
|
+
--uc-l-on-warning-container: #2B1700;
|
|
67
|
+
--uc-d-on-warning-container: #FFDDB6;
|
|
68
|
+
|
|
69
|
+
/* Surface & Neutral Hierarchy */
|
|
70
|
+
--uc-l-surface: #F9F9FF;
|
|
71
|
+
--uc-d-surface: #11131A;
|
|
72
|
+
--uc-l-surface-dim: #D9DAE3;
|
|
73
|
+
--uc-d-surface-dim: #11131A;
|
|
74
|
+
--uc-l-surface-bright: #F9F9FF;
|
|
75
|
+
--uc-d-surface-bright: #373941;
|
|
76
|
+
--uc-l-surface-container-lowest: #FFFFFF;
|
|
77
|
+
--uc-d-surface-container-lowest: #0C0E14;
|
|
78
|
+
--uc-l-surface-container-low: #F3F3FC;
|
|
79
|
+
--uc-d-surface-container-low: #191B22;
|
|
80
|
+
--uc-l-surface-container: #EDEEF7;
|
|
81
|
+
--uc-d-surface-container: #1D2027;
|
|
82
|
+
--uc-l-surface-container-high: #E7E8F1;
|
|
83
|
+
--uc-d-surface-container-high: #282A31;
|
|
84
|
+
--uc-l-surface-container-highest: #E1E2EB;
|
|
85
|
+
--uc-d-surface-container-highest: #33353C;
|
|
86
|
+
|
|
87
|
+
--uc-l-on-surface: #191B22;
|
|
88
|
+
--uc-d-on-surface: #E2E2EC;
|
|
89
|
+
--uc-l-on-surface-variant: #444753;
|
|
90
|
+
--uc-d-on-surface-variant: #C4C6D4;
|
|
91
|
+
|
|
92
|
+
--uc-l-outline: #747784;
|
|
93
|
+
--uc-d-outline: #8E909E;
|
|
94
|
+
--uc-l-outline-variant: #C4C6D4;
|
|
95
|
+
--uc-d-outline-variant: #444753;
|
|
96
|
+
|
|
97
|
+
--uc-l-inverse-surface: #2E3038;
|
|
98
|
+
--uc-d-inverse-surface: #E2E2EC;
|
|
99
|
+
--uc-l-inverse-on-surface: #F0F0F9;
|
|
100
|
+
--uc-d-inverse-on-surface: #2E3038;
|
|
101
|
+
--uc-l-inverse-primary: #ADC6FF;
|
|
102
|
+
--uc-d-inverse-primary: #005AC1;
|
|
103
|
+
|
|
104
|
+
--uc-l-scrim: rgba(12, 16, 28, 0.45);
|
|
105
|
+
--uc-d-scrim: rgba(4, 6, 12, 0.65);
|
|
106
|
+
|
|
107
|
+
--uc-l-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08), 0 1px 3px 1px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--uc-d-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
109
|
+
--uc-l-shadow-md: 0 2px 8px 2px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
110
|
+
--uc-d-shadow-md: 0 4px 12px 2px rgba(0, 0, 0, 0.52), 0 1px 4px rgba(0, 0, 0, 0.4);
|
|
111
|
+
--uc-l-shadow-lg: 0 8px 24px 4px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
|
|
112
|
+
--uc-d-shadow-lg: 0 12px 28px 4px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.45);
|
|
113
|
+
|
|
114
|
+
/* Fallback Light Defaults */
|
|
115
|
+
--md-sys-color-primary: var(--uc-l-primary);
|
|
116
|
+
--md-sys-color-on-primary: var(--uc-l-on-primary);
|
|
117
|
+
--md-sys-color-primary-container: var(--uc-l-primary-container);
|
|
118
|
+
--md-sys-color-on-primary-container: var(--uc-l-on-primary-container);
|
|
119
|
+
--md-sys-color-secondary: var(--uc-l-secondary);
|
|
120
|
+
--md-sys-color-on-secondary: var(--uc-l-on-secondary);
|
|
121
|
+
--md-sys-color-secondary-container: var(--uc-l-secondary-container);
|
|
122
|
+
--md-sys-color-on-secondary-container: var(--uc-l-on-secondary-container);
|
|
123
|
+
--md-sys-color-tertiary: var(--uc-l-tertiary);
|
|
124
|
+
--md-sys-color-on-tertiary: var(--uc-l-on-tertiary);
|
|
125
|
+
--md-sys-color-tertiary-container: var(--uc-l-tertiary-container);
|
|
126
|
+
--md-sys-color-on-tertiary-container: var(--uc-l-on-tertiary-container);
|
|
127
|
+
--md-sys-color-error: var(--uc-l-error);
|
|
128
|
+
--md-sys-color-on-error: var(--uc-l-on-error);
|
|
129
|
+
--md-sys-color-error-container: var(--uc-l-error-container);
|
|
130
|
+
--md-sys-color-on-error-container: var(--uc-l-on-error-container);
|
|
131
|
+
--md-sys-color-success: var(--uc-l-success);
|
|
132
|
+
--md-sys-color-on-success: var(--uc-l-on-success);
|
|
133
|
+
--md-sys-color-success-container: var(--uc-l-success-container);
|
|
134
|
+
--md-sys-color-on-success-container: var(--uc-l-on-success-container);
|
|
135
|
+
--md-sys-color-warning: var(--uc-l-warning);
|
|
136
|
+
--md-sys-color-on-warning: var(--uc-l-on-warning);
|
|
137
|
+
--md-sys-color-warning-container: var(--uc-l-warning-container);
|
|
138
|
+
--md-sys-color-on-warning-container: var(--uc-l-on-warning-container);
|
|
139
|
+
--md-sys-color-surface: var(--uc-l-surface);
|
|
140
|
+
--md-sys-color-surface-dim: var(--uc-l-surface-dim);
|
|
141
|
+
--md-sys-color-surface-bright: var(--uc-l-surface-bright);
|
|
142
|
+
--md-sys-color-surface-container-lowest: var(--uc-l-surface-container-lowest);
|
|
143
|
+
--md-sys-color-surface-container-low: var(--uc-l-surface-container-low);
|
|
144
|
+
--md-sys-color-surface-container: var(--uc-l-surface-container);
|
|
145
|
+
--md-sys-color-surface-container-high: var(--uc-l-surface-container-high);
|
|
146
|
+
--md-sys-color-surface-container-highest: var(--uc-l-surface-container-highest);
|
|
147
|
+
--md-sys-color-on-surface: var(--uc-l-on-surface);
|
|
148
|
+
--md-sys-color-on-surface-variant: var(--uc-l-on-surface-variant);
|
|
149
|
+
--md-sys-color-outline: var(--uc-l-outline);
|
|
150
|
+
--md-sys-color-outline-variant: var(--uc-l-outline-variant);
|
|
151
|
+
--md-sys-color-inverse-surface: var(--uc-l-inverse-surface);
|
|
152
|
+
--md-sys-color-inverse-on-surface: var(--uc-l-inverse-on-surface);
|
|
153
|
+
--md-sys-color-inverse-primary: var(--uc-l-inverse-primary);
|
|
154
|
+
--md-sys-color-scrim: var(--uc-l-scrim);
|
|
155
|
+
--uc-shadow-sm: var(--uc-l-shadow-sm);
|
|
156
|
+
--uc-shadow-md: var(--uc-l-shadow-md);
|
|
157
|
+
--uc-shadow-lg: var(--uc-l-shadow-lg);
|
|
158
|
+
|
|
159
|
+
/* Typography */
|
|
160
|
+
--md-ref-typeface-brand: 'Roboto Flex', 'Roboto', 'PingFang SC', 'Microsoft YaHei UI', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
|
|
161
|
+
--md-ref-typeface-plain: 'Roboto Flex', 'Roboto', 'PingFang SC', 'Microsoft YaHei UI', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
|
|
162
|
+
|
|
163
|
+
--md-sys-typescale-headline-small-size: 1.375rem;
|
|
164
|
+
--md-sys-typescale-headline-small-lh: 1.875rem;
|
|
165
|
+
--md-sys-typescale-title-large-size: 1.25rem;
|
|
166
|
+
--md-sys-typescale-title-large-lh: 1.75rem;
|
|
167
|
+
--md-sys-typescale-title-medium-size: 1rem;
|
|
168
|
+
--md-sys-typescale-title-medium-lh: 1.5rem;
|
|
169
|
+
--md-sys-typescale-title-small-size: 0.875rem;
|
|
170
|
+
--md-sys-typescale-title-small-lh: 1.25rem;
|
|
171
|
+
--md-sys-typescale-body-large-size: 0.9375rem;
|
|
172
|
+
--md-sys-typescale-body-large-lh: 1.4375rem;
|
|
173
|
+
--md-sys-typescale-body-medium-size: 0.875rem;
|
|
174
|
+
--md-sys-typescale-body-medium-lh: 1.3125rem;
|
|
175
|
+
--md-sys-typescale-body-small-size: 0.75rem;
|
|
176
|
+
--md-sys-typescale-body-small-lh: 1.0625rem;
|
|
177
|
+
--md-sys-typescale-label-large-size: 0.875rem;
|
|
178
|
+
--md-sys-typescale-label-large-lh: 1.25rem;
|
|
179
|
+
--md-sys-typescale-label-medium-size: 0.75rem;
|
|
180
|
+
--md-sys-typescale-label-medium-lh: 1rem;
|
|
181
|
+
--md-sys-typescale-label-small-size: 0.6875rem;
|
|
182
|
+
--md-sys-typescale-label-small-lh: 0.9375rem;
|
|
183
|
+
|
|
184
|
+
/* Shape */
|
|
185
|
+
--md-sys-shape-corner-none: 0px;
|
|
186
|
+
--md-sys-shape-corner-extra-small: 4px;
|
|
187
|
+
--md-sys-shape-corner-small: 8px;
|
|
188
|
+
--md-sys-shape-corner-medium: 12px;
|
|
189
|
+
--md-sys-shape-corner-large: 16px;
|
|
190
|
+
--md-sys-shape-corner-extra-large: 28px;
|
|
191
|
+
--md-sys-shape-corner-full: 9999px;
|
|
192
|
+
|
|
193
|
+
/* Motion */
|
|
194
|
+
--md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
|
|
195
|
+
--md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
|
|
196
|
+
--md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
|
|
197
|
+
--md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
198
|
+
--md-sys-motion-duration-short2: 100ms;
|
|
199
|
+
--md-sys-motion-duration-short3: 150ms;
|
|
200
|
+
--md-sys-motion-duration-short4: 200ms;
|
|
201
|
+
--md-sys-motion-duration-medium1: 250ms;
|
|
202
|
+
--md-sys-motion-duration-medium2: 300ms;
|
|
203
|
+
--md-sys-motion-duration-medium4: 400ms;
|
|
204
|
+
|
|
205
|
+
font-family: var(--md-ref-typeface-plain);
|
|
206
|
+
font-size: var(--md-sys-typescale-body-medium-size);
|
|
207
|
+
line-height: var(--md-sys-typescale-body-medium-lh);
|
|
208
|
+
color: var(--md-sys-color-on-surface);
|
|
209
|
+
accent-color: var(--md-sys-color-primary);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@media (prefers-color-scheme: dark) {
|
|
213
|
+
.uc-workbench,
|
|
214
|
+
.uc-card-root {
|
|
215
|
+
--md-sys-color-primary: var(--uc-d-primary);
|
|
216
|
+
--md-sys-color-on-primary: var(--uc-d-on-primary);
|
|
217
|
+
--md-sys-color-primary-container: var(--uc-d-primary-container);
|
|
218
|
+
--md-sys-color-on-primary-container: var(--uc-d-on-primary-container);
|
|
219
|
+
--md-sys-color-secondary: var(--uc-d-secondary);
|
|
220
|
+
--md-sys-color-on-secondary: var(--uc-d-on-secondary);
|
|
221
|
+
--md-sys-color-secondary-container: var(--uc-d-secondary-container);
|
|
222
|
+
--md-sys-color-on-secondary-container: var(--uc-d-on-secondary-container);
|
|
223
|
+
--md-sys-color-tertiary: var(--uc-d-tertiary);
|
|
224
|
+
--md-sys-color-on-tertiary: var(--uc-d-on-tertiary);
|
|
225
|
+
--md-sys-color-tertiary-container: var(--uc-d-tertiary-container);
|
|
226
|
+
--md-sys-color-on-tertiary-container: var(--uc-d-on-tertiary-container);
|
|
227
|
+
--md-sys-color-error: var(--uc-d-error);
|
|
228
|
+
--md-sys-color-on-error: var(--uc-d-on-error);
|
|
229
|
+
--md-sys-color-error-container: var(--uc-d-error-container);
|
|
230
|
+
--md-sys-color-on-error-container: var(--uc-d-on-error-container);
|
|
231
|
+
--md-sys-color-success: var(--uc-d-success);
|
|
232
|
+
--md-sys-color-on-success: var(--uc-d-on-success);
|
|
233
|
+
--md-sys-color-success-container: var(--uc-d-success-container);
|
|
234
|
+
--md-sys-color-on-success-container: var(--uc-d-on-success-container);
|
|
235
|
+
--md-sys-color-warning: var(--uc-d-warning);
|
|
236
|
+
--md-sys-color-on-warning: var(--uc-d-on-warning);
|
|
237
|
+
--md-sys-color-warning-container: var(--uc-d-warning-container);
|
|
238
|
+
--md-sys-color-on-warning-container: var(--uc-d-on-warning-container);
|
|
239
|
+
--md-sys-color-surface: var(--uc-d-surface);
|
|
240
|
+
--md-sys-color-surface-dim: var(--uc-d-surface-dim);
|
|
241
|
+
--md-sys-color-surface-bright: var(--uc-d-surface-bright);
|
|
242
|
+
--md-sys-color-surface-container-lowest: var(--uc-d-surface-container-lowest);
|
|
243
|
+
--md-sys-color-surface-container-low: var(--uc-d-surface-container-low);
|
|
244
|
+
--md-sys-color-surface-container: var(--uc-d-surface-container);
|
|
245
|
+
--md-sys-color-surface-container-high: var(--uc-d-surface-container-high);
|
|
246
|
+
--md-sys-color-surface-container-highest: var(--uc-d-surface-container-highest);
|
|
247
|
+
--md-sys-color-on-surface: var(--uc-d-on-surface);
|
|
248
|
+
--md-sys-color-on-surface-variant: var(--uc-d-on-surface-variant);
|
|
249
|
+
--md-sys-color-outline: var(--uc-d-outline);
|
|
250
|
+
--md-sys-color-outline-variant: var(--uc-d-outline-variant);
|
|
251
|
+
--md-sys-color-inverse-surface: var(--uc-d-inverse-surface);
|
|
252
|
+
--md-sys-color-inverse-on-surface: var(--uc-d-inverse-on-surface);
|
|
253
|
+
--md-sys-color-inverse-primary: var(--uc-d-inverse-primary);
|
|
254
|
+
--md-sys-color-scrim: var(--uc-d-scrim);
|
|
255
|
+
--uc-shadow-sm: var(--uc-d-shadow-sm);
|
|
256
|
+
--uc-shadow-md: var(--uc-d-shadow-md);
|
|
257
|
+
--uc-shadow-lg: var(--uc-d-shadow-lg);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@supports (color: light-dark(white, black)) {
|
|
262
|
+
.uc-workbench,
|
|
263
|
+
.uc-card-root {
|
|
264
|
+
--md-sys-color-primary: light-dark(var(--uc-l-primary), var(--uc-d-primary));
|
|
265
|
+
--md-sys-color-on-primary: light-dark(var(--uc-l-on-primary), var(--uc-d-on-primary));
|
|
266
|
+
--md-sys-color-primary-container: light-dark(var(--uc-l-primary-container), var(--uc-d-primary-container));
|
|
267
|
+
--md-sys-color-on-primary-container: light-dark(var(--uc-l-on-primary-container), var(--uc-d-on-primary-container));
|
|
268
|
+
--md-sys-color-secondary: light-dark(var(--uc-l-secondary), var(--uc-d-secondary));
|
|
269
|
+
--md-sys-color-on-secondary: light-dark(var(--uc-l-on-secondary), var(--uc-d-on-secondary));
|
|
270
|
+
--md-sys-color-secondary-container: light-dark(var(--uc-l-secondary-container), var(--uc-d-secondary-container));
|
|
271
|
+
--md-sys-color-on-secondary-container: light-dark(var(--uc-l-on-secondary-container), var(--uc-d-on-secondary-container));
|
|
272
|
+
--md-sys-color-tertiary: light-dark(var(--uc-l-tertiary), var(--uc-d-tertiary));
|
|
273
|
+
--md-sys-color-on-tertiary: light-dark(var(--uc-l-on-tertiary), var(--uc-d-on-tertiary));
|
|
274
|
+
--md-sys-color-tertiary-container: light-dark(var(--uc-l-tertiary-container), var(--uc-d-tertiary-container));
|
|
275
|
+
--md-sys-color-on-tertiary-container: light-dark(var(--uc-l-on-tertiary-container), var(--uc-d-on-tertiary-container));
|
|
276
|
+
--md-sys-color-error: light-dark(var(--uc-l-error), var(--uc-d-error));
|
|
277
|
+
--md-sys-color-on-error: light-dark(var(--uc-l-on-error), var(--uc-d-on-error));
|
|
278
|
+
--md-sys-color-error-container: light-dark(var(--uc-l-error-container), var(--uc-d-error-container));
|
|
279
|
+
--md-sys-color-on-error-container: light-dark(var(--uc-l-on-error-container), var(--uc-d-on-error-container));
|
|
280
|
+
--md-sys-color-success: light-dark(var(--uc-l-success), var(--uc-d-success));
|
|
281
|
+
--md-sys-color-on-success: light-dark(var(--uc-l-on-success), var(--uc-d-on-success));
|
|
282
|
+
--md-sys-color-success-container: light-dark(var(--uc-l-success-container), var(--uc-d-success-container));
|
|
283
|
+
--md-sys-color-on-success-container: light-dark(var(--uc-l-on-success-container), var(--uc-d-on-success-container));
|
|
284
|
+
--md-sys-color-warning: light-dark(var(--uc-l-warning), var(--uc-d-warning));
|
|
285
|
+
--md-sys-color-on-warning: light-dark(var(--uc-l-on-warning), var(--uc-d-on-warning));
|
|
286
|
+
--md-sys-color-warning-container: light-dark(var(--uc-l-warning-container), var(--uc-d-warning-container));
|
|
287
|
+
--md-sys-color-on-warning-container: light-dark(var(--uc-l-on-warning-container), var(--uc-d-on-warning-container));
|
|
288
|
+
--md-sys-color-surface: light-dark(var(--uc-l-surface), var(--uc-d-surface));
|
|
289
|
+
--md-sys-color-surface-dim: light-dark(var(--uc-l-surface-dim), var(--uc-d-surface-dim));
|
|
290
|
+
--md-sys-color-surface-bright: light-dark(var(--uc-l-surface-bright), var(--uc-d-surface-bright));
|
|
291
|
+
--md-sys-color-surface-container-lowest: light-dark(var(--uc-l-surface-container-lowest), var(--uc-d-surface-container-lowest));
|
|
292
|
+
--md-sys-color-surface-container-low: light-dark(var(--uc-l-surface-container-low), var(--uc-d-surface-container-low));
|
|
293
|
+
--md-sys-color-surface-container: light-dark(var(--uc-l-surface-container), var(--uc-d-surface-container));
|
|
294
|
+
--md-sys-color-surface-container-high: light-dark(var(--uc-l-surface-container-high), var(--uc-d-surface-container-high));
|
|
295
|
+
--md-sys-color-surface-container-highest: light-dark(var(--uc-l-surface-container-highest), var(--uc-d-surface-container-highest));
|
|
296
|
+
--md-sys-color-on-surface: light-dark(var(--uc-l-on-surface), var(--uc-d-on-surface));
|
|
297
|
+
--md-sys-color-on-surface-variant: light-dark(var(--uc-l-on-surface-variant), var(--uc-d-on-surface-variant));
|
|
298
|
+
--md-sys-color-outline: light-dark(var(--uc-l-outline), var(--uc-d-outline));
|
|
299
|
+
--md-sys-color-outline-variant: light-dark(var(--uc-l-outline-variant), var(--uc-d-outline-variant));
|
|
300
|
+
--md-sys-color-inverse-surface: light-dark(var(--uc-l-inverse-surface), var(--uc-d-inverse-surface));
|
|
301
|
+
--md-sys-color-inverse-on-surface: light-dark(var(--uc-l-inverse-on-surface), var(--uc-d-inverse-on-surface));
|
|
302
|
+
--md-sys-color-inverse-primary: light-dark(var(--uc-l-inverse-primary), var(--uc-d-inverse-primary));
|
|
303
|
+
--md-sys-color-scrim: light-dark(var(--uc-l-scrim), var(--uc-d-scrim));
|
|
304
|
+
--uc-shadow-sm: light-dark(var(--uc-l-shadow-sm), var(--uc-d-shadow-sm));
|
|
305
|
+
--uc-shadow-md: light-dark(var(--uc-l-shadow-md), var(--uc-d-shadow-md));
|
|
306
|
+
--uc-shadow-lg: light-dark(var(--uc-l-shadow-lg), var(--uc-d-shadow-lg));
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* Host Theme Detection & Manual Override */
|
|
311
|
+
:where(html.dark, html[data-theme="dark"], body.dark, body[data-theme="dark"]) .uc-workbench,
|
|
312
|
+
:where(html.dark, html[data-theme="dark"], body.dark, body[data-theme="dark"]) .uc-card-root {
|
|
313
|
+
color-scheme: dark;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
:where(html.light, html[data-theme="light"], body.light, body[data-theme="light"]) .uc-workbench,
|
|
317
|
+
:where(html.light, html[data-theme="light"], body.light, body[data-theme="light"]) .uc-card-root {
|
|
318
|
+
color-scheme: light;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.uc-workbench[data-uc-theme="dark"],
|
|
322
|
+
.uc-card-root[data-uc-theme="dark"] {
|
|
323
|
+
color-scheme: dark;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.uc-workbench[data-uc-theme="light"],
|
|
327
|
+
.uc-card-root[data-uc-theme="light"] {
|
|
328
|
+
color-scheme: light;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* ==========================================================================
|
|
332
|
+
Reset & Utilities
|
|
333
|
+
========================================================================== */
|
|
334
|
+
|
|
335
|
+
.uc-workbench *,
|
|
336
|
+
.uc-workbench *::before,
|
|
337
|
+
.uc-workbench *::after,
|
|
338
|
+
.uc-card-root *,
|
|
339
|
+
.uc-card-root *::before,
|
|
340
|
+
.uc-card-root *::after {
|
|
341
|
+
box-sizing: border-box;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.uc-workbench {
|
|
345
|
+
position: relative;
|
|
346
|
+
height: 100%;
|
|
347
|
+
width: 100%;
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-direction: row;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
background: var(--md-sys-color-surface);
|
|
352
|
+
color: var(--md-sys-color-on-surface);
|
|
353
|
+
scrollbar-color: var(--md-sys-color-outline-variant) transparent;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.uc-workbench :focus-visible,
|
|
357
|
+
.uc-card-root :focus-visible {
|
|
358
|
+
outline: 2px solid var(--md-sys-color-primary);
|
|
359
|
+
outline-offset: 2px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.uc-tabular {
|
|
363
|
+
font-variant-numeric: tabular-nums;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.uc-muted {
|
|
367
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.uc-link {
|
|
371
|
+
color: var(--md-sys-color-primary);
|
|
372
|
+
text-decoration: none;
|
|
373
|
+
font-weight: 500;
|
|
374
|
+
display: inline-flex;
|
|
375
|
+
align-items: center;
|
|
376
|
+
gap: 4px;
|
|
377
|
+
border-radius: var(--md-sys-shape-corner-extra-small);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.uc-link:hover {
|
|
381
|
+
text-decoration: underline;
|
|
382
|
+
text-underline-offset: 3px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/* ==========================================================================
|
|
386
|
+
Adaptive App Shell (MD3 Navigation Rail -> Bottom Bar)
|
|
387
|
+
========================================================================== */
|
|
388
|
+
|
|
389
|
+
.uc-nav-rail {
|
|
390
|
+
width: 80px;
|
|
391
|
+
flex: none;
|
|
392
|
+
background: var(--md-sys-color-surface-container-low);
|
|
393
|
+
border-inline-end: 1px solid var(--md-sys-color-outline-variant);
|
|
394
|
+
display: flex;
|
|
395
|
+
flex-direction: column;
|
|
396
|
+
align-items: center;
|
|
397
|
+
padding: 16px 8px;
|
|
398
|
+
gap: 8px;
|
|
399
|
+
z-index: 4;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.uc-brand-mark {
|
|
403
|
+
width: 44px;
|
|
404
|
+
height: 44px;
|
|
405
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
406
|
+
background: var(--md-sys-color-primary-container);
|
|
407
|
+
color: var(--md-sys-color-on-primary-container);
|
|
408
|
+
display: grid;
|
|
409
|
+
place-items: center;
|
|
410
|
+
margin-bottom: 12px;
|
|
411
|
+
flex: none;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.uc-nav-items {
|
|
415
|
+
display: flex;
|
|
416
|
+
flex-direction: column;
|
|
417
|
+
align-items: center;
|
|
418
|
+
gap: 12px;
|
|
419
|
+
width: 100%;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.uc-nav-item {
|
|
423
|
+
appearance: none;
|
|
424
|
+
border: 0;
|
|
425
|
+
background: transparent;
|
|
426
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
display: flex;
|
|
429
|
+
flex-direction: column;
|
|
430
|
+
align-items: center;
|
|
431
|
+
gap: 4px;
|
|
432
|
+
padding: 0;
|
|
433
|
+
width: 64px;
|
|
434
|
+
font: inherit;
|
|
435
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
436
|
+
line-height: var(--md-sys-typescale-label-medium-lh);
|
|
437
|
+
font-weight: 500;
|
|
438
|
+
transition: color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.uc-nav-indicator {
|
|
442
|
+
width: 56px;
|
|
443
|
+
height: 32px;
|
|
444
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
445
|
+
display: grid;
|
|
446
|
+
place-items: center;
|
|
447
|
+
transition:
|
|
448
|
+
background-color var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
|
|
449
|
+
color var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),
|
|
450
|
+
transform var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.uc-nav-item:hover .uc-nav-indicator {
|
|
454
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
455
|
+
color: var(--md-sys-color-on-surface);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.uc-nav-item[aria-current="page"] {
|
|
459
|
+
color: var(--md-sys-color-on-surface);
|
|
460
|
+
font-weight: 600;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.uc-nav-item[aria-current="page"] .uc-nav-indicator {
|
|
464
|
+
background: var(--md-sys-color-secondary-container);
|
|
465
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.uc-main-column {
|
|
469
|
+
flex: 1;
|
|
470
|
+
min-width: 0;
|
|
471
|
+
display: flex;
|
|
472
|
+
flex-direction: column;
|
|
473
|
+
height: 100%;
|
|
474
|
+
overflow: hidden;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.uc-top-bar {
|
|
478
|
+
flex: none;
|
|
479
|
+
min-height: 64px;
|
|
480
|
+
padding: 10px 24px;
|
|
481
|
+
display: flex;
|
|
482
|
+
align-items: center;
|
|
483
|
+
justify-content: space-between;
|
|
484
|
+
gap: 16px;
|
|
485
|
+
background: var(--md-sys-color-surface);
|
|
486
|
+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
487
|
+
z-index: 3;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.uc-top-bar-title {
|
|
491
|
+
display: flex;
|
|
492
|
+
align-items: baseline;
|
|
493
|
+
gap: 10px;
|
|
494
|
+
min-width: 0;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.uc-top-bar-title h1 {
|
|
498
|
+
margin: 0;
|
|
499
|
+
font-family: var(--md-ref-typeface-brand);
|
|
500
|
+
font-size: var(--md-sys-typescale-title-large-size);
|
|
501
|
+
line-height: var(--md-sys-typescale-title-large-lh);
|
|
502
|
+
font-weight: 600;
|
|
503
|
+
letter-spacing: -0.01em;
|
|
504
|
+
white-space: nowrap;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.uc-top-bar-sub {
|
|
508
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
509
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
510
|
+
white-space: nowrap;
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
text-overflow: ellipsis;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.uc-top-bar-actions {
|
|
516
|
+
display: flex;
|
|
517
|
+
align-items: center;
|
|
518
|
+
gap: 8px;
|
|
519
|
+
flex: none;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.uc-scroll-area {
|
|
523
|
+
flex: 1;
|
|
524
|
+
min-height: 0;
|
|
525
|
+
overflow-y: auto;
|
|
526
|
+
overflow-x: hidden;
|
|
527
|
+
padding: 20px 24px 32px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.uc-page-container {
|
|
531
|
+
max-width: 1280px;
|
|
532
|
+
margin: 0 auto;
|
|
533
|
+
display: flex;
|
|
534
|
+
flex-direction: column;
|
|
535
|
+
gap: 16px;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.uc-page-container--narrow {
|
|
539
|
+
max-width: 960px;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
@media (max-width: 767px) {
|
|
543
|
+
.uc-workbench {
|
|
544
|
+
flex-direction: column;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.uc-nav-rail {
|
|
548
|
+
order: 2;
|
|
549
|
+
width: 100%;
|
|
550
|
+
height: 68px;
|
|
551
|
+
flex-direction: row;
|
|
552
|
+
justify-content: space-around;
|
|
553
|
+
padding: 6px 12px;
|
|
554
|
+
border-inline-end: 0;
|
|
555
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
556
|
+
background: var(--md-sys-color-surface-container);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.uc-brand-mark {
|
|
560
|
+
display: none;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.uc-nav-items {
|
|
564
|
+
flex-direction: row;
|
|
565
|
+
justify-content: space-around;
|
|
566
|
+
gap: 4px;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.uc-nav-item {
|
|
570
|
+
width: auto;
|
|
571
|
+
min-width: 72px;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.uc-top-bar {
|
|
575
|
+
padding: 8px 14px;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.uc-top-bar-sub {
|
|
579
|
+
display: none;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.uc-scroll-area {
|
|
583
|
+
padding: 14px 12px 24px;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/* ==========================================================================
|
|
588
|
+
MD3 Primitives (Buttons, Chips, Segmented, Inputs, Cards, Banners)
|
|
589
|
+
========================================================================== */
|
|
590
|
+
|
|
591
|
+
.uc-btn {
|
|
592
|
+
appearance: none;
|
|
593
|
+
border: 1px solid transparent;
|
|
594
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
595
|
+
height: 36px;
|
|
596
|
+
padding: 0 16px;
|
|
597
|
+
display: inline-flex;
|
|
598
|
+
align-items: center;
|
|
599
|
+
justify-content: center;
|
|
600
|
+
gap: 6px;
|
|
601
|
+
font: inherit;
|
|
602
|
+
font-size: var(--md-sys-typescale-label-large-size);
|
|
603
|
+
line-height: 1;
|
|
604
|
+
font-weight: 500;
|
|
605
|
+
cursor: pointer;
|
|
606
|
+
white-space: nowrap;
|
|
607
|
+
flex: none;
|
|
608
|
+
transition:
|
|
609
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
610
|
+
border-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
611
|
+
color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
612
|
+
box-shadow var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
613
|
+
transform var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.uc-btn--sm {
|
|
617
|
+
height: 30px;
|
|
618
|
+
padding: 0 12px;
|
|
619
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.uc-btn:active:not(:disabled) {
|
|
623
|
+
transform: scale(0.98);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.uc-btn:disabled {
|
|
627
|
+
opacity: 0.45;
|
|
628
|
+
cursor: not-allowed;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.uc-btn--filled {
|
|
632
|
+
background: var(--md-sys-color-primary);
|
|
633
|
+
color: var(--md-sys-color-on-primary);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.uc-btn--filled:hover:not(:disabled) {
|
|
637
|
+
box-shadow: var(--uc-shadow-sm);
|
|
638
|
+
filter: brightness(1.06);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.uc-btn--tonal {
|
|
642
|
+
background: var(--md-sys-color-secondary-container);
|
|
643
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.uc-btn--tonal:hover:not(:disabled) {
|
|
647
|
+
background: var(--md-sys-color-primary-container);
|
|
648
|
+
color: var(--md-sys-color-on-primary-container);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.uc-btn--outlined {
|
|
652
|
+
background: transparent;
|
|
653
|
+
border-color: var(--md-sys-color-outline);
|
|
654
|
+
color: var(--md-sys-color-primary);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.uc-btn--outlined:hover:not(:disabled) {
|
|
658
|
+
background: var(--md-sys-color-surface-container-high);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.uc-btn--text {
|
|
662
|
+
background: transparent;
|
|
663
|
+
color: var(--md-sys-color-primary);
|
|
664
|
+
padding: 0 12px;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.uc-btn--text:hover:not(:disabled) {
|
|
668
|
+
background: var(--md-sys-color-surface-container-high);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.uc-btn--danger {
|
|
672
|
+
background: var(--md-sys-color-error);
|
|
673
|
+
color: var(--md-sys-color-on-error);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.uc-btn--danger-tonal {
|
|
677
|
+
background: var(--md-sys-color-error-container);
|
|
678
|
+
color: var(--md-sys-color-on-error-container);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.uc-icon-btn {
|
|
682
|
+
appearance: none;
|
|
683
|
+
border: 0;
|
|
684
|
+
width: 36px;
|
|
685
|
+
height: 36px;
|
|
686
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
687
|
+
display: inline-grid;
|
|
688
|
+
place-items: center;
|
|
689
|
+
cursor: pointer;
|
|
690
|
+
background: transparent;
|
|
691
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
692
|
+
flex: none;
|
|
693
|
+
transition:
|
|
694
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
695
|
+
color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.uc-icon-btn:hover:not(:disabled) {
|
|
699
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
700
|
+
color: var(--md-sys-color-on-surface);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.uc-icon-btn--tonal {
|
|
704
|
+
background: var(--md-sys-color-surface-container-high);
|
|
705
|
+
color: var(--md-sys-color-on-surface);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.uc-icon-btn--filled {
|
|
709
|
+
background: var(--md-sys-color-primary);
|
|
710
|
+
color: var(--md-sys-color-on-primary);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.uc-icon-btn:disabled {
|
|
714
|
+
opacity: 0.45;
|
|
715
|
+
cursor: not-allowed;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/* Segmented Button */
|
|
719
|
+
.uc-segmented {
|
|
720
|
+
display: inline-flex;
|
|
721
|
+
align-items: center;
|
|
722
|
+
border: 1px solid var(--md-sys-color-outline);
|
|
723
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
724
|
+
overflow: hidden;
|
|
725
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
726
|
+
flex: none;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.uc-segmented-btn {
|
|
730
|
+
appearance: none;
|
|
731
|
+
border: 0;
|
|
732
|
+
border-inline-start: 1px solid var(--md-sys-color-outline-variant);
|
|
733
|
+
background: transparent;
|
|
734
|
+
color: var(--md-sys-color-on-surface);
|
|
735
|
+
height: 36px;
|
|
736
|
+
padding: 0 14px;
|
|
737
|
+
display: inline-flex;
|
|
738
|
+
align-items: center;
|
|
739
|
+
gap: 6px;
|
|
740
|
+
font: inherit;
|
|
741
|
+
font-size: var(--md-sys-typescale-label-large-size);
|
|
742
|
+
font-weight: 500;
|
|
743
|
+
cursor: pointer;
|
|
744
|
+
white-space: nowrap;
|
|
745
|
+
transition:
|
|
746
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
747
|
+
color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.uc-segmented-btn:first-child {
|
|
751
|
+
border-inline-start: 0;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.uc-segmented-btn:hover:not([aria-pressed="true"]) {
|
|
755
|
+
background: var(--md-sys-color-surface-container);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.uc-segmented-btn[aria-pressed="true"] {
|
|
759
|
+
background: var(--md-sys-color-secondary-container);
|
|
760
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
761
|
+
font-weight: 600;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/* Chips */
|
|
765
|
+
.uc-chip-row {
|
|
766
|
+
display: flex;
|
|
767
|
+
flex-wrap: wrap;
|
|
768
|
+
align-items: center;
|
|
769
|
+
gap: 8px;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.uc-chip {
|
|
773
|
+
appearance: none;
|
|
774
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
775
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
776
|
+
background: var(--md-sys-color-surface-container-low);
|
|
777
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
778
|
+
min-height: 30px;
|
|
779
|
+
padding: 4px 12px;
|
|
780
|
+
display: inline-flex;
|
|
781
|
+
align-items: center;
|
|
782
|
+
gap: 6px;
|
|
783
|
+
font: inherit;
|
|
784
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
785
|
+
font-weight: 500;
|
|
786
|
+
cursor: pointer;
|
|
787
|
+
white-space: nowrap;
|
|
788
|
+
transition:
|
|
789
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
790
|
+
border-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
791
|
+
color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.uc-chip:hover {
|
|
795
|
+
background: var(--md-sys-color-surface-container-high);
|
|
796
|
+
color: var(--md-sys-color-on-surface);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.uc-chip[aria-pressed="true"],
|
|
800
|
+
.uc-chip--selected {
|
|
801
|
+
background: var(--md-sys-color-secondary-container);
|
|
802
|
+
border-color: transparent;
|
|
803
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
804
|
+
font-weight: 600;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.uc-badge {
|
|
808
|
+
display: inline-flex;
|
|
809
|
+
align-items: center;
|
|
810
|
+
gap: 4px;
|
|
811
|
+
padding: 2px 9px;
|
|
812
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
813
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
814
|
+
line-height: 1.35;
|
|
815
|
+
font-weight: 600;
|
|
816
|
+
white-space: nowrap;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.uc-badge--primary {
|
|
820
|
+
background: var(--md-sys-color-primary-container);
|
|
821
|
+
color: var(--md-sys-color-on-primary-container);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.uc-badge--secondary {
|
|
825
|
+
background: var(--md-sys-color-secondary-container);
|
|
826
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.uc-badge--tertiary {
|
|
830
|
+
background: var(--md-sys-color-tertiary-container);
|
|
831
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.uc-badge--success {
|
|
835
|
+
background: var(--md-sys-color-success-container);
|
|
836
|
+
color: var(--md-sys-color-on-success-container);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.uc-badge--warning {
|
|
840
|
+
background: var(--md-sys-color-warning-container);
|
|
841
|
+
color: var(--md-sys-color-on-warning-container);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.uc-badge--error {
|
|
845
|
+
background: var(--md-sys-color-error-container);
|
|
846
|
+
color: var(--md-sys-color-on-error-container);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.uc-badge--neutral {
|
|
850
|
+
background: var(--md-sys-color-surface-container-high);
|
|
851
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/* Cards */
|
|
855
|
+
.uc-surface-card {
|
|
856
|
+
background: var(--md-sys-color-surface-container-low);
|
|
857
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
858
|
+
padding: 16px 20px;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.uc-surface-card--elevated {
|
|
862
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
863
|
+
box-shadow: var(--uc-shadow-sm);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.uc-surface-card--outlined {
|
|
867
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
868
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/* Form Controls */
|
|
872
|
+
.uc-field {
|
|
873
|
+
display: flex;
|
|
874
|
+
flex-direction: column;
|
|
875
|
+
gap: 6px;
|
|
876
|
+
min-width: 0;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.uc-field-label {
|
|
880
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
881
|
+
font-weight: 500;
|
|
882
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.uc-input,
|
|
886
|
+
.uc-select,
|
|
887
|
+
.uc-textarea {
|
|
888
|
+
font: inherit;
|
|
889
|
+
color: var(--md-sys-color-on-surface);
|
|
890
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
891
|
+
border: 1px solid var(--md-sys-color-outline);
|
|
892
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
893
|
+
padding: 8px 12px;
|
|
894
|
+
min-width: 0;
|
|
895
|
+
width: 100%;
|
|
896
|
+
transition:
|
|
897
|
+
border-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
898
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.uc-input,
|
|
902
|
+
.uc-select {
|
|
903
|
+
height: 38px;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.uc-textarea {
|
|
907
|
+
min-height: 76px;
|
|
908
|
+
resize: vertical;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.uc-input:focus,
|
|
912
|
+
.uc-select:focus,
|
|
913
|
+
.uc-textarea:focus {
|
|
914
|
+
border-color: var(--md-sys-color-primary);
|
|
915
|
+
outline: 1px solid var(--md-sys-color-primary);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/* Search Bar */
|
|
919
|
+
.uc-search-bar {
|
|
920
|
+
display: flex;
|
|
921
|
+
align-items: center;
|
|
922
|
+
gap: 8px;
|
|
923
|
+
height: 40px;
|
|
924
|
+
padding: 0 14px;
|
|
925
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
926
|
+
background: var(--md-sys-color-surface-container-high);
|
|
927
|
+
color: var(--md-sys-color-on-surface);
|
|
928
|
+
min-width: 200px;
|
|
929
|
+
flex: 1;
|
|
930
|
+
transition: background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.uc-search-bar:focus-within {
|
|
934
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
935
|
+
outline: 2px solid var(--md-sys-color-primary);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.uc-search-bar input {
|
|
939
|
+
flex: 1;
|
|
940
|
+
min-width: 0;
|
|
941
|
+
border: 0;
|
|
942
|
+
background: transparent;
|
|
943
|
+
color: inherit;
|
|
944
|
+
font: inherit;
|
|
945
|
+
outline: none;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.uc-search-bar input::placeholder {
|
|
949
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/* Status Banner */
|
|
953
|
+
.uc-banner {
|
|
954
|
+
display: flex;
|
|
955
|
+
align-items: center;
|
|
956
|
+
justify-content: space-between;
|
|
957
|
+
gap: 12px;
|
|
958
|
+
padding: 10px 14px;
|
|
959
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
960
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
961
|
+
line-height: 1.45;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.uc-banner--info {
|
|
965
|
+
background: var(--md-sys-color-secondary-container);
|
|
966
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.uc-banner--warning {
|
|
970
|
+
background: var(--md-sys-color-warning-container);
|
|
971
|
+
color: var(--md-sys-color-on-warning-container);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.uc-banner--error {
|
|
975
|
+
background: var(--md-sys-color-error-container);
|
|
976
|
+
color: var(--md-sys-color-on-error-container);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.uc-banner--success {
|
|
980
|
+
background: var(--md-sys-color-success-container);
|
|
981
|
+
color: var(--md-sys-color-on-success-container);
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.uc-banner-body {
|
|
985
|
+
display: flex;
|
|
986
|
+
align-items: center;
|
|
987
|
+
gap: 8px;
|
|
988
|
+
min-width: 0;
|
|
989
|
+
flex: 1;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/* ==========================================================================
|
|
993
|
+
Account Status Pill
|
|
994
|
+
========================================================================== */
|
|
995
|
+
|
|
996
|
+
.uc-account-pill {
|
|
997
|
+
appearance: none;
|
|
998
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
999
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1000
|
+
height: 36px;
|
|
1001
|
+
padding: 0 12px 0 8px;
|
|
1002
|
+
display: inline-flex;
|
|
1003
|
+
align-items: center;
|
|
1004
|
+
gap: 8px;
|
|
1005
|
+
background: var(--md-sys-color-surface-container-low);
|
|
1006
|
+
color: var(--md-sys-color-on-surface);
|
|
1007
|
+
font: inherit;
|
|
1008
|
+
font-size: var(--md-sys-typescale-label-large-size);
|
|
1009
|
+
font-weight: 500;
|
|
1010
|
+
cursor: pointer;
|
|
1011
|
+
white-space: nowrap;
|
|
1012
|
+
transition: background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.uc-account-pill:hover {
|
|
1016
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.uc-account-pill--connected {
|
|
1020
|
+
background: var(--md-sys-color-success-container);
|
|
1021
|
+
color: var(--md-sys-color-on-success-container);
|
|
1022
|
+
border-color: transparent;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.uc-account-pill--mfa {
|
|
1026
|
+
background: var(--md-sys-color-warning-container);
|
|
1027
|
+
color: var(--md-sys-color-on-warning-container);
|
|
1028
|
+
border-color: transparent;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.uc-account-pill--expired {
|
|
1032
|
+
background: var(--md-sys-color-error-container);
|
|
1033
|
+
color: var(--md-sys-color-on-error-container);
|
|
1034
|
+
border-color: transparent;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
.uc-account-pill--pending {
|
|
1038
|
+
background: var(--md-sys-color-primary-container);
|
|
1039
|
+
color: var(--md-sys-color-on-primary-container);
|
|
1040
|
+
border-color: transparent;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.uc-status-dot {
|
|
1044
|
+
width: 8px;
|
|
1045
|
+
height: 8px;
|
|
1046
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1047
|
+
background: currentColor;
|
|
1048
|
+
flex: none;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1052
|
+
.uc-status-dot--pulse {
|
|
1053
|
+
animation: uc-pulse 1.5s var(--md-sys-motion-easing-standard) infinite;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
@keyframes uc-pulse {
|
|
1058
|
+
0%, 100% { opacity: 1; transform: scale(1); }
|
|
1059
|
+
50% { opacity: 0.45; transform: scale(0.8); }
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/* ==========================================================================
|
|
1063
|
+
Native Dialog (Modern Top-Layer + Scroll Containment)
|
|
1064
|
+
========================================================================== */
|
|
1065
|
+
|
|
1066
|
+
dialog.uc-dialog {
|
|
1067
|
+
margin: auto;
|
|
1068
|
+
padding: 0;
|
|
1069
|
+
border: 0;
|
|
1070
|
+
border-radius: var(--md-sys-shape-corner-extra-large);
|
|
1071
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1072
|
+
color: var(--md-sys-color-on-surface);
|
|
1073
|
+
box-shadow: var(--uc-shadow-lg);
|
|
1074
|
+
width: min(520px, calc(100vw - 32px));
|
|
1075
|
+
max-height: min(86vh, 840px);
|
|
1076
|
+
overflow: hidden;
|
|
1077
|
+
opacity: 0;
|
|
1078
|
+
transition-property: opacity, transform, display, overlay;
|
|
1079
|
+
transition-duration: var(--md-sys-motion-duration-short4);
|
|
1080
|
+
transition-timing-function: var(--md-sys-motion-easing-emphasized-accelerate);
|
|
1081
|
+
transition-behavior: allow-discrete;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
dialog.uc-dialog--lg {
|
|
1085
|
+
width: min(720px, calc(100vw - 32px));
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
dialog.uc-dialog--sm {
|
|
1089
|
+
width: min(420px, calc(100vw - 32px));
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1093
|
+
dialog.uc-dialog {
|
|
1094
|
+
transform: translateY(8px) scale(0.96);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
dialog.uc-dialog[open] {
|
|
1099
|
+
display: flex;
|
|
1100
|
+
flex-direction: column;
|
|
1101
|
+
opacity: 1;
|
|
1102
|
+
transition-duration: var(--md-sys-motion-duration-medium2);
|
|
1103
|
+
transition-timing-function: var(--md-sys-motion-easing-emphasized-decelerate);
|
|
1104
|
+
|
|
1105
|
+
@starting-style {
|
|
1106
|
+
opacity: 0;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1110
|
+
transform: translateY(0) scale(1);
|
|
1111
|
+
|
|
1112
|
+
@starting-style {
|
|
1113
|
+
transform: translateY(8px) scale(0.96);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
dialog.uc-dialog:modal {
|
|
1119
|
+
overscroll-behavior: contain;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
dialog.uc-dialog::backdrop {
|
|
1123
|
+
background: transparent;
|
|
1124
|
+
overflow: hidden;
|
|
1125
|
+
overscroll-behavior: contain;
|
|
1126
|
+
transition-property: background-color, display, overlay;
|
|
1127
|
+
transition-duration: var(--md-sys-motion-duration-short4);
|
|
1128
|
+
transition-behavior: allow-discrete;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
dialog.uc-dialog[open]::backdrop {
|
|
1132
|
+
background: var(--md-sys-color-scrim);
|
|
1133
|
+
|
|
1134
|
+
@starting-style {
|
|
1135
|
+
background: transparent;
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1140
|
+
dialog.uc-dialog,
|
|
1141
|
+
dialog.uc-dialog::backdrop {
|
|
1142
|
+
transition-duration: 90ms;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.uc-dialog-header {
|
|
1147
|
+
display: flex;
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
justify-content: space-between;
|
|
1150
|
+
gap: 12px;
|
|
1151
|
+
padding: 20px 24px 12px;
|
|
1152
|
+
flex: none;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.uc-dialog-title {
|
|
1156
|
+
margin: 0;
|
|
1157
|
+
font-family: var(--md-ref-typeface-brand);
|
|
1158
|
+
font-size: var(--md-sys-typescale-title-large-size);
|
|
1159
|
+
line-height: var(--md-sys-typescale-title-large-lh);
|
|
1160
|
+
font-weight: 600;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.uc-dialog-body {
|
|
1164
|
+
padding: 4px 24px 20px;
|
|
1165
|
+
overflow-y: auto;
|
|
1166
|
+
flex: 1;
|
|
1167
|
+
min-height: 0;
|
|
1168
|
+
display: flex;
|
|
1169
|
+
flex-direction: column;
|
|
1170
|
+
gap: 14px;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.uc-dialog-footer {
|
|
1174
|
+
display: flex;
|
|
1175
|
+
align-items: center;
|
|
1176
|
+
justify-content: flex-end;
|
|
1177
|
+
gap: 8px;
|
|
1178
|
+
flex-wrap: wrap;
|
|
1179
|
+
padding: 12px 24px 20px;
|
|
1180
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
1181
|
+
flex: none;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/* ==========================================================================
|
|
1185
|
+
Menu & Snackbar
|
|
1186
|
+
========================================================================== */
|
|
1187
|
+
|
|
1188
|
+
.uc-menu-anchor {
|
|
1189
|
+
position: relative;
|
|
1190
|
+
display: inline-flex;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.uc-menu-surface {
|
|
1194
|
+
position: absolute;
|
|
1195
|
+
top: calc(100% + 6px);
|
|
1196
|
+
inset-inline-end: 0;
|
|
1197
|
+
z-index: 20;
|
|
1198
|
+
min-width: 210px;
|
|
1199
|
+
max-width: 280px;
|
|
1200
|
+
padding: 6px;
|
|
1201
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
1202
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1203
|
+
box-shadow: var(--uc-shadow-md);
|
|
1204
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
1205
|
+
display: flex;
|
|
1206
|
+
flex-direction: column;
|
|
1207
|
+
gap: 2px;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.uc-menu-surface--start {
|
|
1211
|
+
inset-inline-end: auto;
|
|
1212
|
+
inset-inline-start: 0;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
.uc-menu-item {
|
|
1216
|
+
appearance: none;
|
|
1217
|
+
border: 0;
|
|
1218
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
1219
|
+
background: transparent;
|
|
1220
|
+
color: var(--md-sys-color-on-surface);
|
|
1221
|
+
padding: 9px 12px;
|
|
1222
|
+
display: flex;
|
|
1223
|
+
align-items: center;
|
|
1224
|
+
gap: 10px;
|
|
1225
|
+
width: 100%;
|
|
1226
|
+
text-align: start;
|
|
1227
|
+
font: inherit;
|
|
1228
|
+
font-size: var(--md-sys-typescale-body-medium-size);
|
|
1229
|
+
cursor: pointer;
|
|
1230
|
+
text-decoration: none;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.uc-menu-item:hover:not(:disabled) {
|
|
1234
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.uc-menu-item:disabled {
|
|
1238
|
+
opacity: 0.45;
|
|
1239
|
+
cursor: not-allowed;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.uc-menu-divider {
|
|
1243
|
+
height: 1px;
|
|
1244
|
+
margin: 4px 6px;
|
|
1245
|
+
background: var(--md-sys-color-outline-variant);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.uc-snackbar-host {
|
|
1249
|
+
position: fixed;
|
|
1250
|
+
inset-block-end: 20px;
|
|
1251
|
+
inset-inline-start: 50%;
|
|
1252
|
+
transform: translateX(-50%);
|
|
1253
|
+
z-index: 50;
|
|
1254
|
+
pointer-events: none;
|
|
1255
|
+
max-width: min(460px, calc(100vw - 32px));
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.uc-snackbar {
|
|
1259
|
+
pointer-events: auto;
|
|
1260
|
+
display: flex;
|
|
1261
|
+
align-items: center;
|
|
1262
|
+
gap: 12px;
|
|
1263
|
+
padding: 10px 12px 10px 16px;
|
|
1264
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
1265
|
+
background: var(--md-sys-color-inverse-surface);
|
|
1266
|
+
color: var(--md-sys-color-inverse-on-surface);
|
|
1267
|
+
box-shadow: var(--uc-shadow-md);
|
|
1268
|
+
font-size: var(--md-sys-typescale-body-medium-size);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
.uc-snackbar-action {
|
|
1272
|
+
appearance: none;
|
|
1273
|
+
border: 0;
|
|
1274
|
+
background: transparent;
|
|
1275
|
+
color: var(--md-sys-color-inverse-primary);
|
|
1276
|
+
font: inherit;
|
|
1277
|
+
font-weight: 600;
|
|
1278
|
+
padding: 4px 8px;
|
|
1279
|
+
border-radius: var(--md-sys-shape-corner-extra-small);
|
|
1280
|
+
cursor: pointer;
|
|
1281
|
+
white-space: nowrap;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/* ==========================================================================
|
|
1285
|
+
View 1: Agenda Supporting-Pane & Weekly Timeline
|
|
1286
|
+
========================================================================== */
|
|
1287
|
+
|
|
1288
|
+
.uc-agenda-toolbar {
|
|
1289
|
+
display: flex;
|
|
1290
|
+
flex-wrap: wrap;
|
|
1291
|
+
align-items: center;
|
|
1292
|
+
justify-content: space-between;
|
|
1293
|
+
gap: 12px;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.uc-agenda-toolbar-group {
|
|
1297
|
+
display: flex;
|
|
1298
|
+
flex-wrap: wrap;
|
|
1299
|
+
align-items: center;
|
|
1300
|
+
gap: 8px;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.uc-week-range-label {
|
|
1304
|
+
font-family: var(--md-ref-typeface-brand);
|
|
1305
|
+
font-size: var(--md-sys-typescale-title-medium-size);
|
|
1306
|
+
font-weight: 600;
|
|
1307
|
+
padding: 0 6px;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.uc-agenda-panes {
|
|
1311
|
+
display: grid;
|
|
1312
|
+
grid-template-columns: minmax(0, 1fr) 328px;
|
|
1313
|
+
gap: 16px;
|
|
1314
|
+
align-items: start;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
@media (max-width: 1079px) {
|
|
1318
|
+
.uc-agenda-panes {
|
|
1319
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.uc-mobile-pane-switch {
|
|
1324
|
+
display: none;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
@media (max-width: 1079px) {
|
|
1328
|
+
.uc-mobile-pane-switch {
|
|
1329
|
+
display: flex;
|
|
1330
|
+
justify-content: flex-start;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
.uc-pane--hidden-narrow {
|
|
1334
|
+
display: none;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
/* Calendar Grid */
|
|
1339
|
+
.uc-calendar-shell {
|
|
1340
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1341
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
1342
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
1343
|
+
overflow: auto;
|
|
1344
|
+
max-height: min(680px, 72vh);
|
|
1345
|
+
scrollbar-color: var(--md-sys-color-outline-variant) transparent;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.uc-week-grid {
|
|
1349
|
+
min-width: 680px;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
.uc-week-sticky {
|
|
1353
|
+
position: sticky;
|
|
1354
|
+
top: 0;
|
|
1355
|
+
z-index: 2;
|
|
1356
|
+
background: var(--md-sys-color-surface-container-low);
|
|
1357
|
+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
.uc-week-row {
|
|
1361
|
+
display: grid;
|
|
1362
|
+
grid-template-columns: 52px repeat(7, minmax(88px, 1fr));
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
.uc-week-corner {
|
|
1366
|
+
padding: 8px 4px;
|
|
1367
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1368
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1369
|
+
text-align: center;
|
|
1370
|
+
display: flex;
|
|
1371
|
+
align-items: center;
|
|
1372
|
+
justify-content: center;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
.uc-week-day-head {
|
|
1376
|
+
padding: 8px 4px;
|
|
1377
|
+
text-align: center;
|
|
1378
|
+
border-inline-start: 1px solid var(--md-sys-color-outline-variant);
|
|
1379
|
+
display: flex;
|
|
1380
|
+
flex-direction: column;
|
|
1381
|
+
align-items: center;
|
|
1382
|
+
gap: 2px;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
.uc-week-day-name {
|
|
1386
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1387
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1388
|
+
font-weight: 500;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
.uc-week-day-num {
|
|
1392
|
+
width: 28px;
|
|
1393
|
+
height: 28px;
|
|
1394
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1395
|
+
display: grid;
|
|
1396
|
+
place-items: center;
|
|
1397
|
+
font-size: var(--md-sys-typescale-title-small-size);
|
|
1398
|
+
font-weight: 600;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
.uc-week-day-head[data-today="true"] .uc-week-day-name {
|
|
1402
|
+
color: var(--md-sys-color-primary);
|
|
1403
|
+
font-weight: 600;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
.uc-week-day-head[data-today="true"] .uc-week-day-num {
|
|
1407
|
+
background: var(--md-sys-color-primary);
|
|
1408
|
+
color: var(--md-sys-color-on-primary);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
.uc-allday-row {
|
|
1412
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
1413
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.uc-allday-cell {
|
|
1417
|
+
padding: 4px;
|
|
1418
|
+
border-inline-start: 1px solid var(--md-sys-color-outline-variant);
|
|
1419
|
+
min-height: 28px;
|
|
1420
|
+
display: flex;
|
|
1421
|
+
flex-direction: column;
|
|
1422
|
+
gap: 3px;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
.uc-ruler {
|
|
1426
|
+
position: relative;
|
|
1427
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.uc-ruler-tick {
|
|
1431
|
+
position: absolute;
|
|
1432
|
+
inset-inline-end: 6px;
|
|
1433
|
+
transform: translateY(-50%);
|
|
1434
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1435
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1436
|
+
user-select: none;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
.uc-track {
|
|
1440
|
+
position: relative;
|
|
1441
|
+
border-inline-start: 1px solid var(--md-sys-color-outline-variant);
|
|
1442
|
+
background: repeating-linear-gradient(
|
|
1443
|
+
to bottom,
|
|
1444
|
+
transparent 0 59px,
|
|
1445
|
+
var(--md-sys-color-outline-variant) 59px 60px
|
|
1446
|
+
);
|
|
1447
|
+
cursor: crosshair;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
.uc-track[data-today="true"] {
|
|
1451
|
+
background-color: var(--md-sys-color-surface-container-low);
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.uc-now-line {
|
|
1455
|
+
position: absolute;
|
|
1456
|
+
inset-inline: 0;
|
|
1457
|
+
height: 2px;
|
|
1458
|
+
background: var(--md-sys-color-error);
|
|
1459
|
+
z-index: 2;
|
|
1460
|
+
pointer-events: none;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.uc-now-line::before {
|
|
1464
|
+
content: '';
|
|
1465
|
+
position: absolute;
|
|
1466
|
+
inset-inline-start: -4px;
|
|
1467
|
+
top: -3px;
|
|
1468
|
+
width: 8px;
|
|
1469
|
+
height: 8px;
|
|
1470
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1471
|
+
background: var(--md-sys-color-error);
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/* Event Blocks (Tonal Semantic Colors) */
|
|
1475
|
+
.uc-event-block {
|
|
1476
|
+
appearance: none;
|
|
1477
|
+
border: 0;
|
|
1478
|
+
border-inline-start: 3px solid var(--md-sys-color-primary);
|
|
1479
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
1480
|
+
background: var(--md-sys-color-primary-container);
|
|
1481
|
+
color: var(--md-sys-color-on-primary-container);
|
|
1482
|
+
padding: 3px 6px;
|
|
1483
|
+
text-align: start;
|
|
1484
|
+
font: inherit;
|
|
1485
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
1486
|
+
line-height: 1.25;
|
|
1487
|
+
overflow: hidden;
|
|
1488
|
+
cursor: pointer;
|
|
1489
|
+
width: 100%;
|
|
1490
|
+
display: flex;
|
|
1491
|
+
flex-direction: column;
|
|
1492
|
+
gap: 1px;
|
|
1493
|
+
transition: filter var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
.uc-track .uc-event-block {
|
|
1497
|
+
position: absolute;
|
|
1498
|
+
z-index: 1;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
.uc-event-block:hover {
|
|
1502
|
+
filter: brightness(0.96);
|
|
1503
|
+
z-index: 2;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
.uc-event-block[data-kind="exam"] {
|
|
1507
|
+
background: var(--md-sys-color-error-container);
|
|
1508
|
+
color: var(--md-sys-color-on-error-container);
|
|
1509
|
+
border-inline-start-color: var(--md-sys-color-error);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
.uc-event-block[data-kind="event"] {
|
|
1513
|
+
background: var(--md-sys-color-tertiary-container);
|
|
1514
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
1515
|
+
border-inline-start-color: var(--md-sys-color-tertiary);
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
.uc-event-block[data-kind="task"] {
|
|
1519
|
+
background: var(--md-sys-color-success-container);
|
|
1520
|
+
color: var(--md-sys-color-on-success-container);
|
|
1521
|
+
border-inline-start-color: var(--md-sys-color-success);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
.uc-event-block[data-kind="note"] {
|
|
1525
|
+
background: var(--md-sys-color-secondary-container);
|
|
1526
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
1527
|
+
border-inline-start-color: var(--md-sys-color-secondary);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.uc-event-block[data-done="true"] {
|
|
1531
|
+
opacity: 0.65;
|
|
1532
|
+
text-decoration: line-through;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
.uc-event-title {
|
|
1536
|
+
font-weight: 600;
|
|
1537
|
+
overflow: hidden;
|
|
1538
|
+
text-overflow: ellipsis;
|
|
1539
|
+
white-space: nowrap;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.uc-event-meta {
|
|
1543
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1544
|
+
opacity: 0.85;
|
|
1545
|
+
overflow: hidden;
|
|
1546
|
+
text-overflow: ellipsis;
|
|
1547
|
+
white-space: nowrap;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
/* Supporting Pane: Tasks & Keep Notes */
|
|
1551
|
+
.uc-side-stack {
|
|
1552
|
+
display: flex;
|
|
1553
|
+
flex-direction: column;
|
|
1554
|
+
gap: 14px;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
.uc-pane-header {
|
|
1558
|
+
display: flex;
|
|
1559
|
+
align-items: center;
|
|
1560
|
+
justify-content: space-between;
|
|
1561
|
+
gap: 8px;
|
|
1562
|
+
margin-bottom: 10px;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.uc-pane-header h2 {
|
|
1566
|
+
margin: 0;
|
|
1567
|
+
font-size: var(--md-sys-typescale-title-medium-size);
|
|
1568
|
+
font-weight: 600;
|
|
1569
|
+
display: flex;
|
|
1570
|
+
align-items: center;
|
|
1571
|
+
gap: 8px;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
.uc-task-list {
|
|
1575
|
+
list-style: none;
|
|
1576
|
+
margin: 0;
|
|
1577
|
+
padding: 0;
|
|
1578
|
+
display: flex;
|
|
1579
|
+
flex-direction: column;
|
|
1580
|
+
gap: 6px;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
.uc-task-row {
|
|
1584
|
+
display: flex;
|
|
1585
|
+
align-items: flex-start;
|
|
1586
|
+
gap: 10px;
|
|
1587
|
+
padding: 8px 10px;
|
|
1588
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
1589
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1590
|
+
transition: background-color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
.uc-task-row:hover {
|
|
1594
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.uc-task-check {
|
|
1598
|
+
width: 18px;
|
|
1599
|
+
height: 18px;
|
|
1600
|
+
margin-top: 2px;
|
|
1601
|
+
cursor: pointer;
|
|
1602
|
+
flex: none;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.uc-task-body {
|
|
1606
|
+
flex: 1;
|
|
1607
|
+
min-width: 0;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
.uc-task-title-btn {
|
|
1611
|
+
appearance: none;
|
|
1612
|
+
border: 0;
|
|
1613
|
+
padding: 0;
|
|
1614
|
+
background: transparent;
|
|
1615
|
+
color: var(--md-sys-color-on-surface);
|
|
1616
|
+
font: inherit;
|
|
1617
|
+
font-weight: 500;
|
|
1618
|
+
text-align: start;
|
|
1619
|
+
cursor: pointer;
|
|
1620
|
+
width: 100%;
|
|
1621
|
+
overflow-wrap: anywhere;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.uc-task-title-btn[data-done="true"] {
|
|
1625
|
+
text-decoration: line-through;
|
|
1626
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
.uc-notes-grid {
|
|
1630
|
+
display: grid;
|
|
1631
|
+
grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
|
|
1632
|
+
gap: 8px;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.uc-keep-note {
|
|
1636
|
+
appearance: none;
|
|
1637
|
+
border: 0;
|
|
1638
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
1639
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1640
|
+
color: var(--md-sys-color-on-surface);
|
|
1641
|
+
padding: 12px;
|
|
1642
|
+
text-align: start;
|
|
1643
|
+
font: inherit;
|
|
1644
|
+
cursor: pointer;
|
|
1645
|
+
display: flex;
|
|
1646
|
+
flex-direction: column;
|
|
1647
|
+
gap: 4px;
|
|
1648
|
+
box-shadow: var(--uc-shadow-sm);
|
|
1649
|
+
transition:
|
|
1650
|
+
background-color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard),
|
|
1651
|
+
transform var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
.uc-keep-note:hover {
|
|
1655
|
+
background: var(--md-sys-color-secondary-container);
|
|
1656
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
1657
|
+
transform: translateY(-1px);
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
.uc-keep-note-title {
|
|
1661
|
+
font-weight: 600;
|
|
1662
|
+
font-size: var(--md-sys-typescale-title-small-size);
|
|
1663
|
+
overflow-wrap: anywhere;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.uc-keep-note-preview {
|
|
1667
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
1668
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1669
|
+
display: -webkit-box;
|
|
1670
|
+
-webkit-line-clamp: 3;
|
|
1671
|
+
-webkit-box-orient: vertical;
|
|
1672
|
+
overflow: hidden;
|
|
1673
|
+
overflow-wrap: anywhere;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/* ==========================================================================
|
|
1677
|
+
View 2: Feed & Recommendations
|
|
1678
|
+
========================================================================== */
|
|
1679
|
+
|
|
1680
|
+
.uc-feed-controls {
|
|
1681
|
+
display: flex;
|
|
1682
|
+
flex-direction: column;
|
|
1683
|
+
gap: 10px;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
.uc-feed-bar-top {
|
|
1687
|
+
display: flex;
|
|
1688
|
+
flex-wrap: wrap;
|
|
1689
|
+
align-items: center;
|
|
1690
|
+
justify-content: space-between;
|
|
1691
|
+
gap: 10px;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
.uc-feed-filter-row {
|
|
1695
|
+
display: flex;
|
|
1696
|
+
flex-wrap: wrap;
|
|
1697
|
+
align-items: center;
|
|
1698
|
+
gap: 8px;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.uc-feed-list {
|
|
1702
|
+
display: flex;
|
|
1703
|
+
flex-direction: column;
|
|
1704
|
+
gap: 10px;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
.uc-feed-card {
|
|
1708
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1709
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
1710
|
+
padding: 16px 18px;
|
|
1711
|
+
display: flex;
|
|
1712
|
+
flex-direction: column;
|
|
1713
|
+
gap: 10px;
|
|
1714
|
+
box-shadow: var(--uc-shadow-sm);
|
|
1715
|
+
transition:
|
|
1716
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
1717
|
+
box-shadow var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard);
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
.uc-feed-card:hover {
|
|
1721
|
+
box-shadow: var(--uc-shadow-md);
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
.uc-feed-card-top {
|
|
1725
|
+
display: flex;
|
|
1726
|
+
align-items: flex-start;
|
|
1727
|
+
justify-content: space-between;
|
|
1728
|
+
gap: 12px;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
.uc-feed-card-title {
|
|
1732
|
+
margin: 0;
|
|
1733
|
+
font-size: var(--md-sys-typescale-title-medium-size);
|
|
1734
|
+
line-height: var(--md-sys-typescale-title-medium-lh);
|
|
1735
|
+
font-weight: 600;
|
|
1736
|
+
overflow-wrap: anywhere;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
.uc-feed-card-title a {
|
|
1740
|
+
color: var(--md-sys-color-on-surface);
|
|
1741
|
+
text-decoration: none;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
.uc-feed-card-title a:hover {
|
|
1745
|
+
color: var(--md-sys-color-primary);
|
|
1746
|
+
text-decoration: underline;
|
|
1747
|
+
text-underline-offset: 3px;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
.uc-feed-meta {
|
|
1751
|
+
display: flex;
|
|
1752
|
+
flex-wrap: wrap;
|
|
1753
|
+
align-items: center;
|
|
1754
|
+
gap: 6px 12px;
|
|
1755
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
1756
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
.uc-feed-reason {
|
|
1760
|
+
display: inline-flex;
|
|
1761
|
+
align-items: center;
|
|
1762
|
+
gap: 6px;
|
|
1763
|
+
padding: 4px 10px;
|
|
1764
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
1765
|
+
background: var(--md-sys-color-surface-container);
|
|
1766
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1767
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
1768
|
+
align-self: flex-start;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
.uc-feed-actions {
|
|
1772
|
+
display: flex;
|
|
1773
|
+
flex-wrap: wrap;
|
|
1774
|
+
align-items: center;
|
|
1775
|
+
justify-content: space-between;
|
|
1776
|
+
gap: 8px;
|
|
1777
|
+
padding-top: 4px;
|
|
1778
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
.uc-pagination {
|
|
1782
|
+
display: flex;
|
|
1783
|
+
flex-wrap: wrap;
|
|
1784
|
+
align-items: center;
|
|
1785
|
+
justify-content: space-between;
|
|
1786
|
+
gap: 10px 14px;
|
|
1787
|
+
padding: 12px 16px;
|
|
1788
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
1789
|
+
background: var(--md-sys-color-surface-container-low);
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
.uc-pagination-info {
|
|
1793
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.uc-pagination-controls {
|
|
1797
|
+
display: flex;
|
|
1798
|
+
flex-wrap: wrap;
|
|
1799
|
+
align-items: center;
|
|
1800
|
+
gap: 6px;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.uc-page-btn {
|
|
1804
|
+
appearance: none;
|
|
1805
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
1806
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1807
|
+
min-width: 30px;
|
|
1808
|
+
height: 30px;
|
|
1809
|
+
padding: 0 8px;
|
|
1810
|
+
display: inline-grid;
|
|
1811
|
+
place-items: center;
|
|
1812
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
1813
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1814
|
+
font: inherit;
|
|
1815
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
1816
|
+
font-weight: 500;
|
|
1817
|
+
cursor: pointer;
|
|
1818
|
+
transition:
|
|
1819
|
+
background-color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard),
|
|
1820
|
+
color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard),
|
|
1821
|
+
border-color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
.uc-page-btn:hover:not(:disabled):not([aria-current="page"]) {
|
|
1825
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1826
|
+
color: var(--md-sys-color-on-surface);
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
.uc-page-btn[aria-current="page"] {
|
|
1830
|
+
background: var(--md-sys-color-primary);
|
|
1831
|
+
border-color: var(--md-sys-color-primary);
|
|
1832
|
+
color: var(--md-sys-color-on-primary);
|
|
1833
|
+
font-weight: 600;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
.uc-page-btn:disabled {
|
|
1837
|
+
opacity: 0.45;
|
|
1838
|
+
cursor: not-allowed;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
.uc-page-ellipsis {
|
|
1842
|
+
padding: 0 4px;
|
|
1843
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1844
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
1845
|
+
user-select: none;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
/* ==========================================================================
|
|
1849
|
+
View 3: Campus Services (Shuttle / Grades & Exams / Quick Links)
|
|
1850
|
+
========================================================================== */
|
|
1851
|
+
|
|
1852
|
+
.uc-services-grid {
|
|
1853
|
+
display: grid;
|
|
1854
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
1855
|
+
gap: 16px;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
.uc-col-span-12 { grid-column: span 12; }
|
|
1859
|
+
.uc-col-span-6 { grid-column: span 6; }
|
|
1860
|
+
|
|
1861
|
+
@media (max-width: 960px) {
|
|
1862
|
+
.uc-col-span-6 { grid-column: span 12; }
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
.uc-section-head {
|
|
1866
|
+
display: flex;
|
|
1867
|
+
flex-wrap: wrap;
|
|
1868
|
+
align-items: center;
|
|
1869
|
+
justify-content: space-between;
|
|
1870
|
+
gap: 10px;
|
|
1871
|
+
margin-bottom: 14px;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.uc-section-title {
|
|
1875
|
+
margin: 0;
|
|
1876
|
+
font-family: var(--md-ref-typeface-brand);
|
|
1877
|
+
font-size: var(--md-sys-typescale-title-large-size);
|
|
1878
|
+
font-weight: 600;
|
|
1879
|
+
display: flex;
|
|
1880
|
+
align-items: center;
|
|
1881
|
+
gap: 8px;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.uc-shuttle-controls {
|
|
1885
|
+
display: flex;
|
|
1886
|
+
flex-wrap: wrap;
|
|
1887
|
+
align-items: flex-end;
|
|
1888
|
+
gap: 10px;
|
|
1889
|
+
margin-bottom: 14px;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
.uc-shuttle-date-group {
|
|
1893
|
+
display: inline-flex;
|
|
1894
|
+
flex-wrap: wrap;
|
|
1895
|
+
align-items: center;
|
|
1896
|
+
gap: 8px;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
.uc-shuttle-switch-btn {
|
|
1900
|
+
appearance: none;
|
|
1901
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
1902
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
1903
|
+
height: 26px;
|
|
1904
|
+
padding: 0 10px;
|
|
1905
|
+
background: transparent;
|
|
1906
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
1907
|
+
font: inherit;
|
|
1908
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1909
|
+
font-weight: 500;
|
|
1910
|
+
cursor: pointer;
|
|
1911
|
+
white-space: nowrap;
|
|
1912
|
+
transition:
|
|
1913
|
+
background-color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard),
|
|
1914
|
+
color var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.uc-shuttle-switch-btn:hover:not(:disabled) {
|
|
1918
|
+
background: var(--md-sys-color-surface-container-high);
|
|
1919
|
+
color: var(--md-sys-color-on-surface);
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
.uc-shuttle-switch-btn:disabled {
|
|
1923
|
+
opacity: 0.45;
|
|
1924
|
+
cursor: not-allowed;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.uc-shuttle-footer {
|
|
1928
|
+
display: flex;
|
|
1929
|
+
flex-wrap: wrap;
|
|
1930
|
+
align-items: center;
|
|
1931
|
+
justify-content: space-between;
|
|
1932
|
+
gap: 6px 12px;
|
|
1933
|
+
margin-top: 10px;
|
|
1934
|
+
font-size: var(--md-sys-typescale-label-small-size);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.uc-shuttle-vacation {
|
|
1938
|
+
margin-inline-start: auto;
|
|
1939
|
+
opacity: 0.85;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.uc-shuttle-next-card {
|
|
1943
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
1944
|
+
background: var(--md-sys-color-primary-container);
|
|
1945
|
+
color: var(--md-sys-color-on-primary-container);
|
|
1946
|
+
padding: 16px 20px;
|
|
1947
|
+
display: flex;
|
|
1948
|
+
flex-wrap: wrap;
|
|
1949
|
+
align-items: center;
|
|
1950
|
+
justify-content: space-between;
|
|
1951
|
+
gap: 12px;
|
|
1952
|
+
margin-bottom: 14px;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.uc-shuttle-next-time {
|
|
1956
|
+
font-family: var(--md-ref-typeface-brand);
|
|
1957
|
+
font-size: 1.75rem;
|
|
1958
|
+
line-height: 1.1;
|
|
1959
|
+
font-weight: 700;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.uc-time-pills {
|
|
1963
|
+
display: flex;
|
|
1964
|
+
flex-wrap: wrap;
|
|
1965
|
+
gap: 6px;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.uc-time-pill {
|
|
1969
|
+
padding: 4px 10px;
|
|
1970
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
1971
|
+
background: var(--md-sys-color-surface-container);
|
|
1972
|
+
color: var(--md-sys-color-on-surface);
|
|
1973
|
+
font-size: var(--md-sys-typescale-label-large-size);
|
|
1974
|
+
font-weight: 500;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
.uc-time-pill--past {
|
|
1978
|
+
opacity: 0.48;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
.uc-time-pill--next {
|
|
1982
|
+
background: var(--md-sys-color-primary);
|
|
1983
|
+
color: var(--md-sys-color-on-primary);
|
|
1984
|
+
font-weight: 700;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
.uc-kpi-grid {
|
|
1988
|
+
display: grid;
|
|
1989
|
+
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
1990
|
+
gap: 10px;
|
|
1991
|
+
margin-bottom: 14px;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.uc-kpi-card {
|
|
1995
|
+
background: var(--md-sys-color-surface-container);
|
|
1996
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
1997
|
+
padding: 12px 14px;
|
|
1998
|
+
display: flex;
|
|
1999
|
+
flex-direction: column;
|
|
2000
|
+
gap: 2px;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
.uc-kpi-label {
|
|
2004
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
2005
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
.uc-kpi-value {
|
|
2009
|
+
font-family: var(--md-ref-typeface-brand);
|
|
2010
|
+
font-size: var(--md-sys-typescale-headline-small-size);
|
|
2011
|
+
font-weight: 700;
|
|
2012
|
+
color: var(--md-sys-color-on-surface);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.uc-quick-links {
|
|
2016
|
+
display: grid;
|
|
2017
|
+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
2018
|
+
gap: 10px;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.uc-quick-link-card {
|
|
2022
|
+
display: flex;
|
|
2023
|
+
align-items: center;
|
|
2024
|
+
justify-content: space-between;
|
|
2025
|
+
gap: 12px;
|
|
2026
|
+
padding: 14px 16px;
|
|
2027
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
2028
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
2029
|
+
color: var(--md-sys-color-on-surface);
|
|
2030
|
+
text-decoration: none;
|
|
2031
|
+
box-shadow: var(--uc-shadow-sm);
|
|
2032
|
+
transition:
|
|
2033
|
+
background-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard),
|
|
2034
|
+
transform var(--md-sys-motion-duration-short2) var(--md-sys-motion-easing-standard);
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
.uc-quick-link-card:hover {
|
|
2038
|
+
background: var(--md-sys-color-primary-container);
|
|
2039
|
+
color: var(--md-sys-color-on-primary-container);
|
|
2040
|
+
transform: translateY(-1px);
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
.uc-quick-link-card--action {
|
|
2044
|
+
appearance: none;
|
|
2045
|
+
border: 0;
|
|
2046
|
+
font: inherit;
|
|
2047
|
+
text-align: start;
|
|
2048
|
+
cursor: pointer;
|
|
2049
|
+
width: 100%;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
.uc-quick-card-head {
|
|
2053
|
+
display: inline-flex;
|
|
2054
|
+
align-items: center;
|
|
2055
|
+
gap: 6px;
|
|
2056
|
+
font-weight: 600;
|
|
2057
|
+
font-size: var(--md-sys-typescale-title-small-size);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.uc-exams-grid {
|
|
2061
|
+
display: grid;
|
|
2062
|
+
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
2063
|
+
gap: 8px;
|
|
2064
|
+
max-height: 360px;
|
|
2065
|
+
overflow-y: auto;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
.uc-table-wrap {
|
|
2069
|
+
overflow-x: auto;
|
|
2070
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
2071
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
2072
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.uc-table {
|
|
2076
|
+
width: 100%;
|
|
2077
|
+
border-collapse: collapse;
|
|
2078
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
.uc-table th,
|
|
2082
|
+
.uc-table td {
|
|
2083
|
+
padding: 9px 12px;
|
|
2084
|
+
text-align: start;
|
|
2085
|
+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
.uc-table th {
|
|
2089
|
+
font-weight: 600;
|
|
2090
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
2091
|
+
background: var(--md-sys-color-surface-container-low);
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.uc-table tr:last-child td {
|
|
2095
|
+
border-bottom: 0;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
/* ==========================================================================
|
|
2099
|
+
In-Chat Tool Cards (DSH tool.call.toolview — Gemini Keep Style)
|
|
2100
|
+
========================================================================== */
|
|
2101
|
+
|
|
2102
|
+
.uc-card-root {
|
|
2103
|
+
margin: 6px 0;
|
|
2104
|
+
max-width: 100%;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
.uc-tool-card {
|
|
2108
|
+
background: var(--md-sys-color-surface-container-low);
|
|
2109
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
2110
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
2111
|
+
padding: 14px 16px;
|
|
2112
|
+
display: flex;
|
|
2113
|
+
flex-direction: column;
|
|
2114
|
+
gap: 10px;
|
|
2115
|
+
color: var(--md-sys-color-on-surface);
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
.uc-tool-card-header {
|
|
2119
|
+
display: flex;
|
|
2120
|
+
align-items: flex-start;
|
|
2121
|
+
justify-content: space-between;
|
|
2122
|
+
gap: 10px;
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
.uc-tool-card-title-row {
|
|
2126
|
+
display: flex;
|
|
2127
|
+
align-items: center;
|
|
2128
|
+
gap: 8px;
|
|
2129
|
+
min-width: 0;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
.uc-tool-icon-box {
|
|
2133
|
+
width: 32px;
|
|
2134
|
+
height: 32px;
|
|
2135
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
2136
|
+
background: var(--md-sys-color-primary-container);
|
|
2137
|
+
color: var(--md-sys-color-on-primary-container);
|
|
2138
|
+
display: grid;
|
|
2139
|
+
place-items: center;
|
|
2140
|
+
flex: none;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
.uc-tool-title {
|
|
2144
|
+
margin: 0;
|
|
2145
|
+
font-size: var(--md-sys-typescale-title-small-size);
|
|
2146
|
+
line-height: 1.35;
|
|
2147
|
+
font-weight: 600;
|
|
2148
|
+
overflow-wrap: anywhere;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.uc-tool-sub {
|
|
2152
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
2153
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
.uc-tool-progress {
|
|
2157
|
+
height: 3px;
|
|
2158
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
2159
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
2160
|
+
overflow: hidden;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
.uc-tool-progress-bar {
|
|
2164
|
+
height: 100%;
|
|
2165
|
+
width: 42%;
|
|
2166
|
+
border-radius: var(--md-sys-shape-corner-full);
|
|
2167
|
+
background: var(--md-sys-color-primary);
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
2171
|
+
.uc-tool-progress-bar {
|
|
2172
|
+
animation: uc-indeterminate 1.4s var(--md-sys-motion-easing-standard) infinite;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
.uc-icon-spin {
|
|
2176
|
+
animation: uc-spin 1s linear infinite;
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
@keyframes uc-indeterminate {
|
|
2181
|
+
0% { transform: translateX(-100%); }
|
|
2182
|
+
100% { transform: translateX(260%); }
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
@keyframes uc-spin {
|
|
2186
|
+
to { transform: rotate(360deg); }
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
.uc-tool-list {
|
|
2190
|
+
display: flex;
|
|
2191
|
+
flex-direction: column;
|
|
2192
|
+
gap: 6px;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
.uc-tool-item {
|
|
2196
|
+
display: flex;
|
|
2197
|
+
align-items: flex-start;
|
|
2198
|
+
justify-content: space-between;
|
|
2199
|
+
gap: 10px;
|
|
2200
|
+
padding: 8px 10px;
|
|
2201
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
2202
|
+
background: var(--md-sys-color-surface-container-lowest);
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
.uc-tool-raw-toggle {
|
|
2206
|
+
appearance: none;
|
|
2207
|
+
border: 0;
|
|
2208
|
+
background: transparent;
|
|
2209
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
2210
|
+
padding: 2px 0;
|
|
2211
|
+
font: inherit;
|
|
2212
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
2213
|
+
cursor: pointer;
|
|
2214
|
+
display: inline-flex;
|
|
2215
|
+
align-items: center;
|
|
2216
|
+
gap: 4px;
|
|
2217
|
+
align-self: flex-start;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
.uc-tool-raw-toggle:hover {
|
|
2221
|
+
color: var(--md-sys-color-primary);
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
.uc-tool-raw-pre {
|
|
2225
|
+
margin: 0;
|
|
2226
|
+
padding: 10px 12px;
|
|
2227
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
2228
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
2229
|
+
color: var(--md-sys-color-on-surface);
|
|
2230
|
+
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
2231
|
+
font-size: var(--md-sys-typescale-body-small-size);
|
|
2232
|
+
line-height: 1.45;
|
|
2233
|
+
max-height: 220px;
|
|
2234
|
+
overflow: auto;
|
|
2235
|
+
white-space: pre-wrap;
|
|
2236
|
+
overflow-wrap: anywhere;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
.uc-empty-state {
|
|
2240
|
+
padding: 28px 16px;
|
|
2241
|
+
text-align: center;
|
|
2242
|
+
display: flex;
|
|
2243
|
+
flex-direction: column;
|
|
2244
|
+
align-items: center;
|
|
2245
|
+
gap: 8px;
|
|
2246
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
.uc-divider {
|
|
2250
|
+
height: 1px;
|
|
2251
|
+
background: var(--md-sys-color-outline-variant);
|
|
2252
|
+
border: 0;
|
|
2253
|
+
margin: 0;
|
|
2254
|
+
}
|
|
2255
|
+
`;
|
|
2256
|
+
|
|
2257
|
+
export function ensureCampusStyles() {
|
|
2258
|
+
if (typeof document === 'undefined' || !document.head) return;
|
|
2259
|
+
let style = document.getElementById(STYLE_ID);
|
|
2260
|
+
if (!style) {
|
|
2261
|
+
style = document.createElement('style');
|
|
2262
|
+
style.id = STYLE_ID;
|
|
2263
|
+
document.head.append(style);
|
|
2264
|
+
}
|
|
2265
|
+
if (style.textContent !== material) {
|
|
2266
|
+
style.textContent = material;
|
|
2267
|
+
}
|
|
2268
|
+
}
|