opui-css 2.4.0 → 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/LICENSE +21 -21
- package/README.md +20 -7
- package/dist/op.css +1 -14
- package/dist/{op+ui.css → theme-one.css} +4370 -4155
- package/dist/{ui.css → theme-two.css} +4089 -4100
- package/package.json +6 -4
- package/src/core/normalize.css +196 -196
- package/src/core/utils.css +60 -60
- package/src/open-props.css +1 -1
- package/src/{components → themes/theme-one/components}/accordion.css +172 -172
- package/src/{components → themes/theme-one/components}/alert.css +85 -85
- package/src/{components → themes/theme-one/components}/avatar.css +68 -68
- package/src/{components → themes/theme-one/components}/badge.css +101 -101
- package/src/{components → themes/theme-one/components}/button-group.css +69 -69
- package/src/{components → themes/theme-one/components}/button.css +267 -267
- package/src/{components → themes/theme-one/components}/card.css +82 -82
- package/src/{components → themes/theme-one/components}/checkbox-radio.css +123 -123
- package/src/{components → themes/theme-one/components}/chip.css +135 -135
- package/src/{components → themes/theme-one/components}/definition-list.css +65 -65
- package/src/{components → themes/theme-one/components}/dialog.css +59 -59
- package/src/{components → themes/theme-one/components}/divider.css +7 -7
- package/src/{components → themes/theme-one/components}/field-group.css +83 -83
- package/src/{components → themes/theme-one/components}/field.css +494 -494
- package/src/{components → themes/theme-one/components}/icon-button.css +40 -40
- package/src/{components → themes/theme-one/components}/link.css +21 -21
- package/src/{components → themes/theme-one/components}/list.css +317 -317
- package/src/{components → themes/theme-one/components}/progress.css +83 -83
- package/src/{components → themes/theme-one/components}/range.css +121 -121
- package/src/{components → themes/theme-one/components}/rich-text.css +210 -210
- package/src/{components → themes/theme-one/components}/select.css +163 -163
- package/src/{components → themes/theme-one/components}/snackbar.css +148 -148
- package/src/{components → themes/theme-one/components}/spinner.css +38 -38
- package/src/{components → themes/theme-one/components}/switch.css +189 -189
- package/src/{components → themes/theme-one/components}/tab-buttons.css +120 -120
- package/src/themes/theme-one/components/table.css +92 -0
- package/src/{components → themes/theme-one/components}/text-field.css +57 -57
- package/src/{components → themes/theme-one/components}/textarea.css +25 -25
- package/src/{components → themes/theme-one/components}/toggle-button-group.css +135 -139
- package/src/{components → themes/theme-one/components}/tooltip.css +94 -94
- package/src/{components → themes/theme-one/components}/typography.css +209 -209
- package/src/themes/theme-one/components.css +37 -0
- package/src/themes/theme-one/imports.css +16 -0
- package/src/{theme.css → themes/theme-one/theme.css} +163 -163
- package/src/themes/theme-two/components/accordion.css +172 -0
- package/src/themes/theme-two/components/alert.css +85 -0
- package/src/themes/theme-two/components/avatar.css +68 -0
- package/src/themes/theme-two/components/badge.css +101 -0
- package/src/themes/theme-two/components/button-group.css +50 -0
- package/src/themes/theme-two/components/button.css +217 -0
- package/src/themes/theme-two/components/card.css +82 -0
- package/src/themes/theme-two/components/checkbox-radio.css +123 -0
- package/src/themes/theme-two/components/chip.css +135 -0
- package/src/themes/theme-two/components/definition-list.css +65 -0
- package/src/themes/theme-two/components/dialog.css +59 -0
- package/src/themes/theme-two/components/divider.css +7 -0
- package/src/themes/theme-two/components/field-group.css +83 -0
- package/src/themes/theme-two/components/field.css +281 -0
- package/src/themes/theme-two/components/icon-button.css +40 -0
- package/src/themes/theme-two/components/link.css +21 -0
- package/src/themes/theme-two/components/list.css +317 -0
- package/src/themes/theme-two/components/progress.css +83 -0
- package/src/themes/theme-two/components/range.css +121 -0
- package/src/themes/theme-two/components/rich-text.css +210 -0
- package/src/themes/theme-two/components/select.css +162 -0
- package/src/themes/theme-two/components/snackbar.css +148 -0
- package/src/themes/theme-two/components/spinner.css +38 -0
- package/src/themes/theme-two/components/switch.css +189 -0
- package/src/themes/theme-two/components/tab-buttons.css +120 -0
- package/src/{components → themes/theme-two/components}/table.css +99 -107
- package/src/themes/theme-two/components/text-field.css +57 -0
- package/src/themes/theme-two/components/textarea.css +25 -0
- package/src/themes/theme-two/components/toggle-button-group.css +135 -0
- package/src/themes/theme-two/components/tooltip.css +94 -0
- package/src/themes/theme-two/components/typography.css +209 -0
- package/src/themes/theme-two/components.css +37 -0
- package/src/themes/theme-two/imports.css +16 -0
- package/src/themes/theme-two/theme.css +158 -0
- package/src/core/components.css +0 -37
- package/src/main.css +0 -13
- package/src/opui.css +0 -10
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
@layer components.root {
|
|
2
|
-
[aria-busy="true"]:not(
|
|
3
|
-
input,
|
|
4
|
-
select,
|
|
5
|
-
textarea,
|
|
6
|
-
html,
|
|
7
|
-
progress,
|
|
8
|
-
[aria-describedby]
|
|
9
|
-
) {
|
|
10
|
-
position: relative;
|
|
11
|
-
|
|
12
|
-
&::before {
|
|
13
|
-
animation: spin 0.7s linear infinite;
|
|
14
|
-
border-color: transparent currentColor currentColor;
|
|
15
|
-
border-radius: 50%;
|
|
16
|
-
border-style: solid;
|
|
17
|
-
border-width: 3px;
|
|
18
|
-
content: "";
|
|
19
|
-
display: inline-block;
|
|
20
|
-
block-size: 1em;
|
|
21
|
-
opacity: 0.5;
|
|
22
|
-
vertical-align: -0.14em;
|
|
23
|
-
inline-size: 1em;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:not(button.button):not(:empty) {
|
|
27
|
-
&::before {
|
|
28
|
-
margin-inline-end: 0.5em;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@keyframes spin {
|
|
34
|
-
to {
|
|
35
|
-
transform: rotate(1turn);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
@layer components.root {
|
|
2
|
+
[aria-busy="true"]:not(
|
|
3
|
+
input,
|
|
4
|
+
select,
|
|
5
|
+
textarea,
|
|
6
|
+
html,
|
|
7
|
+
progress,
|
|
8
|
+
[aria-describedby]
|
|
9
|
+
) {
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
&::before {
|
|
13
|
+
animation: spin 0.7s linear infinite;
|
|
14
|
+
border-color: transparent currentColor currentColor;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
border-style: solid;
|
|
17
|
+
border-width: 3px;
|
|
18
|
+
content: "";
|
|
19
|
+
display: inline-block;
|
|
20
|
+
block-size: 1em;
|
|
21
|
+
opacity: 0.5;
|
|
22
|
+
vertical-align: -0.14em;
|
|
23
|
+
inline-size: 1em;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:not(button.button):not(:empty) {
|
|
27
|
+
&::before {
|
|
28
|
+
margin-inline-end: 0.5em;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes spin {
|
|
34
|
+
to {
|
|
35
|
+
transform: rotate(1turn);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,189 +1,189 @@
|
|
|
1
|
-
@layer components.root {
|
|
2
|
-
:where(.switch) {
|
|
3
|
-
--_accent-color: var(--primary);
|
|
4
|
-
--_accent-contrast: var(--primary-contrast);
|
|
5
|
-
|
|
6
|
-
--_dot-bg-color: light-dark(var(--gray-11), var(--gray-14));
|
|
7
|
-
--_dot-inset: var(--size-1) auto auto var(--size-1);
|
|
8
|
-
--_dot-outline-size: 0;
|
|
9
|
-
--_dot-size: var(--size-3);
|
|
10
|
-
|
|
11
|
-
--_track-bg-color: light-dark(var(--gray-3), var(--gray-8));
|
|
12
|
-
--_track-height: var(--size-5);
|
|
13
|
-
--_track-width: var(--size-8);
|
|
14
|
-
--_transition-tf: var(--ease-4);
|
|
15
|
-
--_transition-time: 0.2s;
|
|
16
|
-
|
|
17
|
-
align-items: center;
|
|
18
|
-
color: var(--text-color-1);
|
|
19
|
-
display: inline-grid;
|
|
20
|
-
gap: 0 var(--size-2);
|
|
21
|
-
grid-auto-columns: auto;
|
|
22
|
-
grid-auto-flow: column;
|
|
23
|
-
inline-size: fit-content;
|
|
24
|
-
|
|
25
|
-
input[type="checkbox"][role="switch"] {
|
|
26
|
-
appearance: none;
|
|
27
|
-
block-size: var(--_track-height);
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
inline-size: var(--_track-width);
|
|
30
|
-
margin: 0;
|
|
31
|
-
position: relative;
|
|
32
|
-
|
|
33
|
-
/* Track */
|
|
34
|
-
&::before {
|
|
35
|
-
background-color: var(--_track-bg-color);
|
|
36
|
-
block-size: var(--_track-height);
|
|
37
|
-
border: 1px solid var(--_dot-bg-color);
|
|
38
|
-
border-radius: 100vmax;
|
|
39
|
-
content: "";
|
|
40
|
-
inline-size: var(--_track-width);
|
|
41
|
-
inset: 0;
|
|
42
|
-
position: absolute;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:focus-visible {
|
|
46
|
-
outline-offset: 2px;
|
|
47
|
-
outline: 2px solid currentColor;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/* Dot */
|
|
51
|
-
&::after {
|
|
52
|
-
background-color: var(--_dot-bg-color);
|
|
53
|
-
block-size: var(--_dot-size);
|
|
54
|
-
border-radius: 100vmax;
|
|
55
|
-
content: "";
|
|
56
|
-
inline-size: var(--_dot-size);
|
|
57
|
-
inset: var(--_dot-inset);
|
|
58
|
-
outline-offset: -1px;
|
|
59
|
-
outline: var(--_dot-outline-size) solid var(--_dot-bg-color);
|
|
60
|
-
position: absolute;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* Checked */
|
|
64
|
-
&:checked {
|
|
65
|
-
&::before {
|
|
66
|
-
background-color: var(--_accent-color);
|
|
67
|
-
border-color: var(--_accent-color);
|
|
68
|
-
transition: background-color var(--_transition-time)
|
|
69
|
-
var(--_transition-tf),
|
|
70
|
-
border-color var(--_transition-time) var(--_transition-tf);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Dot */
|
|
74
|
-
&::after {
|
|
75
|
-
--_dot-bg-color: var(--_accent-contrast);
|
|
76
|
-
--_dot-outline-size: calc(var(--size-1) - 1px);
|
|
77
|
-
|
|
78
|
-
inset-inline-start: calc(
|
|
79
|
-
var(--_track-width) - var(--_dot-size) - var(--size-1)
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Animation */
|
|
85
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
86
|
-
/* Track */
|
|
87
|
-
&::before {
|
|
88
|
-
transition: background-color var(--_transition-time)
|
|
89
|
-
var(--_transition-tf),
|
|
90
|
-
border-color var(--_transition-time) var(--_transition-tf);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* Dot */
|
|
94
|
-
&::after {
|
|
95
|
-
transition: all var(--_transition-time) var(--_transition-tf);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:active:after {
|
|
99
|
-
--_dot-outline-size: calc(var(--size-1) + 1px);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&:checked {
|
|
103
|
-
&:active:after {
|
|
104
|
-
--_dot-outline-size: calc(var(--size-1) + 1px);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* Required dot */
|
|
111
|
-
&:has([required]:not(:checked)) {
|
|
112
|
-
.label:after {
|
|
113
|
-
color: var(--red);
|
|
114
|
-
content: "*";
|
|
115
|
-
inset: 0 -0.25ex auto auto;
|
|
116
|
-
position: absolute;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* Disabled */
|
|
121
|
-
&:has([disabled]) {
|
|
122
|
-
cursor: not-allowed;
|
|
123
|
-
opacity: 0.64;
|
|
124
|
-
user-select: none;
|
|
125
|
-
|
|
126
|
-
input {
|
|
127
|
-
cursor: not-allowed;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* Label */
|
|
132
|
-
.label {
|
|
133
|
-
grid-column: 2;
|
|
134
|
-
grid-row: 1;
|
|
135
|
-
min-width: 0;
|
|
136
|
-
padding-inline: 0 1ex;
|
|
137
|
-
position: relative;
|
|
138
|
-
user-select: none;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/* Supporting text */
|
|
142
|
-
.supporting-text {
|
|
143
|
-
color: var(--text-color-2);
|
|
144
|
-
font-size: var(--font-size-xs);
|
|
145
|
-
grid-column: 2;
|
|
146
|
-
grid-row: 2;
|
|
147
|
-
line-height: 1.5;
|
|
148
|
-
z-index: 1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/* Size */
|
|
152
|
-
&.small {
|
|
153
|
-
--_dot-size: 0.75rem;
|
|
154
|
-
--_track-height: var(--size-4);
|
|
155
|
-
--_track-width: 2.5rem;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* Stacked layout */
|
|
159
|
-
&.stack {
|
|
160
|
-
justify-items: center;
|
|
161
|
-
grid-auto-columns: unset;
|
|
162
|
-
|
|
163
|
-
.label {
|
|
164
|
-
grid-column: 1/-1;
|
|
165
|
-
grid-row: 2;
|
|
166
|
-
margin-block-start: var(--size-1);
|
|
167
|
-
padding-inline: 1ex;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.supporting-text {
|
|
171
|
-
grid-column: 1/-1;
|
|
172
|
-
grid-row: 3;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* Validation */
|
|
177
|
-
&.error {
|
|
178
|
-
input {
|
|
179
|
-
outline: 2px solid var(--color-9);
|
|
180
|
-
border-radius: var(--radius-round);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.label,
|
|
184
|
-
.supporting-text {
|
|
185
|
-
color: var(--color-9);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
1
|
+
@layer components.root {
|
|
2
|
+
:where(.switch) {
|
|
3
|
+
--_accent-color: var(--primary);
|
|
4
|
+
--_accent-contrast: var(--primary-contrast);
|
|
5
|
+
|
|
6
|
+
--_dot-bg-color: light-dark(var(--gray-11), var(--gray-14));
|
|
7
|
+
--_dot-inset: var(--size-1) auto auto var(--size-1);
|
|
8
|
+
--_dot-outline-size: 0;
|
|
9
|
+
--_dot-size: var(--size-3);
|
|
10
|
+
|
|
11
|
+
--_track-bg-color: light-dark(var(--gray-3), var(--gray-8));
|
|
12
|
+
--_track-height: var(--size-5);
|
|
13
|
+
--_track-width: var(--size-8);
|
|
14
|
+
--_transition-tf: var(--ease-4);
|
|
15
|
+
--_transition-time: 0.2s;
|
|
16
|
+
|
|
17
|
+
align-items: center;
|
|
18
|
+
color: var(--text-color-1);
|
|
19
|
+
display: inline-grid;
|
|
20
|
+
gap: 0 var(--size-2);
|
|
21
|
+
grid-auto-columns: auto;
|
|
22
|
+
grid-auto-flow: column;
|
|
23
|
+
inline-size: fit-content;
|
|
24
|
+
|
|
25
|
+
input[type="checkbox"][role="switch"] {
|
|
26
|
+
appearance: none;
|
|
27
|
+
block-size: var(--_track-height);
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
inline-size: var(--_track-width);
|
|
30
|
+
margin: 0;
|
|
31
|
+
position: relative;
|
|
32
|
+
|
|
33
|
+
/* Track */
|
|
34
|
+
&::before {
|
|
35
|
+
background-color: var(--_track-bg-color);
|
|
36
|
+
block-size: var(--_track-height);
|
|
37
|
+
border: 1px solid var(--_dot-bg-color);
|
|
38
|
+
border-radius: 100vmax;
|
|
39
|
+
content: "";
|
|
40
|
+
inline-size: var(--_track-width);
|
|
41
|
+
inset: 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus-visible {
|
|
46
|
+
outline-offset: 2px;
|
|
47
|
+
outline: 2px solid currentColor;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Dot */
|
|
51
|
+
&::after {
|
|
52
|
+
background-color: var(--_dot-bg-color);
|
|
53
|
+
block-size: var(--_dot-size);
|
|
54
|
+
border-radius: 100vmax;
|
|
55
|
+
content: "";
|
|
56
|
+
inline-size: var(--_dot-size);
|
|
57
|
+
inset: var(--_dot-inset);
|
|
58
|
+
outline-offset: -1px;
|
|
59
|
+
outline: var(--_dot-outline-size) solid var(--_dot-bg-color);
|
|
60
|
+
position: absolute;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Checked */
|
|
64
|
+
&:checked {
|
|
65
|
+
&::before {
|
|
66
|
+
background-color: var(--_accent-color);
|
|
67
|
+
border-color: var(--_accent-color);
|
|
68
|
+
transition: background-color var(--_transition-time)
|
|
69
|
+
var(--_transition-tf),
|
|
70
|
+
border-color var(--_transition-time) var(--_transition-tf);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Dot */
|
|
74
|
+
&::after {
|
|
75
|
+
--_dot-bg-color: var(--_accent-contrast);
|
|
76
|
+
--_dot-outline-size: calc(var(--size-1) - 1px);
|
|
77
|
+
|
|
78
|
+
inset-inline-start: calc(
|
|
79
|
+
var(--_track-width) - var(--_dot-size) - var(--size-1)
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Animation */
|
|
85
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
86
|
+
/* Track */
|
|
87
|
+
&::before {
|
|
88
|
+
transition: background-color var(--_transition-time)
|
|
89
|
+
var(--_transition-tf),
|
|
90
|
+
border-color var(--_transition-time) var(--_transition-tf);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Dot */
|
|
94
|
+
&::after {
|
|
95
|
+
transition: all var(--_transition-time) var(--_transition-tf);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:active:after {
|
|
99
|
+
--_dot-outline-size: calc(var(--size-1) + 1px);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:checked {
|
|
103
|
+
&:active:after {
|
|
104
|
+
--_dot-outline-size: calc(var(--size-1) + 1px);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Required dot */
|
|
111
|
+
&:has([required]:not(:checked)) {
|
|
112
|
+
.label:after {
|
|
113
|
+
color: var(--red);
|
|
114
|
+
content: "*";
|
|
115
|
+
inset: 0 -0.25ex auto auto;
|
|
116
|
+
position: absolute;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Disabled */
|
|
121
|
+
&:has([disabled]) {
|
|
122
|
+
cursor: not-allowed;
|
|
123
|
+
opacity: 0.64;
|
|
124
|
+
user-select: none;
|
|
125
|
+
|
|
126
|
+
input {
|
|
127
|
+
cursor: not-allowed;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Label */
|
|
132
|
+
.label {
|
|
133
|
+
grid-column: 2;
|
|
134
|
+
grid-row: 1;
|
|
135
|
+
min-width: 0;
|
|
136
|
+
padding-inline: 0 1ex;
|
|
137
|
+
position: relative;
|
|
138
|
+
user-select: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Supporting text */
|
|
142
|
+
.supporting-text {
|
|
143
|
+
color: var(--text-color-2);
|
|
144
|
+
font-size: var(--font-size-xs);
|
|
145
|
+
grid-column: 2;
|
|
146
|
+
grid-row: 2;
|
|
147
|
+
line-height: 1.5;
|
|
148
|
+
z-index: 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Size */
|
|
152
|
+
&.small {
|
|
153
|
+
--_dot-size: 0.75rem;
|
|
154
|
+
--_track-height: var(--size-4);
|
|
155
|
+
--_track-width: 2.5rem;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* Stacked layout */
|
|
159
|
+
&.stack {
|
|
160
|
+
justify-items: center;
|
|
161
|
+
grid-auto-columns: unset;
|
|
162
|
+
|
|
163
|
+
.label {
|
|
164
|
+
grid-column: 1/-1;
|
|
165
|
+
grid-row: 2;
|
|
166
|
+
margin-block-start: var(--size-1);
|
|
167
|
+
padding-inline: 1ex;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.supporting-text {
|
|
171
|
+
grid-column: 1/-1;
|
|
172
|
+
grid-row: 3;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Validation */
|
|
177
|
+
&.error {
|
|
178
|
+
input {
|
|
179
|
+
outline: 2px solid var(--color-9);
|
|
180
|
+
border-radius: var(--radius-round);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.label,
|
|
184
|
+
.supporting-text {
|
|
185
|
+
color: var(--color-9);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|