@carbon/styles 1.37.0 → 1.38.0-rc.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/css/styles.css +2588 -2403
- package/css/styles.min.css +1 -1
- package/package.json +5 -5
- package/scss/components/accordion/_accordion.scss +47 -35
- package/scss/components/aspect-ratio/_aspect-ratio.scss +7 -4
- package/scss/components/breadcrumb/_breadcrumb.scss +26 -20
- package/scss/components/button/_button.scss +16 -11
- package/scss/components/button/_mixins.scss +12 -12
- package/scss/components/checkbox/_checkbox.scss +55 -40
- package/scss/components/code-snippet/_code-snippet.scss +74 -59
- package/scss/components/code-snippet/_mixins.scss +2 -2
- package/scss/components/combo-box/_combo-box.scss +2 -2
- package/scss/components/combo-button/_combo-button.scss +2 -2
- package/scss/components/contained-list/_contained-list.scss +41 -22
- package/scss/components/content-switcher/_content-switcher.scss +32 -32
- package/scss/components/data-table/_data-table.scss +150 -144
- package/scss/components/data-table/_mixins.scss +3 -3
- package/scss/components/data-table/action/_data-table-action.scss +83 -81
- package/scss/components/data-table/expandable/_data-table-expandable.scss +60 -60
- package/scss/components/data-table/skeleton/_data-table-skeleton.scss +10 -8
- package/scss/components/data-table/sort/_data-table-sort.scss +38 -38
- package/scss/components/date-picker/_date-picker.scss +21 -20
- package/scss/components/date-picker/_flatpickr.scss +51 -51
- package/scss/components/dropdown/_dropdown.scss +49 -49
- package/scss/components/file-uploader/_file-uploader.scss +37 -37
- package/scss/components/fluid-combo-box/_fluid-combo-box.scss +4 -4
- package/scss/components/fluid-date-picker/_fluid-date-picker.scss +54 -54
- package/scss/components/fluid-list-box/_fluid-list-box.scss +33 -33
- package/scss/components/fluid-multiselect/_fluid-multiselect.scss +2 -2
- package/scss/components/fluid-number-input/_fluid-number-input.scss +30 -30
- package/scss/components/fluid-search/_fluid-search.scss +17 -17
- package/scss/components/fluid-select/_fluid-select.scss +17 -17
- package/scss/components/fluid-text-area/_fluid-text-area.scss +21 -21
- package/scss/components/fluid-text-input/_fluid-text-input.scss +26 -26
- package/scss/components/fluid-time-picker/_fluid-time-picker.scss +23 -23
- package/scss/components/form/_form.scss +16 -15
- package/scss/components/inline-loading/_inline-loading.scss +9 -9
- package/scss/components/link/_link.scss +1 -1
- package/scss/components/list/_list.scss +7 -7
- package/scss/components/list-box/_list-box.scss +109 -107
- package/scss/components/loading/_loading.scss +10 -9
- package/scss/components/menu/_menu.scss +7 -7
- package/scss/components/menu-button/_menu-button.scss +1 -1
- package/scss/components/modal/_modal.scss +72 -72
- package/scss/components/multiselect/_multiselect.scss +11 -11
- package/scss/components/notification/_actionable-notification.scss +37 -39
- package/scss/components/notification/_inline-notification.scss +26 -26
- package/scss/components/notification/_mixins.scss +3 -3
- package/scss/components/notification/_toast-notification.scss +16 -18
- package/scss/components/number-input/_number-input.scss +70 -70
- package/scss/components/overflow-menu/_overflow-menu.scss +50 -50
- package/scss/components/pagination/_pagination.scss +46 -34
- package/scss/components/pagination/_unstable_pagination.scss +26 -24
- package/scss/components/pagination-nav/_mixins.scss +6 -6
- package/scss/components/pagination-nav/_pagination-nav.scss +16 -11
- package/scss/components/popover/_popover.scss +201 -63
- package/scss/components/progress-bar/_progress-bar.scss +33 -11
- package/scss/components/progress-indicator/_progress-indicator.scss +46 -42
- package/scss/components/radio-button/_radio-button.scss +24 -23
- package/scss/components/search/_search.scss +35 -34
- package/scss/components/select/_select.scss +31 -29
- package/scss/components/skeleton-styles/_skeleton-styles.scss +10 -8
- package/scss/components/slider/_slider.scss +28 -28
- package/scss/components/structured-list/_mixins.scss +4 -4
- package/scss/components/structured-list/_structured-list.scss +16 -16
- package/scss/components/tabs/_tabs.scss +50 -50
- package/scss/components/tag/_tag.scss +22 -20
- package/scss/components/text-area/_text-area.scss +17 -15
- package/scss/components/text-input/_text-input.scss +43 -41
- package/scss/components/tile/_tile.scss +11 -11
- package/scss/components/time-picker/_time-picker.scss +17 -17
- package/scss/components/toggle/_toggle.scss +37 -24
- package/scss/components/toggletip/_toggletip.scss +3 -2
- package/scss/components/tooltip/_tooltip.scss +7 -5
- package/scss/components/treeview/_treeview.scss +27 -27
- package/scss/components/ui-shell/content/_content.scss +3 -3
- package/scss/components/ui-shell/header/_header.scss +47 -47
- package/scss/components/ui-shell/header-panel/_header-panel.scss +7 -7
- package/scss/components/ui-shell/side-nav/_side-nav.scss +65 -65
- package/scss/components/ui-shell/switcher/_switcher.scss +6 -6
- package/scss/utilities/_button-reset.scss +1 -1
- package/scss/utilities/_skeleton.scss +4 -4
- package/scss/utilities/_text-overflow.scss +1 -1
- package/scss/utilities/_text-truncate.scss +2 -2
- package/scss/utilities/_tooltip.scss +44 -46
- package/scss/utilities/_visually-hidden.scss +4 -4
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
|
|
19
19
|
@mixin fluid-search {
|
|
20
20
|
.#{$prefix}--search--fluid {
|
|
21
|
-
|
|
21
|
+
block-size: convert.to-rem(64px);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.#{$prefix}--search--fluid .#{$prefix}--label {
|
|
25
25
|
position: absolute;
|
|
26
26
|
z-index: 1;
|
|
27
|
-
top: convert.to-rem(13px);
|
|
28
|
-
left: $spacing-05;
|
|
29
27
|
display: flex;
|
|
30
28
|
overflow: initial;
|
|
31
|
-
width: calc(100% - 2rem);
|
|
32
|
-
height: convert.to-rem(16px);
|
|
33
29
|
align-items: center;
|
|
34
30
|
margin: 0;
|
|
31
|
+
block-size: convert.to-rem(16px);
|
|
35
32
|
clip: initial;
|
|
33
|
+
inline-size: calc(100% - 2rem);
|
|
34
|
+
inset-block-start: convert.to-rem(13px);
|
|
35
|
+
inset-inline-start: $spacing-05;
|
|
36
36
|
white-space: initial;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.#{$prefix}--search--fluid .#{$prefix}--search-input {
|
|
56
|
-
height: 100%;
|
|
57
56
|
padding: convert.to-rem(32px) convert.to-rem(88px) convert.to-rem(13px)
|
|
58
57
|
$spacing-05;
|
|
58
|
+
block-size: 100%;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.#{$prefix}--search--fluid .#{$prefix}--search-magnifier-icon {
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.#{$prefix}--search--fluid .#{$prefix}--search-close {
|
|
67
|
-
width: convert.to-rem(40px);
|
|
68
|
-
height: convert.to-rem(40px);
|
|
69
67
|
border: none;
|
|
68
|
+
block-size: convert.to-rem(40px);
|
|
69
|
+
inline-size: convert.to-rem(40px);
|
|
70
70
|
inset: auto convert.to-rem(48px) 0 auto;
|
|
71
71
|
transition: background-color $duration-fast-01 motion(standard, productive);
|
|
72
72
|
}
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
.#{$prefix}--search--fluid .#{$prefix}--search-close::before {
|
|
75
75
|
position: absolute;
|
|
76
76
|
display: block;
|
|
77
|
-
width: convert.to-rem(1px);
|
|
78
|
-
height: 1rem;
|
|
79
77
|
background: $border-subtle;
|
|
78
|
+
block-size: 1rem;
|
|
80
79
|
content: '';
|
|
80
|
+
inline-size: convert.to-rem(1px);
|
|
81
81
|
inset: auto convert.to-rem(-1px) convert.to-rem(14px) auto;
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
|
|
90
90
|
.#{$prefix}--search--fluid .#{$prefix}--search-close::after {
|
|
91
91
|
position: absolute;
|
|
92
|
-
bottom: 0;
|
|
93
|
-
left: 0;
|
|
94
92
|
display: block;
|
|
95
|
-
|
|
96
|
-
height: convert.to-rem(2px);
|
|
93
|
+
block-size: convert.to-rem(2px);
|
|
97
94
|
content: '';
|
|
95
|
+
inline-size: 100%;
|
|
96
|
+
inset-block-end: 0;
|
|
97
|
+
inset-inline-start: 0;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.#{$prefix}--search--fluid
|
|
@@ -106,12 +106,12 @@
|
|
|
106
106
|
.#{$prefix}--search--fluid
|
|
107
107
|
.#{$prefix}--search-input:not(:focus)
|
|
108
108
|
~ .#{$prefix}--search-close:not([disabled])::after {
|
|
109
|
-
height: convert.to-rem(1px);
|
|
110
109
|
background: $border-strong;
|
|
110
|
+
block-size: convert.to-rem(1px);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.#{$prefix}--search--fluid .#{$prefix}--search-close svg {
|
|
114
|
-
margin-
|
|
114
|
+
margin-block-end: convert.to-rem(2px);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
// Disabled styles
|
|
@@ -128,6 +128,6 @@
|
|
|
128
128
|
|
|
129
129
|
.#{$prefix}--search--fluid.#{$prefix}--search--disabled
|
|
130
130
|
.#{$prefix}--search-input[disabled] {
|
|
131
|
-
border-
|
|
131
|
+
border-block-end: 1px solid $border-subtle;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
@mixin fluid-select {
|
|
20
20
|
.#{$prefix}--select--fluid .#{$prefix}--select {
|
|
21
21
|
position: relative;
|
|
22
|
-
height: 100%;
|
|
23
22
|
background: $field;
|
|
23
|
+
block-size: 100%;
|
|
24
24
|
transition: background-color $duration-fast-01 motion(standard, productive),
|
|
25
25
|
outline $duration-fast-01 motion(standard, productive);
|
|
26
26
|
}
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
.#{$prefix}--select--fluid .#{$prefix}--label {
|
|
29
29
|
position: absolute;
|
|
30
30
|
z-index: 1;
|
|
31
|
-
top: convert.to-rem(13px);
|
|
32
|
-
left: $spacing-05;
|
|
33
31
|
display: flex;
|
|
34
|
-
width: calc(100% - 2rem);
|
|
35
|
-
height: convert.to-rem(16px);
|
|
36
32
|
align-items: center;
|
|
37
33
|
margin: 0;
|
|
34
|
+
block-size: convert.to-rem(16px);
|
|
35
|
+
inline-size: calc(100% - 2rem);
|
|
36
|
+
inset-block-start: convert.to-rem(13px);
|
|
37
|
+
inset-inline-start: $spacing-05;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.#{$prefix}--select--fluid .#{$prefix}--label::-webkit-scrollbar,
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.#{$prefix}--select--fluid .#{$prefix}--select-input {
|
|
57
|
-
min-height: convert.to-rem(64px);
|
|
58
57
|
padding: convert.to-rem(32px) convert.to-rem(32px) convert.to-rem(13px)
|
|
59
58
|
$spacing-05;
|
|
59
|
+
min-block-size: convert.to-rem(64px);
|
|
60
60
|
outline: none;
|
|
61
61
|
text-overflow: ellipsis;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.#{$prefix}--select--fluid .#{$prefix}--select__arrow {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
block-size: 1rem;
|
|
66
|
+
inset-block-start: $spacing-07;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.#{$prefix}--select--fluid .#{$prefix}--select__divider {
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
.#{$prefix}--select--warning
|
|
86
86
|
.#{$prefix}--select__divider {
|
|
87
87
|
display: block;
|
|
88
|
-
width: calc(100% - 2rem);
|
|
89
88
|
border: none;
|
|
90
|
-
border-bottom: 1px solid $border-subtle;
|
|
91
89
|
margin: 0 1rem;
|
|
90
|
+
border-block-end: 1px solid $border-subtle;
|
|
91
|
+
inline-size: calc(100% - 2rem);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.#{$prefix}--select--fluid
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
.#{$prefix}--select--fluid
|
|
98
98
|
.#{$prefix}--select--warning
|
|
99
99
|
.#{$prefix}--select-input {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
border-block-end: 1px solid transparent;
|
|
101
|
+
padding-inline-end: convert.to-rem(32px);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.#{$prefix}--select--fluid .#{$prefix}--select--warning {
|
|
105
|
-
border-
|
|
105
|
+
border-block-end: 1px solid $border-strong;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.#{$prefix}--select--fluid .#{$prefix}--select-input__wrapper {
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
.#{$prefix}--form-requirement {
|
|
127
127
|
display: block;
|
|
128
128
|
overflow: visible;
|
|
129
|
-
max-
|
|
129
|
+
max-block-size: 100%;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.#{$prefix}--select--fluid
|
|
@@ -156,8 +156,8 @@
|
|
|
156
156
|
.#{$prefix}--select--fluid
|
|
157
157
|
.#{$prefix}--select--warning
|
|
158
158
|
.#{$prefix}--select__invalid-icon {
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
inset-block-start: convert.to-rem(73px);
|
|
160
|
+
inset-inline-end: $spacing-05;
|
|
161
161
|
pointer-events: none;
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
.#{$prefix}--select-input,
|
|
174
174
|
.#{$prefix}--select--fluid
|
|
175
175
|
.#{$prefix}--select--fluid--focus.#{$prefix}--select--warning {
|
|
176
|
-
border-
|
|
176
|
+
border-block-end: 1px solid transparent;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
// Disabled state
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
@mixin fluid-text-area {
|
|
19
19
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area__wrapper {
|
|
20
20
|
position: relative;
|
|
21
|
-
height: 100%;
|
|
22
21
|
flex-direction: column;
|
|
23
22
|
background: $field;
|
|
23
|
+
block-size: 100%;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.#{$prefix}--modal
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
|
|
32
32
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area__label-wrapper {
|
|
33
33
|
position: relative;
|
|
34
|
-
|
|
34
|
+
block-size: 100%;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.#{$prefix}--text-area--fluid .#{$prefix}--label {
|
|
38
38
|
position: absolute;
|
|
39
39
|
z-index: 1;
|
|
40
|
-
top: convert.to-rem(13px);
|
|
41
|
-
left: $spacing-05;
|
|
42
40
|
display: flex;
|
|
43
|
-
width: calc(100% - 2rem);
|
|
44
|
-
height: convert.to-rem(16px);
|
|
45
41
|
align-items: center;
|
|
46
42
|
margin: 0;
|
|
43
|
+
block-size: convert.to-rem(16px);
|
|
44
|
+
inline-size: calc(100% - 2rem);
|
|
45
|
+
inset-block-start: convert.to-rem(13px);
|
|
46
|
+
inset-inline-start: $spacing-05;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.#{$prefix}--text-area--fluid .#{$prefix}--label::-webkit-scrollbar,
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area {
|
|
74
|
-
min-height: convert.to-rem(64px);
|
|
75
74
|
padding: 0 $spacing-05 convert.to-rem(13px);
|
|
76
|
-
margin-
|
|
75
|
+
margin-block-start: 2rem;
|
|
76
|
+
min-block-size: convert.to-rem(64px);
|
|
77
77
|
outline: none;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
// invalid
|
|
85
85
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area--invalid,
|
|
86
86
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area:focus {
|
|
87
|
-
border-
|
|
87
|
+
border-block-end: 1px solid transparent;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.#{$prefix}--text-area__divider,
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
// accounts for 2px of border when invalid
|
|
101
101
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area--invalid {
|
|
102
102
|
padding: 0 convert.to-rem(14px) convert.to-rem(13px);
|
|
103
|
-
margin-
|
|
103
|
+
margin-block-start: convert.to-rem(30px);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.#{$prefix}--text-area--fluid
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
display: block;
|
|
113
113
|
border-style: solid;
|
|
114
114
|
border-color: $border-subtle;
|
|
115
|
-
border-bottom: none;
|
|
116
115
|
margin: 0 1rem;
|
|
116
|
+
border-block-end: none;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
// invalid & warning error message container
|
|
@@ -126,28 +126,28 @@
|
|
|
126
126
|
position: relative;
|
|
127
127
|
display: block;
|
|
128
128
|
overflow: visible;
|
|
129
|
-
max-height: 12.5rem;
|
|
130
129
|
padding: 0.5rem 2.5rem 0.5rem 1rem;
|
|
131
130
|
margin: 0;
|
|
132
131
|
background: $field;
|
|
132
|
+
max-block-size: 12.5rem;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.#{$prefix}--text-area--fluid
|
|
136
136
|
.#{$prefix}--text-area__wrapper--warn
|
|
137
137
|
.#{$prefix}--form-requirement.#{$prefix}--form-requirement {
|
|
138
|
-
border-
|
|
138
|
+
border-block-end: 1px solid $border-strong;
|
|
139
139
|
color: $text-primary;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.#{$prefix}--text-area--fluid
|
|
143
143
|
.#{$prefix}--text-area__wrapper[data-invalid]
|
|
144
144
|
.#{$prefix}--form-requirement.#{$prefix}--form-requirement {
|
|
145
|
-
border-
|
|
145
|
+
border-block-end: none;
|
|
146
146
|
color: $text-error;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area--warn {
|
|
150
|
-
border-
|
|
150
|
+
border-block-end: none;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.#{$prefix}--modal
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area__invalid-icon {
|
|
162
|
-
|
|
162
|
+
inset-block-start: 0.5rem;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
//invalid outline
|
|
@@ -197,23 +197,23 @@
|
|
|
197
197
|
// Skeleton
|
|
198
198
|
.#{$prefix}--text-area--fluid__skeleton {
|
|
199
199
|
padding: $spacing-05;
|
|
200
|
-
border-bottom: 1px solid $skeleton-element;
|
|
201
200
|
background: $skeleton-background;
|
|
201
|
+
border-block-end: 1px solid $skeleton-element;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
.#{$prefix}--text-area--fluid__skeleton .#{$prefix}--skeleton,
|
|
205
205
|
.#{$prefix}--text-area--fluid__skeleton
|
|
206
206
|
.#{$prefix}--text-area.#{$prefix}--skeleton::before {
|
|
207
|
-
|
|
207
|
+
block-size: 0.5rem;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.#{$prefix}--text-area--fluid__skeleton .#{$prefix}--label {
|
|
211
|
-
margin-
|
|
211
|
+
margin-block-end: $spacing-04;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.#{$prefix}--text-area--fluid__skeleton
|
|
215
215
|
.#{$prefix}--text-area.#{$prefix}--skeleton {
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
block-size: 4rem;
|
|
217
|
+
inline-size: 80%;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
@mixin fluid-text-input {
|
|
20
20
|
.#{$prefix}--text-input--fluid.#{$prefix}--text-input-wrapper {
|
|
21
21
|
position: relative;
|
|
22
|
-
height: 100%;
|
|
23
22
|
background: $field;
|
|
23
|
+
block-size: 100%;
|
|
24
24
|
transition: background-color $duration-fast-01 motion(standard, productive),
|
|
25
25
|
outline $duration-fast-01 motion(standard, productive);
|
|
26
26
|
}
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
.#{$prefix}--text-input--fluid .#{$prefix}--label {
|
|
29
29
|
position: absolute;
|
|
30
30
|
z-index: 1;
|
|
31
|
-
top: convert.to-rem(13px);
|
|
32
|
-
left: $spacing-05;
|
|
33
31
|
display: flex;
|
|
34
|
-
width: calc(100% - 2rem);
|
|
35
|
-
height: convert.to-rem(16px);
|
|
36
32
|
align-items: center;
|
|
37
33
|
margin: 0;
|
|
34
|
+
block-size: convert.to-rem(16px);
|
|
35
|
+
inline-size: calc(100% - 2rem);
|
|
36
|
+
inset-block-start: convert.to-rem(13px);
|
|
37
|
+
inset-inline-start: $spacing-05;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.#{$prefix}--text-input--fluid .#{$prefix}--label::-webkit-scrollbar,
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.#{$prefix}--text-input--fluid .#{$prefix}--text-input {
|
|
63
|
-
min-height: convert.to-rem(64px);
|
|
64
63
|
padding: convert.to-rem(32px) $spacing-05 convert.to-rem(13px);
|
|
64
|
+
min-block-size: convert.to-rem(64px);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.#{$prefix}--text-input__divider,
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
.#{$prefix}--text-input--fluid .#{$prefix}--text-input--invalid,
|
|
89
89
|
.#{$prefix}--text-input--fluid .#{$prefix}--text-input--warning {
|
|
90
|
-
border-
|
|
90
|
+
border-block-end: none;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.#{$prefix}--text-input--fluid
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
display: block;
|
|
100
100
|
border-style: solid;
|
|
101
101
|
border-color: $border-subtle;
|
|
102
|
-
border-bottom: none;
|
|
103
102
|
margin: 0 1rem;
|
|
103
|
+
border-block-end: none;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.#{$prefix}--text-input--fluid .#{$prefix}--text-input__invalid-icon {
|
|
107
|
-
|
|
107
|
+
inset-block-start: convert.to-rem(80px);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.#{$prefix}--text-input--fluid
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
.#{$prefix}--text-input--fluid
|
|
120
120
|
.#{$prefix}--text-input__field-wrapper--warning {
|
|
121
|
-
border-
|
|
121
|
+
border-block-end: 1px solid $border-strong;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.#{$prefix}--text-input--fluid
|
|
@@ -145,44 +145,44 @@
|
|
|
145
145
|
// Password Input
|
|
146
146
|
.#{$prefix}--text-input--fluid
|
|
147
147
|
.#{$prefix}--text-input.#{$prefix}--password-input {
|
|
148
|
-
padding-
|
|
148
|
+
padding-inline-end: $spacing-08;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.#{$prefix}--text-input--fluid.#{$prefix}--password-input-wrapper
|
|
152
152
|
.#{$prefix}--text-input__invalid-icon {
|
|
153
|
-
|
|
153
|
+
inset-inline-end: $spacing-05;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.#{$prefix}--text-input--fluid
|
|
157
157
|
.#{$prefix}--btn.#{$prefix}--text-input--password__visibility__toggle.#{$prefix}--tooltip__trigger {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
block-size: convert.to-rem(32px);
|
|
159
|
+
inline-size: convert.to-rem(32px);
|
|
160
|
+
inset-block-start: convert.to-rem(26px);
|
|
161
|
+
inset-inline-end: $spacing-03;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
// Skeleton
|
|
165
165
|
.#{$prefix}--text-input--fluid__skeleton {
|
|
166
166
|
position: relative;
|
|
167
|
-
height: convert.to-rem(64px);
|
|
168
|
-
border-bottom: 1px solid $skeleton-element;
|
|
169
167
|
background: $skeleton-background;
|
|
168
|
+
block-size: convert.to-rem(64px);
|
|
169
|
+
border-block-end: 1px solid $skeleton-element;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.#{$prefix}--text-input--fluid__skeleton .#{$prefix}--skeleton {
|
|
173
173
|
position: absolute;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
block-size: convert.to-rem(8px);
|
|
175
|
+
inline-size: 25%;
|
|
176
|
+
inset-block-start: $spacing-05;
|
|
177
|
+
inset-inline-start: $spacing-05;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.#{$prefix}--text-input--fluid__skeleton .#{$prefix}--label {
|
|
181
181
|
position: absolute;
|
|
182
|
-
top: convert.to-rem(36px);
|
|
183
|
-
left: $spacing-05;
|
|
184
|
-
width: 50%;
|
|
185
|
-
height: convert.to-rem(8px);
|
|
186
182
|
padding: 0;
|
|
183
|
+
block-size: convert.to-rem(8px);
|
|
184
|
+
inline-size: 50%;
|
|
185
|
+
inset-block-start: convert.to-rem(36px);
|
|
186
|
+
inset-inline-start: $spacing-05;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
.#{$prefix}--select-input__wrapper::before {
|
|
47
47
|
position: absolute;
|
|
48
48
|
display: block;
|
|
49
|
-
width: 1px;
|
|
50
|
-
height: calc(100% - 1px);
|
|
51
49
|
background-color: $border-strong;
|
|
50
|
+
block-size: calc(100% - 1px);
|
|
52
51
|
content: '';
|
|
52
|
+
inline-size: 1px;
|
|
53
53
|
opacity: 1;
|
|
54
54
|
transition: opacity $duration-fast-01 motion(standard, productive);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.#{$prefix}--time-picker--fluid__wrapper
|
|
58
58
|
.#{$prefix}--select-input__wrapper::after {
|
|
59
|
-
|
|
59
|
+
inset-inline-end: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.#{$prefix}--time-picker--fluid__wrapper
|
|
63
63
|
.#{$prefix}--select-input__wrapper::before {
|
|
64
|
-
|
|
64
|
+
inset-inline-start: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.#{$prefix}--time-picker--fluid:not(.#{$prefix}--time-picker--fluid--disabled)
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--select-input {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
border-block-start: 2px solid transparent;
|
|
112
|
+
padding-block-start: convert.to-rem(30px);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.#{$prefix}--select--fluid:last-of-type .#{$prefix}--select-input {
|
|
116
|
-
border-
|
|
116
|
+
border-inline-end: 2px solid transparent;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.#{$prefix}--time-picker--fluid--invalid
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--select-input:hover {
|
|
125
|
-
border-
|
|
125
|
+
border-block-start: 2px solid $support-error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.#{$prefix}--time-picker--fluid--invalid
|
|
129
129
|
.#{$prefix}--select--fluid:last-of-type
|
|
130
130
|
.#{$prefix}--select-input:hover {
|
|
131
|
-
border-
|
|
131
|
+
border-inline-end: 2px solid $support-error;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.#{$prefix}--time-picker--fluid--warning {
|
|
@@ -142,9 +142,9 @@
|
|
|
142
142
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--time-picker__icon,
|
|
143
143
|
.#{$prefix}--time-picker--fluid--warning .#{$prefix}--time-picker__icon {
|
|
144
144
|
position: absolute;
|
|
145
|
-
top: convert.to-rem(72px);
|
|
146
|
-
right: $spacing-05;
|
|
147
145
|
display: block;
|
|
146
|
+
inset-block-start: convert.to-rem(72px);
|
|
147
|
+
inset-inline-end: $spacing-05;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--time-picker__icon {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
.#{$prefix}--time-picker--fluid--warning .#{$prefix}--form-requirement {
|
|
166
166
|
display: block;
|
|
167
167
|
overflow: visible;
|
|
168
|
-
max-
|
|
168
|
+
max-block-size: 100%;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--form-requirement {
|
|
@@ -188,48 +188,48 @@
|
|
|
188
188
|
.#{$prefix}--time-picker--fluid__wrapper
|
|
189
189
|
> *:last-child
|
|
190
190
|
.#{$prefix}--select-input__wrapper::before {
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
block-size: calc(100% - 1rem);
|
|
192
|
+
inset-block-start: 8px;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--text-input,
|
|
196
196
|
.#{$prefix}--time-picker--fluid--warning .#{$prefix}--text-input,
|
|
197
197
|
.#{$prefix}--time-picker--fluid--invalid .#{$prefix}--select-input,
|
|
198
198
|
.#{$prefix}--time-picker--fluid--warning .#{$prefix}--select-input {
|
|
199
|
-
border-
|
|
199
|
+
border-block-end: 1px solid transparent;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.#{$prefix}--time-picker--fluid.#{$prefix}--time-picker--fluid--invalid
|
|
203
203
|
.#{$prefix}--time-picker__divider,
|
|
204
204
|
.#{$prefix}--time-picker--fluid.#{$prefix}--time-picker--fluid--warning
|
|
205
205
|
.#{$prefix}--time-picker__divider {
|
|
206
|
-
width: calc(100% - 2rem);
|
|
207
206
|
border-style: solid;
|
|
208
207
|
border-color: $border-subtle;
|
|
209
|
-
border-bottom: none;
|
|
210
208
|
margin: 0 1rem;
|
|
209
|
+
border-block-end: none;
|
|
210
|
+
inline-size: calc(100% - 2rem);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
// Skeleton styles
|
|
214
214
|
.#{$prefix}--time-picker--fluid--skeleton {
|
|
215
215
|
display: flex;
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
block-size: convert.to-rem(64px);
|
|
217
|
+
inline-size: 100%;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.#{$prefix}--time-picker--fluid--skeleton > * {
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
block-size: 100%;
|
|
222
|
+
inline-size: auto;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.#{$prefix}--time-picker--fluid--skeleton > *:nth-child(1),
|
|
226
226
|
.#{$prefix}--time-picker--fluid--skeleton > *:nth-child(2) {
|
|
227
|
-
|
|
227
|
+
inline-size: 25%;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.#{$prefix}--time-picker--fluid--skeleton > *:last-child,
|
|
231
231
|
.#{$prefix}--time-picker--fluid--skeleton.#{$prefix}--time-picker--equal-width
|
|
232
232
|
> *:first-child {
|
|
233
|
-
|
|
233
|
+
inline-size: 50%;
|
|
234
234
|
}
|
|
235
235
|
}
|