@clayui/css 3.53.0 → 3.56.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 (55) hide show
  1. package/lib/css/atlas.css +184 -181
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +101 -128
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +47 -65
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/diagonal-line.svg +9 -0
  9. package/lib/images/icons/icons.svg +1 -1
  10. package/package.json +2 -2
  11. package/src/images/icons/diagonal-line.svg +9 -0
  12. package/src/scss/_license-text.scss +1 -1
  13. package/src/scss/atlas/variables/_buttons.scss +1 -1
  14. package/src/scss/atlas/variables/_dropdowns.scss +1 -1
  15. package/src/scss/atlas/variables/_globals.scss +5 -5
  16. package/src/scss/atlas/variables/_navigation-bar.scss +1 -1
  17. package/src/scss/atlas/variables/_navs.scss +1 -1
  18. package/src/scss/atlas/variables/_panels.scss +2 -2
  19. package/src/scss/atlas/variables/_range.scss +24 -6
  20. package/src/scss/atlas/variables/_sheets.scss +2 -1
  21. package/src/scss/atlas/variables/_sidebar.scss +3 -2
  22. package/src/scss/atlas/variables/_type.scss +0 -2
  23. package/src/scss/cadmin/components/_breadcrumbs.scss +12 -62
  24. package/src/scss/cadmin/variables/_breadcrumbs.scss +94 -16
  25. package/src/scss/cadmin/variables/_range.scss +110 -51
  26. package/src/scss/components/_breadcrumbs.scss +12 -71
  27. package/src/scss/components/_tables.scss +2 -2
  28. package/src/scss/functions/_color-functions.scss +66 -26
  29. package/src/scss/functions/_global-functions.scss +10 -3
  30. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  31. package/src/scss/mixins/_buttons.scss +4 -0
  32. package/src/scss/mixins/_forms.scss +1020 -378
  33. package/src/scss/variables/_alerts.scss +8 -0
  34. package/src/scss/variables/_breadcrumbs.scss +90 -15
  35. package/src/scss/variables/_buttons.scss +116 -67
  36. package/src/scss/variables/_cards.scss +1 -1
  37. package/src/scss/variables/_date-picker.scss +1 -1
  38. package/src/scss/variables/_dropdowns.scss +4 -4
  39. package/src/scss/variables/_forms.scss +1 -1
  40. package/src/scss/variables/_globals.scss +2 -2
  41. package/src/scss/variables/_links.scss +1 -1
  42. package/src/scss/variables/_list-group.scss +2 -2
  43. package/src/scss/variables/_multi-step-nav.scss +1 -1
  44. package/src/scss/variables/_navbar.scss +2 -2
  45. package/src/scss/variables/_navs.scss +1 -1
  46. package/src/scss/variables/_pagination.scss +1 -1
  47. package/src/scss/variables/_panels.scss +5 -4
  48. package/src/scss/variables/_range.scss +114 -50
  49. package/src/scss/variables/_sheets.scss +1 -1
  50. package/src/scss/variables/_sidebar.scss +2 -0
  51. package/src/scss/variables/_tables.scss +9 -4
  52. package/src/scss/variables/_tbar.scss +14 -13
  53. package/src/scss/variables/_time.scss +1 -1
  54. package/src/scss/variables/_type.scss +2 -2
  55. package/src/scss/variables/_utilities.scss +1 -1
@@ -243,7 +243,7 @@ $border-radius-sm: 0.2rem !default;
243
243
 
244
244
  $rounded-border-radius: $border-radius !default;
245
245
  $rounded-circle-border-radius: 5000px !default;
246
- $rounded-0-border-radius: 0 !default;
246
+ $rounded-0-border-radius: 0px !default;
247
247
  $rounded-pill: 50rem !default;
248
248
 
249
249
  $box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075) !default;
@@ -496,7 +496,7 @@ $h6: map-deep-merge(
496
496
 
497
497
  // Headings h1-h6
498
498
 
499
- $headings-margin-bottom: $spacer * 0.5 !default;
499
+ $headings-margin-bottom: 0.5rem !default;
500
500
  $headings-font-family: null !default;
501
501
  $headings-font-weight: 500 !default;
502
502
  $headings-line-height: 1.2 !default;
@@ -264,7 +264,7 @@ $component-action: map-deep-merge(
264
264
  background-color: transparent,
265
265
  border-color: transparent,
266
266
  border-radius: $border-radius,
267
- border-width: 0,
267
+ border-width: 0px,
268
268
  color: $secondary,
269
269
  display: inline-flex,
270
270
  height: map-get($link-monospaced, height),
@@ -313,8 +313,8 @@ $list-group-notification-item-primary: map-deep-merge(
313
313
  (
314
314
  border-left-color: theme-color-level(primary, -9),
315
315
  border-left-width: 0.5rem,
316
- border-bottom-left-radius: 0,
317
- border-top-left-radius: 0,
316
+ border-bottom-left-radius: 0px,
317
+ border-top-left-radius: 0px,
318
318
  active-border-left-color: theme-color-level(primary, -9),
319
319
  ),
320
320
  $list-group-notification-item-primary
@@ -5,7 +5,7 @@ $multi-step-nav-padding-y: 0 !default;
5
5
  $multi-step-icon-bg: $gray-200 !default;
6
6
  $multi-step-icon-border-color: null !default;
7
7
  $multi-step-icon-border-style: null !default;
8
- $multi-step-icon-border-width: 0 !default;
8
+ $multi-step-icon-border-width: 0px !default;
9
9
  $multi-step-icon-color: rgba($black, 0.5) !default;
10
10
  $multi-step-icon-cursor: $link-cursor !default;
11
11
  $multi-step-icon-border-radius: $border-radius !default;
@@ -2,8 +2,8 @@ $enable-scaling-navbar: $enable-scaling-components !default;
2
2
 
3
3
  $navbar-border-radius: null !default;
4
4
  $navbar-font-size: null !default;
5
- $navbar-padding-x: $spacer !default;
6
- $navbar-padding-y: $spacer * 0.5 !default;
5
+ $navbar-padding-x: 1rem !default;
6
+ $navbar-padding-y: 0.5rem !default;
7
7
 
8
8
  $navbar-nav-link-padding-x: 0.5rem !default;
9
9
 
@@ -157,7 +157,7 @@ $nav-item: map-deep-merge(
157
157
  // .nav-divider
158
158
 
159
159
  $nav-divider-color: $gray-600 !default;
160
- $nav-divider-margin-y: $spacer * 0.5 !default;
160
+ $nav-divider-margin-y: 0.5rem !default;
161
161
 
162
162
  $nav-divider: () !default;
163
163
  $nav-divider: map-deep-merge(
@@ -53,7 +53,7 @@ $pagination-item: map-deep-merge(
53
53
 
54
54
  /// @deprecated as of v2 use the Sass map `$pagination-link` instead
55
55
 
56
- $pagination-link-border-radius: 0 !default;
56
+ $pagination-link-border-radius: 0px !default;
57
57
 
58
58
  /// @deprecated as of v2 use the Sass map `$pagination-link` instead
59
59
 
@@ -47,7 +47,8 @@ $panel-header-link: map-deep-merge(
47
47
  color: inherit,
48
48
  display: block,
49
49
  text-decoration: $panel-header-link-text-decoration,
50
- transition: border-color 0.1s ease#{','} border-radius 0.5s ease,
50
+ transition: #{border-color 0.1s ease,
51
+ border-radius 0.5s ease},
51
52
  hover: (
52
53
  color: inherit,
53
54
  text-decoration: $panel-header-link-hover-text-decoration,
@@ -185,12 +186,12 @@ $panel-unstyled: () !default;
185
186
  $panel-unstyled: map-deep-merge(
186
187
  (
187
188
  background-color: transparent,
188
- border-radius: 0,
189
- border-width: 0,
189
+ border-radius: 0px,
190
+ border-width: 0px,
190
191
  margin-bottom: 1.5rem,
191
192
  header: (
192
193
  border-color: $gray-500,
193
- border-radius: 0,
194
+ border-radius: 0px,
194
195
  border-style: solid,
195
196
  border-width: 0 0 1px 0,
196
197
  padding-left: 0,
@@ -20,7 +20,7 @@ $clay-range-input-group-text: () !default;
20
20
  $clay-range-input-group-text: map-deep-merge(
21
21
  (
22
22
  bg: transparent,
23
- border-width: 0,
23
+ border-width: 0px,
24
24
  color: $body-color,
25
25
  font-size: 0.875rem,
26
26
  font-weight: $font-weight-semi-bold,
@@ -55,55 +55,119 @@ $clay-range-input: map-deep-merge(
55
55
  position: relative,
56
56
  vertical-align: middle,
57
57
  width: 100%,
58
- thumb-appearance: none,
59
- thumb-bg: $white,
60
- thumb-border-radius: 100px,
61
- thumb-border-width: 0,
62
- thumb-box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3),
63
- thumb-height: 1.5rem,
64
- thumb-width: 1.5rem,
65
- track-appearance: none,
66
- track-bg: $gray-300,
67
- track-border-radius: 100px,
68
- track-height: 0.25rem,
69
- track-position: absolute,
70
- track-top: 50%,
71
- track-width: 100%,
72
- progress-bg: $primary,
73
- progress-border-radius: 100px 0 0 100px,
74
- progress-position: absolute,
75
- progress-top: 50%,
76
- progress-width: 50%,
77
- tooltip-padding: 0.25rem 0.5rem,
78
- tooltip-spacer-y: 0.25rem,
79
- tooltip-transition: opacity 0.15s linear,
80
- tooltip-visibility: hidden,
81
- tooltip-white-space: nowrap,
82
- tooltip-arrow-size: 0.375rem,
83
- form-control-appearance: none,
84
- form-control-bg: transparent,
85
- form-control-height: $input-height,
86
- form-control-position: relative,
87
- form-control-z-index: $zindex-clay-range-input-form-control,
88
- data-label-font-size: 0.875rem,
89
- data-label-font-weight: $font-weight-semi-bold,
90
- data-label-line-height: 1,
91
- data-label-margin-top: 2.5rem,
92
- data-label-position: absolute,
93
- data-label-spacer: 1rem,
94
- data-label-text-align: center,
95
- data-label-top: 0,
96
- data-label-width: 1.5rem,
97
- data-label-before-content: unquote("'\\FEFF' attr(data-label-min)"),
98
- data-label-after-content: unquote("'\\FEFF' attr(data-label-max)"),
99
- data-label-after-right: 0,
100
- hover-cursor: $link-cursor,
101
- focus-outline: 0,
102
- focus-thumb-box-shadow: $component-focus-box-shadow,
103
- disabled-color: $clay-range-disabled-color,
104
- disabled-cursor: $disabled-cursor,
105
- disabled-progress-bg: $primary-l2,
106
- disabled-track-bg: $gray-200,
58
+ clay-range-thumb: (
59
+ background-color: $white,
60
+ border-radius: 100px,
61
+ border-width: 0px,
62
+ box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3),
63
+ height: 1.5rem,
64
+ margin-top: -0.75rem,
65
+ position: absolute,
66
+ right: -0.75rem,
67
+ top: 50%,
68
+ visibility: hidden,
69
+ width: 1.5rem,
70
+ ),
71
+ clay-range-track: (
72
+ appearance: none,
73
+ background-color: $gray-300,
74
+ border-radius: 100px,
75
+ height: 0.25rem,
76
+ margin-top: -0.125rem,
77
+ position: absolute,
78
+ top: 50%,
79
+ width: 100%,
80
+ ),
81
+ clay-range-progress: (
82
+ background-color: $primary,
83
+ border-radius: 100px 0 0 100px,
84
+ position: absolute,
85
+ top: 50%,
86
+ width: 50%,
87
+ ),
88
+ tooltip: (
89
+ margin-left: 0.8125rem,
90
+ transition: opacity 0.15s linear,
91
+ visibility: hidden,
92
+ white-space: nowrap,
93
+ ),
94
+ tooltip-inner: (
95
+ padding: 0.25rem 0.5rem,
96
+ ),
97
+ tooltip-arrow: (
98
+ height: 0.375rem,
99
+ width: 0.375rem,
100
+ ),
101
+ clay-tooltip-bottom: (
102
+ margin-top: 0.25rem,
103
+ padding-top: 0.1875rem,
104
+ top: 100%,
105
+ transform: translateX(-50%),
106
+ tooltip-arrow: (
107
+ margin-left: -0.25rem,
108
+ ),
109
+ ),
110
+ clay-tooltip-top: (
111
+ bottom: 100%,
112
+ margin-bottom: 0.25rem,
113
+ padding-bottom: 0.1875rem,
114
+ transform: translateX(-50%),
115
+ tooltip-arrow: (
116
+ margin-left: -0.25rem,
117
+ ),
118
+ ),
119
+ form-control-range: (
120
+ appearance: none,
121
+ background-color: transparent,
122
+ height: $input-height,
123
+ margin: 0,
124
+ padding: 0,
125
+ position: relative,
126
+ z-index: $zindex-clay-range-input-form-control,
127
+ hover: (
128
+ cursor: $link-cursor,
129
+ ),
130
+ focus: (
131
+ outline: 0,
132
+ clay-range-thumb: (
133
+ box-shadow: $component-focus-box-shadow,
134
+ ),
135
+ ),
136
+ disabled: (
137
+ color: $clay-range-disabled-color,
138
+ cursor: $disabled-cursor,
139
+ clay-range-track: (
140
+ background-color: $gray-200,
141
+ ),
142
+ clay-range-progress: (
143
+ background-color: $primary-l2,
144
+ ),
145
+ ),
146
+ ),
147
+ data-label-min-max: (
148
+ margin-bottom: 1rem,
149
+ ),
150
+ before-after: (
151
+ font-size: 0.875rem,
152
+ font-weight: $font-weight-semi-bold,
153
+ line-height: 1,
154
+ margin-top: 2.5rem,
155
+ position: absolute,
156
+ text-align: center,
157
+ top: 0,
158
+ width: 1.5rem,
159
+ ),
160
+ data-label-min: (
161
+ before: (
162
+ content: unquote("'\\FEFF' attr(data-label-min)"),
163
+ ),
164
+ ),
165
+ data-label-max: (
166
+ after: (
167
+ content: unquote("'\\FEFF' attr(data-label-max)"),
168
+ right: 0,
169
+ ),
170
+ ),
107
171
  ),
108
172
  $clay-range-input
109
173
  );
@@ -212,7 +212,7 @@ $sheet-dataset-content: () !default;
212
212
  $sheet-dataset-content-sheet-header: () !default;
213
213
  $sheet-dataset-content-sheet-header: map-merge(
214
214
  (
215
- border-width: 0,
215
+ border-width: 0px,
216
216
  margin: -1.5rem -1.5rem 1.5rem,
217
217
  padding: 1rem 1.5rem,
218
218
  ),
@@ -10,6 +10,7 @@ $sidebar-header-component-title: map-deep-merge(
10
10
  (
11
11
  font-size: 1.5rem,
12
12
  font-weight: $font-weight-semi-bold,
13
+ overflow-wrap: break-word,
13
14
  href: (
14
15
  color: $gray-900,
15
16
  ),
@@ -25,6 +26,7 @@ $sidebar-header-component-subtitle: map-deep-merge(
25
26
  font-size: 1.125rem,
26
27
  font-weight: $font-weight-semi-bold,
27
28
  margin-bottom: 0,
29
+ overflow-wrap: break-word,
28
30
  ),
29
31
  $sidebar-header-component-subtitle
30
32
  );
@@ -68,8 +68,8 @@ $table-cell-expand-smallest-width: 10% !default;
68
68
  // TH
69
69
 
70
70
  $table-head-bg: $white !default;
71
- $table-head-border-bottom-width: 2 * $table-border-width !default;
72
- $table-head-border-top-width: 0 !default;
71
+ $table-head-border-bottom-width: calc(2 * #{$table-border-width}) !default;
72
+ $table-head-border-top-width: 0px !default;
73
73
  $table-head-color: $gray-700 !default;
74
74
  $table-head-font-size: null !default;
75
75
  $table-head-font-weight: null !default;
@@ -97,8 +97,8 @@ $c-table-tbody: () !default;
97
97
  // TD
98
98
 
99
99
  $table-data-border-bottom-width: $table-border-width !default;
100
- $table-data-border-left-width: 0 !default;
101
- $table-data-border-right-width: 0 !default;
100
+ $table-data-border-left-width: 0px !default;
101
+ $table-data-border-right-width: 0px !default;
102
102
  $table-data-border-top-width: $table-border-width !default;
103
103
 
104
104
  $table-data-border-color: $table-border-color !default;
@@ -234,7 +234,12 @@ $table-dark-accent-bg: rgba($white, 0.05) !default;
234
234
 
235
235
  $table-bordered-border-width: $table-border-width !default;
236
236
 
237
+ /// @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
238
+
237
239
  $table-bg-level: -9 !default;
240
+
241
+ /// @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
242
+
238
243
  $table-border-level: -6 !default;
239
244
 
240
245
  // Table List
@@ -44,8 +44,8 @@ $tbar-stacked: map-deep-merge(
44
44
  ),
45
45
  btn-monospaced: (
46
46
  border-color: transparent,
47
- border-radius: 0,
48
- border-width: 0,
47
+ border-radius: 0px,
48
+ border-width: 0px,
49
49
  color: inherit,
50
50
  height: 2.5rem,
51
51
  margin-bottom: 0,
@@ -58,12 +58,12 @@ $tbar-stacked: map-deep-merge(
58
58
  position: relative,
59
59
  width: 2.5rem,
60
60
  focus: (
61
- box-shadow: inset 0 0 0 0.125rem $primary-l1#{','} inset 0 0 0 0.25rem
62
- $white,
61
+ box-shadow: #{inset 0 0 0 0.125rem $primary-l1,
62
+ inset 0 0 0 0.25rem $white},
63
63
  ),
64
64
  active-focus: (
65
- box-shadow: inset 0 0 0 0.125rem $primary-l1#{','} inset 0 0 0 0.25rem
66
- $white,
65
+ box-shadow: #{inset 0 0 0 0.125rem $primary-l1,
66
+ inset 0 0 0 0.25rem $white},
67
67
  ),
68
68
  ),
69
69
  ),
@@ -136,7 +136,8 @@ $tbar-light: () !default;
136
136
  $tbar-light: map-deep-merge(
137
137
  (
138
138
  background-color: $white,
139
- box-shadow: inset 1px 0 0 0 $gray-200#{','} inset -1px 0 0 0 $gray-200,
139
+ box-shadow: #{inset 1px 0 0 0 $gray-200,
140
+ inset -1px 0 0 0 $gray-200},
140
141
  color: $secondary,
141
142
  divider-before: (
142
143
  background-color: $gray-200,
@@ -167,8 +168,8 @@ $tbar-dark-d1: () !default;
167
168
  $tbar-dark-d1: map-deep-merge(
168
169
  (
169
170
  background-color: $dark-d1,
170
- box-shadow: inset 1px 0 0 0 rgba($white, 0.06) #{','} inset -1px 0 0 0
171
- rgba($white, 0.06),
171
+ box-shadow: #{inset 1px 0 0 0 rgba($white, 0.06),
172
+ inset -1px 0 0 0 rgba($white, 0.06)},
172
173
  color: $gray-500,
173
174
  divider-before: (
174
175
  background-color: rgba($white, 0.06),
@@ -209,8 +210,8 @@ $tbar-dark-l2: () !default;
209
210
  $tbar-dark-l2: map-deep-merge(
210
211
  (
211
212
  background-color: $dark-l2,
212
- box-shadow: inset 1px 0 0 0 rgba($white, 0.06) #{','} inset -1px 0 0 0
213
- rgba($white, 0.06),
213
+ box-shadow: #{inset 1px 0 0 0 rgba($white, 0.06),
214
+ inset -1px 0 0 0 rgba($white, 0.06)},
214
215
  border-color: rgba($white, 0.06),
215
216
  color: $gray-500,
216
217
  divider-before: (
@@ -369,8 +370,8 @@ $subnav-tbar-primary: map-deep-merge(
369
370
  padding-y: 0.625rem,
370
371
  item-justify-content: flex-start,
371
372
  item-padding-x: 0.25rem,
372
- link-monospaced-border-radius: 0,
373
- link-monospaced-border-width: 0,
373
+ link-monospaced-border-radius: 0px,
374
+ link-monospaced-border-width: 0px,
374
375
  link-monospaced-margin-y: -0.625rem,
375
376
  link-monospaced-size: 3rem,
376
377
  component-link: $subnav-tbar-primary-component-link,
@@ -99,7 +99,7 @@ $clay-time-inner-spin-btn: map-deep-merge(
99
99
  (
100
100
  align-items: center,
101
101
  border-radius: map-get($clay-time-inner-spin, border-radius),
102
- border-width: 0,
102
+ border-width: 0px,
103
103
  display: inline-flex,
104
104
  font-size: 8px,
105
105
  height: auto,
@@ -52,7 +52,7 @@ $c-kbd: map-deep-merge(
52
52
  $c-kbd-c-kbd: () !default;
53
53
  $c-kbd-c-kbd: map-merge(
54
54
  (
55
- border-width: 0,
55
+ border-width: 0px,
56
56
  font-size: inherit,
57
57
  font-weight: inherit,
58
58
  height: auto,
@@ -74,7 +74,7 @@ $c-kbd-monospaced: map-deep-merge(
74
74
  $c-kbd-inline: () !default;
75
75
  $c-kbd-inline: map-deep-merge(
76
76
  (
77
- border-width: 0,
77
+ border-width: 0px,
78
78
  font-weight: $font-weight-light,
79
79
  height: auto,
80
80
  line-height: inherit,
@@ -34,7 +34,7 @@ $close: map-deep-merge(
34
34
  appearance: none,
35
35
  background-color: transparent,
36
36
  border-radius: $border-radius-sm,
37
- border-width: 0,
37
+ border-width: 0px,
38
38
  color: $close-color,
39
39
  cursor: $link-cursor,
40
40
  display: inline-flex,