@anyblades/blades 3.1.0-beta.7 → 3.1.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/README.md +173 -140
- package/css/blades.css +6 -6
- package/css/blades.min.css +6 -6
- package/css/blades.ninja.css +6 -6
- package/css/blades.ninja.min.css +6 -6
- package/css/float-label.css +1 -1
- package/css/float-label.min.css +1 -1
- package/css/layered/README.md +164 -0
- package/css/layered/_compact.css +30 -0
- package/css/layered/_utilities.css +23 -0
- package/css/layered/_variables-blades.css +8 -0
- package/css/layered/_variables.css +258 -0
- package/css/layered/blades.layered.css +6 -6
- package/css/layered/blades.layered.min.css +6 -6
- package/css/layered/components/_accordion.css +93 -0
- package/css/layered/components/_card.css +37 -0
- package/css/layered/components/_dropdown-popover.css +89 -0
- package/css/layered/components/_dropdown.css +188 -0
- package/css/layered/components/_group.css +89 -0
- package/css/layered/components/_index.css +950 -0
- package/css/layered/components/_loading.css +51 -0
- package/css/layered/components/_modal-modern.css +17 -0
- package/css/layered/components/_modal.css +144 -0
- package/css/layered/components/_nav.css +114 -0
- package/css/layered/components/_progress.css +68 -0
- package/css/layered/components/_timeline.css +7 -0
- package/css/layered/components/_tooltip.css +158 -0
- package/css/layered/content/_button.css +125 -0
- package/css/layered/content/_code-block.css +17 -0
- package/css/layered/content/_code.css +46 -0
- package/css/layered/content/_embedded-content.css +33 -0
- package/css/layered/content/_figure.css +10 -0
- package/css/layered/content/_icon.css +30 -0
- package/css/layered/content/_index.css +456 -0
- package/css/layered/content/_link.css +59 -0
- package/css/layered/content/_misc.css +15 -0
- package/css/layered/content/_table.css +24 -0
- package/css/layered/content/_typography.css +137 -0
- package/css/layered/forms/_basics.css +257 -0
- package/css/layered/forms/_checkbox-radio-switch.css +132 -0
- package/css/layered/forms/_index.css +617 -0
- package/css/layered/forms/_input-color.css +17 -0
- package/css/layered/forms/_input-datetime.css +37 -0
- package/css/layered/forms/_input-file.css +25 -0
- package/css/layered/forms/_input-range.css +111 -0
- package/css/layered/forms/_input-search.css +32 -0
- package/css/layered/forms/float-label/_core.css +28 -0
- package/css/layered/forms/float-label/_index.css +54 -0
- package/css/layered/forms/float-label/_theme.css +25 -0
- package/css/layered/forms/float-label/core.css +1 -1
- package/css/layered/forms/float-label.css +1 -1
- package/css/layered/layout/_columns.css +7 -0
- package/css/layered/layout/_container.css +39 -0
- package/css/layered/layout/_document.css +37 -0
- package/css/layered/layout/_grid.css +17 -0
- package/css/layered/layout/_index.css +103 -0
- package/css/layered/layout/_landmarks.css +3 -0
- package/css/layered/layout/_overflow-auto.css +3 -0
- package/css/layered/layout/_section.css +3 -0
- package/css/pico.canonical.css +2512 -0
- package/css/pico.canonical.min.css +1 -0
- package/css/pico.canonical.unmin.css +2512 -0
- package/css/pico.canonical.unmin.min.css +1 -0
- package/css/pico.conditional.css +2 -2
- package/css/pico.conditional.min.css +2 -2
- package/css/pico.css +2 -2
- package/css/pico.min.css +2 -2
- package/css/pico.unmin.css +2365 -0
- package/css/pico.unmin.min.css +7 -0
- package/package.json +12 -9
- package/src/blades/_index.css +1 -1
- package/src/blades/forms/float-label/_core.css +1 -1
- package/src/blades.css +2 -2
- package/src/pico/_index.css +2 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
pre, code, var, kbd, samp {
|
|
2
|
+
font-size: .875em;
|
|
3
|
+
font-family: var(--pico-font-family);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
pre code, pre samp {
|
|
7
|
+
font-size: inherit;
|
|
8
|
+
font-family: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
pre {
|
|
12
|
+
-ms-overflow-style: scrollbar;
|
|
13
|
+
overflow: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
pre, code, var, kbd, samp {
|
|
17
|
+
border-radius: var(--pico-border-radius);
|
|
18
|
+
background: var(--pico-code-background-color);
|
|
19
|
+
color: var(--pico-code-color);
|
|
20
|
+
font-weight: var(--pico-font-weight);
|
|
21
|
+
line-height: initial;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
code, var, kbd, samp {
|
|
25
|
+
padding: .375rem;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
pre {
|
|
30
|
+
margin-bottom: var(--pico-spacing);
|
|
31
|
+
display: block;
|
|
32
|
+
overflow-x: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
pre > code, pre > samp {
|
|
36
|
+
padding: var(--pico-spacing);
|
|
37
|
+
line-height: var(--pico-line-height);
|
|
38
|
+
background: none;
|
|
39
|
+
display: block;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
kbd {
|
|
43
|
+
background-color: var(--pico-code-kbd-background-color);
|
|
44
|
+
color: var(--pico-code-kbd-color);
|
|
45
|
+
vertical-align: baseline;
|
|
46
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
:where(audio, canvas, iframe, img, svg, video) {
|
|
2
|
+
vertical-align: middle;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
audio, video {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
audio:not([controls]) {
|
|
10
|
+
height: 0;
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:where(iframe) {
|
|
15
|
+
border-style: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
img {
|
|
19
|
+
&:not([height]) {
|
|
20
|
+
max-width: 100%;
|
|
21
|
+
height: auto;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
border-style: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:where(svg:not([fill])) {
|
|
28
|
+
fill: currentColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
svg:not(:scope), svg:not(:host) {
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
a:not(.does-not-exist) {
|
|
2
|
+
&:has( > i) {
|
|
3
|
+
text-wrap: balance;
|
|
4
|
+
gap: .375ch;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
overflow-y: clip;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
& > i {
|
|
10
|
+
float: left;
|
|
11
|
+
text-underline-offset: -2em;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
|
|
14
|
+
& > img {
|
|
15
|
+
max-width: none;
|
|
16
|
+
height: 1.25em;
|
|
17
|
+
margin-block-start: -.125em;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&[class^="fa-"], &[class*=" fa-"] {
|
|
22
|
+
line-height: inherit;
|
|
23
|
+
--fa-width: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.fa-lg {
|
|
27
|
+
line-height: normal;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
b, strong {
|
|
2
|
+
font-weight: bolder;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
sub, sup {
|
|
6
|
+
vertical-align: baseline;
|
|
7
|
+
font-size: .75em;
|
|
8
|
+
line-height: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
sub {
|
|
13
|
+
bottom: -.25em;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
sup {
|
|
17
|
+
top: -.5em;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
address, blockquote, dl, ol, p, pre, table, ul {
|
|
21
|
+
margin-top: 0;
|
|
22
|
+
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
23
|
+
color: var(--pico-color);
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: var(--pico-font-weight);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1, h2, h3, h4, h5, h6 {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
31
|
+
color: var(--pico-color);
|
|
32
|
+
font-weight: var(--pico-font-weight);
|
|
33
|
+
font-size: var(--pico-font-size);
|
|
34
|
+
line-height: var(--pico-line-height);
|
|
35
|
+
font-family: var(--pico-font-family);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h1 {
|
|
39
|
+
--pico-color: var(--pico-h1-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h2 {
|
|
43
|
+
--pico-color: var(--pico-h2-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h3 {
|
|
47
|
+
--pico-color: var(--pico-h3-color);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
h4 {
|
|
51
|
+
--pico-color: var(--pico-h4-color);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
h5 {
|
|
55
|
+
--pico-color: var(--pico-h5-color);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
h6 {
|
|
59
|
+
--pico-color: var(--pico-h6-color);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
|
|
63
|
+
margin-top: var(--pico-typography-spacing-top);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
p, hgroup {
|
|
67
|
+
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
hgroup > * {
|
|
71
|
+
margin-top: 0;
|
|
72
|
+
margin-bottom: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
hgroup > :not(:first-child):last-child {
|
|
76
|
+
--pico-color: var(--pico-muted-color);
|
|
77
|
+
--pico-font-weight: unset;
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:where(ol, ul) li {
|
|
82
|
+
margin-bottom: calc(var(--pico-typography-spacing-vertical) * .25);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where(dl, ol, ul) :where(dl, ol, ul) {
|
|
86
|
+
margin: 0;
|
|
87
|
+
margin-top: calc(var(--pico-typography-spacing-vertical) * .25);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
ul li {
|
|
91
|
+
list-style: square;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
mark {
|
|
95
|
+
background-color: var(--pico-mark-background-color);
|
|
96
|
+
color: var(--pico-mark-color);
|
|
97
|
+
vertical-align: baseline;
|
|
98
|
+
padding: .125rem .25rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
blockquote {
|
|
102
|
+
margin: var(--pico-typography-spacing-vertical) 0;
|
|
103
|
+
padding: var(--pico-spacing);
|
|
104
|
+
border-right: none;
|
|
105
|
+
border-left: .25rem solid var(--pico-blockquote-border-color);
|
|
106
|
+
border-inline-start: .25rem solid var(--pico-blockquote-border-color);
|
|
107
|
+
border-inline-end: none;
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
blockquote footer {
|
|
112
|
+
margin-top: calc(var(--pico-typography-spacing-vertical) * .5);
|
|
113
|
+
color: var(--pico-blockquote-footer-color);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
abbr[title] {
|
|
117
|
+
cursor: help;
|
|
118
|
+
border-bottom: 1px dotted;
|
|
119
|
+
text-decoration: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
ins {
|
|
123
|
+
color: var(--pico-ins-color);
|
|
124
|
+
text-decoration: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
del {
|
|
128
|
+
color: var(--pico-del-color);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
::-moz-selection {
|
|
132
|
+
background-color: var(--pico-text-selection-color);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
::selection {
|
|
136
|
+
background-color: var(--pico-text-selection-color);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:where(a:not([role="button"])), [role="link"] {
|
|
140
|
+
--pico-color: var(--pico-primary);
|
|
141
|
+
--pico-background-color: transparent;
|
|
142
|
+
--pico-underline: var(--pico-primary-underline);
|
|
143
|
+
background-color: var(--pico-background-color);
|
|
144
|
+
color: var(--pico-color);
|
|
145
|
+
-webkit-text-decoration: var(--pico-text-decoration);
|
|
146
|
+
text-decoration: var(--pico-text-decoration);
|
|
147
|
+
text-decoration-color: var(--pico-underline);
|
|
148
|
+
text-underline-offset: .125em;
|
|
149
|
+
transition: background-color var(--pico-transition),
|
|
150
|
+
color var(--pico-transition),
|
|
151
|
+
box-shadow var(--pico-transition),
|
|
152
|
+
-webkit-text-decoration var(--pico-transition);
|
|
153
|
+
transition: background-color var(--pico-transition),
|
|
154
|
+
color var(--pico-transition),
|
|
155
|
+
text-decoration var(--pico-transition),
|
|
156
|
+
box-shadow var(--pico-transition);
|
|
157
|
+
transition: background-color var(--pico-transition),
|
|
158
|
+
color var(--pico-transition),
|
|
159
|
+
text-decoration var(--pico-transition),
|
|
160
|
+
box-shadow var(--pico-transition),
|
|
161
|
+
-webkit-text-decoration var(--pico-transition);
|
|
162
|
+
outline: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
166
|
+
--pico-color: var(--pico-primary-hover);
|
|
167
|
+
--pico-underline: var(--pico-primary-hover-underline);
|
|
168
|
+
--pico-text-decoration: underline;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:where(a:not([role="button"])):focus-visible, [role="link"]:focus-visible {
|
|
172
|
+
box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:where(a:not([role="button"])).secondary, [role="link"].secondary {
|
|
176
|
+
--pico-color: var(--pico-secondary);
|
|
177
|
+
--pico-underline: var(--pico-secondary-underline);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
181
|
+
--pico-color: var(--pico-secondary-hover);
|
|
182
|
+
--pico-underline: var(--pico-secondary-hover-underline);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:where(a:not([role="button"])).contrast, [role="link"].contrast {
|
|
186
|
+
--pico-color: var(--pico-contrast);
|
|
187
|
+
--pico-underline: var(--pico-contrast-underline);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
191
|
+
--pico-color: var(--pico-contrast-hover);
|
|
192
|
+
--pico-underline: var(--pico-contrast-hover-underline);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
a[role="button"] {
|
|
196
|
+
display: inline-block;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
button {
|
|
200
|
+
text-transform: none;
|
|
201
|
+
margin: 0;
|
|
202
|
+
font-family: inherit;
|
|
203
|
+
overflow: visible;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
button, [type="submit"], [type="reset"], [type="button"] {
|
|
207
|
+
-webkit-appearance: button;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
button, [type="submit"], [type="reset"], [type="button"], [type="file"]::file-selector-button, [role="button"] {
|
|
211
|
+
--pico-background-color: var(--pico-primary-background);
|
|
212
|
+
--pico-border-color: var(--pico-primary-border);
|
|
213
|
+
--pico-color: var(--pico-primary-inverse);
|
|
214
|
+
--pico-box-shadow: var(--pico-button-box-shadow, 0 0 0 #0000);
|
|
215
|
+
padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
|
|
216
|
+
border: var(--pico-border-width) solid var(--pico-border-color);
|
|
217
|
+
border-radius: var(--pico-border-radius);
|
|
218
|
+
background-color: var(--pico-background-color);
|
|
219
|
+
box-shadow: var(--pico-box-shadow);
|
|
220
|
+
color: var(--pico-color);
|
|
221
|
+
font-weight: var(--pico-button-font-weight, var(--pico-font-weight));
|
|
222
|
+
font-size: 1rem;
|
|
223
|
+
line-height: var(--pico-line-height);
|
|
224
|
+
text-align: center;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
-webkit-user-select: none;
|
|
227
|
+
-moz-user-select: none;
|
|
228
|
+
user-select: none;
|
|
229
|
+
transition: background-color var(--pico-transition),
|
|
230
|
+
border-color var(--pico-transition),
|
|
231
|
+
color var(--pico-transition),
|
|
232
|
+
box-shadow var(--pico-transition);
|
|
233
|
+
outline: none;
|
|
234
|
+
text-decoration: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
button[aria-current]:not([aria-current="false"]), button:is(:hover, :active, :focus), [type="submit"][aria-current]:not([aria-current="false"]), [type="submit"]:is(:hover, :active, :focus), [type="reset"][aria-current]:not([aria-current="false"]), [type="reset"]:is(:hover, :active, :focus), [type="button"][aria-current]:not([aria-current="false"]), [type="button"]:is(:hover, :active, :focus), [type="file"]::file-selector-button:is(), [type="file"]::file-selector-button:is(:hover, :active, :focus), [role="button"][aria-current]:not([aria-current="false"]), [role="button"]:is(:hover, :active, :focus) {
|
|
238
|
+
--pico-background-color: var(--pico-primary-hover-background);
|
|
239
|
+
--pico-border-color: var(--pico-primary-hover-border);
|
|
240
|
+
--pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 #0000);
|
|
241
|
+
--pico-color: var(--pico-primary-inverse);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
button:focus, button[aria-current]:not([aria-current="false"]):focus, [type="submit"]:focus, [type="submit"][aria-current]:not([aria-current="false"]):focus, [type="reset"]:focus, [type="reset"][aria-current]:not([aria-current="false"]):focus, [type="button"]:focus, [type="button"][aria-current]:not([aria-current="false"]):focus, [type="file"]::file-selector-button:focus, [type="file"]::file-selector-button:is():focus, [role="button"]:focus, [role="button"][aria-current]:not([aria-current="false"]):focus {
|
|
245
|
+
--pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 #0000),
|
|
246
|
+
0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
[type="submit"], [type="reset"], [type="button"] {
|
|
250
|
+
margin-bottom: var(--pico-spacing);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).secondary, [type="reset"], [type="file"]::file-selector-button {
|
|
254
|
+
--pico-background-color: var(--pico-secondary-background);
|
|
255
|
+
--pico-border-color: var(--pico-secondary-border);
|
|
256
|
+
--pico-color: var(--pico-secondary-inverse);
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="file"]::file-selector-button:is(:hover, :active, :focus) {
|
|
261
|
+
--pico-background-color: var(--pico-secondary-hover-background);
|
|
262
|
+
--pico-border-color: var(--pico-secondary-hover-border);
|
|
263
|
+
--pico-color: var(--pico-secondary-inverse);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus, :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus, [type="reset"]:focus, [type="reset"][aria-current]:not([aria-current="false"]):focus, [type="file"]::file-selector-button:focus, [type="file"]::file-selector-button:is():focus {
|
|
267
|
+
--pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 #0000),
|
|
268
|
+
0 0 0 var(--pico-outline-width) var(--pico-secondary-focus);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).contrast {
|
|
272
|
+
--pico-background-color: var(--pico-contrast-background);
|
|
273
|
+
--pico-border-color: var(--pico-contrast-border);
|
|
274
|
+
--pico-color: var(--pico-contrast-inverse);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
278
|
+
--pico-background-color: var(--pico-contrast-hover-background);
|
|
279
|
+
--pico-border-color: var(--pico-contrast-hover-border);
|
|
280
|
+
--pico-color: var(--pico-contrast-inverse);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus, :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus {
|
|
284
|
+
--pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 #0000),
|
|
285
|
+
0 0 0 var(--pico-outline-width) var(--pico-contrast-focus);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
|
|
289
|
+
--pico-background-color: transparent;
|
|
290
|
+
--pico-color: var(--pico-primary);
|
|
291
|
+
--pico-border-color: var(--pico-primary);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
295
|
+
--pico-background-color: transparent;
|
|
296
|
+
--pico-color: var(--pico-primary-hover);
|
|
297
|
+
--pico-border-color: var(--pico-primary-hover);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline {
|
|
301
|
+
--pico-color: var(--pico-secondary);
|
|
302
|
+
--pico-border-color: var(--pico-secondary);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
306
|
+
--pico-color: var(--pico-secondary-hover);
|
|
307
|
+
--pico-border-color: var(--pico-secondary-hover);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast {
|
|
311
|
+
--pico-color: var(--pico-contrast);
|
|
312
|
+
--pico-border-color: var(--pico-contrast);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
:is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
316
|
+
--pico-color: var(--pico-contrast-hover);
|
|
317
|
+
--pico-border-color: var(--pico-contrast-hover);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
|
|
321
|
+
opacity: .5;
|
|
322
|
+
pointer-events: none;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
:where(table) {
|
|
326
|
+
border-collapse: collapse;
|
|
327
|
+
border-spacing: 0;
|
|
328
|
+
text-indent: 0;
|
|
329
|
+
width: 100%;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
th, td {
|
|
333
|
+
padding: calc(var(--pico-spacing) / 2) var(--pico-spacing);
|
|
334
|
+
border-bottom: var(--pico-border-width) solid var(--pico-table-border-color);
|
|
335
|
+
background-color: var(--pico-background-color);
|
|
336
|
+
color: var(--pico-color);
|
|
337
|
+
font-weight: var(--pico-font-weight);
|
|
338
|
+
text-align: start;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
tfoot th, tfoot td {
|
|
342
|
+
border-top: var(--pico-border-width) solid var(--pico-table-border-color);
|
|
343
|
+
border-bottom: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd) td {
|
|
347
|
+
background-color: var(--pico-table-row-stripped-background-color);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
:where(audio, canvas, iframe, img, svg, video) {
|
|
351
|
+
vertical-align: middle;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
audio, video {
|
|
355
|
+
display: inline-block;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
audio:not([controls]) {
|
|
359
|
+
height: 0;
|
|
360
|
+
display: none;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
:where(iframe) {
|
|
364
|
+
border-style: none;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
img {
|
|
368
|
+
&:not([height]) {
|
|
369
|
+
max-width: 100%;
|
|
370
|
+
height: auto;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
border-style: none;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
:where(svg:not([fill])) {
|
|
377
|
+
fill: currentColor;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
svg:not(:scope), svg:not(:host) {
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
pre, code, var, kbd, samp {
|
|
385
|
+
font-size: .875em;
|
|
386
|
+
font-family: var(--pico-font-family);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
pre code, pre samp {
|
|
390
|
+
font-size: inherit;
|
|
391
|
+
font-family: inherit;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
pre {
|
|
395
|
+
-ms-overflow-style: scrollbar;
|
|
396
|
+
overflow: auto;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
pre, code, var, kbd, samp {
|
|
400
|
+
border-radius: var(--pico-border-radius);
|
|
401
|
+
background: var(--pico-code-background-color);
|
|
402
|
+
color: var(--pico-code-color);
|
|
403
|
+
font-weight: var(--pico-font-weight);
|
|
404
|
+
line-height: initial;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
code, var, kbd, samp {
|
|
408
|
+
padding: .375rem;
|
|
409
|
+
display: inline-block;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
pre {
|
|
413
|
+
margin-bottom: var(--pico-spacing);
|
|
414
|
+
display: block;
|
|
415
|
+
overflow-x: auto;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
pre > code, pre > samp {
|
|
419
|
+
padding: var(--pico-spacing);
|
|
420
|
+
line-height: var(--pico-line-height);
|
|
421
|
+
background: none;
|
|
422
|
+
display: block;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
kbd {
|
|
426
|
+
background-color: var(--pico-code-kbd-background-color);
|
|
427
|
+
color: var(--pico-code-kbd-color);
|
|
428
|
+
vertical-align: baseline;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
figure {
|
|
432
|
+
margin: 0;
|
|
433
|
+
padding: 0;
|
|
434
|
+
display: block;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
figure figcaption {
|
|
438
|
+
padding: calc(var(--pico-spacing) * .5) 0;
|
|
439
|
+
color: var(--pico-muted-color);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
hr {
|
|
443
|
+
height: 0;
|
|
444
|
+
margin: var(--pico-typography-spacing-vertical) 0;
|
|
445
|
+
border: 0;
|
|
446
|
+
border-top: 1px solid var(--pico-muted-border-color);
|
|
447
|
+
color: inherit;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
[hidden], template {
|
|
451
|
+
display: none !important;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
canvas {
|
|
455
|
+
display: inline-block;
|
|
456
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
:where(a:not([role="button"])), [role="link"] {
|
|
2
|
+
--pico-color: var(--pico-primary);
|
|
3
|
+
--pico-background-color: transparent;
|
|
4
|
+
--pico-underline: var(--pico-primary-underline);
|
|
5
|
+
background-color: var(--pico-background-color);
|
|
6
|
+
color: var(--pico-color);
|
|
7
|
+
-webkit-text-decoration: var(--pico-text-decoration);
|
|
8
|
+
text-decoration: var(--pico-text-decoration);
|
|
9
|
+
text-decoration-color: var(--pico-underline);
|
|
10
|
+
text-underline-offset: .125em;
|
|
11
|
+
transition: background-color var(--pico-transition),
|
|
12
|
+
color var(--pico-transition),
|
|
13
|
+
box-shadow var(--pico-transition),
|
|
14
|
+
-webkit-text-decoration var(--pico-transition);
|
|
15
|
+
transition: background-color var(--pico-transition),
|
|
16
|
+
color var(--pico-transition),
|
|
17
|
+
text-decoration var(--pico-transition),
|
|
18
|
+
box-shadow var(--pico-transition);
|
|
19
|
+
transition: background-color var(--pico-transition),
|
|
20
|
+
color var(--pico-transition),
|
|
21
|
+
text-decoration var(--pico-transition),
|
|
22
|
+
box-shadow var(--pico-transition),
|
|
23
|
+
-webkit-text-decoration var(--pico-transition);
|
|
24
|
+
outline: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
28
|
+
--pico-color: var(--pico-primary-hover);
|
|
29
|
+
--pico-underline: var(--pico-primary-hover-underline);
|
|
30
|
+
--pico-text-decoration: underline;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:where(a:not([role="button"])):focus-visible, [role="link"]:focus-visible {
|
|
34
|
+
box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where(a:not([role="button"])).secondary, [role="link"].secondary {
|
|
38
|
+
--pico-color: var(--pico-secondary);
|
|
39
|
+
--pico-underline: var(--pico-secondary-underline);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
43
|
+
--pico-color: var(--pico-secondary-hover);
|
|
44
|
+
--pico-underline: var(--pico-secondary-hover-underline);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:where(a:not([role="button"])).contrast, [role="link"].contrast {
|
|
48
|
+
--pico-color: var(--pico-contrast);
|
|
49
|
+
--pico-underline: var(--pico-contrast-underline);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
|
|
53
|
+
--pico-color: var(--pico-contrast-hover);
|
|
54
|
+
--pico-underline: var(--pico-contrast-hover-underline);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a[role="button"] {
|
|
58
|
+
display: inline-block;
|
|
59
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
hr {
|
|
2
|
+
height: 0;
|
|
3
|
+
margin: var(--pico-typography-spacing-vertical) 0;
|
|
4
|
+
border: 0;
|
|
5
|
+
border-top: 1px solid var(--pico-muted-border-color);
|
|
6
|
+
color: inherit;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[hidden], template {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
canvas {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
:where(table) {
|
|
2
|
+
border-collapse: collapse;
|
|
3
|
+
border-spacing: 0;
|
|
4
|
+
text-indent: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
th, td {
|
|
9
|
+
padding: calc(var(--pico-spacing) / 2) var(--pico-spacing);
|
|
10
|
+
border-bottom: var(--pico-border-width) solid var(--pico-table-border-color);
|
|
11
|
+
background-color: var(--pico-background-color);
|
|
12
|
+
color: var(--pico-color);
|
|
13
|
+
font-weight: var(--pico-font-weight);
|
|
14
|
+
text-align: start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
tfoot th, tfoot td {
|
|
18
|
+
border-top: var(--pico-border-width) solid var(--pico-table-border-color);
|
|
19
|
+
border-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd) td {
|
|
23
|
+
background-color: var(--pico-table-row-stripped-background-color);
|
|
24
|
+
}
|