@semanticus/semanticus-css 0.3.1 → 0.5.1
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/README.md +4 -4
- package/dist/semanticus-semantics.css +1 -1
- package/dist/semanticus-utilities.css +2 -2
- package/dist/semanticus-variants.css +1 -1
- package/dist/semanticus.css +1 -1
- package/dist/semanticus.size.slim.css +1 -1
- package/package.json +1 -1
- package/src/index.css +4 -4
- package/src/semantics/_article.css +10 -4
- package/src/semantics/_aside.css +16 -0
- package/src/semantics/_body.css +5 -7
- package/src/semantics/_button.css +25 -1
- package/src/semantics/_details.css +7 -8
- package/src/semantics/_dialog.css +13 -19
- package/src/semantics/_footer.css +12 -0
- package/src/semantics/_header.css +12 -0
- package/src/semantics/_links.css +17 -0
- package/src/semantics/_main.css +8 -1
- package/src/semantics/_nav.css +55 -88
- package/src/semantics/_role-toolbar.css +1 -1
- package/src/semantics/_role-tooltip.css +1 -1
- package/src/semantics/_section.css +3 -0
- package/src/semantics/index.css +1 -1
- package/src/semantics/modules.css +3 -0
- package/src/sizes/slim.css +31 -2
- package/src/utilities/_variables.css +5 -0
- package/src/utilities/display/_display.css +5 -5
- package/src/utilities/index.css +2 -2
- package/src/utilities/layout/_flexbox.css +5 -5
- package/src/utilities/layout/_grid.css +1 -1
- package/src/utilities/media/_object-fit.css +5 -5
- package/src/utilities/positioning/_floats.css +5 -5
- package/src/utilities/positioning/_position.css +5 -5
- package/src/utilities/sizing/_height.css +4 -0
- package/src/utilities/sizing/_width.css +8 -0
- package/src/utilities/spacing/_gap.css +5 -5
- package/src/utilities/spacing/_margin.css +5 -5
- package/src/utilities/spacing/_padding.css +5 -5
- package/src/utilities/typography/_font-sizes.css +1 -1
- package/src/utilities/typography/_text-alignment.css +5 -5
- package/src/{_variables.css → variables/_all.css} +11 -113
- package/src/variables/_shared.css +121 -0
- package/src/variants/_card.css +4 -0
- package/src/variants/_contained.css +43 -0
- package/src/variants/_container.css +6 -6
- package/src/variants/_contrast.css +13 -16
- package/src/variants/_frame.css +15 -0
- package/src/variants/_ghost.css +36 -33
- package/src/variants/_panel.css +18 -0
- package/src/variants/_secondary.css +1 -4
- package/src/variants/_sidebar.css +11 -0
- package/src/variants/index.css +3 -0
- package/src/variants/modules.css +8 -2
package/src/utilities/index.css
CHANGED
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
order: 6 !important;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
@media (
|
|
187
|
+
@media (--breakpoint-sm) {
|
|
188
188
|
.flex-sm-fill {
|
|
189
189
|
flex: 1 1 auto !important;
|
|
190
190
|
}
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
@media (
|
|
319
|
+
@media (--breakpoint-md) {
|
|
320
320
|
.flex-md-fill {
|
|
321
321
|
flex: 1 1 auto !important;
|
|
322
322
|
}
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
@media (
|
|
451
|
+
@media (--breakpoint-lg) {
|
|
452
452
|
.flex-lg-fill {
|
|
453
453
|
flex: 1 1 auto !important;
|
|
454
454
|
}
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
@media (
|
|
583
|
+
@media (--breakpoint-xl) {
|
|
584
584
|
.flex-xl-fill {
|
|
585
585
|
flex: 1 1 auto !important;
|
|
586
586
|
}
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
@media (
|
|
715
|
+
@media (--breakpoint-xxl) {
|
|
716
716
|
.flex-xxl-fill {
|
|
717
717
|
flex: 1 1 auto !important;
|
|
718
718
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
object-fit: none !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
@media (
|
|
26
|
+
@media (--breakpoint-sm) {
|
|
27
27
|
.object-fit-sm-contain {
|
|
28
28
|
-o-object-fit: contain !important;
|
|
29
29
|
object-fit: contain !important;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media (
|
|
49
|
+
@media (--breakpoint-md) {
|
|
50
50
|
.object-fit-md-contain {
|
|
51
51
|
-o-object-fit: contain !important;
|
|
52
52
|
object-fit: contain !important;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
@media (
|
|
72
|
+
@media (--breakpoint-lg) {
|
|
73
73
|
.object-fit-lg-contain {
|
|
74
74
|
-o-object-fit: contain !important;
|
|
75
75
|
object-fit: contain !important;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
@media (
|
|
95
|
+
@media (--breakpoint-xl) {
|
|
96
96
|
.object-fit-xl-contain {
|
|
97
97
|
-o-object-fit: contain !important;
|
|
98
98
|
object-fit: contain !important;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
@media (
|
|
118
|
+
@media (--breakpoint-xxl) {
|
|
119
119
|
.object-fit-xxl-contain {
|
|
120
120
|
-o-object-fit: contain !important;
|
|
121
121
|
object-fit: contain !important;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
float: none !important;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
@media (
|
|
13
|
+
@media (--breakpoint-sm) {
|
|
14
14
|
.float-sm-start {
|
|
15
15
|
float: left !important;
|
|
16
16
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
@media (
|
|
25
|
+
@media (--breakpoint-md) {
|
|
26
26
|
.float-md-start {
|
|
27
27
|
float: left !important;
|
|
28
28
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
@media (
|
|
37
|
+
@media (--breakpoint-lg) {
|
|
38
38
|
.float-lg-start {
|
|
39
39
|
float: left !important;
|
|
40
40
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media (
|
|
49
|
+
@media (--breakpoint-xl) {
|
|
50
50
|
.float-xl-start {
|
|
51
51
|
float: left !important;
|
|
52
52
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
@media (
|
|
61
|
+
@media (--breakpoint-xxl) {
|
|
62
62
|
.float-xxl-start {
|
|
63
63
|
float: left !important;
|
|
64
64
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
z-index: 1020;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@media (
|
|
29
|
+
@media (--breakpoint-sm) {
|
|
30
30
|
.sticky-sm-top {
|
|
31
31
|
position: sticky;
|
|
32
32
|
top: 0;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
z-index: 1020;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
@media (
|
|
41
|
+
@media (--breakpoint-md) {
|
|
42
42
|
.sticky-md-top {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
z-index: 1020;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
@media (
|
|
53
|
+
@media (--breakpoint-lg) {
|
|
54
54
|
.sticky-lg-top {
|
|
55
55
|
position: sticky;
|
|
56
56
|
top: 0;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
z-index: 1020;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
@media (
|
|
65
|
+
@media (--breakpoint-xl) {
|
|
66
66
|
.sticky-xl-top {
|
|
67
67
|
position: sticky;
|
|
68
68
|
top: 0;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
z-index: 1020;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
@media (
|
|
77
|
+
@media (--breakpoint-xxl) {
|
|
78
78
|
.sticky-xxl-top {
|
|
79
79
|
position: sticky;
|
|
80
80
|
top: 0;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
column-gap: var(--spacer-5) !important;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
@media (
|
|
79
|
+
@media (--breakpoint-sm) {
|
|
80
80
|
.gap-sm-0 {
|
|
81
81
|
gap: 0 !important;
|
|
82
82
|
}
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
@media (
|
|
142
|
+
@media (--breakpoint-md) {
|
|
143
143
|
.gap-md-0 {
|
|
144
144
|
gap: 0 !important;
|
|
145
145
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
@media (
|
|
205
|
+
@media (--breakpoint-lg) {
|
|
206
206
|
.gap-lg-0 {
|
|
207
207
|
gap: 0 !important;
|
|
208
208
|
}
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
@media (
|
|
268
|
+
@media (--breakpoint-xl) {
|
|
269
269
|
.gap-xl-0 {
|
|
270
270
|
gap: 0 !important;
|
|
271
271
|
}
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
@media (
|
|
331
|
+
@media (--breakpoint-xxl) {
|
|
332
332
|
.gap-xxl-0 {
|
|
333
333
|
gap: 0 !important;
|
|
334
334
|
}
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
margin-left: auto !important;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
@media (
|
|
211
|
+
@media (--breakpoint-sm) {
|
|
212
212
|
.m-sm-0 {
|
|
213
213
|
margin: 0 !important;
|
|
214
214
|
}
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
@media (
|
|
375
|
+
@media (--breakpoint-md) {
|
|
376
376
|
.m-md-0 {
|
|
377
377
|
margin: 0 !important;
|
|
378
378
|
}
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
-
@media (
|
|
539
|
+
@media (--breakpoint-lg) {
|
|
540
540
|
.m-lg-0 {
|
|
541
541
|
margin: 0 !important;
|
|
542
542
|
}
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
@media (
|
|
703
|
+
@media (--breakpoint-xl) {
|
|
704
704
|
.m-xl-0 {
|
|
705
705
|
margin: 0 !important;
|
|
706
706
|
}
|
|
@@ -864,7 +864,7 @@
|
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
|
|
867
|
-
@media (
|
|
867
|
+
@media (--breakpoint-xxl) {
|
|
868
868
|
.m-xxl-0 {
|
|
869
869
|
margin: 0 !important;
|
|
870
870
|
}
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
padding-left: var(--spacer-5) !important;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
@media (
|
|
181
|
+
@media (--breakpoint-sm) {
|
|
182
182
|
.p-sm-0 {
|
|
183
183
|
padding: 0 !important;
|
|
184
184
|
}
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
@media (
|
|
322
|
+
@media (--breakpoint-md) {
|
|
323
323
|
.p-md-0 {
|
|
324
324
|
padding: 0 !important;
|
|
325
325
|
}
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
@media (
|
|
463
|
+
@media (--breakpoint-lg) {
|
|
464
464
|
.p-lg-0 {
|
|
465
465
|
padding: 0 !important;
|
|
466
466
|
}
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
|
|
604
|
-
@media (
|
|
604
|
+
@media (--breakpoint-xl) {
|
|
605
605
|
.p-xl-0 {
|
|
606
606
|
padding: 0 !important;
|
|
607
607
|
}
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
-
@media (
|
|
745
|
+
@media (--breakpoint-xxl) {
|
|
746
746
|
.p-xxl-0 {
|
|
747
747
|
padding: 0 !important;
|
|
748
748
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
/* rtl:end:remove */
|
|
81
81
|
|
|
82
|
-
@media (
|
|
82
|
+
@media (--breakpoint-sm) {
|
|
83
83
|
.text-sm-start {
|
|
84
84
|
text-align: left !important;
|
|
85
85
|
}
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
@media (
|
|
94
|
+
@media (--breakpoint-md) {
|
|
95
95
|
.text-md-start {
|
|
96
96
|
text-align: left !important;
|
|
97
97
|
}
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
@media (
|
|
106
|
+
@media (--breakpoint-lg) {
|
|
107
107
|
.text-lg-start {
|
|
108
108
|
text-align: left !important;
|
|
109
109
|
}
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
@media (
|
|
118
|
+
@media (--breakpoint-xl) {
|
|
119
119
|
.text-xl-start {
|
|
120
120
|
text-align: left !important;
|
|
121
121
|
}
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
@media (
|
|
130
|
+
@media (--breakpoint-xxl) {
|
|
131
131
|
.text-xxl-start {
|
|
132
132
|
text-align: left !important;
|
|
133
133
|
}
|
|
@@ -10,112 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
1. Base Tokens
|
|
15
|
-
========================================================================== */
|
|
16
|
-
|
|
17
|
-
:root {
|
|
18
|
-
--transparent: transparent;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* ==========================================================================
|
|
22
|
-
2. Typography & Layout Variables (from Pico Theme)
|
|
23
|
-
========================================================================== */
|
|
24
|
-
|
|
25
|
-
:root,
|
|
26
|
-
:host {
|
|
27
|
-
/* Font Families */
|
|
28
|
-
--font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
29
|
-
--font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--font-family-emoji);
|
|
30
|
-
--font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--font-family-emoji);
|
|
31
|
-
--font-family: var(--font-family-sans-serif);
|
|
32
|
-
|
|
33
|
-
/* Typography – base defaults inherited by all elements */
|
|
34
|
-
--line-height: 1.5;
|
|
35
|
-
--font-weight: 400;
|
|
36
|
-
--font-size: 100%; /* Root font-size; overridden per breakpoint below and per element in §6 */
|
|
37
|
-
--text-underline-offset: 0.1rem;
|
|
38
|
-
|
|
39
|
-
/* Borders & Effects – global defaults for border-radius, border-width, outline, and transition */
|
|
40
|
-
--border-radius: 0.25rem;
|
|
41
|
-
--border-width: 0.0625rem; /* 1px – base border width used by forms, tables, etc. */
|
|
42
|
-
--outline-width: 0.125rem; /* 2px – focus-ring width */
|
|
43
|
-
--transition: 0.2s ease-in-out; /* Default transition timing for interactive state changes */
|
|
44
|
-
|
|
45
|
-
/* Spacing – shared base unit used for padding, margins, and gaps throughout the layout */
|
|
46
|
-
--spacing: 1rem;
|
|
47
|
-
--typography-spacing-vertical: 1rem; /* Vertical margin below typographic elements (p, lists, etc.) */
|
|
48
|
-
--block-spacing-vertical: var(--spacing); /* Vertical padding inside block-level components (cards, modals, etc.) */
|
|
49
|
-
--block-spacing-horizontal: var(--spacing); /* Horizontal padding inside block-level components */
|
|
50
|
-
--grid-column-gap: var(--spacing); /* Column gap in CSS Grid layouts */
|
|
51
|
-
--grid-row-gap: var(--spacing); /* Row gap in CSS Grid layouts */
|
|
52
|
-
--form-element-spacing-vertical: 0.75rem; /* Vertical padding inside form inputs, selects, and textareas */
|
|
53
|
-
--form-element-spacing-horizontal: 1rem; /* Horizontal padding inside form inputs, selects, and textareas */
|
|
54
|
-
|
|
55
|
-
/* Shadows – used by [role="group"] and [role="search"] button/input combos */
|
|
56
|
-
--group-shadow: 0 0 0 rgba(0, 0, 0, 0); /* Default (no shadow) */
|
|
57
|
-
--group-shadow-focus-with-button: 0 0 0 var(--outline-width) var(--color-primary-focus); /* Focus ring when a button inside the group is focused */
|
|
58
|
-
--group-shadow-focus-with-input: 0 0 0 0.0625rem var(--form-border-color); /* Focus ring when an input inside the group is focused */
|
|
59
|
-
|
|
60
|
-
/* Modal – backdrop overlay settings */
|
|
61
|
-
--modal-overlay-backdrop-filter: blur(0.375rem); /* Applies a blur behind the modal overlay */
|
|
62
|
-
|
|
63
|
-
/* Navigation – spacing and breadcrumb configuration */
|
|
64
|
-
--nav-element-spacing-vertical: 1rem; /* Vertical padding for nav container items */
|
|
65
|
-
--nav-element-spacing-horizontal: 0.5rem; /* Horizontal padding for nav container items */
|
|
66
|
-
--nav-link-spacing-vertical: 0.5rem; /* Vertical padding inside nav links */
|
|
67
|
-
--nav-link-spacing-horizontal: 0.5rem; /* Horizontal padding inside nav links */
|
|
68
|
-
--nav-breadcrumb-divider: ">"; /* Character displayed between breadcrumb items */
|
|
69
|
-
|
|
70
|
-
/* Icons – inline SVG data-URIs used by form elements and UI components */
|
|
71
|
-
--icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); /* Checkmark for checked checkboxes */
|
|
72
|
-
--icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); /* Minus icon for indeterminate checkboxes */
|
|
73
|
-
--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); /* Dropdown arrow for <select> elements */
|
|
74
|
-
--icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); /* Calendar icon for date inputs */
|
|
75
|
-
--icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); /* Clock icon for time inputs */
|
|
76
|
-
--icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); /* Magnifying glass for search inputs */
|
|
77
|
-
--icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); /* X icon for close/dismiss actions (e.g. modal close button) */
|
|
78
|
-
--icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E"); /* Animated spinner for [aria-busy="true"] elements */
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Responsive Font Sizes – progressively increase root font-size at wider viewports */
|
|
82
|
-
@media (min-width: 576px) {
|
|
83
|
-
:root,
|
|
84
|
-
:host {
|
|
85
|
-
--font-size: 106.25%;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@media (min-width: 768px) {
|
|
90
|
-
:root,
|
|
91
|
-
:host {
|
|
92
|
-
--font-size: 112.5%;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@media (min-width: 1024px) {
|
|
97
|
-
:root,
|
|
98
|
-
:host {
|
|
99
|
-
--font-size: 118.75%;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@media (min-width: 1280px) {
|
|
104
|
-
:root,
|
|
105
|
-
:host {
|
|
106
|
-
--font-size: 125%;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@media (min-width: 1536px) {
|
|
111
|
-
:root,
|
|
112
|
-
:host {
|
|
113
|
-
--font-size: 131.25%;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
13
|
+
@import './_shared.css';
|
|
116
14
|
|
|
117
15
|
/* ==========================================================================
|
|
118
|
-
|
|
16
|
+
Semantic Colors - Light Theme (Default)
|
|
119
17
|
==========================================================================
|
|
120
18
|
|
|
121
19
|
Color variable naming convention used throughout sections 3–5:
|
|
@@ -320,7 +218,7 @@
|
|
|
320
218
|
}
|
|
321
219
|
|
|
322
220
|
/* ==========================================================================
|
|
323
|
-
|
|
221
|
+
Semantic Colors - Dark Theme (System Preference)
|
|
324
222
|
==========================================================================
|
|
325
223
|
|
|
326
224
|
Applied when the user's OS is set to dark mode AND no explicit
|
|
@@ -504,7 +402,7 @@
|
|
|
504
402
|
}
|
|
505
403
|
|
|
506
404
|
/* ==========================================================================
|
|
507
|
-
|
|
405
|
+
Semantic Colors - Dark Theme (Explicit)
|
|
508
406
|
==========================================================================
|
|
509
407
|
|
|
510
408
|
Applied when data-theme="dark" is set on the root element,
|
|
@@ -678,7 +576,7 @@
|
|
|
678
576
|
}
|
|
679
577
|
|
|
680
578
|
/* ==========================================================================
|
|
681
|
-
|
|
579
|
+
Scoped Element Variables (from Pico Theme)
|
|
682
580
|
==========================================================================
|
|
683
581
|
|
|
684
582
|
These selectors override the global :root variables on a per-element
|
|
@@ -713,37 +611,37 @@ h6 {
|
|
|
713
611
|
h1 {
|
|
714
612
|
--font-size: 2rem;
|
|
715
613
|
--line-height: 1.125;
|
|
716
|
-
--typography-
|
|
614
|
+
--typography-headings-top: 3rem; /* Extra top margin to separate from previous content */
|
|
717
615
|
}
|
|
718
616
|
|
|
719
617
|
h2 {
|
|
720
618
|
--font-size: 1.75rem;
|
|
721
619
|
--line-height: 1.15;
|
|
722
|
-
--typography-
|
|
620
|
+
--typography-headings-top: 2.625rem;
|
|
723
621
|
}
|
|
724
622
|
|
|
725
623
|
h3 {
|
|
726
624
|
--font-size: 1.5rem;
|
|
727
625
|
--line-height: 1.175;
|
|
728
|
-
--typography-
|
|
626
|
+
--typography-headings-top: 2.25rem;
|
|
729
627
|
}
|
|
730
628
|
|
|
731
629
|
h4 {
|
|
732
630
|
--font-size: 1.25rem;
|
|
733
631
|
--line-height: 1.2;
|
|
734
|
-
--typography-
|
|
632
|
+
--typography-headings-top: 1.874rem;
|
|
735
633
|
}
|
|
736
634
|
|
|
737
635
|
h5 {
|
|
738
636
|
--font-size: 1.125rem;
|
|
739
637
|
--line-height: 1.225;
|
|
740
|
-
--typography-
|
|
638
|
+
--typography-headings-top: 1.6875rem;
|
|
741
639
|
}
|
|
742
640
|
|
|
743
641
|
h6 {
|
|
744
642
|
--font-size: 1rem;
|
|
745
643
|
--line-height: 1.25;
|
|
746
|
-
--typography-
|
|
644
|
+
--typography-headings-top: 1.5rem;
|
|
747
645
|
}
|
|
748
646
|
|
|
749
647
|
/* Table head/foot cells get a bolder weight and a thicker bottom border */
|