@clayui/css 3.61.0 → 3.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/css/atlas.css +29 -21
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +29 -21
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +63 -54
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/cadmin/components/_forms.scss +10 -0
- package/src/scss/cadmin/components/_input-groups.scss +9 -0
- package/src/scss/cadmin/components/_type.scss +5 -4
- package/src/scss/cadmin/variables/_forms.scss +31 -19
- package/src/scss/cadmin/variables/_type.scss +14 -0
- package/src/scss/components/_forms.scss +10 -0
- package/src/scss/components/_input-groups.scss +9 -0
- package/src/scss/components/_type.scss +5 -4
- package/src/scss/functions/_global-functions.scss +115 -50
- package/src/scss/mixins/_badges.scss +9 -7
- package/src/scss/mixins/_border-radius.scss +78 -57
- package/src/scss/mixins/_box-shadow.scss +9 -7
- package/src/scss/mixins/_breakpoints.scss +44 -4
- package/src/scss/mixins/_buttons.scss +21 -22
- package/src/scss/mixins/_cards.scss +12 -2
- package/src/scss/mixins/_close.scss +9 -7
- package/src/scss/mixins/_dropdown-menu.scss +9 -7
- package/src/scss/mixins/_forms.scss +29 -1
- package/src/scss/mixins/_gradients.scss +18 -10
- package/src/scss/mixins/_grid.scss +9 -7
- package/src/scss/mixins/_input-groups.scss +0 -6
- package/src/scss/mixins/_labels.scss +15 -8
- package/src/scss/mixins/_links.scss +9 -7
- package/src/scss/mixins/_list-group.scss +117 -21
- package/src/scss/mixins/_menubar.scss +117 -22
- package/src/scss/mixins/_navbar.scss +95 -132
- package/src/scss/mixins/_panels.scss +7 -6
- package/src/scss/mixins/_scale-component.scss +10 -2
- package/src/scss/mixins/_tbar.scss +15 -36
- package/src/scss/mixins/_timelines.scss +20 -4
- package/src/scss/variables/_forms.scss +31 -19
- package/src/scss/variables/_type.scss +14 -0
|
@@ -95,20 +95,11 @@
|
|
|
95
95
|
/// @param {Any} $num - The variable
|
|
96
96
|
|
|
97
97
|
@function math-sign($num) {
|
|
98
|
-
@if not(type-of($num) == 'number') and not
|
|
99
|
-
(type-of($num) == 'string') and not
|
|
100
|
-
($num == null)
|
|
101
|
-
{
|
|
102
|
-
@warn 'The value `#{$num}` is of type `#{type-of($num)}`. It must be a `number`, `string`, or `null`. This function has returned a value of `null`.';
|
|
103
|
-
}
|
|
104
|
-
|
|
105
98
|
@if (type-of($num) == 'number') {
|
|
106
99
|
@return -($num);
|
|
107
100
|
} @else if (type-of($num) == 'string') {
|
|
108
101
|
@if (starts-with($num, 'var(--')) {
|
|
109
102
|
@return calc(#{$num} * -1);
|
|
110
|
-
} @else {
|
|
111
|
-
@return $num;
|
|
112
103
|
}
|
|
113
104
|
}
|
|
114
105
|
|
|
@@ -212,13 +203,14 @@
|
|
|
212
203
|
/// @param {Bool} $custom-gradient[false] - Pass in `true` as the second parameter to this function if using a custom gradient.
|
|
213
204
|
|
|
214
205
|
@function clay-enable-gradients($gradient, $custom-gradient: false) {
|
|
215
|
-
$enable:
|
|
206
|
+
$enable: if(
|
|
207
|
+
variable-exists(enable-gradients),
|
|
208
|
+
$enable-gradients,
|
|
216
209
|
if(
|
|
217
|
-
variable-exists(enable-gradients),
|
|
218
|
-
$enable-gradients,
|
|
219
|
-
|
|
220
|
-
)
|
|
221
|
-
false
|
|
210
|
+
variable-exists(cadmin-enable-gradients),
|
|
211
|
+
$cadmin-enable-gradients,
|
|
212
|
+
false
|
|
213
|
+
)
|
|
222
214
|
);
|
|
223
215
|
|
|
224
216
|
@if ($enable and $gradient) {
|
|
@@ -240,13 +232,10 @@
|
|
|
240
232
|
/// @param {Number} $radius - The border radius.
|
|
241
233
|
|
|
242
234
|
@function clay-enable-rounded($radius, $enable: null) {
|
|
243
|
-
$enable:
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
$cadmin-enable-rounded
|
|
248
|
-
),
|
|
249
|
-
true
|
|
235
|
+
$enable: if(
|
|
236
|
+
variable-exists(enable-rounded),
|
|
237
|
+
$enable-rounded,
|
|
238
|
+
if(variable-exists(cadmin-enable-rounded), $cadmin-enable-rounded, true)
|
|
250
239
|
);
|
|
251
240
|
|
|
252
241
|
@if ($enable) {
|
|
@@ -265,13 +254,10 @@
|
|
|
265
254
|
$length: length($shadows);
|
|
266
255
|
$separator: list-separator($shadows);
|
|
267
256
|
|
|
268
|
-
$enable:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
$cadmin-enable-shadows
|
|
273
|
-
),
|
|
274
|
-
true
|
|
257
|
+
$enable: if(
|
|
258
|
+
variable-exists(enable-shadows),
|
|
259
|
+
$enable-shadows,
|
|
260
|
+
if(variable-exists(cadmin-enable-shadows), $cadmin-enable-shadows, true)
|
|
275
261
|
);
|
|
276
262
|
|
|
277
263
|
@if ($length == 2 and $separator == 'comma') {
|
|
@@ -293,13 +279,14 @@
|
|
|
293
279
|
/// @param {List} $transitions - The transitions.
|
|
294
280
|
|
|
295
281
|
@function clay-enable-transitions($transitions) {
|
|
296
|
-
$enable:
|
|
282
|
+
$enable: if(
|
|
283
|
+
variable-exists(enable-transitions),
|
|
284
|
+
$enable-transitions,
|
|
297
285
|
if(
|
|
298
|
-
variable-exists(enable-transitions),
|
|
299
|
-
$enable-transitions,
|
|
300
|
-
|
|
301
|
-
)
|
|
302
|
-
true
|
|
286
|
+
variable-exists(cadmin-enable-transitions),
|
|
287
|
+
$cadmin-enable-transitions,
|
|
288
|
+
true
|
|
289
|
+
)
|
|
303
290
|
);
|
|
304
291
|
|
|
305
292
|
@if ($enable) {
|
|
@@ -397,7 +384,17 @@
|
|
|
397
384
|
if(
|
|
398
385
|
variable-exists(grid-breakpoints),
|
|
399
386
|
$grid-breakpoints,
|
|
400
|
-
|
|
387
|
+
if(
|
|
388
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
389
|
+
$cadmin-grid-breakpoints,
|
|
390
|
+
(
|
|
391
|
+
xs: 0,
|
|
392
|
+
sm: 576px,
|
|
393
|
+
md: 768px,
|
|
394
|
+
lg: 992px,
|
|
395
|
+
xl: 1280px,
|
|
396
|
+
)
|
|
397
|
+
)
|
|
401
398
|
)
|
|
402
399
|
);
|
|
403
400
|
|
|
@@ -427,7 +424,17 @@
|
|
|
427
424
|
if(
|
|
428
425
|
variable-exists(grid-breakpoints),
|
|
429
426
|
$grid-breakpoints,
|
|
430
|
-
|
|
427
|
+
if(
|
|
428
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
429
|
+
$cadmin-grid-breakpoints,
|
|
430
|
+
(
|
|
431
|
+
xs: 0,
|
|
432
|
+
sm: 576px,
|
|
433
|
+
md: 768px,
|
|
434
|
+
lg: 992px,
|
|
435
|
+
xl: 1280px,
|
|
436
|
+
)
|
|
437
|
+
)
|
|
431
438
|
)
|
|
432
439
|
);
|
|
433
440
|
|
|
@@ -453,7 +460,17 @@
|
|
|
453
460
|
if(
|
|
454
461
|
variable-exists(grid-breakpoints),
|
|
455
462
|
$grid-breakpoints,
|
|
456
|
-
|
|
463
|
+
if(
|
|
464
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
465
|
+
$cadmin-grid-breakpoints,
|
|
466
|
+
(
|
|
467
|
+
xs: 0,
|
|
468
|
+
sm: 576px,
|
|
469
|
+
md: 768px,
|
|
470
|
+
lg: 992px,
|
|
471
|
+
xl: 1280px,
|
|
472
|
+
)
|
|
473
|
+
)
|
|
457
474
|
)
|
|
458
475
|
);
|
|
459
476
|
|
|
@@ -476,7 +493,17 @@
|
|
|
476
493
|
if(
|
|
477
494
|
variable-exists(grid-breakpoints),
|
|
478
495
|
$grid-breakpoints,
|
|
479
|
-
|
|
496
|
+
if(
|
|
497
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
498
|
+
$cadmin-grid-breakpoints,
|
|
499
|
+
(
|
|
500
|
+
xs: 0,
|
|
501
|
+
sm: 576px,
|
|
502
|
+
md: 768px,
|
|
503
|
+
lg: 992px,
|
|
504
|
+
xl: 1280px,
|
|
505
|
+
)
|
|
506
|
+
)
|
|
480
507
|
)
|
|
481
508
|
);
|
|
482
509
|
$next: breakpoint-next($name, $breakpoints);
|
|
@@ -497,7 +524,17 @@
|
|
|
497
524
|
if(
|
|
498
525
|
variable-exists(grid-breakpoints),
|
|
499
526
|
$grid-breakpoints,
|
|
500
|
-
|
|
527
|
+
if(
|
|
528
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
529
|
+
$cadmin-grid-breakpoints,
|
|
530
|
+
(
|
|
531
|
+
xs: 0,
|
|
532
|
+
sm: 576px,
|
|
533
|
+
md: 768px,
|
|
534
|
+
lg: 992px,
|
|
535
|
+
xl: 1280px,
|
|
536
|
+
)
|
|
537
|
+
)
|
|
501
538
|
)
|
|
502
539
|
);
|
|
503
540
|
|
|
@@ -532,7 +569,11 @@
|
|
|
532
569
|
if(
|
|
533
570
|
variable-exists(yiq-text-dark),
|
|
534
571
|
$yiq-text-dark,
|
|
535
|
-
|
|
572
|
+
if(
|
|
573
|
+
variable-exists(cadmin-yiq-text-dark),
|
|
574
|
+
$cadmin-yiq-text-dark,
|
|
575
|
+
#000
|
|
576
|
+
)
|
|
536
577
|
)
|
|
537
578
|
);
|
|
538
579
|
|
|
@@ -541,7 +582,11 @@
|
|
|
541
582
|
if(
|
|
542
583
|
variable-exists(yiq-text-light),
|
|
543
584
|
$yiq-text-light,
|
|
544
|
-
|
|
585
|
+
if(
|
|
586
|
+
variable-exists(cadmin-yiq-text-light),
|
|
587
|
+
$cadmin-yiq-text-light,
|
|
588
|
+
#fff
|
|
589
|
+
)
|
|
545
590
|
)
|
|
546
591
|
);
|
|
547
592
|
|
|
@@ -550,7 +595,11 @@
|
|
|
550
595
|
if(
|
|
551
596
|
variable-exists(yiq-contrasted-threshold),
|
|
552
597
|
$yiq-contrasted-threshold,
|
|
553
|
-
|
|
598
|
+
if(
|
|
599
|
+
variable-exists(cadmin-yiq-contrasted-threshold),
|
|
600
|
+
$cadmin-yiq-contrasted-threshold,
|
|
601
|
+
150
|
|
602
|
+
)
|
|
554
603
|
)
|
|
555
604
|
);
|
|
556
605
|
|
|
@@ -578,7 +627,7 @@
|
|
|
578
627
|
$colors: if(
|
|
579
628
|
variable-exists(theme-colors),
|
|
580
629
|
$theme-colors,
|
|
581
|
-
$cadmin-theme-colors
|
|
630
|
+
if(variable-exists(cadmin-theme-colors), $cadmin-theme-colors, ())
|
|
582
631
|
);
|
|
583
632
|
}
|
|
584
633
|
|
|
@@ -603,21 +652,33 @@
|
|
|
603
652
|
$level: 0,
|
|
604
653
|
$color-interval: null
|
|
605
654
|
) {
|
|
606
|
-
$black:
|
|
655
|
+
$black: if(
|
|
656
|
+
variable-exists('black'),
|
|
657
|
+
$black,
|
|
658
|
+
if(variable-exists(cadmin-black), $cadmin-black, #000)
|
|
659
|
+
);
|
|
607
660
|
|
|
608
|
-
$white:
|
|
661
|
+
$white: if(
|
|
662
|
+
variable-exists('white'),
|
|
663
|
+
$white,
|
|
664
|
+
if(variable-exists(cadmin-white), $cadmin-white, #fff)
|
|
665
|
+
);
|
|
609
666
|
|
|
610
667
|
$color: theme-color($color-name);
|
|
611
668
|
$color-base: if($level > 0, $black, $white);
|
|
612
669
|
$level: abs($level);
|
|
613
670
|
|
|
614
671
|
$color-interval: setter(
|
|
672
|
+
$color-interval,
|
|
615
673
|
if(
|
|
616
674
|
variable-exists(theme-color-interval),
|
|
617
675
|
$theme-color-interval,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
676
|
+
if(
|
|
677
|
+
variable-exists(cadmin-theme-color-interval),
|
|
678
|
+
$cadmin-theme-color-interval,
|
|
679
|
+
8%
|
|
680
|
+
)
|
|
681
|
+
)
|
|
621
682
|
);
|
|
622
683
|
|
|
623
684
|
@return clay-mix($color-base, $color, $level * $color-interval);
|
|
@@ -836,7 +897,11 @@
|
|
|
836
897
|
$escaped: if(
|
|
837
898
|
variable-exists(escaped-characters),
|
|
838
899
|
$escaped-characters,
|
|
839
|
-
|
|
900
|
+
if(
|
|
901
|
+
variable-exists(cadmin-escaped-characters),
|
|
902
|
+
$cadmin-escaped-characters,
|
|
903
|
+
(('<', '%3c'), ('>', '%3e'), ('#', '%23'))
|
|
904
|
+
)
|
|
840
905
|
);
|
|
841
906
|
}
|
|
842
907
|
|
|
@@ -149,13 +149,15 @@
|
|
|
149
149
|
$c-inner: map-merge(
|
|
150
150
|
(
|
|
151
151
|
enabled:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
if(
|
|
153
|
+
variable-exists(enable-c-inner),
|
|
154
|
+
$enable-c-inner,
|
|
155
|
+
if
|
|
156
|
+
(
|
|
157
|
+
variable-exists(cadmin-enable-c-inner),
|
|
158
|
+
$cadmin-enable-c-inner,
|
|
159
|
+
true
|
|
160
|
+
)
|
|
159
161
|
),
|
|
160
162
|
),
|
|
161
163
|
$c-inner
|
|
@@ -3,17 +3,24 @@
|
|
|
3
3
|
if(
|
|
4
4
|
variable-exists(border-radius),
|
|
5
5
|
$border-radius,
|
|
6
|
-
|
|
6
|
+
if
|
|
7
|
+
(
|
|
8
|
+
variable-exists(cadmin-border-radius),
|
|
9
|
+
$cadmin-border-radius,
|
|
10
|
+
0.25rem
|
|
11
|
+
)
|
|
7
12
|
),
|
|
8
13
|
$fallback-border-radius: false
|
|
9
14
|
) {
|
|
10
|
-
$enable:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
$enable: if(
|
|
16
|
+
variable-exists(enable-rounded),
|
|
17
|
+
$enable-rounded,
|
|
18
|
+
if
|
|
19
|
+
(
|
|
20
|
+
variable-exists(cadmin-enable-rounded),
|
|
21
|
+
$cadmin-enable-rounded,
|
|
22
|
+
true
|
|
23
|
+
)
|
|
17
24
|
);
|
|
18
25
|
|
|
19
26
|
@if ($enable) {
|
|
@@ -24,13 +31,15 @@
|
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
@mixin border-top-radius($radius) {
|
|
27
|
-
$enable:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
$enable: if(
|
|
35
|
+
variable-exists(enable-rounded),
|
|
36
|
+
$enable-rounded,
|
|
37
|
+
if
|
|
38
|
+
(
|
|
39
|
+
variable-exists(cadmin-enable-rounded),
|
|
40
|
+
$cadmin-enable-rounded,
|
|
41
|
+
true
|
|
42
|
+
)
|
|
34
43
|
);
|
|
35
44
|
|
|
36
45
|
@if ($enable) {
|
|
@@ -40,13 +49,15 @@
|
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
@mixin border-right-radius($radius) {
|
|
43
|
-
$enable:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
$enable: if(
|
|
53
|
+
variable-exists(enable-rounded),
|
|
54
|
+
$enable-rounded,
|
|
55
|
+
if
|
|
56
|
+
(
|
|
57
|
+
variable-exists(cadmin-enable-rounded),
|
|
58
|
+
$cadmin-enable-rounded,
|
|
59
|
+
true
|
|
60
|
+
)
|
|
50
61
|
);
|
|
51
62
|
|
|
52
63
|
@if ($enable) {
|
|
@@ -56,13 +67,15 @@
|
|
|
56
67
|
}
|
|
57
68
|
|
|
58
69
|
@mixin border-bottom-radius($radius) {
|
|
59
|
-
$enable:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
70
|
+
$enable: if(
|
|
71
|
+
variable-exists(enable-rounded),
|
|
72
|
+
$enable-rounded,
|
|
73
|
+
if
|
|
74
|
+
(
|
|
75
|
+
variable-exists(cadmin-enable-rounded),
|
|
76
|
+
$cadmin-enable-rounded,
|
|
77
|
+
true
|
|
78
|
+
)
|
|
66
79
|
);
|
|
67
80
|
|
|
68
81
|
@if ($enable) {
|
|
@@ -72,13 +85,15 @@
|
|
|
72
85
|
}
|
|
73
86
|
|
|
74
87
|
@mixin border-left-radius($radius) {
|
|
75
|
-
$enable:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
$enable: if(
|
|
89
|
+
variable-exists(enable-rounded),
|
|
90
|
+
$enable-rounded,
|
|
91
|
+
if
|
|
92
|
+
(
|
|
93
|
+
variable-exists(cadmin-enable-rounded),
|
|
94
|
+
$cadmin-enable-rounded,
|
|
95
|
+
true
|
|
96
|
+
)
|
|
82
97
|
);
|
|
83
98
|
|
|
84
99
|
@if ($enable) {
|
|
@@ -88,13 +103,15 @@
|
|
|
88
103
|
}
|
|
89
104
|
|
|
90
105
|
@mixin border-top-left-radius($radius) {
|
|
91
|
-
$enable:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
106
|
+
$enable: if(
|
|
107
|
+
variable-exists(enable-rounded),
|
|
108
|
+
$enable-rounded,
|
|
109
|
+
if
|
|
110
|
+
(
|
|
111
|
+
variable-exists(cadmin-enable-rounded),
|
|
112
|
+
$cadmin-enable-rounded,
|
|
113
|
+
true
|
|
114
|
+
)
|
|
98
115
|
);
|
|
99
116
|
|
|
100
117
|
@if ($enable) {
|
|
@@ -118,13 +135,15 @@
|
|
|
118
135
|
}
|
|
119
136
|
|
|
120
137
|
@mixin border-bottom-right-radius($radius) {
|
|
121
|
-
$enable:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
138
|
+
$enable: if(
|
|
139
|
+
variable-exists(enable-rounded),
|
|
140
|
+
$enable-rounded,
|
|
141
|
+
if
|
|
142
|
+
(
|
|
143
|
+
variable-exists(cadmin-enable-rounded),
|
|
144
|
+
$cadmin-enable-rounded,
|
|
145
|
+
true
|
|
146
|
+
)
|
|
128
147
|
);
|
|
129
148
|
|
|
130
149
|
@if ($enable) {
|
|
@@ -133,13 +152,15 @@
|
|
|
133
152
|
}
|
|
134
153
|
|
|
135
154
|
@mixin border-bottom-left-radius($radius) {
|
|
136
|
-
$enable:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
$enable: if(
|
|
156
|
+
variable-exists(enable-rounded),
|
|
157
|
+
$enable-rounded,
|
|
158
|
+
if
|
|
159
|
+
(
|
|
160
|
+
variable-exists(cadmin-enable-rounded),
|
|
161
|
+
$cadmin-enable-rounded,
|
|
162
|
+
true
|
|
163
|
+
)
|
|
143
164
|
);
|
|
144
165
|
|
|
145
166
|
@if ($enable) {
|
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
/// @param {Arglist} $shadow
|
|
7
7
|
|
|
8
8
|
@mixin box-shadow($shadow...) {
|
|
9
|
-
$enable:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
$enable: if(
|
|
10
|
+
variable-exists(enable-shadows),
|
|
11
|
+
$enable-shadows,
|
|
12
|
+
if
|
|
13
|
+
(
|
|
14
|
+
variable-exists(cadmin-enable-shadows),
|
|
15
|
+
$cadmin-enable-shadows,
|
|
16
|
+
true
|
|
17
|
+
)
|
|
16
18
|
);
|
|
17
19
|
|
|
18
20
|
@if ($enable) {
|
|
@@ -12,7 +12,17 @@
|
|
|
12
12
|
if(
|
|
13
13
|
variable-exists(grid-breakpoints),
|
|
14
14
|
$grid-breakpoints,
|
|
15
|
-
|
|
15
|
+
if(
|
|
16
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
17
|
+
$cadmin-grid-breakpoints,
|
|
18
|
+
(
|
|
19
|
+
xs: 0,
|
|
20
|
+
sm: 576px,
|
|
21
|
+
md: 768px,
|
|
22
|
+
lg: 992px,
|
|
23
|
+
xl: 1280px,
|
|
24
|
+
)
|
|
25
|
+
)
|
|
16
26
|
)
|
|
17
27
|
);
|
|
18
28
|
|
|
@@ -37,7 +47,17 @@
|
|
|
37
47
|
if(
|
|
38
48
|
variable-exists(grid-breakpoints),
|
|
39
49
|
$grid-breakpoints,
|
|
40
|
-
|
|
50
|
+
if(
|
|
51
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
52
|
+
$cadmin-grid-breakpoints,
|
|
53
|
+
(
|
|
54
|
+
xs: 0,
|
|
55
|
+
sm: 576px,
|
|
56
|
+
md: 768px,
|
|
57
|
+
lg: 992px,
|
|
58
|
+
xl: 1280px,
|
|
59
|
+
)
|
|
60
|
+
)
|
|
41
61
|
)
|
|
42
62
|
);
|
|
43
63
|
|
|
@@ -63,7 +83,17 @@
|
|
|
63
83
|
if(
|
|
64
84
|
variable-exists(grid-breakpoints),
|
|
65
85
|
$grid-breakpoints,
|
|
66
|
-
|
|
86
|
+
if(
|
|
87
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
88
|
+
$cadmin-grid-breakpoints,
|
|
89
|
+
(
|
|
90
|
+
xs: 0,
|
|
91
|
+
sm: 576px,
|
|
92
|
+
md: 768px,
|
|
93
|
+
lg: 992px,
|
|
94
|
+
xl: 1280px,
|
|
95
|
+
)
|
|
96
|
+
)
|
|
67
97
|
)
|
|
68
98
|
);
|
|
69
99
|
|
|
@@ -95,7 +125,17 @@
|
|
|
95
125
|
if(
|
|
96
126
|
variable-exists(grid-breakpoints),
|
|
97
127
|
$grid-breakpoints,
|
|
98
|
-
|
|
128
|
+
if(
|
|
129
|
+
variable-exists(cadmin-grid-breakpoints),
|
|
130
|
+
$cadmin-grid-breakpoints,
|
|
131
|
+
(
|
|
132
|
+
xs: 0,
|
|
133
|
+
sm: 576px,
|
|
134
|
+
md: 768px,
|
|
135
|
+
lg: 992px,
|
|
136
|
+
xl: 1280px,
|
|
137
|
+
)
|
|
138
|
+
)
|
|
99
139
|
)
|
|
100
140
|
);
|
|
101
141
|
|
|
@@ -553,13 +553,16 @@
|
|
|
553
553
|
$mobile-c-inner: map-merge(
|
|
554
554
|
(
|
|
555
555
|
enabled:
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
556
|
+
if(
|
|
557
|
+
variable-exists(enable-c-inner),
|
|
558
|
+
$enable-c-inner,
|
|
559
|
+
$cadmin-enable-c-inner
|
|
560
|
+
if
|
|
561
|
+
(
|
|
562
|
+
variable-exists(cadmin-enable-c-inner),
|
|
563
|
+
$cadmin-enable-c-inner,
|
|
564
|
+
true
|
|
565
|
+
)
|
|
563
566
|
),
|
|
564
567
|
margin-bottom: math-sign(map-get($mobile, padding-bottom)),
|
|
565
568
|
margin-left: math-sign(map-get($mobile, padding-left)),
|
|
@@ -569,28 +572,24 @@
|
|
|
569
572
|
$mobile-c-inner
|
|
570
573
|
);
|
|
571
574
|
|
|
572
|
-
$
|
|
573
|
-
|
|
574
|
-
variable-exists(clay-unset-placeholder),
|
|
575
|
-
$clay-unset-placeholder,
|
|
576
|
-
$cadmin-clay-unset-placeholder
|
|
577
|
-
),
|
|
575
|
+
$loading-animation: setter(
|
|
576
|
+
map-get($map, loading-animation),
|
|
578
577
|
clay-unset-placeholder
|
|
579
578
|
);
|
|
580
579
|
|
|
581
|
-
$loading-animation: setter(map-get($map, loading-animation), $unset);
|
|
582
|
-
|
|
583
580
|
$c-inner: setter(map-get($map, c-inner), ());
|
|
584
581
|
$c-inner: map-merge(
|
|
585
582
|
(
|
|
586
583
|
enabled:
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
584
|
+
if(
|
|
585
|
+
variable-exists(enable-c-inner),
|
|
586
|
+
$enable-c-inner,
|
|
587
|
+
if
|
|
588
|
+
(
|
|
589
|
+
variable-exists(cadmin-enable-c-inner),
|
|
590
|
+
$cadmin-enable-c-inner,
|
|
591
|
+
true
|
|
592
|
+
)
|
|
594
593
|
),
|
|
595
594
|
margin-bottom: math-sign(map-get($map, padding-bottom)),
|
|
596
595
|
margin-left: math-sign(map-get($map, padding-left)),
|
|
@@ -1059,7 +1059,12 @@
|
|
|
1059
1059
|
if(
|
|
1060
1060
|
variable-exists(card-border-color),
|
|
1061
1061
|
$card-border-color,
|
|
1062
|
-
|
|
1062
|
+
if
|
|
1063
|
+
(
|
|
1064
|
+
variable-exists(cadmin-card-border-color),
|
|
1065
|
+
$cadmin-card-border-color,
|
|
1066
|
+
null
|
|
1067
|
+
)
|
|
1063
1068
|
)
|
|
1064
1069
|
),
|
|
1065
1070
|
border-style:
|
|
@@ -1144,7 +1149,12 @@
|
|
|
1144
1149
|
if(
|
|
1145
1150
|
variable-exists(link-cursor),
|
|
1146
1151
|
$link-cursor,
|
|
1147
|
-
|
|
1152
|
+
if
|
|
1153
|
+
(
|
|
1154
|
+
variable-exists(cadmin-link-cursor),
|
|
1155
|
+
$cadmin-link-cursor,
|
|
1156
|
+
null
|
|
1157
|
+
)
|
|
1148
1158
|
)
|
|
1149
1159
|
),
|
|
1150
1160
|
)
|