@clayui/css 3.55.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.
@@ -410,8 +410,16 @@ $alert-autofit-row: map-deep-merge(
410
410
 
411
411
  // Alert Color Levels
412
412
 
413
+ /// @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
414
+
413
415
  $alert-bg-level: -10 !default;
416
+
417
+ /// @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
418
+
414
419
  $alert-border-level: -9 !default;
420
+
421
+ /// @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
422
+
415
423
  $alert-color-level: 6 !default;
416
424
 
417
425
  // Alert Feedback
@@ -1,3 +1,5 @@
1
+ // .breadcrumb
2
+
1
3
  $breadcrumb-bg: $gray-200 !default;
2
4
  $breadcrumb-border-radius: $border-radius !default;
3
5
  $breadcrumb-font-size: null !default;
@@ -7,6 +9,36 @@ $breadcrumb-padding-x: 1rem !default;
7
9
  $breadcrumb-padding-y: 0.75rem !default;
8
10
  $breadcrumb-text-transform: null !default;
9
11
 
12
+ $breadcrumb: () !default;
13
+ $breadcrumb: map-merge(
14
+ (
15
+ background-color: $breadcrumb-bg,
16
+ border-radius: clay-enable-rounded($breadcrumb-border-radius),
17
+ display: flex,
18
+ flex-wrap: wrap,
19
+ font-size: $breadcrumb-font-size,
20
+ list-style: none,
21
+ margin-bottom: $breadcrumb-margin-bottom,
22
+ padding: $breadcrumb-padding-y $breadcrumb-padding-x,
23
+ ),
24
+ $breadcrumb
25
+ );
26
+
27
+ // .breadcrumb-item + .breadcrumb-item::before
28
+
29
+ $breadcrumb-divider: quote('/') !default;
30
+
31
+ $breadcrumb-divider-color: $gray-600 !default;
32
+ $breadcrumb-divider-font-family: null !default;
33
+ $breadcrumb-divider-font-weight: null !default;
34
+
35
+ $breadcrumb-divider-svg-icon: clay-icon(
36
+ angle-right,
37
+ $breadcrumb-divider-color
38
+ ) !default;
39
+ $breadcrumb-divider-svg-icon-height: 0.75em !default;
40
+ $breadcrumb-divider-svg-icon-width: $breadcrumb-divider-svg-icon-height !default;
41
+
10
42
  // Breadcrumb Item
11
43
 
12
44
  $breadcrumb-item-padding: 0.5rem !default;
@@ -14,6 +46,50 @@ $breadcrumb-item-padding: 0.5rem !default;
14
46
  $breadcrumb-active-color: $gray-600 !default;
15
47
  $breadcrumb-active-font-weight: null !default;
16
48
 
49
+ $breadcrumb-item: () !default;
50
+ $breadcrumb-item: map-merge(
51
+ (
52
+ font-size: $breadcrumb-font-size,
53
+ font-weight: $breadcrumb-font-weight,
54
+ margin-right: 0.5em,
55
+ position: relative,
56
+ active: (
57
+ color: $breadcrumb-active-color,
58
+ font-weight: $breadcrumb-active-font-weight,
59
+ ),
60
+ breadcrumb-item: (
61
+ padding-left: 1em,
62
+ before: (
63
+ color: $breadcrumb-divider-color,
64
+ display: block,
65
+ float: left,
66
+ background-image: $breadcrumb-divider-svg-icon,
67
+ background-repeat: no-repeat,
68
+ background-size: 100%,
69
+ content: '',
70
+ height: $breadcrumb-divider-svg-icon-height,
71
+ left: 0,
72
+ margin-top:
73
+ calc(#{math-sign($breadcrumb-divider-svg-icon-height)} / 2),
74
+ padding: 0,
75
+ position: absolute,
76
+ top: 50%,
77
+ width: $breadcrumb-divider-svg-icon-width,
78
+ ),
79
+ ),
80
+ dropdown-toggle: (
81
+ text-decoration: none,
82
+ hover: (
83
+ text-decoration: none,
84
+ ),
85
+ focus: (
86
+ text-decoration: none,
87
+ ),
88
+ ),
89
+ ),
90
+ $breadcrumb-item
91
+ );
92
+
17
93
  // Breadcrumb Text Truncate
18
94
 
19
95
  $breadcrumb-text-truncate-icon-spacer-x: 0.875rem !default;
@@ -22,6 +98,20 @@ $breadcrumb-text-truncate-max-width: 18.75rem -
22
98
  $breadcrumb-text-truncate-max-width-mobile: 9.375rem -
23
99
  $breadcrumb-text-truncate-icon-spacer-x !default;
24
100
 
101
+ $breadcrumb-text-truncate: () !default;
102
+ $breadcrumb-text-truncate: map-merge(
103
+ (
104
+ display: inline-block,
105
+ max-width: $breadcrumb-text-truncate-max-width,
106
+ overflow: hidden,
107
+ text-decoration: inherit,
108
+ text-overflow: ellipsis,
109
+ vertical-align: bottom,
110
+ white-space: nowrap,
111
+ ),
112
+ $breadcrumb-text-truncate
113
+ );
114
+
25
115
  // Breadcrumb Link
26
116
 
27
117
  $breadcrumb-link-color: $link-color !default;
@@ -48,18 +138,3 @@ $breadcrumb-link: map-deep-merge(
48
138
  ),
49
139
  $breadcrumb-link
50
140
  );
51
-
52
- // Breadcrumb Divider
53
-
54
- $breadcrumb-divider: quote('/') !default;
55
-
56
- $breadcrumb-divider-color: $gray-600 !default;
57
- $breadcrumb-divider-font-family: null !default;
58
- $breadcrumb-divider-font-weight: null !default;
59
-
60
- $breadcrumb-divider-svg-icon: clay-icon(
61
- angle-right,
62
- $breadcrumb-divider-color
63
- ) !default;
64
- $breadcrumb-divider-svg-icon-height: 0.75em !default;
65
- $breadcrumb-divider-svg-icon-width: $breadcrumb-divider-svg-icon-height !default;
@@ -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: 0px,
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
  );
@@ -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
  );
@@ -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