@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,650 +1,645 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $modal-backdrop-bg: var(--modal-backdrop-bg, $gray-800);
3
- $modal-backdrop-opacity: var(--modal-backdrop-opacity, 0.8);
4
-
5
- $modal-backdrop: ();
6
- $modal-backdrop: map-deep-merge(
7
- (
8
- background-color: $modal-backdrop-bg,
9
- height: 100vh,
10
- left: 0rem,
11
- position: fixed,
12
- top: 0rem,
13
- width: 100vw,
14
- z-index: $zindex-modal-backdrop,
15
-
16
- '&.fade': (
17
- opacity: 0,
18
- ),
1
+ $modal-backdrop-bg: var(--modal-backdrop-bg, $gray-800) !default;
2
+ $modal-backdrop-opacity: var(--modal-backdrop-opacity, 0.8) !default;
3
+
4
+ $modal-backdrop: () !default;
5
+ $modal-backdrop: map-deep-merge(
6
+ (
7
+ background-color: $modal-backdrop-bg,
8
+ height: 100vh,
9
+ left: 0rem,
10
+ position: fixed,
11
+ top: 0rem,
12
+ width: 100vw,
13
+ z-index: $zindex-modal-backdrop,
14
+
15
+ '&.fade': (
16
+ opacity: 0,
17
+ ),
19
18
 
20
- '&.show': (
21
- opacity: $modal-backdrop-opacity,
22
- ),
19
+ '&.show': (
20
+ opacity: $modal-backdrop-opacity,
23
21
  ),
24
- $modal-backdrop
25
- );
26
-
27
- // Modal Dialog
28
-
29
- $modal-dialog-margin: 0.5rem;
30
- $modal-dialog-margin-y-sm-up: 1.75rem;
31
-
32
- $modal-fade-transform: translate(0, -50px);
33
- $modal-scale-transform: scale(1.02);
34
- $modal-show-transform: none;
35
- $modal-transition: transform 0.3s ease-out;
36
-
37
- // Modal Content
38
-
39
- $modal-content-bg: var(--modal-content-bg, $white);
40
- $modal-content-color: var(--modal-content-color, inherit);
41
- $modal-content-border-color: var(--modal-content-border-color, transparent);
42
- $modal-content-border-radius: var(
43
- --modal-content-border-radius,
44
- $border-radius-lg
45
- );
46
- $modal-content-border-width: var(
47
- --modal-content-border-width,
48
- $border-width
49
- );
50
-
51
- $modal-content-inner-border-radius: calc(
52
- #{$modal-content-border-radius} - #{$modal-content-border-width}
53
- );
54
-
55
- $modal-content-box-shadow-xs: 0 0 3px 1px rgba(0, 0, 0, 0.2);
56
-
57
- $modal-content-box-shadow-sm-up: var(
58
- --modal-content-box-shadow-sm-up,
59
- 0 8px 16px unquote('hsl(from #{$black} h s l / 0.5)')
60
- );
61
-
62
- $modal-content: ();
63
- $modal-content: map-deep-merge(
64
- (
65
- background-clip: padding-box,
66
- background-color: $modal-content-bg,
67
- border-radius: clay-enable-rounded($modal-content-border-radius),
68
- border:
69
- $modal-content-border-width
70
- solid
71
- $modal-content-border-color,
72
- box-shadow: clay-enable-shadows($modal-content-box-shadow-xs),
73
- color: $modal-content-color,
74
- display: flex,
75
- flex-direction: column,
76
- max-height: calc(100vh - #{$modal-dialog-margin} * 2),
77
- outline: 0,
78
- overflow: hidden,
79
- pointer-events: auto,
80
- position: relative,
81
- width: 100%,
22
+ ),
23
+ $modal-backdrop
24
+ );
25
+
26
+ // Modal Dialog
27
+
28
+ $modal-dialog-margin: 0.5rem !default;
29
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
30
+
31
+ $modal-fade-transform: translate(0, -50px) !default;
32
+ $modal-scale-transform: scale(1.02) !default;
33
+ $modal-show-transform: none !default;
34
+ $modal-transition: transform 0.3s ease-out !default;
35
+
36
+ // Modal Content
37
+
38
+ $modal-content-bg: var(--modal-content-bg, $white) !default;
39
+ $modal-content-color: var(--modal-content-color, inherit) !default;
40
+ $modal-content-border-color: var(
41
+ --modal-content-border-color,
42
+ transparent
43
+ ) !default;
44
+ $modal-content-border-radius: var(
45
+ --modal-content-border-radius,
46
+ $border-radius-lg
47
+ ) !default;
48
+ $modal-content-border-width: var(
49
+ --modal-content-border-width,
50
+ $border-width
51
+ ) !default;
52
+
53
+ $modal-content-inner-border-radius: calc(
54
+ #{$modal-content-border-radius} - #{$modal-content-border-width}
55
+ ) !default;
56
+
57
+ $modal-content-box-shadow-xs: 0 0 3px 1px rgba(0, 0, 0, 0.2) !default;
58
+
59
+ $modal-content-box-shadow-sm-up: var(
60
+ --modal-content-box-shadow-sm-up,
61
+ 0 8px 16px unquote('hsl(from #{$black} h s l / 0.5)')
62
+ ) !default;
63
+
64
+ $modal-content: () !default;
65
+ $modal-content: map-deep-merge(
66
+ (
67
+ background-clip: padding-box,
68
+ background-color: $modal-content-bg,
69
+ border-radius: clay-enable-rounded($modal-content-border-radius),
70
+ border: $modal-content-border-width solid $modal-content-border-color,
71
+ box-shadow: clay-enable-shadows($modal-content-box-shadow-xs),
72
+ color: $modal-content-color,
73
+ display: flex,
74
+ flex-direction: column,
75
+ max-height: calc(100vh - #{$modal-dialog-margin} * 2),
76
+ outline: 0,
77
+ overflow: hidden,
78
+ pointer-events: auto,
79
+ position: relative,
80
+ width: 100%,
81
+ ),
82
+ $modal-content
83
+ );
84
+
85
+ // Modal Header
86
+
87
+ $modal-header-bg: var(--modal-header-bg, transparent) !default;
88
+ $modal-header-border-color: var(
89
+ --modal-header-border-color,
90
+ $gray-300
91
+ ) !default;
92
+ $modal-header-border-width: var(
93
+ --modal-header-border-width,
94
+ $modal-content-border-width
95
+ ) !default;
96
+ $modal-header-color: var(--modal-header-color, inherit) !default;
97
+ $modal-header-height: var(--modal-header-height, 64px) !default;
98
+ $modal-header-padding-x: var(--modal-header-padding-x, 24px) !default;
99
+ $modal-header-padding-y: var(--modal-header-padding-y, 24px) !default;
100
+
101
+ $modal-header-padding: var(--modal-header-padding, 24px) !default;
102
+
103
+ $modal-header-height-mobile: null !default;
104
+
105
+ $modal-header: () !default;
106
+ $modal-header: map-deep-merge(
107
+ (
108
+ breakpoint-down: sm,
109
+
110
+ align-items: center,
111
+ background-color: $modal-header-bg,
112
+ border-color: $modal-header-border-color,
113
+ border-style: solid,
114
+ border-top-radius:
115
+ clay-enable-rounded($modal-content-inner-border-radius),
116
+ border-width: 0px 0px $modal-header-border-width 0px,
117
+ color: $modal-header-color,
118
+ display: flex,
119
+ flex-shrink: 0,
120
+ height: $modal-header-height,
121
+ justify-content: space-between,
122
+ padding: $modal-header-padding,
123
+ padding-bottom: 0rem,
124
+ padding-top: 0rem,
125
+ z-index: 1,
126
+
127
+ '.modal-title': (
128
+ margin-bottom: 0rem,
129
+ margin-top: 0rem,
82
130
  ),
83
- $modal-content
84
- );
85
-
86
- // Modal Header
87
-
88
- $modal-header-bg: var(--modal-header-bg, transparent);
89
- $modal-header-border-color: var(--modal-header-border-color, $gray-300);
90
- $modal-header-border-width: var(
91
- --modal-header-border-width,
92
- $modal-content-border-width
93
- );
94
- $modal-header-color: var(--modal-header-color, inherit);
95
- $modal-header-height: var(--modal-header-height, 64px);
96
- $modal-header-padding-x: var(--modal-header-padding-x, 24px);
97
- $modal-header-padding-y: var(--modal-header-padding-y, 24px);
98
131
 
99
- $modal-header-padding: var(--modal-header-padding, 24px);
132
+ mobile: (
133
+ height: $modal-header-height-mobile,
134
+ ),
135
+ ),
136
+ $modal-header
137
+ );
100
138
 
101
- $modal-header-height-mobile: null;
139
+ // Modal Body
102
140
 
103
- $modal-header: ();
104
- $modal-header: map-deep-merge(
105
- (
106
- breakpoint-down: sm,
141
+ $modal-inner-padding: var(--modal-inner-padding, 24px) !default;
107
142
 
108
- align-items: center,
109
- background-color: $modal-header-bg,
110
- border-color: $modal-header-border-color,
111
- border-style: solid,
112
- border-top-radius:
113
- clay-enable-rounded($modal-content-inner-border-radius),
114
- border-width: 0px 0px $modal-header-border-width 0px,
115
- color: $modal-header-color,
116
- display: flex,
117
- flex-shrink: 0,
118
- height: $modal-header-height,
119
- justify-content: space-between,
120
- padding: $modal-header-padding,
121
- padding-bottom: 0rem,
122
- padding-top: 0rem,
123
- z-index: 1,
143
+ $modal-body-bg: var(--modal-body-bg, transparent) !default;
144
+ $modal-body-color: var(--modal-body-color, inherit) !default;
124
145
 
125
- '.modal-title': (
126
- margin-bottom: 0rem,
127
- margin-top: 0rem,
146
+ $modal-body: () !default;
147
+ $modal-body: map-deep-merge(
148
+ (
149
+ background-color: $modal-body-bg,
150
+ border-top:
151
+ var(
152
+ --modal-body-border-top,
153
+ $modal-content-border-width solid $border-color
128
154
  ),
129
-
130
- mobile: (
131
- height: $modal-header-height-mobile,
155
+ color: $modal-body-color,
156
+ flex-grow: 1,
157
+ flex-shrink: 1,
158
+ margin-top:
159
+ var(
160
+ --modal-body-margin-top,
161
+ calc(#{$modal-content-border-width} * -1)
132
162
  ),
163
+ overflow: auto,
164
+ overflow-wrap: break-word,
165
+ padding: $modal-inner-padding,
166
+ position: relative,
167
+
168
+ '.aspect-ratio': (
169
+ margin-left: calc(#{$modal-inner-padding} * -1),
170
+ margin-right: calc(#{$modal-inner-padding} * -1),
171
+ top: calc(#{$modal-inner-padding} * -1),
133
172
  ),
134
- $modal-header
135
- );
136
173
 
137
- // Modal Body
138
-
139
- $modal-inner-padding: var(--modal-inner-padding, 24px);
140
-
141
- $modal-body-bg: var(--modal-body-bg, transparent);
142
- $modal-body-color: var(--modal-body-color, inherit);
143
-
144
- $modal-body: ();
145
- $modal-body: map-deep-merge(
146
- (
147
- background-color: $modal-body-bg,
148
- border-top:
149
- var(
150
- --modal-body-border-top,
151
- $modal-content-border-width solid $border-color
152
- ),
153
- color: $modal-body-color,
154
- flex-grow: 1,
155
- flex-shrink: 1,
156
- margin-top:
157
- var(
158
- --modal-body-margin-top,
159
- calc(#{$modal-content-border-width} * -1)
160
- ),
174
+ '&.inline-scroller': (
175
+ max-height: none,
176
+ -webkit-overflow-scrolling: touch,
161
177
  overflow: auto,
162
- overflow-wrap: break-word,
163
178
  padding: $modal-inner-padding,
164
- position: relative,
165
-
166
- '.aspect-ratio': (
167
- margin-left: calc(#{$modal-inner-padding} * -1),
168
- margin-right: calc(#{$modal-inner-padding} * -1),
169
- top: calc(#{$modal-inner-padding} * -1),
170
- ),
179
+ ),
171
180
 
172
- '&.inline-scroller': (
173
- max-height: none,
174
- -webkit-overflow-scrolling: touch,
175
- overflow: auto,
176
- padding: $modal-inner-padding,
177
- ),
181
+ '.modal-banner-img': (
182
+ margin-left: calc(#{$modal-inner-padding} * -1),
183
+ margin-right: calc(#{$modal-inner-padding} * -1),
184
+ top: calc(#{$modal-inner-padding} * -1),
185
+ ),
178
186
 
179
- '.modal-banner-img': (
180
- margin-left: calc(#{$modal-inner-padding} * -1),
181
- margin-right: calc(#{$modal-inner-padding} * -1),
182
- top: calc(#{$modal-inner-padding} * -1),
187
+ '> .close': (
188
+ position: absolute,
189
+ right: 1rem,
190
+ top: 1rem,
191
+ z-index: 1,
192
+ ),
193
+ ),
194
+ $modal-body
195
+ );
196
+
197
+ // Modal Footer
198
+
199
+ $modal-footer-margin-between: var(
200
+ --modal-footer-margin-between,
201
+ 0.5rem
202
+ ) !default;
203
+
204
+ $modal-footer-bg: var(--modal-footer-bg, transparent) !default;
205
+ $modal-footer-border-color: var(
206
+ --modal-footer-border-color,
207
+ $modal-header-border-color
208
+ ) !default;
209
+ $modal-footer-border-width: var(
210
+ --modal-footer-border-width,
211
+ $modal-header-border-width
212
+ ) !default;
213
+ $modal-footer-box-shadow: var(--modal-footer-box-shadow, none) !default;
214
+ $modal-footer-color: var(--modal-footer-color, inherit) !default;
215
+ $modal-footer-height: var(--modal-footer-height, auto) !default;
216
+ $modal-footer-padding-x: var(--modal-footer-padding-x, 1.5rem) !default;
217
+ $modal-footer-padding-y: var(--modal-footer-padding-y, 1rem) !default;
218
+
219
+ $modal-footer-height-mobile: null !default;
220
+
221
+ $modal-item-padding-x: var(--modal-item-padding-x, 0rem) !default;
222
+ $modal-item-padding-y: var(--modal-item-padding-y, 0rem) !default;
223
+
224
+ $modal-item-group: () !default;
225
+ $modal-item-group: map-deep-merge(
226
+ (
227
+ align-items: center,
228
+ display: flex,
229
+ flex-wrap: wrap,
230
+ min-width: 3rem,
231
+ padding-left: 0.5rem,
232
+ padding-right: 0.5rem,
233
+ width: 100%,
234
+ ),
235
+ $modal-item-group
236
+ );
237
+
238
+ $modal-item-group-first-child: () !default;
239
+ $modal-item-group-first-child: map-deep-merge(
240
+ (
241
+ padding-left: 0rem,
242
+ ),
243
+ $modal-item-group-first-child
244
+ );
245
+
246
+ $modal-item-group-last-child: () !default;
247
+ $modal-item-group-last-child: map-deep-merge(
248
+ (
249
+ padding-right: 0rem,
250
+ ),
251
+ $modal-item-group-last-child
252
+ );
253
+
254
+ $modal-item-group-only-child: () !default;
255
+ $modal-item-group-only-child: map-deep-merge(
256
+ (
257
+ padding-left: 0rem,
258
+ padding-right: 0rem,
259
+ ),
260
+ $modal-item-group-only-child
261
+ );
262
+
263
+ $modal-item: () !default;
264
+ $modal-item: map-deep-merge(
265
+ (
266
+ display: flex,
267
+ flex-direction: column,
268
+ flex-grow: 1,
269
+ flex-shrink: 1,
270
+ max-width: 100%,
271
+ min-height: 0rem,
272
+ min-width: 3.125rem,
273
+ padding: 0rem,
274
+ position: relative,
275
+ word-wrap: break-word,
276
+ ),
277
+ $modal-item
278
+ );
279
+
280
+ $modal-item-shrink: () !default;
281
+ $modal-item-shrink: map-deep-merge(
282
+ (
283
+ flex-grow: 0,
284
+ ),
285
+ $modal-item-shrink
286
+ );
287
+
288
+ // Modal Title
289
+
290
+ $modal-title-font-size: var(--modal-title-font-size, 20px) !default;
291
+ $modal-title-font-weight: var(
292
+ --modal-title-font-weight,
293
+ $font-weight-bold
294
+ ) !default;
295
+ $modal-title-line-height: var(
296
+ --modal-title-line-height,
297
+ $headings-line-height
298
+ ) !default;
299
+ $modal-title-text-align: var(--modal-title-text-align, left) !default;
300
+
301
+ $modal-title-font-size-mobile: null !default;
302
+
303
+ $modal-title-indicator-font-size: var(
304
+ --modal-title-indicator-font-size,
305
+ 14px
306
+ ) !default;
307
+ $modal-title-indicator-spacer-x: var(
308
+ --modal-title-indicator-spacer-x,
309
+ 8px
310
+ ) !default;
311
+
312
+ // Modal Subtitle
313
+
314
+ $modal-subtitle: () !default;
315
+ $modal-subtitle: map-deep-merge(
316
+ (
317
+ display: inline-block,
318
+ ),
319
+ $modal-subtitle
320
+ );
321
+
322
+ $modal-subtitle-divider: () !default;
323
+ $modal-subtitle-divider: map-deep-merge(
324
+ (
325
+ display: inline-block,
326
+ margin-left: 0.25rem,
327
+ margin-right: 0.25rem,
328
+ ),
329
+ $modal-subtitle-divider
330
+ );
331
+
332
+ $modal-subtitle-strong: () !default;
333
+
334
+ // Modal Close
335
+
336
+ $modal-close-spacer-x: 0.3125rem !default;
337
+
338
+ // Modal Full Screen
339
+
340
+ $modal-full-screen-spacer-x: 45px !default;
341
+ $modal-full-screen-spacer-y: $modal-full-screen-spacer-x !default;
342
+
343
+ // Modal Width
344
+
345
+ $modal-sm: var(--modal-sm, 320px) !default;
346
+
347
+ $modal-md: var(--modal-md, 600px) !default;
348
+
349
+ $modal-lg: var(--modal-lg, 896px) !default;
350
+
351
+ $modal-xl: var(--modal-xl, 1140px) !default;
352
+
353
+ // Modal Height
354
+
355
+ $modal-height-sm: var(--modal-height-sm, 250px) !default;
356
+
357
+ $modal-height-md: var(--modal-height-md, 450px) !default;
358
+
359
+ $modal-height-lg: var(--modal-height-lg, 650px) !default;
360
+
361
+ $modal-height-xl: var(--modal-height-xl, 800px) !default;
362
+
363
+ $modal-height-full-modal-content: () !default;
364
+ $modal-height-full-modal-content: map-merge(
365
+ (
366
+ bottom: $modal-dialog-margin-y-sm-up,
367
+ left: auto,
368
+ position: absolute,
369
+ right: auto,
370
+ top: $modal-dialog-margin-y-sm-up,
371
+ ),
372
+ $modal-height-full-modal-content
373
+ );
374
+
375
+ $modal-height-full-modal-content-sm-up: () !default;
376
+ $modal-height-full-modal-content-sm-up: map-merge(
377
+ (
378
+ bottom: $modal-dialog-margin-y-sm-up,
379
+ left: auto,
380
+ right: auto,
381
+ top: $modal-dialog-margin-y-sm-up,
382
+ ),
383
+ $modal-height-full-modal-content-sm-up
384
+ );
385
+
386
+ // Modal
387
+
388
+ $modal: () !default;
389
+ $modal: map-deep-merge(
390
+ (
391
+ display: none,
392
+ height: 100%,
393
+ left: 0rem,
394
+ outline: 0,
395
+ overflow: hidden,
396
+ position: fixed,
397
+ top: 0rem,
398
+ width: 100%,
399
+ z-index: $zindex-modal,
400
+
401
+ close: (
402
+ '&:first-child': (
403
+ margin-left: calc(#{$modal-close-spacer-x} * -1),
183
404
  ),
184
405
 
185
- '> .close': (
186
- position: absolute,
187
- right: 1rem,
188
- top: 1rem,
189
- z-index: 1,
406
+ '&:last-child': (
407
+ margin-right: calc(#{$modal-close-spacer-x} * -1),
190
408
  ),
191
409
  ),
192
- $modal-body
193
- );
194
-
195
- // Modal Footer
196
-
197
- $modal-footer-margin-between: var(--modal-footer-margin-between, 0.5rem);
198
-
199
- $modal-footer-bg: var(--modal-footer-bg, transparent);
200
- $modal-footer-border-color: var(
201
- --modal-footer-border-color,
202
- $modal-header-border-color
203
- );
204
- $modal-footer-border-width: var(
205
- --modal-footer-border-width,
206
- $modal-header-border-width
207
- );
208
- $modal-footer-box-shadow: var(--modal-footer-box-shadow, none);
209
- $modal-footer-color: var(--modal-footer-color, inherit);
210
- $modal-footer-height: var(--modal-footer-height, auto);
211
- $modal-footer-padding-x: var(--modal-footer-padding-x, 1.5rem);
212
- $modal-footer-padding-y: var(--modal-footer-padding-y, 1rem);
213
-
214
- $modal-footer-height-mobile: null;
215
-
216
- $modal-item-padding-x: var(--modal-item-padding-x, 0rem);
217
- $modal-item-padding-y: var(--modal-item-padding-y, 0rem);
218
-
219
- $modal-item-group: ();
220
- $modal-item-group: map-deep-merge(
221
- (
222
- align-items: center,
223
- display: flex,
224
- flex-wrap: wrap,
225
- min-width: 3rem,
226
- padding-left: 0.5rem,
227
- padding-right: 0.5rem,
228
- width: 100%,
229
- ),
230
- $modal-item-group
231
- );
232
410
 
233
- $modal-item-group-first-child: ();
234
- $modal-item-group-first-child: map-deep-merge(
235
- (
236
- padding-left: 0rem,
237
- ),
238
- $modal-item-group-first-child
239
- );
411
+ modal-header: $modal-header,
240
412
 
241
- $modal-item-group-last-child: ();
242
- $modal-item-group-last-child: map-deep-merge(
243
- (
244
- padding-right: 0rem,
245
- ),
246
- $modal-item-group-last-child
247
- );
248
-
249
- $modal-item-group-only-child: ();
250
- $modal-item-group-only-child: map-deep-merge(
251
- (
252
- padding-left: 0rem,
253
- padding-right: 0rem,
254
- ),
255
- $modal-item-group-only-child
256
- );
413
+ modal-body: $modal-body,
257
414
 
258
- $modal-item: ();
259
- $modal-item: map-deep-merge(
260
- (
415
+ modal-footer: (
416
+ align-items: center,
417
+ background-color: $modal-footer-bg,
418
+ border-bottom-left-radius:
419
+ clay-enable-rounded($modal-content-inner-border-radius),
420
+ border-bottom-right-radius:
421
+ clay-enable-rounded($modal-content-inner-border-radius),
422
+ border-top: $modal-footer-border-width solid
423
+ $modal-footer-border-color,
424
+ box-shadow: clay-enable-shadows($modal-footer-box-shadow),
425
+ color: $modal-footer-color,
261
426
  display: flex,
262
- flex-direction: column,
263
- flex-grow: 1,
264
- flex-shrink: 1,
265
- max-width: 100%,
266
- min-height: 0rem,
267
- min-width: 3.125rem,
268
- padding: 0rem,
269
- position: relative,
270
- word-wrap: break-word,
271
- ),
272
- $modal-item
273
- );
274
-
275
- $modal-item-shrink: ();
276
- $modal-item-shrink: map-deep-merge(
277
- (
278
- flex-grow: 0,
427
+ flex-shrink: 0,
428
+ flex-wrap: wrap,
429
+ height: $modal-footer-height,
430
+ justify-content: flex-start,
431
+ padding-bottom: $modal-footer-padding-y,
432
+ padding-left: $modal-footer-padding-x,
433
+ padding-right: $modal-footer-padding-x,
434
+ padding-top: $modal-footer-padding-y,
435
+
436
+ '> *': (
437
+ margin: 0rem calc(#{$modal-footer-margin-between} * 0.5),
438
+ ),
279
439
  ),
280
- $modal-item-shrink
281
- );
282
-
283
- // Modal Title
284
-
285
- $modal-title-font-size: var(--modal-title-font-size, 20px);
286
- $modal-title-font-weight: var(--modal-title-font-weight, $font-weight-bold);
287
- $modal-title-line-height: var(
288
- --modal-title-line-height,
289
- $headings-line-height
290
- );
291
- $modal-title-text-align: var(--modal-title-text-align, left);
292
-
293
- $modal-title-font-size-mobile: null;
294
440
 
295
- $modal-title-indicator-font-size: var(
296
- --modal-title-indicator-font-size,
297
- 14px
298
- );
299
- $modal-title-indicator-spacer-x: var(--modal-title-indicator-spacer-x, 8px);
300
-
301
- // Modal Subtitle
441
+ modal-title: (
442
+ flex-grow: 1,
443
+ font-family: var(--modal-title-font-family, inherit),
444
+ font-size: $modal-title-font-size,
445
+ font-weight: $modal-title-font-weight,
446
+ line-height: $modal-title-line-height,
447
+ margin: var(--modal-title-margin, 16px 0 24px 0),
448
+ overflow: hidden,
449
+ text-align: $modal-title-text-align,
450
+ text-overflow: ellipsis,
451
+ white-space: nowrap,
302
452
 
303
- $modal-subtitle: ();
304
- $modal-subtitle: map-deep-merge(
305
- (
306
- display: inline-block,
453
+ '[tabindex="-1"]': (
454
+ outline: 0,
455
+ ),
307
456
  ),
308
- $modal-subtitle
309
- );
310
457
 
311
- $modal-subtitle-divider: ();
312
- $modal-subtitle-divider: map-deep-merge(
313
- (
458
+ modal-title-indicator: (
314
459
  display: inline-block,
315
- margin-left: 0.25rem,
316
- margin-right: 0.25rem,
317
- ),
318
- $modal-subtitle-divider
319
- );
320
-
321
- $modal-subtitle-strong: ();
322
-
323
- // Modal Close
324
-
325
- $modal-close-spacer-x: 0.3125rem;
326
-
327
- // Modal Full Screen
328
-
329
- $modal-full-screen-spacer-x: 45px;
330
- $modal-full-screen-spacer-y: $modal-full-screen-spacer-x;
331
-
332
- // Modal Width
333
-
334
- $modal-sm: var(--modal-sm, 320px);
335
-
336
- $modal-md: var(--modal-md, 600px);
337
-
338
- $modal-lg: var(--modal-lg, 896px);
339
-
340
- $modal-xl: var(--modal-xl, 1140px);
341
-
342
- // Modal Height
343
-
344
- $modal-height-sm: var(--modal-height-sm, 250px);
345
-
346
- $modal-height-md: var(--modal-height-md, 450px);
347
-
348
- $modal-height-lg: var(--modal-height-lg, 650px);
349
-
350
- $modal-height-xl: var(--modal-height-xl, 800px);
351
-
352
- $modal-height-full-modal-content: ();
353
- $modal-height-full-modal-content: map-merge(
354
- (
355
- bottom: $modal-dialog-margin-y-sm-up,
356
- left: auto,
357
- position: absolute,
358
- right: auto,
359
- top: $modal-dialog-margin-y-sm-up,
360
- ),
361
- $modal-height-full-modal-content
362
- );
363
-
364
- $modal-height-full-modal-content-sm-up: ();
365
- $modal-height-full-modal-content-sm-up: map-merge(
366
- (
367
- bottom: $modal-dialog-margin-y-sm-up,
368
- left: auto,
369
- right: auto,
370
- top: $modal-dialog-margin-y-sm-up,
460
+ font-size: $modal-title-indicator-font-size,
461
+ margin-right: $modal-title-indicator-spacer-x,
462
+ margin-top: -0.2em,
463
+ vertical-align: middle,
371
464
  ),
372
- $modal-height-full-modal-content-sm-up
373
- );
374
-
375
- // Modal
376
-
377
- $modal: ();
378
- $modal: map-deep-merge(
379
- (
380
- display: none,
381
- height: 100%,
382
- left: 0rem,
383
- outline: 0,
384
- overflow: hidden,
385
- position: fixed,
386
- top: 0rem,
387
- width: 100%,
388
- z-index: $zindex-modal,
389
465
 
390
- close: (
391
- '&:first-child': (
392
- margin-left: calc(#{$modal-close-spacer-x} * -1),
466
+ media-breakpoint-down: (
467
+ sm: (
468
+ close: (
469
+ margin-right: -0.5rem,
393
470
  ),
394
471
 
395
- '&:last-child': (
396
- margin-right: calc(#{$modal-close-spacer-x} * -1),
472
+ modal-header: (
473
+ height: 3rem,
474
+ padding: 0.5rem 1rem,
397
475
  ),
398
- ),
399
476
 
400
- modal-header: $modal-header,
401
-
402
- modal-body: $modal-body,
403
-
404
- modal-footer: (
405
- align-items: center,
406
- background-color: $modal-footer-bg,
407
- border-bottom-left-radius:
408
- clay-enable-rounded($modal-content-inner-border-radius),
409
- border-bottom-right-radius:
410
- clay-enable-rounded($modal-content-inner-border-radius),
411
- border-top:
412
- $modal-footer-border-width
413
- solid
414
- $modal-footer-border-color,
415
- box-shadow: clay-enable-shadows($modal-footer-box-shadow),
416
- color: $modal-footer-color,
417
- display: flex,
418
- flex-shrink: 0,
419
- flex-wrap: wrap,
420
- height: $modal-footer-height,
421
- justify-content: flex-start,
422
- padding-bottom: $modal-footer-padding-y,
423
- padding-left: $modal-footer-padding-x,
424
- padding-right: $modal-footer-padding-x,
425
- padding-top: $modal-footer-padding-y,
426
-
427
- '> *': (
428
- margin: 0rem calc(#{$modal-footer-margin-between} * 0.5),
477
+ modal-title: (
478
+ font-size: 1.125rem,
429
479
  ),
430
- ),
431
480
 
432
- modal-title: (
433
- flex-grow: 1,
434
- font-family: var(--modal-title-font-family, inherit),
435
- font-size: $modal-title-font-size,
436
- font-weight: $modal-title-font-weight,
437
- line-height: $modal-title-line-height,
438
- margin: var(--modal-title-margin, 16px 0 24px 0),
439
- overflow: hidden,
440
- text-align: $modal-title-text-align,
441
- text-overflow: ellipsis,
442
- white-space: nowrap,
443
-
444
- '[tabindex="-1"]': (
445
- outline: 0,
481
+ modal-body: (
482
+ padding: 0.5rem 1rem,
446
483
  ),
447
- ),
448
-
449
- modal-title-indicator: (
450
- display: inline-block,
451
- font-size: $modal-title-indicator-font-size,
452
- margin-right: $modal-title-indicator-spacer-x,
453
- margin-top: -0.2em,
454
- vertical-align: middle,
455
- ),
456
-
457
- media-breakpoint-down: (
458
- sm: (
459
- close: (
460
- margin-right: -0.5rem,
461
- ),
462
484
 
463
- modal-header: (
464
- height: 3rem,
465
- padding: 0.5rem 1rem,
466
- ),
467
-
468
- modal-title: (
469
- font-size: 1.125rem,
470
- ),
471
-
472
- modal-body: (
473
- padding: 0.5rem 1rem,
474
- ),
475
-
476
- modal-body-iframe: (
477
- padding: 0rem,
478
- ),
485
+ modal-body-iframe: (
486
+ padding: 0rem,
487
+ ),
479
488
 
480
- modal-footer: (
481
- padding: 0.5rem,
482
- ),
489
+ modal-footer: (
490
+ padding: 0.5rem,
483
491
  ),
484
492
  ),
485
493
  ),
486
- $modal
487
- );
488
-
489
- // Modal Success
490
-
491
- $modal-success: ();
492
- $modal-success: map-deep-merge(
493
- (
494
- modal-header: (
495
- background-color:
496
- var(
497
- --modal-success-modal-header-background-color,
498
- $success-l2
499
- ),
500
- border-color:
501
- var(--modal-success-modal-header-border-color, $success-l1),
502
- color: var(--modal-success-modal-header-color, $success),
503
- close: (
494
+ ),
495
+ $modal
496
+ );
497
+
498
+ // Modal Success
499
+
500
+ $modal-success: () !default;
501
+ $modal-success: map-deep-merge(
502
+ (
503
+ modal-header: (
504
+ background-color:
505
+ var(--modal-success-modal-header-background-color, $success-l2),
506
+ border-color:
507
+ var(--modal-success-modal-header-border-color, $success-l1),
508
+ color: var(--modal-success-modal-header-color, $success),
509
+ close: (
510
+ color: var(--modal-success-modal-header-close-color, $success),
511
+ hover: (
504
512
  color:
505
- var(--modal-success-modal-header-close-color, $success),
506
- hover: (
507
- color:
508
- var(
509
- --modal-success-modal-header-close-hover-color,
510
- inherit
511
- ),
512
- ),
513
-
514
- disabled: (
515
- color:
516
- var(
517
- --modal-success-modal-header-close-disabled-color,
518
- inherit
519
- ),
520
- ),
513
+ var(
514
+ --modal-success-modal-header-close-hover-color,
515
+ inherit
516
+ ),
517
+ ),
518
+
519
+ disabled: (
520
+ color:
521
+ var(
522
+ --modal-success-modal-header-close-disabled-color,
523
+ inherit
524
+ ),
521
525
  ),
522
526
  ),
523
527
  ),
524
- $modal-success
525
- );
526
-
527
- // Modal Info
528
-
529
- $modal-info: ();
530
- $modal-info: map-deep-merge(
531
- (
532
- modal-header: (
533
- background-color:
534
- var(--modal-info-modal-header-background-color, $info-l2),
535
- border-color:
536
- var(--modal-info-modal-header-border-color, $info-l1),
537
- color: var(--modal-info-modal-header-color, $info),
538
- close: (
539
- color: var(--modal-info-modal-header-close-color, $info),
540
- hover: (
541
- color:
542
- var(
543
- --modal-info-modal-header-close-hover-color,
544
- inherit
545
- ),
546
- ),
547
-
548
- disabled: (
549
- color:
550
- var(
551
- --modal-info-modal-header-close-disabled-color,
552
- inherit
553
- ),
554
- ),
528
+ ),
529
+ $modal-success
530
+ );
531
+
532
+ // Modal Info
533
+
534
+ $modal-info: () !default;
535
+ $modal-info: map-deep-merge(
536
+ (
537
+ modal-header: (
538
+ background-color:
539
+ var(--modal-info-modal-header-background-color, $info-l2),
540
+ border-color: var(--modal-info-modal-header-border-color, $info-l1),
541
+ color: var(--modal-info-modal-header-color, $info),
542
+ close: (
543
+ color: var(--modal-info-modal-header-close-color, $info),
544
+ hover: (
545
+ color:
546
+ var(
547
+ --modal-info-modal-header-close-hover-color,
548
+ inherit
549
+ ),
550
+ ),
551
+
552
+ disabled: (
553
+ color:
554
+ var(
555
+ --modal-info-modal-header-close-disabled-color,
556
+ inherit
557
+ ),
555
558
  ),
556
559
  ),
557
560
  ),
558
- $modal-info
559
- );
560
-
561
- // Modal Warning
562
-
563
- $modal-warning: ();
564
- $modal-warning: map-deep-merge(
565
- (
566
- modal-header: (
567
- background-color:
568
- var(
569
- --modal-warning-modal-header-background-color,
570
- $warning-l2
571
- ),
572
- border-color:
573
- var(--modal-warning-modal-header-border-color, $warning-l1),
574
- color: var(--modal-warning-modal-header-color, $warning),
575
- close: (
561
+ ),
562
+ $modal-info
563
+ );
564
+
565
+ // Modal Warning
566
+
567
+ $modal-warning: () !default;
568
+ $modal-warning: map-deep-merge(
569
+ (
570
+ modal-header: (
571
+ background-color:
572
+ var(--modal-warning-modal-header-background-color, $warning-l2),
573
+ border-color:
574
+ var(--modal-warning-modal-header-border-color, $warning-l1),
575
+ color: var(--modal-warning-modal-header-color, $warning),
576
+ close: (
577
+ color: var(--modal-warning-modal-header-close-color, $warning),
578
+ hover: (
579
+ color:
580
+ var(
581
+ --modal-warning-modal-header-close-hover-color,
582
+ inherit
583
+ ),
584
+ ),
585
+
586
+ disabled: (
576
587
  color:
577
- var(--modal-warning-modal-header-close-color, $warning),
578
- hover: (
579
- color:
580
- var(
581
- --modal-warning-modal-header-close-hover-color,
582
- inherit
583
- ),
584
- ),
585
-
586
- disabled: (
587
- color:
588
- var(
589
- --modal-warning-modal-header-close-disabled-color,
590
- inherit
591
- ),
592
- ),
588
+ var(
589
+ --modal-warning-modal-header-close-disabled-color,
590
+ inherit
591
+ ),
593
592
  ),
594
593
  ),
595
594
  ),
596
- $modal-warning
597
- );
598
-
599
- // Modal Danger
600
-
601
- $modal-danger: ();
602
- $modal-danger: map-deep-merge(
603
- (
604
- modal-header: (
605
- background-color:
606
- var(
607
- --modal-danger-modal-header-background-color,
608
- $danger-l2
609
- ),
610
- border-color:
611
- var(--modal-danger-modal-header-border-color, $danger-l1),
612
- color: var(--modal-danger-modal-header-color, $danger),
613
- close: (
595
+ ),
596
+ $modal-warning
597
+ );
598
+
599
+ // Modal Danger
600
+
601
+ $modal-danger: () !default;
602
+ $modal-danger: map-deep-merge(
603
+ (
604
+ modal-header: (
605
+ background-color:
606
+ var(--modal-danger-modal-header-background-color, $danger-l2),
607
+ border-color:
608
+ var(--modal-danger-modal-header-border-color, $danger-l1),
609
+ color: var(--modal-danger-modal-header-color, $danger),
610
+ close: (
611
+ color: var(--modal-danger-modal-header-close-color, $danger),
612
+ hover: (
613
+ color:
614
+ var(
615
+ --modal-danger-modal-header-close-hover-color,
616
+ inherit
617
+ ),
618
+ ),
619
+
620
+ disabled: (
614
621
  color:
615
- var(--modal-danger-modal-header-close-color, $danger),
616
- hover: (
617
- color:
618
- var(
619
- --modal-danger-modal-header-close-hover-color,
620
- inherit
621
- ),
622
- ),
623
-
624
- disabled: (
625
- color:
626
- var(
627
- --modal-danger-modal-header-close-disabled-color,
628
- inherit
629
- ),
630
- ),
622
+ var(
623
+ --modal-danger-modal-header-close-disabled-color,
624
+ inherit
625
+ ),
631
626
  ),
632
627
  ),
633
628
  ),
634
- $modal-danger
635
- );
629
+ ),
630
+ $modal-danger
631
+ );
636
632
 
637
- $modal-palette: ();
638
- $modal-palette: map-deep-merge(
639
- (
640
- success: $modal-success,
633
+ $modal-palette: () !default;
634
+ $modal-palette: map-deep-merge(
635
+ (
636
+ success: $modal-success,
641
637
 
642
- info: $modal-info,
638
+ info: $modal-info,
643
639
 
644
- warning: $modal-warning,
640
+ warning: $modal-warning,
645
641
 
646
- danger: $modal-danger,
647
- ),
648
- $modal-palette
649
- );
650
- }
642
+ danger: $modal-danger,
643
+ ),
644
+ $modal-palette
645
+ );