@clayui/css 3.43.0 → 3.44.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.
@@ -1459,6 +1459,38 @@
1459
1459
  );
1460
1460
  }
1461
1461
  }
1462
+
1463
+ .nav-divider {
1464
+ @include clay-css(map-deep-get($map, nav-divider));
1465
+
1466
+ &::before {
1467
+ @include clay-css(
1468
+ map-deep-get($map, nav-divider, before)
1469
+ );
1470
+ }
1471
+
1472
+ &::after {
1473
+ @include clay-css(
1474
+ map-deep-get($map, nav-divider, after)
1475
+ );
1476
+ }
1477
+ }
1478
+
1479
+ .nav-divider-end {
1480
+ @include clay-css(map-deep-get($map, nav-divider-end));
1481
+
1482
+ &::before {
1483
+ @include clay-css(
1484
+ map-deep-get($map, nav-divider-end, before)
1485
+ );
1486
+ }
1487
+
1488
+ &::after {
1489
+ @include clay-css(
1490
+ map-deep-get($map, nav-divider-end, after)
1491
+ );
1492
+ }
1493
+ }
1462
1494
  }
1463
1495
 
1464
1496
  .navbar-form {
@@ -207,12 +207,284 @@ $card-rounded-circle-inner-border-radius: calc(
207
207
  #{$rounded-circle-border-radius} - #{$card-border-width}
208
208
  ) !default;
209
209
 
210
+ // .form-check-card
211
+
212
+ $form-check-card-checked-box-shadow: $input-btn-focus-box-shadow !default;
213
+
214
+ $form-check-card: () !default;
215
+ $form-check-card: map-deep-merge(
216
+ (
217
+ margin-bottom: $card-margin-bottom,
218
+ margin-top: 0,
219
+ padding-left: 0,
220
+ hover: (
221
+ card: (
222
+ box-shadow: $form-check-card-checked-box-shadow,
223
+ ),
224
+ ),
225
+ active: (
226
+ card: (
227
+ box-shadow: $form-check-card-checked-box-shadow,
228
+ ),
229
+ ),
230
+ checked: (
231
+ card: (
232
+ box-shadow: $form-check-card-checked-box-shadow,
233
+ ),
234
+ ),
235
+ card: (
236
+ margin-bottom: 0,
237
+ ),
238
+ form-check-input: (
239
+ margin-left: 0,
240
+ margin-top: 0,
241
+ opacity: 0,
242
+ position: absolute,
243
+ z-index: 1,
244
+ ),
245
+ form-check-label: (
246
+ color: $body-color,
247
+ display: inline,
248
+ font-weight: $font-weight-normal,
249
+ padding-left: 0,
250
+ position: static,
251
+ ),
252
+ custom-control: (
253
+ display: inline,
254
+ margin-right: 0,
255
+ position: static,
256
+ label: (
257
+ font-weight: $font-weight-normal,
258
+ padding-left: 0,
259
+ ),
260
+ custom-control-label: (
261
+ opacity: 0,
262
+ position: absolute,
263
+ z-index: 1,
264
+ before: (
265
+ top: 0,
266
+ ),
267
+ after: (
268
+ top: 0,
269
+ ),
270
+ ),
271
+ custom-control-input: (
272
+ z-index: 2,
273
+ checked: (
274
+ card: (
275
+ box-shadow: $form-check-card-checked-box-shadow,
276
+ ),
277
+ ),
278
+ ),
279
+ ),
280
+ ),
281
+ $form-check-card
282
+ );
283
+
284
+ // .form-check-bottom-left .card-horizontal > .card-body,
285
+ // .form-check-middle-left .card-horizontal > .card-body,
286
+ // .form-check-top-left .card-horizontal > .card-body
287
+
210
288
  $checkbox-left-card-padding: 40px !default;
289
+
290
+ // .form-check-bottom-right .card-horizontal > .card-body,
291
+ // .form-check-middle-right .card-horizontal > .card-body,
292
+ // .form-check-top-right .card-horizontal > .card-body
293
+
211
294
  $checkbox-right-card-padding: $checkbox-left-card-padding !default;
212
295
 
296
+ // Form Check Positions
297
+
213
298
  $checkbox-position: 1rem !default;
214
299
 
215
- $form-check-card-checked-box-shadow: $input-btn-focus-box-shadow !default;
300
+ // .form-check-bottom-left
301
+
302
+ $form-check-bottom-left: () !default;
303
+ $form-check-bottom-left: map-deep-merge(
304
+ (
305
+ form-check-input: (
306
+ bottom: $checkbox-position,
307
+ left: $checkbox-position,
308
+ opacity: 1,
309
+ top: auto,
310
+ transform: none,
311
+ ),
312
+ custom-control: (
313
+ custom-control-input: (
314
+ bottom: $checkbox-position,
315
+ left: $checkbox-position,
316
+ top: auto,
317
+ transform: none,
318
+ ),
319
+ custom-control-label: (
320
+ bottom: $checkbox-position,
321
+ left: $checkbox-position,
322
+ opacity: 1,
323
+ top: auto,
324
+ transform: none,
325
+ ),
326
+ ),
327
+ ),
328
+ $form-check-bottom-left
329
+ );
330
+
331
+ // .form-check-bottom-right
332
+
333
+ $form-check-bottom-right: () !default;
334
+ $form-check-bottom-right: map-deep-merge(
335
+ (
336
+ form-check-input: (
337
+ bottom: $checkbox-position,
338
+ left: auto,
339
+ opacity: 1,
340
+ right: $checkbox-position,
341
+ top: auto,
342
+ transform: none,
343
+ ),
344
+ custom-control: (
345
+ custom-control-input: (
346
+ bottom: $checkbox-position,
347
+ left: auto,
348
+ right: $checkbox-position,
349
+ top: auto,
350
+ transform: none,
351
+ ),
352
+ custom-control-label: (
353
+ bottom: $checkbox-position,
354
+ left: auto,
355
+ opacity: 1,
356
+ right: $checkbox-position,
357
+ top: auto,
358
+ transform: none,
359
+ ),
360
+ ),
361
+ ),
362
+ $form-check-bottom-right
363
+ );
364
+
365
+ // .form-check-middle-left
366
+
367
+ $form-check-middle-left: () !default;
368
+ $form-check-middle-left: map-deep-merge(
369
+ (
370
+ form-check-input: (
371
+ left: $checkbox-position,
372
+ margin-top: 0,
373
+ opacity: 1,
374
+ top: 50%,
375
+ transform: translateY(-50%),
376
+ ),
377
+ custom-control: (
378
+ custom-control-input: (
379
+ left: $checkbox-position,
380
+ margin-top: 0,
381
+ top: 50%,
382
+ transform: translateY(-50%),
383
+ ),
384
+ custom-control-label: (
385
+ left: $checkbox-position,
386
+ margin-top: 0,
387
+ opacity: 1,
388
+ top: 50%,
389
+ transform: translateY(-50%),
390
+ ),
391
+ ),
392
+ ),
393
+ $form-check-middle-left
394
+ );
395
+
396
+ // .form-check-middle-right
397
+
398
+ $form-check-middle-right: () !default;
399
+ $form-check-middle-right: map-deep-merge(
400
+ (
401
+ form-check-input: (
402
+ left: auto,
403
+ margin-top: 0,
404
+ opacity: 1,
405
+ right: $checkbox-position,
406
+ top: 50%,
407
+ transform: translateY(-50%),
408
+ ),
409
+ custom-control: (
410
+ custom-control-input: (
411
+ left: auto,
412
+ margin-top: 0,
413
+ right: $checkbox-position,
414
+ top: 50%,
415
+ transform: translateY(-50%),
416
+ ),
417
+ custom-control-label: (
418
+ left: auto,
419
+ margin-top: 0,
420
+ opacity: 1,
421
+ right: $checkbox-position,
422
+ top: 50%,
423
+ transform: translateY(-50%),
424
+ ),
425
+ ),
426
+ ),
427
+ $form-check-middle-right
428
+ );
429
+
430
+ // .form-check-top-right
431
+
432
+ $form-check-top-right: () !default;
433
+ $form-check-top-right: map-deep-merge(
434
+ (
435
+ form-check-input: (
436
+ left: auto,
437
+ opacity: 1,
438
+ right: $checkbox-position,
439
+ top: $checkbox-position,
440
+ transform: none,
441
+ ),
442
+ custom-control: (
443
+ custom-control-input: (
444
+ left: auto,
445
+ right: $checkbox-position,
446
+ top: $checkbox-position,
447
+ transform: none,
448
+ ),
449
+ custom-control-label: (
450
+ left: auto,
451
+ opacity: 1,
452
+ right: $checkbox-position,
453
+ top: $checkbox-position,
454
+ transform: none,
455
+ ),
456
+ ),
457
+ ),
458
+ $form-check-top-right
459
+ );
460
+
461
+ // .form-check-top-left
462
+
463
+ $form-check-top-left: () !default;
464
+ $form-check-top-left: map-deep-merge(
465
+ (
466
+ form-check-input: (
467
+ left: $checkbox-position,
468
+ opacity: 1,
469
+ top: $checkbox-position,
470
+ transform: none,
471
+ ),
472
+ custom-control: (
473
+ custom-control-input: (
474
+ left: $checkbox-position,
475
+ top: $checkbox-position,
476
+ transform: none,
477
+ ),
478
+ custom-control-label: (
479
+ left: $checkbox-position,
480
+ opacity: 1,
481
+ top: $checkbox-position,
482
+ transform: none,
483
+ ),
484
+ ),
485
+ ),
486
+ $form-check-top-left
487
+ );
216
488
 
217
489
  // Card Interactive
218
490
 
@@ -154,10 +154,52 @@ $nav-item: map-deep-merge(
154
154
 
155
155
  // .nav-divider
156
156
 
157
- $nav-divider-color: $gray-200 !default;
157
+ $nav-divider-color: $gray-600 !default;
158
158
  $nav-divider-margin-y: $spacer * 0.5 !default;
159
159
 
160
160
  $nav-divider: () !default;
161
+ $nav-divider: map-deep-merge(
162
+ (
163
+ margin-left: 0.5rem,
164
+ padding-left: 0.5rem,
165
+ position: relative,
166
+ before: (
167
+ background-color: $nav-divider-color,
168
+ content: '',
169
+ display: block,
170
+ height: 1rem,
171
+ left: 0,
172
+ margin-top: -0.5rem,
173
+ position: absolute,
174
+ top: 50%,
175
+ width: 1px,
176
+ z-index: 2,
177
+ ),
178
+ ),
179
+ $nav-divider
180
+ );
181
+
182
+ $nav-divider-end: () !default;
183
+ $nav-divider-end: map-deep-merge(
184
+ (
185
+ margin-right: 0.5rem,
186
+ padding-right: 0.5rem,
187
+ position: relative,
188
+ after: (
189
+ background-color: $nav-divider-color,
190
+ content: '',
191
+ display: block,
192
+ height: 1rem,
193
+ margin-top: -0.5rem,
194
+ position: absolute,
195
+ right: 0,
196
+ top: 50%,
197
+ width: 1px,
198
+ z-index: 2,
199
+ ),
200
+ ),
201
+ $nav-divider-end
202
+ );
161
203
 
162
204
  // .nav-text-truncate
163
205