@esportsplus/ui 0.0.1 → 0.0.2
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/.gitattributes +2 -2
- package/components/accordion/scss/accordion.scss +16 -16
- package/components/accordion/scss/variables.scss +4 -4
- package/components/anchor/scss/anchor.scss +41 -41
- package/components/anchor/scss/anchors.scss +9 -9
- package/components/anchor/scss/variables.scss +5 -5
- package/components/banner/scss/banner.scss +13 -13
- package/components/border/scss/border.scss +10 -10
- package/components/border/scss/variables.scss +6 -6
- package/components/bubble/scss/bubble.scss +30 -30
- package/components/bubble/scss/variables.scss +19 -19
- package/components/button/scss/button.scss +93 -93
- package/components/button/scss/variables.scss +70 -70
- package/components/card/scss/card.scss +36 -36
- package/components/card/scss/variables.scss +42 -42
- package/components/container/scss/container.scss +10 -10
- package/components/container/scss/variables.scss +5 -5
- package/components/field/scss/_check.scss +225 -225
- package/components/field/scss/_normalize.scss +36 -36
- package/components/field/scss/_text.scss +103 -103
- package/components/field/scss/field.scss +137 -132
- package/components/field/scss/variables.scss +138 -133
- package/components/group/scss/group.scss +41 -41
- package/components/group/scss/variables.scss +25 -25
- package/components/icon/scss/icon.scss +18 -18
- package/components/icon/scss/variables.scss +8 -8
- package/components/link/scss/link.scss +29 -29
- package/components/link/scss/variables.scss +48 -48
- package/components/loading/scss/loading.scss +24 -24
- package/components/loading/scss/variables.scss +31 -31
- package/components/page/scss/page.scss +22 -22
- package/components/page/scss/variables.scss +19 -19
- package/components/root/scss/root.scss +93 -93
- package/components/root/scss/variables.scss +54 -54
- package/components/row/scss/row.scss +8 -8
- package/components/scrollbar/scss/scrollbar.scss +51 -51
- package/components/scrollbar/scss/variables.scss +8 -8
- package/components/sidebar/scss/sidebar.scss +50 -50
- package/components/sidebar/scss/sidebars.scss +13 -13
- package/components/sidebar/scss/variables.scss +25 -25
- package/components/text/scss/text.scss +12 -12
- package/components/text/scss/variables.scss +9 -9
- package/components/thumbnail/scss/thumbnail.scss +7 -7
- package/components/thumbnail/scss/variables.scss +7 -7
- package/components/tooltip/scss/_center.scss +13 -13
- package/components/tooltip/scss/_east.scss +34 -34
- package/components/tooltip/scss/_north.scss +34 -34
- package/components/tooltip/scss/_south.scss +35 -35
- package/components/tooltip/scss/_west.scss +34 -34
- package/components/tooltip/scss/tooltip.scss +107 -107
- package/components/tooltip/scss/variables.scss +25 -25
- package/css-utilities/[margin,padding]/scss/styles.scss +41 -41
- package/css-utilities/[margin,padding]/scss/variables.scss +52 -52
- package/css-utilities/[max,min]/scss/variables.scss +23 -23
- package/css-utilities/absolute/scss/absolute.scss +59 -59
- package/css-utilities/background/scss/variables.scss +28 -28
- package/css-utilities/border/scss/border.scss +21 -21
- package/css-utilities/border/scss/variables.scss +66 -66
- package/css-utilities/color/scss/variables.scss +32 -32
- package/css-utilities/flex/scss/flex.scss +67 -67
- package/css-utilities/hidden/scss/hidden.scss +28 -28
- package/css-utilities/index.scss +14 -14
- package/css-utilities/pointer/scss/pointer.scss +5 -5
- package/css-utilities/size/scss/variables.scss +12 -12
- package/css-utilities/slide/scss/slide.scss +20 -20
- package/css-utilities/slide/scss/variables.scss +6 -6
- package/css-utilities/text/scss/text.scss +93 -93
- package/css-utilities/text/scss/variables.scss +31 -31
- package/css-utilities/width/scss/variables.scss +12 -12
- package/lib/index.scss +7 -7
- package/lib/scss/color.scss +8 -8
- package/lib/scss/list.scss +112 -112
- package/lib/scss/string.scss +54 -54
- package/package.json +22 -22
- package/storage/fonts/Montserrat/montserrat.css +79 -79
- package/tokens/index.scss +11 -11
- package/tokens/scss/border-radius.scss +12 -12
- package/tokens/scss/border-width.scss +6 -6
- package/tokens/scss/box-shadow.scss +13 -13
- package/tokens/scss/breakpoints.scss +13 -13
- package/tokens/scss/color.scss +71 -71
- package/tokens/scss/font-size.scss +12 -12
- package/tokens/scss/font-weight.scss +6 -6
- package/tokens/scss/line-height.scss +6 -6
- package/tokens/scss/size.scss +13 -13
- package/tokens/scss/state.scss +93 -93
- package/tokens/scss/transition-duration.scss +5 -5
- package/webpack.sass.config.js +59 -59
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
@mixin normalize() {
|
|
2
|
-
button,
|
|
3
|
-
input,
|
|
4
|
-
select,
|
|
5
|
-
textarea {
|
|
6
|
-
background: transparent;
|
|
7
|
-
border-radius: 0;
|
|
8
|
-
border: 0;
|
|
9
|
-
font-family: inherit;
|
|
10
|
-
font-size: inherit;
|
|
11
|
-
line-height: inherit;
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
|
|
15
|
-
&,
|
|
16
|
-
&:active,
|
|
17
|
-
&:focus,
|
|
18
|
-
&:hover {
|
|
19
|
-
outline: none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:invalid {
|
|
23
|
-
box-shadow: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
form {
|
|
28
|
-
margin: 0;
|
|
29
|
-
padding: 0;
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
label {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
@mixin normalize() {
|
|
2
|
+
button,
|
|
3
|
+
input,
|
|
4
|
+
select,
|
|
5
|
+
textarea {
|
|
6
|
+
background: transparent;
|
|
7
|
+
border-radius: 0;
|
|
8
|
+
border: 0;
|
|
9
|
+
font-family: inherit;
|
|
10
|
+
font-size: inherit;
|
|
11
|
+
line-height: inherit;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
|
|
15
|
+
&,
|
|
16
|
+
&:active,
|
|
17
|
+
&:focus,
|
|
18
|
+
&:hover {
|
|
19
|
+
outline: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:invalid {
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
form {
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding: 0;
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
label {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
@use 'ui/lib';
|
|
2
|
-
@use 'ui/tokens';
|
|
3
|
-
|
|
4
|
-
@mixin css() {
|
|
5
|
-
&-mask {
|
|
6
|
-
&--input,
|
|
7
|
-
&--select {
|
|
8
|
-
align-items: center;
|
|
9
|
-
background: var(--background);
|
|
10
|
-
border: var(--border-width) var(--border-style) var(--border-color);
|
|
11
|
-
border-radius: var(--border-radius);
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
font-size: var(--font-size);
|
|
15
|
-
line-height: var(--line-height);
|
|
16
|
-
position: relative;
|
|
17
|
-
width: 100%;
|
|
18
|
-
|
|
19
|
-
&:invalid,
|
|
20
|
-
&:required {
|
|
21
|
-
box-shadow: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&,
|
|
25
|
-
.field-tag {
|
|
26
|
-
color: var(--color);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Truncate Overflowing Text
|
|
31
|
-
&--input .field-tag,
|
|
32
|
-
&--select .field-text {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&--input {
|
|
39
|
-
cursor: text;
|
|
40
|
-
// Necessary To Maintain Height Of Hidden Password Fields In Floating Modals
|
|
41
|
-
// - Password Managers Cause Problems When Fields Are Not Using 'display:hidden' On Password Fields
|
|
42
|
-
min-height: calc((var(--padding-vertical) * 2) + var(--size));
|
|
43
|
-
|
|
44
|
-
.field-tag {
|
|
45
|
-
flex: 1 1 auto;
|
|
46
|
-
padding: var(--padding-vertical) var(--padding-horizontal);
|
|
47
|
-
min-width: 0;
|
|
48
|
-
|
|
49
|
-
&[type='number'] {
|
|
50
|
-
appearance: textfield;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&--select {
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
padding: var(--padding-vertical) calc((var(--padding-horizontal) / 1.5) + var(--arrow-size)) var(--padding-vertical) var(--padding-horizontal);
|
|
58
|
-
|
|
59
|
-
&.--padding {
|
|
60
|
-
padding-right: calc((var(--padding-horizontal) * 1.5) + var(--arrow-size));
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Down Arrow
|
|
65
|
-
&-arrow {
|
|
66
|
-
@include lib.position(absolute, null calc(var(--padding-horizontal) + var(--arrow-spacer)) calc(50% + var(--arrow-spacer)) null);
|
|
67
|
-
border-color: var(--border-color);
|
|
68
|
-
border-style: var(--border-style);
|
|
69
|
-
border-width: 0 var(--border-width) var(--border-width) 0;
|
|
70
|
-
content: '';
|
|
71
|
-
height: var(--arrow-size);
|
|
72
|
-
transform: translateY(50%) rotate(45deg);
|
|
73
|
-
width: var(--arrow-size);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&-text {
|
|
78
|
-
padding-right: var(--padding-horizontal);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@mixin variables() {
|
|
83
|
-
&-mask {
|
|
84
|
-
&--input,
|
|
85
|
-
&--select {
|
|
86
|
-
--font-size: var(--font-size-400);
|
|
87
|
-
--line-height: var(--line-height-400);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&--input {
|
|
91
|
-
--size: var(--size-400);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&--select {
|
|
95
|
-
--arrow-spacer: 1px;
|
|
96
|
-
--arrow-size: 6px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-arrow {
|
|
100
|
-
--border-width: var(--border-width-500);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
1
|
+
@use 'ui/lib';
|
|
2
|
+
@use 'ui/tokens';
|
|
3
|
+
|
|
4
|
+
@mixin css() {
|
|
5
|
+
&-mask {
|
|
6
|
+
&--input,
|
|
7
|
+
&--select {
|
|
8
|
+
align-items: center;
|
|
9
|
+
background: var(--background);
|
|
10
|
+
border: var(--border-width) var(--border-style) var(--border-color);
|
|
11
|
+
border-radius: var(--border-radius);
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
font-size: var(--font-size);
|
|
15
|
+
line-height: var(--line-height);
|
|
16
|
+
position: relative;
|
|
17
|
+
width: 100%;
|
|
18
|
+
|
|
19
|
+
&:invalid,
|
|
20
|
+
&:required {
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&,
|
|
25
|
+
.field-tag {
|
|
26
|
+
color: var(--color);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Truncate Overflowing Text
|
|
31
|
+
&--input .field-tag,
|
|
32
|
+
&--select .field-text {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--input {
|
|
39
|
+
cursor: text;
|
|
40
|
+
// Necessary To Maintain Height Of Hidden Password Fields In Floating Modals
|
|
41
|
+
// - Password Managers Cause Problems When Fields Are Not Using 'display:hidden' On Password Fields
|
|
42
|
+
min-height: calc((var(--padding-vertical) * 2) + var(--size));
|
|
43
|
+
|
|
44
|
+
.field-tag {
|
|
45
|
+
flex: 1 1 auto;
|
|
46
|
+
padding: var(--padding-vertical) var(--padding-horizontal);
|
|
47
|
+
min-width: 0;
|
|
48
|
+
|
|
49
|
+
&[type='number'] {
|
|
50
|
+
appearance: textfield;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--select {
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
padding: var(--padding-vertical) calc((var(--padding-horizontal) / 1.5) + var(--arrow-size)) var(--padding-vertical) var(--padding-horizontal);
|
|
58
|
+
|
|
59
|
+
&.--padding {
|
|
60
|
+
padding-right: calc((var(--padding-horizontal) * 1.5) + var(--arrow-size));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Down Arrow
|
|
65
|
+
&-arrow {
|
|
66
|
+
@include lib.position(absolute, null calc(var(--padding-horizontal) + var(--arrow-spacer)) calc(50% + var(--arrow-spacer)) null);
|
|
67
|
+
border-color: var(--border-color);
|
|
68
|
+
border-style: var(--border-style);
|
|
69
|
+
border-width: 0 var(--border-width) var(--border-width) 0;
|
|
70
|
+
content: '';
|
|
71
|
+
height: var(--arrow-size);
|
|
72
|
+
transform: translateY(50%) rotate(45deg);
|
|
73
|
+
width: var(--arrow-size);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&-text {
|
|
78
|
+
padding-right: var(--padding-horizontal);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin variables() {
|
|
83
|
+
&-mask {
|
|
84
|
+
&--input,
|
|
85
|
+
&--select {
|
|
86
|
+
--font-size: var(--font-size-400);
|
|
87
|
+
--line-height: var(--line-height-400);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&--input {
|
|
91
|
+
--size: var(--size-400);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--select {
|
|
95
|
+
--arrow-spacer: 1px;
|
|
96
|
+
--arrow-size: 6px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-arrow {
|
|
100
|
+
--border-width: var(--border-width-500);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -1,132 +1,137 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*------------------------------------------------------------------------------
|
|
3
|
-
*
|
|
4
|
-
* Form Fields
|
|
5
|
-
*
|
|
6
|
-
* Fields Were Originally Placed Within A '.form' Selector BUT Fields Are Not
|
|
7
|
-
* Always Used Within A Form Tag So Here We Are.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
@use 'ui/lib';
|
|
12
|
-
@use 'ui/tokens';
|
|
13
|
-
@use 'check' as check;
|
|
14
|
-
@use 'normalize' as *;
|
|
15
|
-
@use 'text' as text;
|
|
16
|
-
|
|
17
|
-
@include normalize();
|
|
18
|
-
|
|
19
|
-
.field {
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
*------------------------------------------------------------------------------
|
|
3
|
+
*
|
|
4
|
+
* Form Fields
|
|
5
|
+
*
|
|
6
|
+
* Fields Were Originally Placed Within A '.form' Selector BUT Fields Are Not
|
|
7
|
+
* Always Used Within A Form Tag So Here We Are.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
@use 'ui/lib';
|
|
12
|
+
@use 'ui/tokens';
|
|
13
|
+
@use 'check' as check;
|
|
14
|
+
@use 'normalize' as *;
|
|
15
|
+
@use 'text' as text;
|
|
16
|
+
|
|
17
|
+
@include normalize();
|
|
18
|
+
|
|
19
|
+
.field {
|
|
20
|
+
display: flex;
|
|
21
|
+
position: relative;
|
|
22
|
+
transition:
|
|
23
|
+
background var(--transition-duration) ease-in-out,
|
|
24
|
+
border-color var(--transition-duration) ease-in-out,
|
|
25
|
+
box-shadow var(--transition-duration) ease-in-out,
|
|
26
|
+
color var(--transition-duration) ease-in-out,
|
|
27
|
+
opacity var(--transition-duration) ease-in-out;
|
|
28
|
+
width: var(--width);
|
|
29
|
+
z-index: 1;
|
|
30
|
+
|
|
31
|
+
@include tokens.state(hover) {
|
|
32
|
+
z-index: 8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include tokens.state(active) {
|
|
36
|
+
z-index: 9;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
&--optional {
|
|
41
|
+
max-height: var(--max-height);
|
|
42
|
+
opacity: 0;
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
transition:
|
|
45
|
+
background var(--transition-duration) ease-in-out,
|
|
46
|
+
border-color var(--transition-duration) ease-in-out,
|
|
47
|
+
box-shadow var(--transition-duration) ease-in-out,
|
|
48
|
+
color var(--transition-duration) ease-in-out,
|
|
49
|
+
max-height var(--transition-duration) ease-in-out,
|
|
50
|
+
opacity var(--transition-duration) ease-in-out;
|
|
51
|
+
|
|
52
|
+
#{tokens.state(active, '.field')} & {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
pointer-events: auto;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
&-description,
|
|
60
|
+
&-error,
|
|
61
|
+
&-title {
|
|
62
|
+
color: var(--color);
|
|
63
|
+
font-size: var(--font-size);
|
|
64
|
+
position: relative;
|
|
65
|
+
width: 100%;
|
|
66
|
+
word-wrap: break-word;
|
|
67
|
+
|
|
68
|
+
&:empty {
|
|
69
|
+
margin: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-mask {
|
|
74
|
+
// Pseudo Element Box Shadow
|
|
75
|
+
&::after {
|
|
76
|
+
@include lib.position(absolute, full);
|
|
77
|
+
border-radius: inherit;
|
|
78
|
+
box-shadow: var(--box-shadow);
|
|
79
|
+
content: '';
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
transition:
|
|
82
|
+
box-shadow var(--transition-duration) ease-in-out,
|
|
83
|
+
opacity var(--transition-duration) ease-in-out,
|
|
84
|
+
transform var(--transition-duration) ease-in-out;
|
|
85
|
+
z-index: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&--flat {
|
|
89
|
+
&::after {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--outline {
|
|
95
|
+
&::before {
|
|
96
|
+
@include lib.position(absolute, full);
|
|
97
|
+
box-shadow: 0 0 0 var(--outline-width) var(--border-color);
|
|
98
|
+
border-radius: var(--border-radius);
|
|
99
|
+
content: '';
|
|
100
|
+
opacity: var(--outline-opacity);
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
transition:
|
|
103
|
+
box-shadow var(--transition-duration) ease-in-out,
|
|
104
|
+
opacity var(--transition-duration) ease-in-out;
|
|
105
|
+
z-index: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&-required {
|
|
111
|
+
background: var(--background);
|
|
112
|
+
border-radius: var(--border-radius);
|
|
113
|
+
height: var(--size);
|
|
114
|
+
width: var(--size);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&-tag {
|
|
118
|
+
&--hidden {
|
|
119
|
+
@include lib.position(absolute, 0 null null 0);
|
|
120
|
+
appearance: none;
|
|
121
|
+
height: 0px;
|
|
122
|
+
opacity: 0;
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
width: 0px;
|
|
125
|
+
z-index: -1;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&-title {
|
|
130
|
+
font-weight: var(--font-weight);
|
|
131
|
+
z-index: 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
@include check.css();
|
|
136
|
+
@include text.css();
|
|
137
|
+
}
|