@clayui/css 3.161.0 → 3.163.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.
Files changed (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
@@ -1,636 +1,570 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $tbar-item-padding-x: var(--tbar-item-padding-x, 8px);
3
- $tbar-item-padding-y: var(--tbar-item-padding-y, 0px);
4
-
5
- // Tbar Stacked
6
-
7
- $tbar-stacked: ();
8
- $tbar-stacked: map-deep-merge(
9
- (
10
- display: inline-flex,
11
- height: 100%,
12
- padding-bottom: var(--tbar-stacked-padding-bottom, 8px),
13
- padding-top: var(--tbar-stacked-padding-top, 8px),
14
- tbar-nav: (
15
- flex-direction: column,
16
- min-width: 0,
17
- ),
1
+ $tbar-item-padding-x: var(--tbar-item-padding-x, 8px) !default;
2
+ $tbar-item-padding-y: var(--tbar-item-padding-y, 0px) !default;
3
+
4
+ // Tbar Stacked
5
+
6
+ $tbar-stacked: () !default;
7
+ $tbar-stacked: map-deep-merge(
8
+ (
9
+ display: inline-flex,
10
+ height: 100%,
11
+ padding-bottom: var(--tbar-stacked-padding-bottom, 8px),
12
+ padding-top: var(--tbar-stacked-padding-top, 8px),
13
+ tbar-nav: (
14
+ flex-direction: column,
15
+ min-width: 0,
16
+ ),
18
17
 
19
- tbar-item: (
20
- align-items: center,
21
- justify-content: flex-start,
22
- padding-left: var(--tbar-stacked-tbar-item-padding-left, 0),
23
- padding-right: var(--tbar-stacked-tbar-item-padding-right, 0),
24
- ),
18
+ tbar-item: (
19
+ align-items: center,
20
+ justify-content: flex-start,
21
+ padding-left: var(--tbar-stacked-tbar-item-padding-left, 0),
22
+ padding-right: var(--tbar-stacked-tbar-item-padding-right, 0),
23
+ ),
24
+
25
+ tbar-item-expand: (
26
+ flex-shrink: 0,
27
+ min-width: 0,
28
+ ),
25
29
 
26
- tbar-item-expand: (
27
- flex-shrink: 0,
28
- min-width: 0,
30
+ tbar-divider-before: (
31
+ before: (
32
+ background-color: $body-color,
33
+ content: '',
34
+ display: block,
35
+ height: 1px,
36
+ margin-bottom: 4px,
37
+ margin-top: 4px,
38
+ width: 40px,
29
39
  ),
40
+ ),
30
41
 
31
- tbar-divider-before: (
32
- before: (
33
- background-color: $body-color,
34
- content: '',
35
- display: block,
36
- height: 1px,
37
- margin-bottom: 4px,
38
- margin-top: 4px,
39
- width: 40px,
40
- ),
42
+ tbar-divider-after: (
43
+ after: (
44
+ background-color: $body-color,
45
+ content: '',
46
+ display: block,
47
+ height: 1px,
48
+ margin-bottom: 4px,
49
+ margin-top: 4px,
50
+ width: 40px,
41
51
  ),
52
+ ),
42
53
 
43
- tbar-divider-after: (
44
- after: (
45
- background-color: $body-color,
46
- content: '',
47
- display: block,
48
- height: 1px,
49
- margin-bottom: 4px,
50
- margin-top: 4px,
51
- width: 40px,
54
+ tbar-btn-monospaced: (
55
+ border-color:
56
+ var(
57
+ --tbar-stacked-tbar-btn-monospaced-border-color,
58
+ transparent
52
59
  ),
60
+ border-radius:
61
+ var(--tbar-stacked-tbar-btn-monospaced-border-radius, 0),
62
+ border-width:
63
+ var(--tbar-stacked-tbar-btn-monospaced-border-width, 0),
64
+ color: var(--tbar-stacked-tbar-btn-monospaced-color, inherit),
65
+ height: var(--tbar-stacked-tbar-btn-monospaced-height, 40px),
66
+ margin-bottom:
67
+ var(--tbar-stacked-tbar-btn-monospaced-margin-bottom, 0),
68
+ margin-top: var(--tbar-stacked-tbar-btn-monospaced-margin-top, 0),
69
+ overflow: var(--tbar-stacked-tbar-btn-monospaced-overflow, visible),
70
+ padding-bottom:
71
+ var(--tbar-stacked-tbar-btn-monospaced-padding-bottom, 0),
72
+ padding-left:
73
+ var(--tbar-stacked-tbar-btn-monospaced-padding-left, 0),
74
+ padding-right:
75
+ var(--tbar-stacked-tbar-btn-monospaced-padding-right, 0),
76
+ padding-top: var(--tbar-stacked-tbar-btn-monospaced-padding-top, 0),
77
+ position: var(--tbar-stacked-tbar-btn-monospaced-position, relative),
78
+ width: var(--tbar-stacked-tbar-btn-monospaced-width, 40px),
79
+ focus: (
80
+ box-shadow: $component-focus-inset-box-shadow,
53
81
  ),
54
82
 
55
- tbar-btn-monospaced: (
56
- border-color:
57
- var(
58
- --tbar-stacked-tbar-btn-monospaced-border-color,
59
- transparent
60
- ),
61
- border-radius:
62
- var(--tbar-stacked-tbar-btn-monospaced-border-radius, 0),
63
- border-width:
64
- var(--tbar-stacked-tbar-btn-monospaced-border-width, 0),
65
- color: var(--tbar-stacked-tbar-btn-monospaced-color, inherit),
66
- height: var(--tbar-stacked-tbar-btn-monospaced-height, 40px),
67
- margin-bottom:
68
- var(--tbar-stacked-tbar-btn-monospaced-margin-bottom, 0),
69
- margin-top:
70
- var(--tbar-stacked-tbar-btn-monospaced-margin-top, 0),
71
- overflow:
72
- var(--tbar-stacked-tbar-btn-monospaced-overflow, visible),
73
- padding-bottom:
74
- var(--tbar-stacked-tbar-btn-monospaced-padding-bottom, 0),
75
- padding-left:
76
- var(--tbar-stacked-tbar-btn-monospaced-padding-left, 0),
77
- padding-right:
78
- var(--tbar-stacked-tbar-btn-monospaced-padding-right, 0),
79
- padding-top:
80
- var(--tbar-stacked-tbar-btn-monospaced-padding-top, 0),
81
- position:
82
- var(--tbar-stacked-tbar-btn-monospaced-position, relative),
83
- width: var(--tbar-stacked-tbar-btn-monospaced-width, 40px),
83
+ active: (
84
84
  focus: (
85
85
  box-shadow: $component-focus-inset-box-shadow,
86
86
  ),
87
-
88
- active: (
89
- focus: (
90
- box-shadow: $component-focus-inset-box-shadow,
91
- ),
92
- ),
93
87
  ),
94
88
  ),
95
- $tbar-stacked
96
- );
97
-
98
- // Tbar Inline {xs|sm|md|lg|xl} Down
99
-
100
- $tbar-inline-xs-down: ();
101
- $tbar-inline-xs-down: map-deep-merge(
102
- (
103
- breakpoint-down: nth(map-keys($grid-breakpoints), 1),
104
- tbar-item: (
105
- padding-left: 0,
106
- ),
89
+ ),
90
+ $tbar-stacked
91
+ );
92
+
93
+ // Tbar Inline {xs|sm|md|lg|xl} Down
94
+
95
+ $tbar-inline-xs-down: () !default;
96
+ $tbar-inline-xs-down: map-deep-merge(
97
+ (
98
+ breakpoint-down: nth(map-keys($grid-breakpoints), 1),
99
+ tbar-item: (
100
+ padding-left: 0,
107
101
  ),
108
- $tbar-inline-xs-down
109
- );
110
-
111
- $tbar-inline-sm-down: ();
112
- $tbar-inline-sm-down: map-deep-merge(
113
- (
114
- breakpoint-down: nth(map-keys($grid-breakpoints), 2),
115
- tbar-item: (
116
- padding-left: 0,
117
- ),
102
+ ),
103
+ $tbar-inline-xs-down
104
+ );
105
+
106
+ $tbar-inline-sm-down: () !default;
107
+ $tbar-inline-sm-down: map-deep-merge(
108
+ (
109
+ breakpoint-down: nth(map-keys($grid-breakpoints), 2),
110
+ tbar-item: (
111
+ padding-left: 0,
118
112
  ),
119
- $tbar-inline-sm-down
120
- );
121
-
122
- $tbar-inline-md-down: ();
123
- $tbar-inline-md-down: map-deep-merge(
124
- (
125
- breakpoint-down: nth(map-keys($grid-breakpoints), 3),
126
- tbar-item: (
127
- padding-left: 0,
128
- ),
113
+ ),
114
+ $tbar-inline-sm-down
115
+ );
116
+
117
+ $tbar-inline-md-down: () !default;
118
+ $tbar-inline-md-down: map-deep-merge(
119
+ (
120
+ breakpoint-down: nth(map-keys($grid-breakpoints), 3),
121
+ tbar-item: (
122
+ padding-left: 0,
129
123
  ),
130
- $tbar-inline-md-down
131
- );
132
-
133
- $tbar-inline-lg-down: ();
134
- $tbar-inline-lg-down: map-deep-merge(
135
- (
136
- breakpoint-down: nth(map-keys($grid-breakpoints), 4),
137
- tbar-item: (
138
- padding-left: 0,
124
+ ),
125
+ $tbar-inline-md-down
126
+ );
127
+
128
+ $tbar-inline-lg-down: () !default;
129
+ $tbar-inline-lg-down: map-deep-merge(
130
+ (
131
+ breakpoint-down: nth(map-keys($grid-breakpoints), 4),
132
+ tbar-item: (
133
+ padding-left: 0,
134
+ ),
135
+ ),
136
+ $tbar-inline-lg-down
137
+ );
138
+
139
+ $tbar-inline-xl-down: () !default;
140
+ $tbar-inline-xl-down: map-deep-merge(
141
+ (
142
+ breakpoint-down: nth(map-keys($grid-breakpoints), 5),
143
+ tbar-item: (
144
+ padding-left: 0,
145
+ ),
146
+ ),
147
+ $tbar-inline-xl-down
148
+ );
149
+
150
+ // Component Tbar
151
+
152
+ $component-tbar: () !default;
153
+ $component-tbar: map-deep-merge(
154
+ (
155
+ border-color: var(--component-tbar-border-color, $gray-300),
156
+ border-style: var(--component-tbar-border-style, solid),
157
+ border-width: var(--component-tbar-border-width, 0 0 1px 0),
158
+ color: var(--component-tbar-color, $gray-600),
159
+ height: var(--component-tbar-height, 56px),
160
+ ),
161
+ $component-tbar
162
+ );
163
+
164
+ // Tbar Variants
165
+
166
+ $tbar-light: () !default;
167
+ $tbar-light: map-deep-merge(
168
+ (
169
+ background-color: $white,
170
+ box-shadow: inset 1px 0 0 0 $gray-200#{','} inset -1px 0 0 0 $gray-200,
171
+ color: $secondary,
172
+
173
+ tbar-divider-before: (
174
+ before: (
175
+ background-color: $gray-200,
139
176
  ),
140
177
  ),
141
- $tbar-inline-lg-down
142
- );
143
178
 
144
- $tbar-inline-xl-down: ();
145
- $tbar-inline-xl-down: map-deep-merge(
146
- (
147
- breakpoint-down: nth(map-keys($grid-breakpoints), 5),
148
- tbar-item: (
149
- padding-left: 0,
179
+ tbar-divider-after: (
180
+ after: (
181
+ background-color: $gray-200,
150
182
  ),
151
183
  ),
152
- $tbar-inline-xl-down
153
- );
154
-
155
- // Component Tbar
156
-
157
- $component-tbar: ();
158
- $component-tbar: map-deep-merge(
159
- (
160
- border-color: var(--component-tbar-border-color, $gray-300),
161
- border-style: var(--component-tbar-border-style, solid),
162
- border-width: var(--component-tbar-border-width, 0 0 1px 0),
163
- color: var(--component-tbar-color, $gray-600),
164
- height: var(--component-tbar-height, 56px),
165
- ),
166
- $component-tbar
167
- );
168
-
169
- // Tbar Variants
170
-
171
- $tbar-light: ();
172
- $tbar-light: map-deep-merge(
173
- (
174
- background-color: $white,
175
- box-shadow:
176
- inset
177
- 1px
178
- 0
179
- 0
180
- 0
181
- $gray-200#{','}
182
- inset -1px
183
- 0
184
- 0
185
- 0
186
- $gray-200,
187
- color: $secondary,
188
-
189
- tbar-divider-before: (
190
- before: (
191
- background-color: $gray-200,
192
- ),
193
- ),
194
184
 
195
- tbar-divider-after: (
196
- after: (
197
- background-color: $gray-200,
198
- ),
185
+ tbar-btn-monospaced: (
186
+ hover: (
187
+ color: $dark,
199
188
  ),
200
189
 
201
- tbar-btn-monospaced: (
202
- hover: (
203
- color: $dark,
204
- ),
205
-
206
- focus: (
207
- color: $dark,
208
- ),
190
+ focus: (
191
+ color: $dark,
192
+ ),
209
193
 
210
- disabled: (
211
- color: inherit,
212
- ),
194
+ disabled: (
195
+ color: inherit,
196
+ ),
213
197
 
214
- active: (
215
- background-color: $gray-200,
216
- color: $dark,
217
- ),
198
+ active: (
199
+ background-color: $gray-200,
200
+ color: $dark,
218
201
  ),
219
202
  ),
220
- $tbar-light
221
- );
222
-
223
- $tbar-dark-d1: ();
224
- $tbar-dark-d1: map-deep-merge(
225
- (
226
- background-color: $dark-d1,
227
- box-shadow:
228
- inset
229
- 1px
230
- 0
231
- 0
232
- 0
233
- unquote('hsl(from #{$white} h s l / 0.06)')
234
- #{','}
235
- inset -1px
236
- 0
237
- 0
238
- 0
239
- unquote('hsl(from #{$white} h s l / 0.06)'),
240
- color: $gray-500,
241
-
242
- tbar-divider-before: (
243
- before: (
244
- background-color:
245
- unquote('hsl(from #{$white} h s l / 0.06)'),
246
- ),
203
+ ),
204
+ $tbar-light
205
+ );
206
+
207
+ $tbar-dark-d1: () !default;
208
+ $tbar-dark-d1: map-deep-merge(
209
+ (
210
+ background-color: $dark-d1,
211
+ box-shadow: inset 1px 0 0 0 unquote('hsl(from #{$white} h s l / 0.06)')
212
+ #{','} inset -1px 0 0 0 unquote('hsl(from #{$white} h s l / 0.06)'),
213
+ color: $gray-500,
214
+
215
+ tbar-divider-before: (
216
+ before: (
217
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
247
218
  ),
219
+ ),
248
220
 
249
- tbar-divider-after: (
250
- after: (
251
- background-color:
252
- unquote('hsl(from #{$white} h s l / 0.06)'),
253
- ),
254
- ),
255
-
256
- tbar-btn-monospaced: (
257
- hover: (
258
- color: $white,
259
- ),
260
-
261
- focus: (
262
- color: $white,
263
- ),
264
-
265
- disabled: (
266
- color: inherit,
267
- ),
268
-
269
- active: (
270
- background-color:
271
- unquote('hsl(from #{$white} h s l / 0.06)'),
272
- color: $white,
273
- ),
274
-
275
- active-class: (
276
- after: (
277
- background-color: $primary-l1,
278
- bottom: 0,
279
- content: '',
280
- display: block,
281
- left: 0,
282
- position: absolute,
283
- top: 0,
284
- width: 4px,
285
- ),
286
- ),
221
+ tbar-divider-after: (
222
+ after: (
223
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
287
224
  ),
288
225
  ),
289
- $tbar-dark-d1
290
- );
291
-
292
- $tbar-dark-l2: ();
293
- $tbar-dark-l2: map-deep-merge(
294
- (
295
- background-color: $dark-l2,
296
- box-shadow:
297
- inset
298
- 1px
299
- 0
300
- 0
301
- 0
302
- unquote('hsl(from #{$white} h s l / 0.06)')
303
- #{','}
304
- inset -1px
305
- 0
306
- 0
307
- 0
308
- unquote('hsl(from #{$white} h s l / 0.06)'),
309
- border-color: unquote('hsl(from #{$white} h s l / 0.06)'),
310
- color: $gray-500,
311
-
312
- tbar-divider-before: (
313
- before: (
314
- background-color:
315
- unquote('hsl(from #{$white} h s l / 0.06)'),
316
- ),
317
- ),
318
226
 
319
- tbar-divider-after: (
320
- after: (
321
- background-color:
322
- unquote('hsl(from #{$white} h s l / 0.06)'),
323
- ),
227
+ tbar-btn-monospaced: (
228
+ hover: (
229
+ color: $white,
324
230
  ),
325
231
 
326
- tbar-btn-monospaced: (
327
- hover: (
328
- color: $white,
329
- ),
232
+ focus: (
233
+ color: $white,
234
+ ),
330
235
 
331
- focus: (
332
- color: $white,
333
- ),
236
+ disabled: (
237
+ color: inherit,
238
+ ),
334
239
 
335
- disabled: (
336
- color: inherit,
337
- ),
240
+ active: (
241
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
242
+ color: $white,
243
+ ),
338
244
 
339
- active: (
340
- background-color:
341
- unquote('hsl(from #{$white} h s l / 0.06)'),
342
- color: $white,
245
+ active-class: (
246
+ after: (
247
+ background-color: $primary-l1,
248
+ bottom: 0,
249
+ content: '',
250
+ display: block,
251
+ left: 0,
252
+ position: absolute,
253
+ top: 0,
254
+ width: 4px,
343
255
  ),
344
256
  ),
345
257
  ),
346
- $tbar-dark-l2
347
- );
348
-
349
- // Subnav Tbar
350
-
351
- $subnav-tbar-component-title: ();
352
- $subnav-tbar-component-title: map-deep-merge(
353
- (
354
- display: inline-block,
355
- font-size: var(--subnav-tbar-component-title-font-size, 14px),
356
- font-weight:
357
- var(
358
- --subnav-tbar-component-title-font-weight,
359
- $font-weight-semi-bold
360
- ),
361
- line-height: var(--subnav-tbar-component-title-line-height, 1.45),
362
- margin-bottom:
363
- var(--subnav-tbar-component-title-margin-bottom, 4px),
364
- margin-top: var(--subnav-tbar-component-title-margin-top, 4px),
365
- max-width: 100%,
258
+ ),
259
+ $tbar-dark-d1
260
+ );
261
+
262
+ $tbar-dark-l2: () !default;
263
+ $tbar-dark-l2: map-deep-merge(
264
+ (
265
+ background-color: $dark-l2,
266
+ box-shadow: inset 1px 0 0 0 unquote('hsl(from #{$white} h s l / 0.06)')
267
+ #{','} inset -1px 0 0 0 unquote('hsl(from #{$white} h s l / 0.06)'),
268
+ border-color: unquote('hsl(from #{$white} h s l / 0.06)'),
269
+ color: $gray-500,
270
+
271
+ tbar-divider-before: (
272
+ before: (
273
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
274
+ ),
366
275
  ),
367
- $subnav-tbar-component-title
368
- );
369
276
 
370
- $subnav-tbar-component-link: ();
371
- $subnav-tbar-component-link: map-deep-merge(
372
- (
373
- color: var(--subnav-tbar-component-link-color, $link-color),
374
- font-weight:
375
- var(
376
- --subnav-tbar-component-link-font-weight,
377
- $font-weight-semi-bold
378
- ),
379
- hover: (
380
- color:
381
- var(
382
- --subnav-tbar-component-link-hover-color,
383
- $link-hover-color
384
- ),
277
+ tbar-divider-after: (
278
+ after: (
279
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
385
280
  ),
386
281
  ),
387
- $subnav-tbar-component-link
388
- );
389
-
390
- $subnav-tbar-component-text: ();
391
- $subnav-tbar-component-text: map-deep-merge(
392
- (
393
- display: inline-block,
394
- line-height: var(--subnav-tbar-component-text-line-height, 1.45),
395
- margin-bottom: var(--subnav-tbar-component-text-margin-bottom, 4px),
396
- margin-top: var(--subnav-tbar-component-text-margin-top, 4px),
397
- max-width: 100%,
398
- ),
399
- $subnav-tbar-component-text
400
- );
401
-
402
- $subnav-tbar: ();
403
- $subnav-tbar: map-deep-merge(
404
- (
405
- font-size: var(--subnav-tbar-font-size, 14px),
406
- tbar-section: (
407
- text-align: left,
408
- ),
409
282
 
410
- strong: (
411
- font-weight: $font-weight-semi-bold,
283
+ tbar-btn-monospaced: (
284
+ hover: (
285
+ color: $white,
412
286
  ),
413
287
 
414
- tbar-item-padding: (
415
- padding-left: var(--subnav-tbar-item-padding-left, 8px),
416
- padding-right: var(--subnav-tbar-item-padding-right, 8px),
288
+ focus: (
289
+ color: $white,
417
290
  ),
418
291
 
419
- tbar-btn: (
420
- height: var(--subnav-tbar-btn-height, 24px),
421
- line-height: var(--subnav-tbar-btn-line-height, 1),
422
- margin-bottom: var(--subnav-tbar-btn-margin-bottom, 2px),
423
- margin-top: var(--subnav-tbar-btn-margin-top, 2px),
424
- padding-bottom: var(--subnav-tbar-btn-padding-bottom, 0),
425
- padding-top: var(--subnav-tbar-btn-padding-top, 0),
292
+ disabled: (
293
+ color: inherit,
426
294
  ),
427
295
 
428
- tbar-btn-monospaced: (
429
- margin-bottom:
430
- var(--subnav-tbar-btn-monospaced-margin-bottom, 2px),
431
- margin-top: var(--subnav-tbar-btn-monospaced-margin-top, 2px),
432
- padding: var(--subnav-tbar-btn-monospaced-padding, 4px),
296
+ active: (
297
+ background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
298
+ color: $white,
433
299
  ),
300
+ ),
301
+ ),
302
+ $tbar-dark-l2
303
+ );
304
+
305
+ // Subnav Tbar
306
+
307
+ $subnav-tbar-component-title: () !default;
308
+ $subnav-tbar-component-title: map-deep-merge(
309
+ (
310
+ display: inline-block,
311
+ font-size: var(--subnav-tbar-component-title-font-size, 14px),
312
+ font-weight:
313
+ var(
314
+ --subnav-tbar-component-title-font-weight,
315
+ $font-weight-semi-bold
316
+ ),
317
+ line-height: var(--subnav-tbar-component-title-line-height, 1.45),
318
+ margin-bottom: var(--subnav-tbar-component-title-margin-bottom, 4px),
319
+ margin-top: var(--subnav-tbar-component-title-margin-top, 4px),
320
+ max-width: 100%,
321
+ ),
322
+ $subnav-tbar-component-title
323
+ );
324
+
325
+ $subnav-tbar-component-link: () !default;
326
+ $subnav-tbar-component-link: map-deep-merge(
327
+ (
328
+ color: var(--subnav-tbar-component-link-color, $link-color),
329
+ font-weight:
330
+ var(
331
+ --subnav-tbar-component-link-font-weight,
332
+ $font-weight-semi-bold
333
+ ),
334
+ hover: (
335
+ color:
336
+ var(--subnav-tbar-component-link-hover-color, $link-hover-color),
337
+ ),
338
+ ),
339
+ $subnav-tbar-component-link
340
+ );
341
+
342
+ $subnav-tbar-component-text: () !default;
343
+ $subnav-tbar-component-text: map-deep-merge(
344
+ (
345
+ display: inline-block,
346
+ line-height: var(--subnav-tbar-component-text-line-height, 1.45),
347
+ margin-bottom: var(--subnav-tbar-component-text-margin-bottom, 4px),
348
+ margin-top: var(--subnav-tbar-component-text-margin-top, 4px),
349
+ max-width: 100%,
350
+ ),
351
+ $subnav-tbar-component-text
352
+ );
353
+
354
+ $subnav-tbar: () !default;
355
+ $subnav-tbar: map-deep-merge(
356
+ (
357
+ font-size: var(--subnav-tbar-font-size, 14px),
358
+ tbar-section: (
359
+ text-align: left,
360
+ ),
434
361
 
435
- component-link: $subnav-tbar-component-link,
362
+ strong: (
363
+ font-weight: $font-weight-semi-bold,
364
+ ),
436
365
 
437
- component-title: $subnav-tbar-component-title,
366
+ tbar-item-padding: (
367
+ padding-left: var(--subnav-tbar-item-padding-left, 8px),
368
+ padding-right: var(--subnav-tbar-item-padding-right, 8px),
369
+ ),
438
370
 
439
- component-text: $subnav-tbar-component-text,
371
+ tbar-btn: (
372
+ height: var(--subnav-tbar-btn-height, 24px),
373
+ line-height: var(--subnav-tbar-btn-line-height, 1),
374
+ margin-bottom: var(--subnav-tbar-btn-margin-bottom, 2px),
375
+ margin-top: var(--subnav-tbar-btn-margin-top, 2px),
376
+ padding-bottom: var(--subnav-tbar-btn-padding-bottom, 0),
377
+ padding-top: var(--subnav-tbar-btn-padding-top, 0),
378
+ ),
440
379
 
441
- component-label: (
442
- font-weight:
443
- var(
444
- --subnav-tbar-component-label-font-weight,
445
- $font-weight-normal
446
- ),
447
- ),
380
+ tbar-btn-monospaced: (
381
+ margin-bottom: var(--subnav-tbar-btn-monospaced-margin-bottom, 2px),
382
+ margin-top: var(--subnav-tbar-btn-monospaced-margin-top, 2px),
383
+ padding: var(--subnav-tbar-btn-monospaced-padding, 4px),
384
+ ),
448
385
 
449
- tbar-link: (
450
- margin-bottom: var(--subnav-tbar-link-margin-bottom, 2px),
451
- margin-top: var(--subnav-tbar-link-margin-top, 2px),
452
- padding-bottom: var(--subnav-tbar-link-padding-bottom, 1.5px),
453
- padding-left: var(--subnav-tbar-link-padding-left, 4px),
454
- padding-right: var(--subnav-tbar-link-padding-right, 4px),
455
- padding-top: var(--subnav-tbar-link-padding-top, 1.5px),
456
- ),
386
+ component-link: $subnav-tbar-component-link,
457
387
 
458
- tbar-link-monospaced: (
459
- height: var(--subnav-tbar-link-monospaced-height, 24px),
460
- margin-bottom:
461
- var(--subnav-tbar-link-monospaced-margin-bottom, 2px),
462
- margin-top: var(--subnav-tbar-link-monospaced-margin-top, 2px),
463
- width: var(--subnav-tbar-link-monospaced-width, 24px),
464
- ),
465
- ),
466
- $subnav-tbar
467
- );
388
+ component-title: $subnav-tbar-component-title,
468
389
 
469
- // Subnav Tbar Variants
390
+ component-text: $subnav-tbar-component-text,
470
391
 
471
- $subnav-tbar-light: ();
472
- $subnav-tbar-light: map-deep-merge(
473
- (
474
- background-color:
392
+ component-label: (
393
+ font-weight:
475
394
  var(
476
- --subnav-tbar-light-background-color,
477
- setter(map-get($subnav-tbar-light, bg-color), $light-l2)
395
+ --subnav-tbar-component-label-font-weight,
396
+ $font-weight-normal
478
397
  ),
479
- color: var(--subnav-tbar-light-color, $gray-600),
480
- padding-y: var(--subnav-tbar-light-padding-y, 2px),
481
- ),
482
- $subnav-tbar-light
483
- );
484
-
485
- // Subnav Tbar Primary
486
-
487
- $subnav-tbar-primary-component-link: ();
488
- $subnav-tbar-primary-component-link: map-deep-merge(
489
- (
490
- color: var(--subnav-tbar-primary-component-link-color, $gray-900),
491
- hover: (
492
- color:
493
- var(
494
- --subnav-tbar-primary-component-link-hover-color,
495
- $gray-900
496
- ),
497
- ),
498
-
499
- disabled: (
500
- color:
501
- var(
502
- --subnav-tbar-primary-component-link-disabled-color,
503
- $gray-600
504
- ),
505
- cursor: $disabled-cursor,
506
- opacity:
507
- var(
508
- --subnav-tbar-primary-component-link-disabled-opacity,
509
- 0.65
510
- ),
511
- text-decoration: none,
512
- ),
513
398
  ),
514
- $subnav-tbar-primary-component-link
515
- );
516
399
 
517
- $subnav-tbar-primary-component-label-close: ();
518
- $subnav-tbar-primary-component-label-close: map-deep-merge(
519
- (
520
- focus: (
521
- color: inherit,
522
- ),
523
-
524
- disabled: (
525
- color: $gray-600,
526
- opacity: 0.65,
527
- ),
400
+ tbar-link: (
401
+ margin-bottom: var(--subnav-tbar-link-margin-bottom, 2px),
402
+ margin-top: var(--subnav-tbar-link-margin-top, 2px),
403
+ padding-bottom: var(--subnav-tbar-link-padding-bottom, 1.5px),
404
+ padding-left: var(--subnav-tbar-link-padding-left, 4px),
405
+ padding-right: var(--subnav-tbar-link-padding-right, 4px),
406
+ padding-top: var(--subnav-tbar-link-padding-top, 1.5px),
528
407
  ),
529
- $subnav-tbar-primary-component-label-close
530
- );
531
408
 
532
- $subnav-tbar-primary-component-label: ();
533
- $subnav-tbar-primary-component-label: map-deep-merge(
534
- (
535
- close: $subnav-tbar-primary-component-label-close,
409
+ tbar-link-monospaced: (
410
+ height: var(--subnav-tbar-link-monospaced-height, 24px),
411
+ margin-bottom: var(--subnav-tbar-link-monospaced-margin-bottom, 2px),
412
+ margin-top: var(--subnav-tbar-link-monospaced-margin-top, 2px),
413
+ width: var(--subnav-tbar-link-monospaced-width, 24px),
536
414
  ),
537
- $subnav-tbar-primary-component-label
538
- );
539
-
540
- $subnav-tbar-primary-tbar-label-size: ();
541
- $subnav-tbar-primary-tbar-label-size: map-deep-merge(
542
- (
543
- font-size: var(--subnav-tbar-primary-label-size-font-size, 12px),
544
- margin-right: var(--subnav-tbar-primary-label-size-margin-right, 0),
545
- padding-bottom:
546
- var(--subnav-tbar-primary-label-size-padding-bottom, 5px),
547
- padding-left:
548
- var(--subnav-tbar-primary-label-size-padding-left, 10px),
549
- padding-right:
550
- var(--subnav-tbar-primary-label-size-padding-right, 10px),
551
- padding-top: var(--subnav-tbar-primary-label-size-padding-top, 5px),
552
- text-transform: none,
415
+ ),
416
+ $subnav-tbar
417
+ );
418
+
419
+ // Subnav Tbar Variants
420
+
421
+ $subnav-tbar-light: () !default;
422
+ $subnav-tbar-light: map-deep-merge(
423
+ (
424
+ background-color:
425
+ var(
426
+ --subnav-tbar-light-background-color,
427
+ setter(map-get($subnav-tbar-light, bg-color), $light-l2)
428
+ ),
429
+ color: var(--subnav-tbar-light-color, $gray-600),
430
+ padding-y: var(--subnav-tbar-light-padding-y, 2px),
431
+ ),
432
+ $subnav-tbar-light
433
+ );
434
+
435
+ // Subnav Tbar Primary
436
+
437
+ $subnav-tbar-primary-component-link: () !default;
438
+ $subnav-tbar-primary-component-link: map-deep-merge(
439
+ (
440
+ color: var(--subnav-tbar-primary-component-link-color, $gray-900),
441
+ hover: (
442
+ color:
443
+ var(--subnav-tbar-primary-component-link-hover-color, $gray-900),
553
444
  ),
554
- $subnav-tbar-primary-tbar-label-size
555
- );
556
445
 
557
- $subnav-tbar-primary: ();
558
- $subnav-tbar-primary: map-deep-merge(
559
- (
560
- background-color:
446
+ disabled: (
447
+ color:
561
448
  var(
562
- --subnav-tbar-primary-background-color,
563
- setter(map-get($subnav-tbar-primary, bg-color), $primary-l2)
449
+ --subnav-tbar-primary-component-link-disabled-color,
450
+ $gray-600
564
451
  ),
565
- padding-bottom: var(--subnav-tbar-primary-padding-bottom, 10px),
566
- padding-left: var(--subnav-tbar-primary-padding-left, 4px),
567
- padding-right: var(--subnav-tbar-primary-padding-right, 4px),
568
- padding-top: var(--subnav-tbar-primary-padding-top, 10px),
569
- tbar-item: (
570
- justify-content: flex-start,
571
- padding-left: var(--subnav-tbar-primary-item-padding-left, 4px),
572
- padding-right:
573
- var(--subnav-tbar-primary-item-padding-right, 4px),
574
- ),
575
-
576
- tbar-link-monospaced: (
577
- border-radius:
578
- var(--subnav-tbar-primary-link-monospaced-border-radius, 0),
579
- border-width:
580
- var(--subnav-tbar-primary-link-monospaced-border-width, 0),
581
- height: var(--subnav-tbar-primary-link-monospaced-height, 48px),
582
- margin-bottom:
583
- var(
584
- --subnav-tbar-primary-link-monospaced-margin-bottom,
585
- -10px
586
- ),
587
- margin-top:
588
- var(
589
- --subnav-tbar-primary-link-monospaced-margin-top,
590
- -10px
591
- ),
592
- width: var(--subnav-tbar-primary-link-monospaced-width, 48px),
593
- ),
594
-
595
- component-link: $subnav-tbar-primary-component-link,
596
-
597
- component-label: $subnav-tbar-primary-component-label,
598
-
599
- tbar-label: $subnav-tbar-primary-tbar-label-size,
452
+ cursor: $disabled-cursor,
453
+ opacity:
454
+ var(--subnav-tbar-primary-component-link-disabled-opacity, 0.65),
455
+ text-decoration: none,
456
+ ),
457
+ ),
458
+ $subnav-tbar-primary-component-link
459
+ );
460
+
461
+ $subnav-tbar-primary-component-label-close: () !default;
462
+ $subnav-tbar-primary-component-label-close: map-deep-merge(
463
+ (
464
+ focus: (
465
+ color: inherit,
600
466
  ),
601
- $subnav-tbar-primary
602
- );
603
467
 
604
- // Subnav Tbar Primary Disabled
468
+ disabled: (
469
+ color: $gray-600,
470
+ opacity: 0.65,
471
+ ),
472
+ ),
473
+ $subnav-tbar-primary-component-label-close
474
+ );
475
+
476
+ $subnav-tbar-primary-component-label: () !default;
477
+ $subnav-tbar-primary-component-label: map-deep-merge(
478
+ (
479
+ close: $subnav-tbar-primary-component-label-close,
480
+ ),
481
+ $subnav-tbar-primary-component-label
482
+ );
483
+
484
+ $subnav-tbar-primary-tbar-label-size: () !default;
485
+ $subnav-tbar-primary-tbar-label-size: map-deep-merge(
486
+ (
487
+ font-size: var(--subnav-tbar-primary-label-size-font-size, 12px),
488
+ margin-right: var(--subnav-tbar-primary-label-size-margin-right, 0),
489
+ padding-bottom:
490
+ var(--subnav-tbar-primary-label-size-padding-bottom, 5px),
491
+ padding-left: var(--subnav-tbar-primary-label-size-padding-left, 10px),
492
+ padding-right: var(--subnav-tbar-primary-label-size-padding-right, 10px),
493
+ padding-top: var(--subnav-tbar-primary-label-size-padding-top, 5px),
494
+ text-transform: none,
495
+ ),
496
+ $subnav-tbar-primary-tbar-label-size
497
+ );
498
+
499
+ $subnav-tbar-primary: () !default;
500
+ $subnav-tbar-primary: map-deep-merge(
501
+ (
502
+ background-color:
503
+ var(
504
+ --subnav-tbar-primary-background-color,
505
+ setter(map-get($subnav-tbar-primary, bg-color), $primary-l2)
506
+ ),
507
+ padding-bottom: var(--subnav-tbar-primary-padding-bottom, 10px),
508
+ padding-left: var(--subnav-tbar-primary-padding-left, 4px),
509
+ padding-right: var(--subnav-tbar-primary-padding-right, 4px),
510
+ padding-top: var(--subnav-tbar-primary-padding-top, 10px),
511
+ tbar-item: (
512
+ justify-content: flex-start,
513
+ padding-left: var(--subnav-tbar-primary-item-padding-left, 4px),
514
+ padding-right: var(--subnav-tbar-primary-item-padding-right, 4px),
515
+ ),
605
516
 
606
- $subnav-tbar-primary-disabled-component-label: ();
607
- $subnav-tbar-primary-disabled-component-label: map-deep-merge(
608
- (
609
- border-color:
610
- var(
611
- --subnav-tbar-primary-disabled-component-label-border-color,
612
- #8e94aa
613
- ),
517
+ tbar-link-monospaced: (
518
+ border-radius:
519
+ var(--subnav-tbar-primary-link-monospaced-border-radius, 0),
520
+ border-width:
521
+ var(--subnav-tbar-primary-link-monospaced-border-width, 0),
522
+ height: var(--subnav-tbar-primary-link-monospaced-height, 48px),
523
+ margin-bottom:
524
+ var(--subnav-tbar-primary-link-monospaced-margin-bottom, -10px),
525
+ margin-top:
526
+ var(--subnav-tbar-primary-link-monospaced-margin-top, -10px),
527
+ width: var(--subnav-tbar-primary-link-monospaced-width, 48px),
614
528
  ),
615
- $subnav-tbar-primary-disabled-component-label
616
- );
617
529
 
618
- $subnav-tbar-primary-disabled: ();
619
- $subnav-tbar-primary-disabled: map-deep-merge(
620
- (
621
- background-color:
622
- var(
623
- --subnav-tbar-primary-disabled-background-color,
624
- setter(
625
- map-get($subnav-tbar-primary-disabled, bg-color),
626
- unquote(
627
- 'hsl(from #{$primary} h calc(s - 27.03) calc(l + 37.06))'
628
- )
530
+ component-link: $subnav-tbar-primary-component-link,
531
+
532
+ component-label: $subnav-tbar-primary-component-label,
533
+
534
+ tbar-label: $subnav-tbar-primary-tbar-label-size,
535
+ ),
536
+ $subnav-tbar-primary
537
+ );
538
+
539
+ // Subnav Tbar Primary Disabled
540
+
541
+ $subnav-tbar-primary-disabled-component-label: () !default;
542
+ $subnav-tbar-primary-disabled-component-label: map-deep-merge(
543
+ (
544
+ border-color:
545
+ var(
546
+ --subnav-tbar-primary-disabled-component-label-border-color,
547
+ #8e94aa
548
+ ),
549
+ ),
550
+ $subnav-tbar-primary-disabled-component-label
551
+ );
552
+
553
+ $subnav-tbar-primary-disabled: () !default;
554
+ $subnav-tbar-primary-disabled: map-deep-merge(
555
+ (
556
+ background-color:
557
+ var(
558
+ --subnav-tbar-primary-disabled-background-color,
559
+ setter(
560
+ map-get($subnav-tbar-primary-disabled, bg-color),
561
+ unquote(
562
+ 'hsl(from #{$primary} h calc(s - 27.03) calc(l + 37.06))'
629
563
  )
630
- ),
631
- color: var(--subnav-tbar-primary-disabled-color, #8e94aa),
632
- component-label: $subnav-tbar-primary-disabled-component-label,
633
- ),
634
- $subnav-tbar-primary-disabled
635
- );
636
- }
564
+ )
565
+ ),
566
+ color: var(--subnav-tbar-primary-disabled-color, #8e94aa),
567
+ component-label: $subnav-tbar-primary-disabled-component-label,
568
+ ),
569
+ $subnav-tbar-primary-disabled
570
+ );