@clayui/css 3.161.0 → 3.162.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,1250 +1,1229 @@
1
- @if ($enable-atlas-custom-properties) {
2
- // .dropdown-toggle
1
+ // .dropdown-toggle
3
2
 
4
- $dropdown-toggle: ();
5
- $dropdown-toggle: map-deep-merge(
6
- (
7
- white-space: nowrap,
8
- ),
9
- $dropdown-toggle
10
- );
3
+ $dropdown-toggle: () !default;
4
+ $dropdown-toggle: map-deep-merge(
5
+ (
6
+ white-space: nowrap,
7
+ ),
8
+ $dropdown-toggle
9
+ );
11
10
 
12
- // .dropdown-menu
11
+ // .dropdown-menu
13
12
 
14
- // @deprecated as of v3.x use map $dropdown-menu instead
13
+ // @deprecated as of v3.x use map $dropdown-menu instead
15
14
 
16
- $dropdown-bg: var(--dropdown-background-color, $white);
15
+ $dropdown-bg: var(--dropdown-background-color, $white) !default;
17
16
 
18
- // @deprecated as of v3.x use map $dropdown-menu instead
17
+ // @deprecated as of v3.x use map $dropdown-menu instead
19
18
 
20
- $dropdown-border-color: var(--dropdown-border-color, $gray-300);
19
+ $dropdown-border-color: var(--dropdown-border-color, $gray-300) !default;
21
20
 
22
- // @deprecated as of v3.x use map $dropdown-menu instead
21
+ // @deprecated as of v3.x use map $dropdown-menu instead
23
22
 
24
- $dropdown-border-style: var(--dropdown-border-style, solid);
23
+ $dropdown-border-style: var(--dropdown-border-style, solid) !default;
25
24
 
26
- // @deprecated as of v3.x use map $dropdown-menu instead
25
+ // @deprecated as of v3.x use map $dropdown-menu instead
27
26
 
28
- $dropdown-border-width: var(--dropdown-border-width, 0);
27
+ $dropdown-border-width: var(--dropdown-border-width, 0) !default;
29
28
 
30
- // @deprecated as of v3.x use map $dropdown-menu instead
29
+ // @deprecated as of v3.x use map $dropdown-menu instead
31
30
 
32
- $dropdown-border-radius: var(--dropdown-border-radius, $border-radius);
31
+ $dropdown-border-radius: var(--dropdown-border-radius, $border-radius) !default;
33
32
 
34
- // @deprecated as of v3.x with no replacement
33
+ // @deprecated as of v3.x with no replacement
35
34
 
36
- $dropdown-inner-border-radius: $dropdown-border-radius
37
- calc(#{$dropdown-border-width} * -1);
35
+ $dropdown-inner-border-radius: $dropdown-border-radius
36
+ calc(#{$dropdown-border-width} * -1) !default;
38
37
 
39
- // @deprecated as of v3.x use map $dropdown-menu instead
38
+ // @deprecated as of v3.x use map $dropdown-menu instead
40
39
 
41
- $dropdown-box-shadow: var(
42
- --dropdown-box-shadow,
43
- 0 1px 5px -1px rgba(0, 0, 0, 0.3)
44
- );
40
+ $dropdown-box-shadow: var(
41
+ --dropdown-box-shadow,
42
+ 0 1px 5px -1px rgba(0, 0, 0, 0.3)
43
+ ) !default;
45
44
 
46
- // @deprecated as of v3.x use map $dropdown-menu instead
45
+ // @deprecated as of v3.x use map $dropdown-menu instead
47
46
 
48
- $dropdown-color: var(--dropdown-color, $body-color);
47
+ $dropdown-color: var(--dropdown-color, $body-color) !default;
49
48
 
50
- // @deprecated as of v3.x use map $dropdown-menu instead
49
+ // @deprecated as of v3.x use map $dropdown-menu instead
51
50
 
52
- $dropdown-font-size: var(--dropdown-font-size, 0.875rem);
51
+ $dropdown-font-size: var(--dropdown-font-size, 0.875rem) !default;
53
52
 
54
- // @deprecated as of v3.x use map $dropdown-menu instead
53
+ // @deprecated as of v3.x use map $dropdown-menu instead
55
54
 
56
- $dropdown-max-height: 500px;
55
+ $dropdown-max-height: 500px !default;
57
56
 
58
- // @deprecated as of v3.x use map $dropdown-menu instead
57
+ // @deprecated as of v3.x use map $dropdown-menu instead
59
58
 
60
- $dropdown-max-width: 240px;
59
+ $dropdown-max-width: 240px !default;
61
60
 
62
- // @deprecated as of v3.x use map $dropdown-menu instead
61
+ // @deprecated as of v3.x use map $dropdown-menu instead
63
62
 
64
- $dropdown-min-height: 40px;
63
+ $dropdown-min-height: 40px !default;
65
64
 
66
- // @deprecated as of v3.x use map $dropdown-menu instead
65
+ // @deprecated as of v3.x use map $dropdown-menu instead
67
66
 
68
- $dropdown-min-width: 240px;
67
+ $dropdown-min-width: 240px !default;
69
68
 
70
- // @deprecated as of v3.x use map $dropdown-menu instead
69
+ // @deprecated as of v3.x use map $dropdown-menu instead
71
70
 
72
- $dropdown-font-size-mobile: null;
71
+ $dropdown-font-size-mobile: null !default;
73
72
 
74
- // @deprecated as of v3.x use map $dropdown-menu instead
73
+ // @deprecated as of v3.x use map $dropdown-menu instead
75
74
 
76
- $dropdown-max-height-mobile: 295px;
75
+ $dropdown-max-height-mobile: 295px !default;
77
76
 
78
- // @deprecated as of v3.x use map $dropdown-menu instead
77
+ // @deprecated as of v3.x use map $dropdown-menu instead
79
78
 
80
- $dropdown-max-width-mobile: 230px;
79
+ $dropdown-max-width-mobile: 230px !default;
81
80
 
82
- $dropdown-padding-y: 0.375rem;
83
- $dropdown-spacer: 0.3125rem;
81
+ $dropdown-padding-y: 0.375rem !default;
82
+ $dropdown-spacer: 0.3125rem !default;
84
83
 
85
- $dropdown-menu: ();
86
- $dropdown-menu: map-deep-merge(
87
- (
88
- breakpoint-down: md,
84
+ $dropdown-menu: () !default;
85
+ $dropdown-menu: map-deep-merge(
86
+ (
87
+ breakpoint-down: md,
89
88
 
90
- background-clip: padding-box,
91
- background-color: $dropdown-bg,
92
- border-color: $dropdown-border-color,
93
- border-radius: clay-enable-rounded($dropdown-border-radius),
94
- border-style: $dropdown-border-style,
95
- border-width: $dropdown-border-width,
96
- box-shadow: clay-enable-shadows($dropdown-box-shadow),
97
- color: $dropdown-color,
98
- display: none,
99
- float: left,
100
- font-size: $dropdown-font-size,
101
- left: 0rem,
102
- list-style: none,
103
- margin: $dropdown-spacer 0rem 0rem,
104
- max-height: $dropdown-max-height,
105
- max-width: $dropdown-max-width,
106
- min-height: $dropdown-min-height,
107
- min-width: $dropdown-min-width,
108
- overflow: auto,
109
- padding: $dropdown-padding-y 0rem,
110
- position: absolute,
111
- text-align: left,
112
- top: 100%,
113
- z-index: $zindex-dropdown,
89
+ background-clip: padding-box,
90
+ background-color: $dropdown-bg,
91
+ border-color: $dropdown-border-color,
92
+ border-radius: clay-enable-rounded($dropdown-border-radius),
93
+ border-style: $dropdown-border-style,
94
+ border-width: $dropdown-border-width,
95
+ box-shadow: clay-enable-shadows($dropdown-box-shadow),
96
+ color: $dropdown-color,
97
+ display: none,
98
+ float: left,
99
+ font-size: $dropdown-font-size,
100
+ left: 0rem,
101
+ list-style: none,
102
+ margin: $dropdown-spacer 0rem 0rem,
103
+ max-height: $dropdown-max-height,
104
+ max-width: $dropdown-max-width,
105
+ min-height: $dropdown-min-height,
106
+ min-width: $dropdown-min-width,
107
+ overflow: auto,
108
+ padding: $dropdown-padding-y 0rem,
109
+ position: absolute,
110
+ text-align: left,
111
+ top: 100%,
112
+ z-index: $zindex-dropdown,
114
113
 
115
- mobile: (
116
- font-size: $dropdown-font-size-mobile,
117
- max-height: $dropdown-max-height-mobile,
118
- max-width: $dropdown-max-width-mobile,
119
- ),
114
+ mobile: (
115
+ font-size: $dropdown-font-size-mobile,
116
+ max-height: $dropdown-max-height-mobile,
117
+ max-width: $dropdown-max-width-mobile,
118
+ ),
120
119
 
121
- show: (
122
- display: block,
123
- ),
120
+ show: (
121
+ display: block,
124
122
  ),
125
- $dropdown-menu
126
- );
123
+ ),
124
+ $dropdown-menu
125
+ );
127
126
 
128
- // .dropdown-item
127
+ // .dropdown-item
129
128
 
130
- $dropdown-item-padding-x: var(--dropdown-item-padding-x, 1rem);
131
- $dropdown-item-padding-y: var(--dropdown-item-padding-y, 0.5rem);
129
+ $dropdown-item-padding-x: var(--dropdown-item-padding-x, 1rem) !default;
130
+ $dropdown-item-padding-y: var(--dropdown-item-padding-y, 0.5rem) !default;
132
131
 
133
- @if ($enable-atlas-custom-properties) {
134
- // @deprecated as of v3.x use map $dropdown-item instead
132
+ // @deprecated as of v3.x use map $dropdown-item instead
135
133
 
136
- $dropdown-item-disabled-cursor: $disabled-cursor;
134
+ $dropdown-item-disabled-cursor: $disabled-cursor !default;
137
135
 
138
- // @deprecated as of v3.x use map $dropdown-item instead
136
+ // @deprecated as of v3.x use map $dropdown-item instead
139
137
 
140
- $dropdown-link-color: var(--dropdown-item-color, $gray-600);
138
+ $dropdown-link-color: var(--dropdown-item-color, $gray-600) !default;
141
139
 
142
- // @deprecated as of v3.x use map $dropdown-item instead
140
+ // @deprecated as of v3.x use map $dropdown-item instead
143
141
 
144
- $dropdown-link-font-weight: var(
145
- --dropdown-item-font-weight,
146
- $font-weight-normal
147
- );
142
+ $dropdown-link-font-weight: var(
143
+ --dropdown-item-font-weight,
144
+ $font-weight-normal
145
+ ) !default;
148
146
 
149
- // @deprecated as of v3.x use map $dropdown-item instead
147
+ // @deprecated as of v3.x use map $dropdown-item instead
150
148
 
151
- $dropdown-link-hover-bg: var(
152
- --dropdown-item-hover-background-color,
153
- $primary-l3
154
- );
149
+ $dropdown-link-hover-bg: var(
150
+ --dropdown-item-hover-background-color,
151
+ $primary-l3
152
+ ) !default;
155
153
 
156
- // @deprecated as of v3.x use map $dropdown-item instead
154
+ // @deprecated as of v3.x use map $dropdown-item instead
157
155
 
158
- $dropdown-link-hover-color: var(--dropdown-item-hover-color, $gray-900);
156
+ $dropdown-link-hover-color: var(
157
+ --dropdown-item-hover-color,
158
+ $gray-900
159
+ ) !default;
159
160
 
160
- // @deprecated as of v3.x use map $dropdown-item instead
161
+ // @deprecated as of v3.x use map $dropdown-item instead
161
162
 
162
- $dropdown-link-active-bg: var(
163
- --dropdown-item-active-background-color,
164
- $dropdown-link-hover-bg
165
- );
163
+ $dropdown-link-active-bg: var(
164
+ --dropdown-item-active-background-color,
165
+ $dropdown-link-hover-bg
166
+ ) !default;
166
167
 
167
- // @deprecated as of v3.x use map $dropdown-item instead
168
+ // @deprecated as of v3.x use map $dropdown-item instead
168
169
 
169
- $dropdown-link-active-color: var(
170
- --dropdown-item-active-color,
171
- $dropdown-link-hover-color
172
- );
170
+ $dropdown-link-active-color: var(
171
+ --dropdown-item-active-color,
172
+ $dropdown-link-hover-color
173
+ ) !default;
173
174
 
174
- // @deprecated as of v3.x use map $dropdown-item instead
175
+ // @deprecated as of v3.x use map $dropdown-item instead
175
176
 
176
- $dropdown-link-active-font-weight: var(
177
- --dropdown-item-active-font-weight,
178
- $font-weight-semi-bold
179
- );
177
+ $dropdown-link-active-font-weight: var(
178
+ --dropdown-item-active-font-weight,
179
+ $font-weight-semi-bold
180
+ ) !default;
180
181
 
181
- // @deprecated as of v3.x use map $dropdown-item instead
182
+ // @deprecated as of v3.x use map $dropdown-item instead
182
183
 
183
- $dropdown-link-disabled-color: var(
184
- --dropdown-item-disabled-color,
185
- $gray-500
186
- );
184
+ $dropdown-link-disabled-color: var(
185
+ --dropdown-item-disabled-color,
186
+ $gray-500
187
+ ) !default;
187
188
 
188
- // .dropdown-item `background-color`, `border-width`, `text-align` for `<button>`s
189
+ // .dropdown-item `background-color`, `border-width`, `text-align` for `<button>`s
189
190
 
190
- $dropdown-item-base: ();
191
- $dropdown-item-base: map-deep-merge(
192
- (
193
- background-color: transparent,
194
- border-radius: 0px,
195
- border-width: 0px,
196
- clear: both,
197
- color: $dropdown-link-color,
198
- cursor: $link-cursor,
199
- display: block,
200
- font-size: inherit,
201
- font-weight: $font-weight-normal,
202
- overflow: hidden,
203
- padding-bottom: $dropdown-item-padding-y,
204
- padding-left: $dropdown-item-padding-x,
205
- padding-right: $dropdown-item-padding-x,
206
- padding-top: $dropdown-item-padding-y,
207
- position: relative,
208
- text-align: inherit,
209
- transition: none,
210
- width: 100%,
211
- word-wrap: break-word,
191
+ $dropdown-item-base: () !default;
192
+ $dropdown-item-base: map-deep-merge(
193
+ (
194
+ background-color: transparent,
195
+ border-radius: 0px,
196
+ border-width: 0px,
197
+ clear: both,
198
+ color: $dropdown-link-color,
199
+ cursor: $link-cursor,
200
+ display: block,
201
+ font-size: inherit,
202
+ font-weight: $font-weight-normal,
203
+ overflow: hidden,
204
+ padding-bottom: $dropdown-item-padding-y,
205
+ padding-left: $dropdown-item-padding-x,
206
+ padding-right: $dropdown-item-padding-x,
207
+ padding-top: $dropdown-item-padding-y,
208
+ position: relative,
209
+ text-align: inherit,
210
+ transition: none,
211
+ width: 100%,
212
+ word-wrap: break-word,
212
213
 
213
- hover: (
214
- background-color: $dropdown-link-hover-bg,
215
- color: $dropdown-link-hover-color,
216
- text-decoration: none,
217
- ),
218
-
219
- focus: (
220
- background-color: $dropdown-link-hover-bg,
221
- box-shadow: $component-focus-inset-box-shadow,
222
- color: $dropdown-link-hover-color,
223
- outline: 0,
224
- text-decoration: none,
225
- ),
226
-
227
- active: (
228
- background-color: $dropdown-link-active-bg,
229
- color: $dropdown-link-active-color,
230
- text-decoration: none,
231
- ),
232
-
233
- active-class: (
234
- font-weight: $dropdown-link-active-font-weight,
235
- pointer-events: none,
236
-
237
- c-kbd-inline: (
238
- color: $dropdown-link-active-color,
239
- ),
240
- ),
241
-
242
- disabled: (
243
- background-color: transparent,
244
- box-shadow: none,
245
- color: $dropdown-link-disabled-color,
246
- cursor: $dropdown-item-disabled-cursor,
247
- opacity: 1,
248
- outline: 0,
214
+ hover: (
215
+ background-color: $dropdown-link-hover-bg,
216
+ color: $dropdown-link-hover-color,
217
+ text-decoration: none,
218
+ ),
249
219
 
250
- active: (
251
- pointer-events: none,
252
- ),
220
+ focus: (
221
+ background-color: $dropdown-link-hover-bg,
222
+ box-shadow: $component-focus-inset-box-shadow,
223
+ color: $dropdown-link-hover-color,
224
+ outline: 0,
225
+ text-decoration: none,
226
+ ),
253
227
 
254
- c-kbd-inline: (
255
- color: $dropdown-link-disabled-color,
256
- ),
257
- ),
228
+ active: (
229
+ background-color: $dropdown-link-active-bg,
230
+ color: $dropdown-link-active-color,
231
+ text-decoration: none,
232
+ ),
258
233
 
259
- c-kbd-inline: (
260
- color: $gray-500,
261
- line-height:
262
- calc(#{$dropdown-font-size} * #{$line-height-base}),
263
- ),
234
+ active-class: (
235
+ font-weight: $dropdown-link-active-font-weight,
236
+ pointer-events: none,
264
237
 
265
- '&.autofit-row': (
266
- align-items: center,
267
- padding-left: calc(#{$dropdown-item-padding-x} - 0.25rem),
268
- padding-right: calc(#{$dropdown-item-padding-x} - 0.25rem),
269
- autofit-col: (
270
- padding-left: 0.25rem,
271
- padding-right: 0.25rem,
272
- ),
273
- ),
238
+ c-kbd-inline: (
239
+ color: $dropdown-link-active-color,
240
+ ),
241
+ ),
274
242
 
275
- autofit-row: (
276
- align-items: center,
277
- margin-left: -0.25rem,
278
- margin-right: -0.25rem,
279
- width: auto,
243
+ disabled: (
244
+ background-color: transparent,
245
+ box-shadow: none,
246
+ color: $dropdown-link-disabled-color,
247
+ cursor: $dropdown-item-disabled-cursor,
248
+ opacity: 1,
249
+ outline: 0,
280
250
 
281
- autofit-col: (
282
- padding-left: 0.25rem,
283
- padding-right: 0.25rem,
284
- ),
285
- ),
251
+ active: (
252
+ pointer-events: none,
253
+ ),
286
254
 
287
- inline-item: (
288
- line-height: 1,
255
+ c-kbd-inline: (
256
+ color: $dropdown-link-disabled-color,
257
+ ),
258
+ ),
289
259
 
290
- lexicon-icon: (
291
- font-size: 1rem,
292
- margin-top: 0rem,
293
- ),
294
- ),
260
+ c-kbd-inline: (
261
+ color: $gray-500,
262
+ line-height: calc(#{$dropdown-font-size} * #{$line-height-base}),
263
+ ),
295
264
 
296
- label: (
297
- margin-bottom: 0rem,
298
- margin-top: 0.3125rem,
299
- ),
300
- ),
301
- $dropdown-item-base
302
- );
303
-
304
- // .dropdown-item-text
305
-
306
- $dropdown-item-text: ();
307
- $dropdown-item-text: map-merge(
308
- (
309
- color: map-get($dropdown-item-base, color),
310
- display: map-get($dropdown-item-base, display),
311
- font-weight: map-get($dropdown-item-base, font-weight),
312
- padding: map-get($dropdown-item-base, padding),
313
- padding-bottom: map-get($dropdown-item-base, padding-bottom),
314
- padding-left: map-get($dropdown-item-base, padding-left),
315
- padding-right: map-get($dropdown-item-base, padding-right),
316
- padding-top: map-get($dropdown-item-base, padding-top),
265
+ '&.autofit-row': (
266
+ align-items: center,
267
+ padding-left: calc(#{$dropdown-item-padding-x} - 0.25rem),
268
+ padding-right: calc(#{$dropdown-item-padding-x} - 0.25rem),
269
+ autofit-col: (
270
+ padding-left: 0.25rem,
271
+ padding-right: 0.25rem,
317
272
  ),
318
- $dropdown-item-text
319
- );
320
-
321
- // .dropdown-header
273
+ ),
322
274
 
323
- // @deprecated as of v3.x use map $dropdown-header instead
275
+ autofit-row: (
276
+ align-items: center,
277
+ margin-left: -0.25rem,
278
+ margin-right: -0.25rem,
279
+ width: auto,
324
280
 
325
- $dropdown-header-color: var(--dropdown-header-color, $gray-900);
281
+ autofit-col: (
282
+ padding-left: 0.25rem,
283
+ padding-right: 0.25rem,
284
+ ),
285
+ ),
326
286
 
327
- // @deprecated as of v3.x use map $dropdown-header instead
287
+ inline-item: (
288
+ line-height: 1,
328
289
 
329
- $dropdown-header-font-size: var(--dropdown-header-font-size, 0.875rem);
290
+ lexicon-icon: (
291
+ font-size: 1rem,
292
+ margin-top: 0rem,
293
+ ),
294
+ ),
330
295
 
331
- // @deprecated as of v3.x use map $dropdown-header instead
296
+ label: (
297
+ margin-bottom: 0rem,
298
+ margin-top: 0.3125rem,
299
+ ),
300
+ ),
301
+ $dropdown-item-base
302
+ );
332
303
 
333
- $dropdown-header-margin-bottom: var(
334
- --dropdown-header-margin-bottom,
335
- 0rem
336
- );
304
+ // .dropdown-item-text
337
305
 
338
- // @deprecated as of v3.x use map $dropdown-header instead
306
+ $dropdown-item-text: () !default;
307
+ $dropdown-item-text: map-merge(
308
+ (
309
+ color: map-get($dropdown-item-base, color),
310
+ display: map-get($dropdown-item-base, display),
311
+ font-weight: map-get($dropdown-item-base, font-weight),
312
+ padding: map-get($dropdown-item-base, padding),
313
+ padding-bottom: map-get($dropdown-item-base, padding-bottom),
314
+ padding-left: map-get($dropdown-item-base, padding-left),
315
+ padding-right: map-get($dropdown-item-base, padding-right),
316
+ padding-top: map-get($dropdown-item-base, padding-top),
317
+ ),
318
+ $dropdown-item-text
319
+ );
339
320
 
340
- $dropdown-header-margin-top: var(
341
- --dropdown-header-margin-top,
342
- 0.625rem
343
- );
321
+ // .dropdown-header
344
322
 
345
- // @deprecated as of v3.x use map $dropdown-header instead
323
+ // @deprecated as of v3.x use map $dropdown-header instead
346
324
 
347
- $dropdown-header-padding-x: var(
348
- --dropdown-header-padding-x,
349
- $dropdown-item-padding-x
350
- );
325
+ $dropdown-header-color: var(--dropdown-header-color, $gray-900) !default;
351
326
 
352
- // @deprecated as of v3.x use map $dropdown-header instead
327
+ // @deprecated as of v3.x use map $dropdown-header instead
353
328
 
354
- $dropdown-header-padding-y: var(
355
- --dropdown-header-padding-y,
356
- $dropdown-padding-y
357
- );
329
+ $dropdown-header-font-size: var(--dropdown-header-font-size, 0.875rem) !default;
358
330
 
359
- // @deprecated as of v3.x use map $dropdown-header instead
331
+ // @deprecated as of v3.x use map $dropdown-header instead
360
332
 
361
- $dropdown-header-text-transform: var(
362
- --dropdown-header-text-transform,
363
- none
364
- );
333
+ $dropdown-header-margin-bottom: var(
334
+ --dropdown-header-margin-bottom,
335
+ 0rem
336
+ ) !default;
365
337
 
366
- // @deprecated as of v3.x use map $dropdown-header instead
338
+ // @deprecated as of v3.x use map $dropdown-header instead
367
339
 
368
- $dropdown-header-font-size-mobile: null;
340
+ $dropdown-header-margin-top: var(
341
+ --dropdown-header-margin-top,
342
+ 0.625rem
343
+ ) !default;
369
344
 
370
- $dropdown-header: ();
371
- $dropdown-header: map-deep-merge(
372
- (
373
- breakpoint-down: sm,
345
+ // @deprecated as of v3.x use map $dropdown-header instead
374
346
 
375
- color: $dropdown-header-color,
376
- display: block,
377
- font-size: $dropdown-header-font-size,
378
- margin-bottom: $dropdown-header-margin-bottom,
379
- margin-top: $dropdown-header-margin-top,
380
- padding-bottom: $dropdown-header-padding-y,
381
- padding-left: $dropdown-header-padding-x,
382
- padding-right: $dropdown-header-padding-x,
383
- padding-top: $dropdown-header-padding-y,
384
- position: relative,
385
- text-transform: $dropdown-header-text-transform,
386
- word-wrap: break-word,
347
+ $dropdown-header-padding-x: var(
348
+ --dropdown-header-padding-x,
349
+ $dropdown-item-padding-x
350
+ ) !default;
387
351
 
388
- mobile: (
389
- font-size: $dropdown-header-font-size-mobile,
390
- ),
352
+ // @deprecated as of v3.x use map $dropdown-header instead
391
353
 
392
- first-child: (
393
- margin-top: 0rem,
394
- ),
395
- ),
396
- $dropdown-header
397
- );
354
+ $dropdown-header-padding-y: var(
355
+ --dropdown-header-padding-y,
356
+ $dropdown-padding-y
357
+ ) !default;
398
358
 
399
- // .dropdown-subheader
359
+ // @deprecated as of v3.x use map $dropdown-header instead
400
360
 
401
- // @deprecated as of v3.x use map $dropdown-subheader instead
361
+ $dropdown-header-text-transform: var(
362
+ --dropdown-header-text-transform,
363
+ none
364
+ ) !default;
402
365
 
403
- $dropdown-subheader-color: var(
404
- --dropdown-subheader-color,
405
- $dropdown-header-color
406
- );
366
+ // @deprecated as of v3.x use map $dropdown-header instead
407
367
 
408
- // @deprecated as of v3.x use map $dropdown-subheader instead
368
+ $dropdown-header-font-size-mobile: null !default;
409
369
 
410
- $dropdown-subheader-font-size: var(
411
- --dropdown-subheader-font-size,
412
- 0.75rem
413
- );
370
+ $dropdown-header: () !default;
371
+ $dropdown-header: map-deep-merge(
372
+ (
373
+ breakpoint-down: sm,
414
374
 
415
- // @deprecated as of v3.x use map $dropdown-subheader instead
375
+ color: $dropdown-header-color,
376
+ display: block,
377
+ font-size: $dropdown-header-font-size,
378
+ margin-bottom: $dropdown-header-margin-bottom,
379
+ margin-top: $dropdown-header-margin-top,
380
+ padding-bottom: $dropdown-header-padding-y,
381
+ padding-left: $dropdown-header-padding-x,
382
+ padding-right: $dropdown-header-padding-x,
383
+ padding-top: $dropdown-header-padding-y,
384
+ position: relative,
385
+ text-transform: $dropdown-header-text-transform,
386
+ word-wrap: break-word,
416
387
 
417
- $dropdown-subheader-font-weight: var(
418
- --dropdown-subheader-font-weight,
419
- $font-weight-semi-bold
420
- );
388
+ mobile: (
389
+ font-size: $dropdown-header-font-size-mobile,
390
+ ),
421
391
 
422
- // @deprecated as of v3.x use map $dropdown-subheader instead
392
+ first-child: (
393
+ margin-top: 0rem,
394
+ ),
395
+ ),
396
+ $dropdown-header
397
+ );
423
398
 
424
- $dropdown-subheader-margin-bottom: var(
425
- --dropdown-subheader-margin-bottom
426
- );
399
+ // .dropdown-subheader
427
400
 
428
- // @deprecated as of v3.x use map $dropdown-subheader instead
401
+ // @deprecated as of v3.x use map $dropdown-subheader instead
429
402
 
430
- $dropdown-subheader-margin-top: var(
431
- --dropdown-subheader-margin-top,
432
- 0.625rem
433
- );
403
+ $dropdown-subheader-color: var(
404
+ --dropdown-subheader-color,
405
+ $dropdown-header-color
406
+ ) !default;
434
407
 
435
- // @deprecated as of v3.x use map $dropdown-subheader instead
408
+ // @deprecated as of v3.x use map $dropdown-subheader instead
436
409
 
437
- $dropdown-subheader-padding-x: var(
438
- --dropdown-subheader-padding-x,
439
- $dropdown-header-padding-x
440
- );
410
+ $dropdown-subheader-font-size: var(
411
+ --dropdown-subheader-font-size,
412
+ 0.75rem
413
+ ) !default;
441
414
 
442
- // @deprecated as of v3.x use map $dropdown-subheader instead
415
+ // @deprecated as of v3.x use map $dropdown-subheader instead
443
416
 
444
- $dropdown-subheader-padding-y: var(
445
- --dropdown-subheader-padding-y,
446
- $dropdown-header-padding-y
447
- );
417
+ $dropdown-subheader-font-weight: var(
418
+ --dropdown-subheader-font-weight,
419
+ $font-weight-semi-bold
420
+ ) !default;
448
421
 
449
- // @deprecated as of v3.x use map $dropdown-subheader instead
422
+ // @deprecated as of v3.x use map $dropdown-subheader instead
450
423
 
451
- $dropdown-subheader-text-transform: var(
452
- --dropdown-subheader-text-transform,
453
- uppercase
454
- );
424
+ $dropdown-subheader-margin-bottom: var(
425
+ --dropdown-subheader-margin-bottom
426
+ ) !default;
455
427
 
456
- $dropdown-subheader: ();
457
- $dropdown-subheader: map-deep-merge(
458
- (
459
- color: $dropdown-subheader-color,
460
- font-size: $dropdown-subheader-font-size,
461
- font-weight: $dropdown-subheader-font-weight,
462
- margin-bottom: $dropdown-subheader-margin-bottom,
463
- margin-top: $dropdown-subheader-margin-top,
464
- padding-bottom: $dropdown-subheader-padding-y,
465
- padding-left: $dropdown-subheader-padding-x,
466
- padding-right: $dropdown-subheader-padding-x,
467
- padding-top: $dropdown-subheader-padding-y,
468
- text-transform: $dropdown-subheader-text-transform,
469
- white-space: normal,
470
- word-wrap: break-word,
428
+ // @deprecated as of v3.x use map $dropdown-subheader instead
471
429
 
472
- first-child: (
473
- margin-top: 0rem,
474
- ),
475
- ),
476
- $dropdown-subheader
477
- );
430
+ $dropdown-subheader-margin-top: var(
431
+ --dropdown-subheader-margin-top,
432
+ 0.625rem
433
+ ) !default;
478
434
 
479
- // .dropdown-caption
435
+ // @deprecated as of v3.x use map $dropdown-subheader instead
480
436
 
481
- // @deprecated as of v3.x use map $dropdown-caption instead
437
+ $dropdown-subheader-padding-x: var(
438
+ --dropdown-subheader-padding-x,
439
+ $dropdown-header-padding-x
440
+ ) !default;
482
441
 
483
- $dropdown-caption-color: var(--dropdown-caption-color, $gray-600);
442
+ // @deprecated as of v3.x use map $dropdown-subheader instead
484
443
 
485
- // @deprecated as of v3.x use map $dropdown-caption instead
444
+ $dropdown-subheader-padding-y: var(
445
+ --dropdown-subheader-padding-y,
446
+ $dropdown-header-padding-y
447
+ ) !default;
486
448
 
487
- $dropdown-caption-font-size: var(
488
- --dropdown-caption-font-size,
489
- 0.875rem
490
- );
449
+ // @deprecated as of v3.x use map $dropdown-subheader instead
491
450
 
492
- // @deprecated as of v3.x use map $dropdown-caption instead
451
+ $dropdown-subheader-text-transform: var(
452
+ --dropdown-subheader-text-transform,
453
+ uppercase
454
+ ) !default;
493
455
 
494
- $dropdown-caption-font-weight: var(
495
- --dropdown-caption-font-weight,
496
- $font-weight-normal
497
- );
456
+ $dropdown-subheader: () !default;
457
+ $dropdown-subheader: map-deep-merge(
458
+ (
459
+ color: $dropdown-subheader-color,
460
+ font-size: $dropdown-subheader-font-size,
461
+ font-weight: $dropdown-subheader-font-weight,
462
+ margin-bottom: $dropdown-subheader-margin-bottom,
463
+ margin-top: $dropdown-subheader-margin-top,
464
+ padding-bottom: $dropdown-subheader-padding-y,
465
+ padding-left: $dropdown-subheader-padding-x,
466
+ padding-right: $dropdown-subheader-padding-x,
467
+ padding-top: $dropdown-subheader-padding-y,
468
+ text-transform: $dropdown-subheader-text-transform,
469
+ white-space: normal,
470
+ word-wrap: break-word,
498
471
 
499
- $dropdown-caption: ();
500
- $dropdown-caption: map-merge(
501
- (
502
- color: $dropdown-caption-color,
503
- font-size: $dropdown-caption-font-size,
504
- font-weight: $dropdown-caption-font-weight,
505
- padding: $dropdown-item-padding-y $dropdown-item-padding-x,
506
- white-space: normal,
507
- word-wrap: break-word,
472
+ first-child: (
473
+ margin-top: 0rem,
474
+ ),
475
+ ),
476
+ $dropdown-subheader
477
+ );
478
+
479
+ // .dropdown-caption
480
+
481
+ // @deprecated as of v3.x use map $dropdown-caption instead
482
+
483
+ $dropdown-caption-color: var(--dropdown-caption-color, $gray-600) !default;
484
+
485
+ // @deprecated as of v3.x use map $dropdown-caption instead
486
+
487
+ $dropdown-caption-font-size: var(
488
+ --dropdown-caption-font-size,
489
+ 0.875rem
490
+ ) !default;
491
+
492
+ // @deprecated as of v3.x use map $dropdown-caption instead
493
+
494
+ $dropdown-caption-font-weight: var(
495
+ --dropdown-caption-font-weight,
496
+ $font-weight-normal
497
+ ) !default;
498
+
499
+ $dropdown-caption: () !default;
500
+ $dropdown-caption: map-merge(
501
+ (
502
+ color: $dropdown-caption-color,
503
+ font-size: $dropdown-caption-font-size,
504
+ font-weight: $dropdown-caption-font-weight,
505
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x,
506
+ white-space: normal,
507
+ word-wrap: break-word,
508
+ ),
509
+ $dropdown-caption
510
+ );
511
+
512
+ // .dropdown-divider
513
+
514
+ // @deprecated as of v3.x use map $dropdown-divider instead
515
+
516
+ $dropdown-divider-bg: var(
517
+ --dropdown-divider-bg,
518
+ $dropdown-border-color
519
+ ) !default;
520
+
521
+ // @deprecated as of v3.x use map $dropdown-divider instead
522
+
523
+ $dropdown-divider-margin-y: var(
524
+ --dropdown-divider-margin-y,
525
+ calc(#{$spacer} * 0.5)
526
+ ) !default;
527
+
528
+ $dropdown-divider: () !default;
529
+ $dropdown-divider: map-merge(
530
+ (
531
+ border-top: 1px solid $dropdown-divider-bg,
532
+ height: 0rem,
533
+ margin: $dropdown-divider-margin-y 0rem,
534
+ overflow: hidden,
535
+ ),
536
+ $dropdown-divider
537
+ );
538
+
539
+ // .dropdown-section
540
+
541
+ // @deprecated as of v3.x use map $dropdown-section instead
542
+
543
+ $dropdown-section-custom-control: () !default;
544
+ $dropdown-section-custom-control: map-deep-merge(
545
+ (
546
+ margin-bottom: 0rem,
547
+ ),
548
+ $dropdown-section-custom-control
549
+ );
550
+
551
+ // @deprecated as of v3.x use map $dropdown-section instead
552
+
553
+ $dropdown-section-custom-control-label: () !default;
554
+ $dropdown-section-custom-control-label: map-deep-merge(
555
+ (
556
+ color: $secondary,
557
+ ),
558
+ $dropdown-section-custom-control-label
559
+ );
560
+
561
+ // @deprecated as of v3.x use map $dropdown-section instead
562
+
563
+ $dropdown-section-custom-control-label-text: () !default;
564
+ $dropdown-section-custom-control-label-text: map-deep-merge(
565
+ (
566
+ padding-left: 1rem,
567
+ ),
568
+ $dropdown-section-custom-control-label-text
569
+ );
570
+
571
+ // @deprecated as of v3.x use map $dropdown-section instead
572
+
573
+ $dropdown-section-active-custom-control-label: () !default;
574
+ $dropdown-section-active-custom-control-label: map-deep-merge(
575
+ (
576
+ color: $gray-900,
577
+ ),
578
+ $dropdown-section-active-custom-control-label
579
+ );
580
+
581
+ $dropdown-section: () !default;
582
+ $dropdown-section: map-deep-merge(
583
+ (
584
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x,
585
+
586
+ form-group: (
587
+ form-group: (
588
+ margin-top: calc(#{$dropdown-item-padding-y} * 2),
508
589
  ),
509
- $dropdown-caption
510
- );
511
-
512
- // .dropdown-divider
513
-
514
- // @deprecated as of v3.x use map $dropdown-divider instead
515
-
516
- $dropdown-divider-bg: var(
517
- --dropdown-divider-bg,
518
- $dropdown-border-color
519
- );
520
-
521
- // @deprecated as of v3.x use map $dropdown-divider instead
522
-
523
- $dropdown-divider-margin-y: var(
524
- --dropdown-divider-margin-y,
525
- calc(#{$spacer} * 0.5)
526
- );
590
+ ),
527
591
 
528
- $dropdown-divider: ();
529
- $dropdown-divider: map-merge(
530
- (
531
- border-top: 1px solid $dropdown-divider-bg,
532
- height: 0rem,
533
- margin: $dropdown-divider-margin-y 0rem,
534
- overflow: hidden,
535
- ),
536
- $dropdown-divider
537
- );
592
+ custom-control: $dropdown-section-custom-control,
538
593
 
539
- // .dropdown-section
594
+ custom-control-label: $dropdown-section-custom-control-label,
540
595
 
541
- // @deprecated as of v3.x use map $dropdown-section instead
596
+ custom-control-label-text: $dropdown-section-custom-control-label-text,
542
597
 
543
- $dropdown-section-custom-control: ();
544
- $dropdown-section-custom-control: map-deep-merge(
545
- (
546
- margin-bottom: 0rem,
598
+ custom-control-outside: (
599
+ label: (
600
+ padding-left: 1.75rem,
547
601
  ),
548
- $dropdown-section-custom-control
549
- );
550
-
551
- // @deprecated as of v3.x use map $dropdown-section instead
602
+ ),
552
603
 
553
- $dropdown-section-custom-control-label: ();
554
- $dropdown-section-custom-control-label: map-deep-merge(
555
- (
556
- color: $secondary,
604
+ active: (
605
+ custom-control-label: $dropdown-section-active-custom-control-label,
606
+ ),
607
+ ),
608
+ $dropdown-section
609
+ );
610
+
611
+ // .dropdown-footer
612
+
613
+ $dropdown-footer: () !default;
614
+ $dropdown-footer: map-merge(
615
+ (
616
+ box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5),
617
+ padding: 0.5rem $dropdown-item-padding-x 0rem,
618
+ position: relative,
619
+ ),
620
+ $dropdown-footer
621
+ );
622
+
623
+ // Dropdown Inline Scroller
624
+
625
+ $dropdown-inline-scroller-max-height: 200px !default;
626
+ $dropdown-inline-scroller-max-height-mobile: none !default;
627
+
628
+ // Dropdown Item Indicator
629
+
630
+ $dropdown-item-indicator-size: var(
631
+ --dropdown-item-indicator-size,
632
+ 1rem
633
+ ) !default;
634
+
635
+ $dropdown-item-indicator-spacer-x: var(
636
+ --dropdown-item-indicator-spacer-x,
637
+ 0.75rem
638
+ ) !default;
639
+
640
+ $dropdown-item-indicator-start: () !default;
641
+ $dropdown-item-indicator-start: map-deep-merge(
642
+ (
643
+ align-items: center,
644
+ color: inherit,
645
+ display: inline-flex,
646
+ height: $dropdown-item-indicator-size,
647
+ justify-content: center,
648
+ left: $dropdown-item-padding-x,
649
+ position: absolute,
650
+ right: auto,
651
+ top:
652
+ calc(
653
+ #{$dropdown-item-padding-y} - ((
654
+ #{$dropdown-item-indicator-size} - (1em * #{$line-height-base})
655
+ ) / 2)
557
656
  ),
558
- $dropdown-section-custom-control-label
559
- );
560
-
561
- // @deprecated as of v3.x use map $dropdown-section instead
657
+ width: $dropdown-item-indicator-size,
562
658
 
563
- $dropdown-section-custom-control-label-text: ();
564
- $dropdown-section-custom-control-label-text: map-deep-merge(
565
- (
566
- padding-left: 1rem,
659
+ lexicon-icon: (
660
+ font-size: 1rem,
661
+ margin-top: 0rem,
662
+ ),
663
+ ),
664
+ $dropdown-item-indicator-start
665
+ );
666
+
667
+ $dropdown-item-indicator-text-start: () !default;
668
+ $dropdown-item-indicator-text-start: map-deep-merge(
669
+ (
670
+ color: inherit,
671
+ display: block,
672
+ padding-left:
673
+ calc(
674
+ #{$dropdown-item-indicator-size} + #{$dropdown-item-indicator-spacer-x}
567
675
  ),
568
- $dropdown-section-custom-control-label-text
569
- );
676
+ text-decoration: inherit,
677
+ width: 100%,
570
678
 
571
- // @deprecated as of v3.x use map $dropdown-section instead
679
+ hover: (
680
+ color: inherit,
681
+ text-decoration: inherit,
682
+ ),
572
683
 
573
- $dropdown-section-active-custom-control-label: ();
574
- $dropdown-section-active-custom-control-label: map-deep-merge(
575
- (
576
- color: $gray-900,
684
+ focus: (
685
+ color: inherit,
686
+ text-decoration: inherit,
687
+ ),
688
+ ),
689
+ $dropdown-item-indicator-text-start
690
+ );
691
+
692
+ $dropdown-item-indicator-end: () !default;
693
+ $dropdown-item-indicator-end: map-deep-merge(
694
+ (
695
+ align-items: center,
696
+ color: inherit,
697
+ display: inline-flex,
698
+ height: $dropdown-item-indicator-size,
699
+ justify-content: center,
700
+ left: auto,
701
+ position: absolute,
702
+ right: $dropdown-item-padding-x,
703
+ top:
704
+ calc(
705
+ #{$dropdown-item-padding-y} - ((
706
+ #{$dropdown-item-indicator-size} - (1em * #{$line-height-base})
707
+ ) / 2)
577
708
  ),
578
- $dropdown-section-active-custom-control-label
579
- );
580
-
581
- $dropdown-section: ();
582
- $dropdown-section: map-deep-merge(
583
- (
584
- padding: $dropdown-item-padding-y $dropdown-item-padding-x,
585
-
586
- form-group: (
587
- form-group: (
588
- margin-top: calc(#{$dropdown-item-padding-y} * 2),
589
- ),
590
- ),
591
-
592
- custom-control: $dropdown-section-custom-control,
593
-
594
- custom-control-label: $dropdown-section-custom-control-label,
595
-
596
- custom-control-label-text:
597
- $dropdown-section-custom-control-label-text,
709
+ width: $dropdown-item-indicator-size,
598
710
 
599
- custom-control-outside: (
600
- label: (
601
- padding-left: 1.75rem,
602
- ),
603
- ),
604
-
605
- active: (
606
- custom-control-label:
607
- $dropdown-section-active-custom-control-label,
608
- ),
711
+ lexicon-icon: (
712
+ font-size: 16px,
713
+ margin-top: 0rem,
714
+ ),
715
+ ),
716
+ $dropdown-item-indicator-end
717
+ );
718
+
719
+ $dropdown-item-indicator-text-end: () !default;
720
+ $dropdown-item-indicator-text-end: map-deep-merge(
721
+ (
722
+ color: inherit,
723
+ display: block,
724
+ padding-right:
725
+ calc(
726
+ #{$dropdown-item-indicator-size} + #{$dropdown-item-indicator-spacer-x}
609
727
  ),
610
- $dropdown-section
611
- );
728
+ text-decoration: inherit,
729
+ width: 100%,
612
730
 
613
- // .dropdown-footer
731
+ hover: (
732
+ color: inherit,
733
+ text-decoration: inherit,
734
+ ),
614
735
 
615
- $dropdown-footer: ();
616
- $dropdown-footer: map-merge(
617
- (
618
- box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5),
619
- padding: 0.5rem $dropdown-item-padding-x 0rem,
620
- position: relative,
736
+ focus: (
737
+ color: inherit,
738
+ text-decoration: inherit,
739
+ ),
740
+ ),
741
+ $dropdown-item-indicator-text-end
742
+ );
743
+
744
+ // .dropdown-menu-top
745
+
746
+ $dropdown-menu-top: () !default;
747
+ $dropdown-menu-top: map-deep-merge(
748
+ (
749
+ bottom: 100% !important,
750
+ left: 0rem !important,
751
+ margin-top: 0rem,
752
+ margin-bottom: $dropdown-spacer,
753
+ right: auto !important,
754
+ top: auto !important,
755
+ transform: none !important,
756
+ will-change: auto !important,
757
+ ),
758
+ $dropdown-menu-top
759
+ );
760
+
761
+ // .dropdown-menu-top-right
762
+
763
+ $dropdown-menu-top-right: () !default;
764
+ $dropdown-menu-top-right: map-deep-merge(
765
+ (
766
+ bottom: 100% !important,
767
+ left: auto !important,
768
+ margin-top: 0rem,
769
+ margin-bottom: $dropdown-spacer,
770
+ right: 0rem !important,
771
+ top: auto !important,
772
+ transform: none !important,
773
+ will-change: auto !important,
774
+ ),
775
+ $dropdown-menu-top-right
776
+ );
777
+
778
+ // .dropdown-menu-top-center
779
+
780
+ $dropdown-menu-top-center: () !default;
781
+ $dropdown-menu-top-center: map-deep-merge(
782
+ (
783
+ bottom: 100% !important,
784
+ left: 50% !important,
785
+ margin-top: 0rem,
786
+ margin-bottom: $dropdown-spacer,
787
+ right: auto !important,
788
+ top: auto !important,
789
+ transform: translateX(-50%) !important,
790
+ will-change: auto !important,
791
+ ),
792
+ $dropdown-menu-top-center
793
+ );
794
+
795
+ // .dropdown-menu-center
796
+
797
+ $dropdown-menu-center: () !default;
798
+ $dropdown-menu-center: map-deep-merge(
799
+ (
800
+ bottom: auto !important,
801
+ left: 50% !important,
802
+ right: auto !important,
803
+ top: 100% !important,
804
+ transform: translateX(-50%) !important,
805
+ will-change: auto !important,
806
+ ),
807
+ $dropdown-menu-center
808
+ );
809
+
810
+ // .dropdown-menu-left-side
811
+
812
+ $dropdown-menu-left-side: () !default;
813
+ $dropdown-menu-left-side: map-deep-merge(
814
+ (
815
+ bottom: auto !important,
816
+ left: auto !important,
817
+ margin-right: $dropdown-spacer,
818
+ margin-top: 0rem,
819
+ right: 100% !important,
820
+ top: 0rem !important,
821
+ transform: none !important,
822
+ will-change: auto !important,
823
+ ),
824
+ $dropdown-menu-left-side
825
+ );
826
+
827
+ // .dropdown-menu-left-side-bottom
828
+
829
+ $dropdown-menu-left-side-bottom: () !default;
830
+ $dropdown-menu-left-side-bottom: map-deep-merge(
831
+ (
832
+ bottom: 0rem !important,
833
+ left: auto !important,
834
+ margin-right: $dropdown-spacer,
835
+ margin-top: 0rem,
836
+ right: 100% !important,
837
+ top: auto !important,
838
+ transform: none !important,
839
+ will-change: auto !important,
840
+ ),
841
+ $dropdown-menu-left-side-bottom
842
+ );
843
+
844
+ // .dropdown-menu-left-side-middle
845
+
846
+ $dropdown-menu-left-side-middle: () !default;
847
+ $dropdown-menu-left-side-middle: map-deep-merge(
848
+ (
849
+ bottom: auto !important,
850
+ left: auto !important,
851
+ margin-right: $dropdown-spacer,
852
+ margin-top: 0rem,
853
+ right: 100% !important,
854
+ top: 50% !important,
855
+ transform: translate(0, -50%) !important,
856
+ will-change: auto !important,
857
+ ),
858
+ $dropdown-menu-left-side-middle
859
+ );
860
+
861
+ // .dropdown-menu-right-side
862
+
863
+ $dropdown-menu-right-side: () !default;
864
+ $dropdown-menu-right-side: map-deep-merge(
865
+ (
866
+ bottom: auto !important,
867
+ left: 100% !important,
868
+ margin-left: $dropdown-spacer,
869
+ margin-top: 0rem,
870
+ right: auto !important,
871
+ top: 0rem !important,
872
+ transform: none !important,
873
+ will-change: auto !important,
874
+ ),
875
+ $dropdown-menu-right-side
876
+ );
877
+
878
+ // .dropdown-menu-right-side-bottom
879
+
880
+ $dropdown-menu-right-side-bottom: () !default;
881
+ $dropdown-menu-right-side-bottom: map-deep-merge(
882
+ (
883
+ bottom: 0rem !important,
884
+ left: 100% !important,
885
+ margin-left: $dropdown-spacer,
886
+ margin-top: 0rem,
887
+ right: auto !important,
888
+ top: auto !important,
889
+ transform: none !important,
890
+ will-change: auto !important,
891
+ ),
892
+ $dropdown-menu-right-side-bottom
893
+ );
894
+
895
+ // .dropdown-menu-right-side-middle
896
+
897
+ $dropdown-menu-right-side-middle: () !default;
898
+ $dropdown-menu-right-side-middle: map-deep-merge(
899
+ (
900
+ bottom: auto !important,
901
+ left: 100% !important,
902
+ margin-left: $dropdown-spacer,
903
+ margin-top: 0rem,
904
+ right: auto !important,
905
+ top: 50% !important,
906
+ transform: translate(0, -50%) !important,
907
+ will-change: auto !important,
908
+ ),
909
+ $dropdown-menu-right-side-middle
910
+ );
911
+
912
+ // .dropdown-full, .dropdown-wide
913
+
914
+ $dropdown-full-wide-header-spacer-y: 20px !default;
915
+
916
+ // .dropdown-wide
917
+
918
+ $dropdown-wide-width: 500px !default;
919
+
920
+ // .dropdown-menu-width-shrink
921
+
922
+ $dropdown-menu-width-shrink: () !default;
923
+ $dropdown-menu-width-shrink: map-deep-merge(
924
+ (
925
+ min-width: 0rem,
926
+ ),
927
+ $dropdown-menu-width-shrink
928
+ );
929
+
930
+ // .dropdown-menu-width-full
931
+
932
+ $dropdown-menu-width-full: () !default;
933
+ $dropdown-menu-width-full: map-merge(
934
+ (
935
+ left: 12px !important,
936
+ right: 12px !important,
937
+ max-width: none,
938
+ min-width: 0rem,
939
+ width: calc(100% - 24px),
940
+ ),
941
+ $dropdown-menu-width-full
942
+ );
943
+
944
+ // .dropdown-menu-width-sm
945
+
946
+ $dropdown-menu-width-sm: () !default;
947
+ $dropdown-menu-width-sm: map-merge(
948
+ (
949
+ max-width: none,
950
+ min-width: 0rem,
951
+ width: 500px,
952
+ ),
953
+ $dropdown-menu-width-sm
954
+ );
955
+
956
+ $dropdown-menu-width-sm-sm-down: () !default;
957
+ $dropdown-menu-width-sm-sm-down: map-merge(
958
+ (
959
+ left: 12px !important,
960
+ right: 12px !important,
961
+ width: calc(100% - 24px),
962
+ ),
963
+ $dropdown-menu-width-sm-sm-down
964
+ );
965
+
966
+ // Dropdown Menu Height
967
+
968
+ $dropdown-menu-height-auto: () !default;
969
+ $dropdown-menu-height-auto: map-merge(
970
+ (
971
+ height: auto,
972
+ max-height: none,
973
+ min-height: 0rem,
974
+ ),
975
+ $dropdown-menu-height-auto
976
+ );
977
+
978
+ // Autocomplete Dropdown Menu
979
+
980
+ $autocomplete-dropdown-menu: () !default;
981
+ $autocomplete-dropdown-menu: map-deep-merge(
982
+ (
983
+ max-height: 160px,
984
+ max-width: none,
985
+ width: 100%,
986
+ ),
987
+ $autocomplete-dropdown-menu
988
+ );
989
+
990
+ // .dropdown-action
991
+
992
+ // @deprecated as of v3.x use map $dropdown-action instead
993
+
994
+ $dropdown-action-toggle-border-radius: $border-radius !default;
995
+
996
+ // @deprecated as of v3.x use map $dropdown-action instead
997
+
998
+ $dropdown-action-toggle-font-size: 1rem !default;
999
+
1000
+ // @deprecated as of v3.x use map $dropdown-action instead
1001
+
1002
+ $dropdown-action-toggle-disabled-cursor: $disabled-cursor !default;
1003
+
1004
+ // @deprecated as of v3.x use map $dropdown-action instead
1005
+
1006
+ $dropdown-action-toggle-disabled-opacity: $btn-disabled-opacity !default;
1007
+
1008
+ $dropdown-action-toggle-size: if(
1009
+ variable-exists(btn-monospaced-size-sm),
1010
+ $btn-monospaced-size-sm,
1011
+ 2rem
1012
+ ) !default;
1013
+
1014
+ $dropdown-action: () !default;
1015
+ $dropdown-action: map-deep-merge(
1016
+ (
1017
+ display: inline-block,
1018
+ font-size: $dropdown-action-toggle-font-size,
1019
+ vertical-align: middle,
1020
+
1021
+ dropdown-toggle: (
1022
+ align-items: center,
1023
+ border-radius:
1024
+ clay-enable-rounded($dropdown-action-toggle-border-radius),
1025
+ cursor: $link-cursor,
1026
+ display: flex,
1027
+ font-size: inherit,
1028
+ font-weight: inherit,
1029
+ height: $dropdown-action-toggle-size,
1030
+ justify-content: center,
1031
+ line-height: inherit,
1032
+ padding: 0rem,
1033
+ text-transform: inherit,
1034
+ vertical-align: baseline,
1035
+ width: $dropdown-action-toggle-size,
1036
+
1037
+ disabled: (
1038
+ cursor: $dropdown-action-toggle-disabled-cursor,
1039
+ opacity: $dropdown-action-toggle-disabled-opacity,
621
1040
  ),
622
- $dropdown-footer
623
- );
624
-
625
- // Dropdown Inline Scroller
626
-
627
- $dropdown-inline-scroller-max-height: 200px;
628
- $dropdown-inline-scroller-max-height-mobile: none;
629
-
630
- // Dropdown Item Indicator
631
-
632
- $dropdown-item-indicator-size: var(
633
- --dropdown-item-indicator-size,
634
- 1rem
635
- );
636
-
637
- $dropdown-item-indicator-spacer-x: var(
638
- --dropdown-item-indicator-spacer-x,
639
- 0.75rem
640
- );
641
-
642
- $dropdown-item-indicator-start: ();
643
- $dropdown-item-indicator-start: map-deep-merge(
644
- (
645
- align-items: center,
646
- color: inherit,
647
- display: inline-flex,
648
- height: $dropdown-item-indicator-size,
649
- justify-content: center,
650
- left: $dropdown-item-padding-x,
651
- position: absolute,
652
- right: auto,
653
- top:
654
- calc(
655
- #{$dropdown-item-padding-y} -
656
- (
657
- (
658
- #{$dropdown-item-indicator-size} -
659
- (1em * #{$line-height-base})
660
- ) /
661
- 2
662
- )
663
- ),
664
- width: $dropdown-item-indicator-size,
665
1041
 
666
- lexicon-icon: (
667
- font-size: 1rem,
668
- margin-top: 0rem,
669
- ),
670
- ),
671
- $dropdown-item-indicator-start
672
- );
673
-
674
- $dropdown-item-indicator-text-start: ();
675
- $dropdown-item-indicator-text-start: map-deep-merge(
676
- (
677
- color: inherit,
678
- display: block,
679
- padding-left:
680
- calc(
681
- #{$dropdown-item-indicator-size} +
682
- #{$dropdown-item-indicator-spacer-x}
683
- ),
684
- text-decoration: inherit,
685
- width: 100%,
686
-
687
- hover: (
688
- color: inherit,
689
- text-decoration: inherit,
690
- ),
691
-
692
- focus: (
693
- color: inherit,
694
- text-decoration: inherit,
695
- ),
1042
+ lexicon-icon: (
1043
+ margin-top: 0rem,
696
1044
  ),
697
- $dropdown-item-indicator-text-start
698
- );
699
-
700
- $dropdown-item-indicator-end: ();
701
- $dropdown-item-indicator-end: map-deep-merge(
702
- (
703
- align-items: center,
704
- color: inherit,
705
- display: inline-flex,
706
- height: $dropdown-item-indicator-size,
707
- justify-content: center,
708
- left: auto,
709
- position: absolute,
710
- right: $dropdown-item-padding-x,
711
- top:
712
- calc(
713
- #{$dropdown-item-padding-y} -
714
- (
715
- (
716
- #{$dropdown-item-indicator-size} -
717
- (1em * #{$line-height-base})
718
- ) /
719
- 2
720
- )
721
- ),
722
- width: $dropdown-item-indicator-size,
723
1045
 
1046
+ inline-item: (
724
1047
  lexicon-icon: (
725
- font-size: 16px,
726
1048
  margin-top: 0rem,
727
1049
  ),
728
1050
  ),
729
- $dropdown-item-indicator-end
730
- );
731
-
732
- $dropdown-item-indicator-text-end: ();
733
- $dropdown-item-indicator-text-end: map-deep-merge(
734
- (
735
- color: inherit,
736
- display: block,
737
- padding-right:
738
- calc(
739
- #{$dropdown-item-indicator-size} +
740
- #{$dropdown-item-indicator-spacer-x}
741
- ),
742
- text-decoration: inherit,
743
- width: 100%,
744
-
745
- hover: (
746
- color: inherit,
747
- text-decoration: inherit,
748
- ),
749
-
750
- focus: (
751
- color: inherit,
752
- text-decoration: inherit,
753
- ),
754
- ),
755
- $dropdown-item-indicator-text-end
756
- );
757
-
758
- // .dropdown-menu-top
759
-
760
- $dropdown-menu-top: ();
761
- $dropdown-menu-top: map-deep-merge(
762
- (
763
- bottom: 100% !important,
764
- left: 0rem !important,
765
- margin-top: 0rem,
766
- margin-bottom: $dropdown-spacer,
767
- right: auto !important,
768
- top: auto !important,
769
- transform: none !important,
770
- will-change: auto !important,
771
- ),
772
- $dropdown-menu-top
773
- );
774
-
775
- // .dropdown-menu-top-right
776
-
777
- $dropdown-menu-top-right: ();
778
- $dropdown-menu-top-right: map-deep-merge(
779
- (
780
- bottom: 100% !important,
781
- left: auto !important,
782
- margin-top: 0rem,
783
- margin-bottom: $dropdown-spacer,
784
- right: 0rem !important,
785
- top: auto !important,
786
- transform: none !important,
787
- will-change: auto !important,
788
- ),
789
- $dropdown-menu-top-right
790
- );
791
-
792
- // .dropdown-menu-top-center
793
-
794
- $dropdown-menu-top-center: ();
795
- $dropdown-menu-top-center: map-deep-merge(
796
- (
797
- bottom: 100% !important,
798
- left: 50% !important,
799
- margin-top: 0rem,
800
- margin-bottom: $dropdown-spacer,
801
- right: auto !important,
802
- top: auto !important,
803
- transform: translateX(-50%) !important,
804
- will-change: auto !important,
805
- ),
806
- $dropdown-menu-top-center
807
- );
808
-
809
- // .dropdown-menu-center
810
-
811
- $dropdown-menu-center: ();
812
- $dropdown-menu-center: map-deep-merge(
813
- (
814
- bottom: auto !important,
815
- left: 50% !important,
816
- right: auto !important,
817
- top: 100% !important,
818
- transform: translateX(-50%) !important,
819
- will-change: auto !important,
820
- ),
821
- $dropdown-menu-center
822
- );
823
-
824
- // .dropdown-menu-left-side
825
-
826
- $dropdown-menu-left-side: ();
827
- $dropdown-menu-left-side: map-deep-merge(
828
- (
829
- bottom: auto !important,
830
- left: auto !important,
831
- margin-right: $dropdown-spacer,
832
- margin-top: 0rem,
833
- right: 100% !important,
834
- top: 0rem !important,
835
- transform: none !important,
836
- will-change: auto !important,
837
- ),
838
- $dropdown-menu-left-side
839
- );
840
-
841
- // .dropdown-menu-left-side-bottom
842
-
843
- $dropdown-menu-left-side-bottom: ();
844
- $dropdown-menu-left-side-bottom: map-deep-merge(
845
- (
846
- bottom: 0rem !important,
847
- left: auto !important,
848
- margin-right: $dropdown-spacer,
849
- margin-top: 0rem,
850
- right: 100% !important,
851
- top: auto !important,
852
- transform: none !important,
853
- will-change: auto !important,
854
- ),
855
- $dropdown-menu-left-side-bottom
856
- );
1051
+ ),
1052
+ ),
1053
+ $dropdown-action
1054
+ );
1055
+
1056
+ // Alert inside Dropdowns
1057
+
1058
+ $dropdown-alert-font-size: null !default;
1059
+ $dropdown-alert-line-height: normal !default;
1060
+ $dropdown-alert-margin: 0.5rem !default;
1061
+ $dropdown-alert-padding-x: $dropdown-header-padding-x !default;
1062
+ $dropdown-alert-padding-y: $dropdown-header-padding-y !default;
1063
+
1064
+ $dropdown-menu-alert: () !default;
1065
+ $dropdown-menu-alert: map-deep-merge(
1066
+ (
1067
+ font-size: $dropdown-alert-font-size,
1068
+ line-height: $dropdown-alert-line-height,
1069
+ margin: $dropdown-alert-margin,
1070
+ padding: $dropdown-alert-padding-y $dropdown-alert-padding-x,
1071
+
1072
+ first-child: (
1073
+ margin-top: 0rem,
1074
+ ),
857
1075
 
858
- // .dropdown-menu-left-side-middle
1076
+ last-child: (
1077
+ margin-bottom: 0rem,
1078
+ ),
1079
+ ),
1080
+ $dropdown-menu-alert
1081
+ );
1082
+
1083
+ $dropdown-menu-alert-fluid: () !default;
1084
+ $dropdown-menu-alert-fluid: map-deep-merge(
1085
+ (
1086
+ margin-left: 0rem,
1087
+ margin-right: 0rem,
1088
+
1089
+ first-child: (
1090
+ margin-top: calc(#{$dropdown-padding-y} * -1),
1091
+ ),
859
1092
 
860
- $dropdown-menu-left-side-middle: ();
861
- $dropdown-menu-left-side-middle: map-deep-merge(
862
- (
863
- bottom: auto !important,
864
- left: auto !important,
865
- margin-right: $dropdown-spacer,
866
- margin-top: 0rem,
867
- right: 100% !important,
868
- top: 50% !important,
869
- transform: translate(0, -50%) !important,
870
- will-change: auto !important,
1093
+ last-child: (
1094
+ margin-bottom: calc(#{$dropdown-padding-y} * -1),
1095
+ ),
1096
+ ),
1097
+ $dropdown-menu-alert-fluid
1098
+ );
1099
+
1100
+ $dropdown-menu: map-deep-merge(
1101
+ (
1102
+ alert:
1103
+ map-deep-merge($dropdown-menu-alert, map-get($dropdown-menu, alert)),
1104
+ alert-fluid:
1105
+ map-deep-merge(
1106
+ $dropdown-menu-alert-fluid,
1107
+ map-get($dropdown-menu, alert-fluid)
871
1108
  ),
872
- $dropdown-menu-left-side-middle
873
- );
874
-
875
- // .dropdown-menu-right-side
876
-
877
- $dropdown-menu-right-side: ();
878
- $dropdown-menu-right-side: map-deep-merge(
879
- (
880
- bottom: auto !important,
881
- left: 100% !important,
882
- margin-left: $dropdown-spacer,
883
- margin-top: 0rem,
884
- right: auto !important,
885
- top: 0rem !important,
886
- transform: none !important,
887
- will-change: auto !important,
1109
+ ),
1110
+ $dropdown-menu
1111
+ );
1112
+
1113
+ // Dropdown Menu Variants
1114
+
1115
+ $dropdown-menu-palette: () !default;
1116
+ $dropdown-menu-palette: map-deep-merge(
1117
+ (
1118
+ '.dropdown-menu-select.dropdown-menu': (
1119
+ dropdown-header: (
1120
+ padding-bottom: 0.375rem,
1121
+ padding-left: 1.75rem,
1122
+ padding-right: 0.5rem,
1123
+ padding-top: 0.3125rem,
888
1124
  ),
889
- $dropdown-menu-right-side
890
- );
891
1125
 
892
- // .dropdown-menu-right-side-bottom
893
-
894
- $dropdown-menu-right-side-bottom: ();
895
- $dropdown-menu-right-side-bottom: map-deep-merge(
896
- (
897
- bottom: 0rem !important,
898
- left: 100% !important,
899
- margin-left: $dropdown-spacer,
900
- margin-top: 0rem,
901
- right: auto !important,
902
- top: auto !important,
903
- transform: none !important,
904
- will-change: auto !important,
1126
+ dropdown-subheader: (
1127
+ padding-bottom: 0.4375rem,
1128
+ padding-left: 1.75rem,
1129
+ padding-right: 0.5rem,
1130
+ padding-top: 0.4375rem,
905
1131
  ),
906
- $dropdown-menu-right-side-bottom
907
- );
908
1132
 
909
- // .dropdown-menu-right-side-middle
910
-
911
- $dropdown-menu-right-side-middle: ();
912
- $dropdown-menu-right-side-middle: map-deep-merge(
913
- (
914
- bottom: auto !important,
915
- left: 100% !important,
916
- margin-left: $dropdown-spacer,
917
- margin-top: 0rem,
918
- right: auto !important,
919
- top: 50% !important,
920
- transform: translate(0, -50%) !important,
921
- will-change: auto !important,
1133
+ dropdown-section: (
1134
+ padding-left: 1.75rem,
1135
+ padding-right: 0.5rem,
922
1136
  ),
923
- $dropdown-menu-right-side-middle
924
- );
925
1137
 
926
- // .dropdown-full, .dropdown-wide
927
-
928
- $dropdown-full-wide-header-spacer-y: 20px;
929
-
930
- // .dropdown-wide
931
-
932
- $dropdown-wide-width: 500px;
933
-
934
- // .dropdown-menu-width-shrink
935
-
936
- $dropdown-menu-width-shrink: ();
937
- $dropdown-menu-width-shrink: map-deep-merge(
938
- (
939
- min-width: 0rem,
940
- ),
941
- $dropdown-menu-width-shrink
942
- );
943
-
944
- // .dropdown-menu-width-full
945
-
946
- $dropdown-menu-width-full: ();
947
- $dropdown-menu-width-full: map-merge(
948
- (
949
- left: 12px !important,
950
- right: 12px !important,
951
- max-width: none,
952
- min-width: 0rem,
953
- width: calc(100% - 24px),
1138
+ dropdown-item: (
1139
+ padding-bottom: 0.375rem,
1140
+ padding-left: 1.75rem,
1141
+ padding-right: 0.5rem,
1142
+ padding-top: 0.3125rem,
954
1143
  ),
955
- $dropdown-menu-width-full
956
- );
957
-
958
- // .dropdown-menu-width-sm
959
1144
 
960
- $dropdown-menu-width-sm: ();
961
- $dropdown-menu-width-sm: map-merge(
962
- (
963
- max-width: none,
964
- min-width: 0rem,
965
- width: 500px,
966
- ),
967
- $dropdown-menu-width-sm
968
- );
969
-
970
- $dropdown-menu-width-sm-sm-down: ();
971
- $dropdown-menu-width-sm-sm-down: map-merge(
972
- (
973
- left: 12px !important,
974
- right: 12px !important,
975
- width: calc(100% - 24px),
976
- ),
977
- $dropdown-menu-width-sm-sm-down
978
- );
1145
+ dropdown-item-scroll: (
1146
+ font-size: 1rem,
1147
+ height: 2rem,
1148
+ padding: 0rem,
1149
+ position: absolute,
1150
+ text-align: center,
1151
+ z-index: 1,
979
1152
 
980
- // Dropdown Menu Height
1153
+ hover: (
1154
+ background-color: $dropdown-link-hover-bg,
1155
+ background-image: none,
1156
+ color: $dropdown-link-hover-color,
1157
+ ),
981
1158
 
982
- $dropdown-menu-height-auto: ();
983
- $dropdown-menu-height-auto: map-merge(
984
- (
985
- height: auto,
986
- max-height: none,
987
- min-height: 0rem,
988
- ),
989
- $dropdown-menu-height-auto
990
- );
1159
+ focus: (
1160
+ background-color: $dropdown-link-hover-bg,
1161
+ background-image: none,
1162
+ color: $dropdown-link-hover-color,
1163
+ ),
991
1164
 
992
- // Autocomplete Dropdown Menu
1165
+ active: (
1166
+ background-color: $dropdown-link-active-bg,
1167
+ background-image: none,
1168
+ color: $dropdown-link-active-color,
1169
+ ),
993
1170
 
994
- $autocomplete-dropdown-menu: ();
995
- $autocomplete-dropdown-menu: map-deep-merge(
996
- (
997
- max-height: 160px,
998
- max-width: none,
999
- width: 100%,
1171
+ disabled: (
1172
+ background-color: transparent,
1173
+ background-image: none,
1174
+ color: $dropdown-link-disabled-color,
1175
+ cursor: $dropdown-item-disabled-cursor,
1176
+ ),
1000
1177
  ),
1001
- $autocomplete-dropdown-menu
1002
- );
1003
-
1004
- // .dropdown-action
1005
-
1006
- // @deprecated as of v3.x use map $dropdown-action instead
1007
-
1008
- $dropdown-action-toggle-border-radius: $border-radius;
1009
-
1010
- // @deprecated as of v3.x use map $dropdown-action instead
1011
-
1012
- $dropdown-action-toggle-font-size: 1rem;
1013
-
1014
- // @deprecated as of v3.x use map $dropdown-action instead
1015
-
1016
- $dropdown-action-toggle-disabled-cursor: $disabled-cursor;
1017
-
1018
- // @deprecated as of v3.x use map $dropdown-action instead
1019
1178
 
1020
- $dropdown-action-toggle-disabled-opacity: $btn-disabled-opacity;
1021
-
1022
- $dropdown-action-toggle-size: if(
1023
- variable-exists(btn-monospaced-size-sm),
1024
- $btn-monospaced-size-sm,
1025
- 2rem
1026
- );
1027
-
1028
- $dropdown-action: ();
1029
- $dropdown-action: map-deep-merge(
1030
- (
1031
- display: inline-block,
1032
- font-size: $dropdown-action-toggle-font-size,
1033
- vertical-align: middle,
1034
-
1035
- dropdown-toggle: (
1036
- align-items: center,
1037
- border-radius:
1038
- clay-enable-rounded(
1039
- $dropdown-action-toggle-border-radius
1040
- ),
1041
- cursor: $link-cursor,
1042
- display: flex,
1043
- font-size: inherit,
1044
- font-weight: inherit,
1045
- height: $dropdown-action-toggle-size,
1046
- justify-content: center,
1047
- line-height: inherit,
1048
- padding: 0rem,
1049
- text-transform: inherit,
1050
- vertical-align: baseline,
1051
- width: $dropdown-action-toggle-size,
1052
-
1053
- disabled: (
1054
- cursor: $dropdown-action-toggle-disabled-cursor,
1055
- opacity: $dropdown-action-toggle-disabled-opacity,
1056
- ),
1057
-
1058
- lexicon-icon: (
1059
- margin-top: 0rem,
1060
- ),
1061
-
1062
- inline-item: (
1063
- lexicon-icon: (
1064
- margin-top: 0rem,
1065
- ),
1179
+ dropdown-item-scroll-up: (
1180
+ background-image: (
1181
+ linear-gradient(
1182
+ to bottom,
1183
+ rgba(255, 255, 255, 1) 84%,
1184
+ rgba(255, 255, 255, 0) 100%
1066
1185
  ),
1067
1186
  ),
1187
+ top: $dropdown-padding-y,
1068
1188
  ),
1069
- $dropdown-action
1070
- );
1071
-
1072
- // Alert inside Dropdowns
1073
-
1074
- $dropdown-alert-font-size: null;
1075
- $dropdown-alert-line-height: normal;
1076
- $dropdown-alert-margin: 0.5rem;
1077
- $dropdown-alert-padding-x: $dropdown-header-padding-x;
1078
- $dropdown-alert-padding-y: $dropdown-header-padding-y;
1079
-
1080
- $dropdown-menu-alert: ();
1081
- $dropdown-menu-alert: map-deep-merge(
1082
- (
1083
- font-size: $dropdown-alert-font-size,
1084
- line-height: $dropdown-alert-line-height,
1085
- margin: $dropdown-alert-margin,
1086
- padding: $dropdown-alert-padding-y $dropdown-alert-padding-x,
1087
-
1088
- first-child: (
1089
- margin-top: 0rem,
1090
- ),
1091
1189
 
1092
- last-child: (
1093
- margin-bottom: 0rem,
1190
+ dropdown-item-scroll-down: (
1191
+ background-image: (
1192
+ linear-gradient(
1193
+ to top,
1194
+ rgba(255, 255, 255, 1) 84%,
1195
+ rgba(255, 255, 255, 0) 100%
1196
+ ),
1094
1197
  ),
1198
+ bottom: $dropdown-padding-y,
1095
1199
  ),
1096
- $dropdown-menu-alert
1097
- );
1098
1200
 
1099
- $dropdown-menu-alert-fluid: ();
1100
- $dropdown-menu-alert-fluid: map-deep-merge(
1101
- (
1102
- margin-left: 0rem,
1103
- margin-right: 0rem,
1201
+ dropdown-divider: (
1202
+ margin: 0.3125rem 0rem,
1203
+ ),
1104
1204
 
1105
- first-child: (
1106
- margin-top: calc(#{$dropdown-padding-y} * -1),
1205
+ dropdown-menu-indicator-start: (
1206
+ dropdown-item-indicator-start: (
1207
+ left: 0.5rem,
1107
1208
  ),
1209
+ ),
1108
1210
 
1109
- last-child: (
1110
- margin-bottom: calc(#{$dropdown-padding-y} * -1),
1211
+ dropdown-menu-indicator-end: (
1212
+ dropdown-item-indicator-end: (
1213
+ right: 0.5rem,
1111
1214
  ),
1112
1215
  ),
1113
- $dropdown-menu-alert-fluid
1114
- );
1115
-
1116
- $dropdown-menu: map-deep-merge(
1117
- (
1118
- alert:
1119
- map-deep-merge(
1120
- $dropdown-menu-alert,
1121
- map-get($dropdown-menu, alert)
1122
- ),
1123
- alert-fluid:
1124
- map-deep-merge(
1125
- $dropdown-menu-alert-fluid,
1126
- map-get($dropdown-menu, alert-fluid)
1127
- ),
1128
- ),
1129
- $dropdown-menu
1130
- );
1131
-
1132
- // Dropdown Menu Variants
1133
-
1134
- $dropdown-menu-palette: ();
1135
- $dropdown-menu-palette: map-deep-merge(
1136
- (
1137
- '.dropdown-menu-select.dropdown-menu': (
1138
- dropdown-header: (
1139
- padding-bottom: 0.375rem,
1140
- padding-left: 1.75rem,
1141
- padding-right: 0.5rem,
1142
- padding-top: 0.3125rem,
1143
- ),
1144
-
1145
- dropdown-subheader: (
1146
- padding-bottom: 0.4375rem,
1147
- padding-left: 1.75rem,
1148
- padding-right: 0.5rem,
1149
- padding-top: 0.4375rem,
1150
- ),
1151
-
1152
- dropdown-section: (
1153
- padding-left: 1.75rem,
1154
- padding-right: 0.5rem,
1155
- ),
1156
-
1157
- dropdown-item: (
1158
- padding-bottom: 0.375rem,
1159
- padding-left: 1.75rem,
1160
- padding-right: 0.5rem,
1161
- padding-top: 0.3125rem,
1162
- ),
1163
-
1164
- dropdown-item-scroll: (
1165
- font-size: 1rem,
1166
- height: 2rem,
1167
- padding: 0rem,
1168
- position: absolute,
1169
- text-align: center,
1170
- z-index: 1,
1171
-
1172
- hover: (
1173
- background-color: $dropdown-link-hover-bg,
1174
- background-image: none,
1175
- color: $dropdown-link-hover-color,
1176
- ),
1177
-
1178
- focus: (
1179
- background-color: $dropdown-link-hover-bg,
1180
- background-image: none,
1181
- color: $dropdown-link-hover-color,
1182
- ),
1183
-
1184
- active: (
1185
- background-color: $dropdown-link-active-bg,
1186
- background-image: none,
1187
- color: $dropdown-link-active-color,
1188
- ),
1189
-
1190
- disabled: (
1191
- background-color: transparent,
1192
- background-image: none,
1193
- color: $dropdown-link-disabled-color,
1194
- cursor: $dropdown-item-disabled-cursor,
1195
- ),
1196
- ),
1197
-
1198
- dropdown-item-scroll-up: (
1199
- background-image: (
1200
- linear-gradient(
1201
- to bottom,
1202
- rgba(255, 255, 255, 1) 84%,
1203
- rgba(255, 255, 255, 0) 100%
1204
- ),
1205
- ),
1206
- top: $dropdown-padding-y,
1207
- ),
1208
-
1209
- dropdown-item-scroll-down: (
1210
- background-image: (
1211
- linear-gradient(
1212
- to top,
1213
- rgba(255, 255, 255, 1) 84%,
1214
- rgba(255, 255, 255, 0) 100%
1215
- ),
1216
- ),
1217
- bottom: $dropdown-padding-y,
1218
- ),
1219
-
1220
- dropdown-divider: (
1221
- margin: 0.3125rem 0rem,
1222
- ),
1223
-
1224
- dropdown-menu-indicator-start: (
1225
- dropdown-item-indicator-start: (
1226
- left: 0.5rem,
1227
- ),
1228
- ),
1229
-
1230
- dropdown-menu-indicator-end: (
1231
- dropdown-item-indicator-end: (
1232
- right: 0.5rem,
1233
- ),
1234
- ),
1235
1216
 
1236
- inline-scroller: (
1237
- max-height: 224px,
1238
- ),
1239
- ),
1217
+ inline-scroller: (
1218
+ max-height: 224px,
1219
+ ),
1220
+ ),
1240
1221
 
1241
- '.dropdown-menu-select.dropdown-menu-height-lg': (
1242
- inline-scroller: (
1243
- max-height: 432px,
1244
- ),
1245
- ),
1222
+ '.dropdown-menu-select.dropdown-menu-height-lg': (
1223
+ inline-scroller: (
1224
+ max-height: 432px,
1246
1225
  ),
1247
- $dropdown-menu-palette
1248
- );
1249
- }
1250
- }
1226
+ ),
1227
+ ),
1228
+ $dropdown-menu-palette
1229
+ );