@anyblades/blades 3.1.0-beta.5 → 3.1.0-beta.7
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/.prettierrc.json +0 -7
- package/README.md +27 -50
- package/_includes/.prettierrc.json +12 -0
- package/_includes/package.json +10 -0
- package/css/blades.css +941 -1804
- package/css/blades.min.css +11 -1
- package/css/blades.ninja.css +1123 -2264
- package/css/blades.ninja.min.css +16 -1
- package/css/float-label.css +34 -187
- package/css/float-label.min.css +1 -1
- package/css/layered/blades.layered.css +941 -1804
- package/css/layered/blades.layered.min.css +11 -1
- package/css/layered/compact.css +10 -31
- package/css/layered/components/accordion.css +32 -21
- package/css/layered/components/card.css +8 -16
- package/css/layered/components/dropdown-popover.css +44 -59
- package/css/layered/components/dropdown.css +61 -61
- package/css/layered/components/group.css +40 -156
- package/css/layered/components/loading.css +28 -35
- package/css/layered/components/modal-modern.css +7 -15
- package/css/layered/components/modal.css +54 -65
- package/css/layered/components/nav.css +36 -36
- package/css/layered/components/progress.css +18 -23
- package/css/layered/components/timeline.css +5 -19
- package/css/layered/components/tooltip.css +88 -103
- package/css/layered/components.css +371 -517
- package/css/layered/content/button.css +37 -117
- package/css/layered/content/code-block.css +11 -23
- package/css/layered/content/code.css +11 -26
- package/css/layered/content/embedded-content.css +5 -10
- package/css/layered/content/figure.css +3 -5
- package/css/layered/content/icon.css +20 -47
- package/css/layered/content/link.css +18 -40
- package/css/layered/content/misc.css +1 -5
- package/css/layered/content/table.css +4 -10
- package/css/layered/content/typography.css +22 -41
- package/css/layered/content.css +102 -254
- package/css/layered/forms/basics.css +64 -142
- package/css/layered/forms/checkbox-radio-switch.css +46 -75
- package/css/layered/forms/float-label/core.css +13 -85
- package/css/layered/forms/float-label/theme.css +22 -104
- package/css/layered/forms/float-label.css +34 -187
- package/css/layered/forms/input-color.css +5 -5
- package/css/layered/forms/input-datetime.css +9 -26
- package/css/layered/forms/input-file.css +7 -8
- package/css/layered/forms/input-range.css +43 -50
- package/css/layered/forms/input-search.css +16 -47
- package/css/layered/forms.css +197 -355
- package/css/layered/layout/columns.css +4 -24
- package/css/layered/layout/container.css +13 -13
- package/css/layered/layout/document.css +4 -12
- package/css/layered/layout/grid.css +6 -8
- package/css/layered/layout/landmarks.css +1 -7
- package/css/layered/layout/overflow-auto.css +0 -3
- package/css/layered/layout/section.css +0 -3
- package/css/layered/layout.css +26 -39
- package/css/layered/utilities.css +6 -15
- package/css/layered/variables-blades.css +4 -16
- package/css/layered/variables.css +77 -181
- package/css/pico.conditional.css +785 -1368
- package/css/pico.conditional.min.css +1 -1
- package/css/pico.css +785 -1368
- package/css/pico.min.css +1 -1
- package/package.json +43 -31
- package/src/blades/_index.css +9 -9
- package/src/blades/components/_dropdown-popover.css +2 -0
- package/src/blades/components/_modal-modern.css +2 -0
- package/src/blades/forms/float-label/_index.css +2 -2
- package/src/blades.css +2 -2
- package/src/blades.ninja.css +3 -3
- package/src/float-label.css +1 -1
- package/src/ninja/_index.css +8 -9
- package/src/ninja/_table-helpers.css +4 -4
- package/src/ninja/_table-responsive.css +5 -5
- package/src/ninja/_utilities.css +1 -1
- package/src/pico/_index.css +6 -6
- package/src/pico/components/_index.css +9 -9
- package/src/pico/content/_index.css +8 -8
- package/src/pico/forms/_index.css +7 -7
- package/src/pico/layout/_index.css +5 -5
- package/src/pico.css +2 -2
- package/src/ninja/_scroll-to.css +0 -10
|
@@ -1,36 +1,24 @@
|
|
|
1
1
|
@layer blades {
|
|
2
|
-
|
|
3
|
-
* Typography
|
|
4
|
-
*/
|
|
5
|
-
b,
|
|
6
|
-
strong {
|
|
2
|
+
b, strong {
|
|
7
3
|
font-weight: bolder;
|
|
8
4
|
}
|
|
9
5
|
|
|
10
|
-
sub,
|
|
11
|
-
sup {
|
|
12
|
-
position: relative;
|
|
13
|
-
font-size: 0.75em;
|
|
14
|
-
line-height: 0;
|
|
6
|
+
sub, sup {
|
|
15
7
|
vertical-align: baseline;
|
|
8
|
+
font-size: .75em;
|
|
9
|
+
line-height: 0;
|
|
10
|
+
position: relative;
|
|
16
11
|
}
|
|
17
12
|
|
|
18
13
|
sub {
|
|
19
|
-
bottom:
|
|
14
|
+
bottom: -.25em;
|
|
20
15
|
}
|
|
21
16
|
|
|
22
17
|
sup {
|
|
23
|
-
top:
|
|
18
|
+
top: -.5em;
|
|
24
19
|
}
|
|
25
20
|
|
|
26
|
-
address,
|
|
27
|
-
blockquote,
|
|
28
|
-
dl,
|
|
29
|
-
ol,
|
|
30
|
-
p,
|
|
31
|
-
pre,
|
|
32
|
-
table,
|
|
33
|
-
ul {
|
|
21
|
+
address, blockquote, dl, ol, p, pre, table, ul {
|
|
34
22
|
margin-top: 0;
|
|
35
23
|
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
36
24
|
color: var(--pico-color);
|
|
@@ -38,12 +26,7 @@ ul {
|
|
|
38
26
|
font-weight: var(--pico-font-weight);
|
|
39
27
|
}
|
|
40
28
|
|
|
41
|
-
h1,
|
|
42
|
-
h2,
|
|
43
|
-
h3,
|
|
44
|
-
h4,
|
|
45
|
-
h5,
|
|
46
|
-
h6 {
|
|
29
|
+
h1, h2, h3, h4, h5, h6 {
|
|
47
30
|
margin-top: 0;
|
|
48
31
|
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
49
32
|
color: var(--pico-color);
|
|
@@ -77,35 +60,32 @@ h6 {
|
|
|
77
60
|
--pico-color: var(--pico-h6-color);
|
|
78
61
|
}
|
|
79
62
|
|
|
80
|
-
:where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul)
|
|
81
|
-
~ :is(h1, h2, h3, h4, h5, h6) {
|
|
63
|
+
:where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
|
|
82
64
|
margin-top: var(--pico-typography-spacing-top);
|
|
83
65
|
}
|
|
84
66
|
|
|
85
|
-
p {
|
|
67
|
+
p, hgroup {
|
|
86
68
|
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
87
69
|
}
|
|
88
70
|
|
|
89
|
-
hgroup {
|
|
90
|
-
margin-bottom: var(--pico-typography-spacing-vertical);
|
|
91
|
-
}
|
|
92
71
|
hgroup > * {
|
|
93
72
|
margin-top: 0;
|
|
94
73
|
margin-bottom: 0;
|
|
95
74
|
}
|
|
96
|
-
|
|
75
|
+
|
|
76
|
+
hgroup > :not(:first-child):last-child {
|
|
97
77
|
--pico-color: var(--pico-muted-color);
|
|
98
78
|
--pico-font-weight: unset;
|
|
99
79
|
font-size: 1rem;
|
|
100
80
|
}
|
|
101
81
|
|
|
102
82
|
:where(ol, ul) li {
|
|
103
|
-
margin-bottom: calc(var(--pico-typography-spacing-vertical) *
|
|
83
|
+
margin-bottom: calc(var(--pico-typography-spacing-vertical) * .25);
|
|
104
84
|
}
|
|
105
85
|
|
|
106
86
|
:where(dl, ol, ul) :where(dl, ol, ul) {
|
|
107
87
|
margin: 0;
|
|
108
|
-
margin-top: calc(var(--pico-typography-spacing-vertical) *
|
|
88
|
+
margin-top: calc(var(--pico-typography-spacing-vertical) * .25);
|
|
109
89
|
}
|
|
110
90
|
|
|
111
91
|
ul li {
|
|
@@ -113,30 +93,31 @@ ul li {
|
|
|
113
93
|
}
|
|
114
94
|
|
|
115
95
|
mark {
|
|
116
|
-
padding: 0.125rem 0.25rem;
|
|
117
96
|
background-color: var(--pico-mark-background-color);
|
|
118
97
|
color: var(--pico-mark-color);
|
|
119
98
|
vertical-align: baseline;
|
|
99
|
+
padding: .125rem .25rem;
|
|
120
100
|
}
|
|
121
101
|
|
|
122
102
|
blockquote {
|
|
123
|
-
display: block;
|
|
124
103
|
margin: var(--pico-typography-spacing-vertical) 0;
|
|
125
104
|
padding: var(--pico-spacing);
|
|
126
105
|
border-right: none;
|
|
127
|
-
border-left:
|
|
128
|
-
border-inline-start:
|
|
106
|
+
border-left: .25rem solid var(--pico-blockquote-border-color);
|
|
107
|
+
border-inline-start: .25rem solid var(--pico-blockquote-border-color);
|
|
129
108
|
border-inline-end: none;
|
|
109
|
+
display: block;
|
|
130
110
|
}
|
|
111
|
+
|
|
131
112
|
blockquote footer {
|
|
132
|
-
margin-top: calc(var(--pico-typography-spacing-vertical) *
|
|
113
|
+
margin-top: calc(var(--pico-typography-spacing-vertical) * .5);
|
|
133
114
|
color: var(--pico-blockquote-footer-color);
|
|
134
115
|
}
|
|
135
116
|
|
|
136
117
|
abbr[title] {
|
|
118
|
+
cursor: help;
|
|
137
119
|
border-bottom: 1px dotted;
|
|
138
120
|
text-decoration: none;
|
|
139
|
-
cursor: help;
|
|
140
121
|
}
|
|
141
122
|
|
|
142
123
|
ins {
|