@clayui/css 3.41.0 → 3.44.1

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 (78) hide show
  1. package/lib/css/atlas.css +1117 -1163
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +1020 -1068
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +875 -931
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/date-time.svg +12 -0
  9. package/lib/images/icons/filter.svg +1 -1
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/package.json +2 -2
  12. package/src/images/icons/date-time.svg +12 -0
  13. package/src/images/icons/filter.svg +1 -1
  14. package/src/scss/_mixins.scss +2 -0
  15. package/src/scss/atlas/variables/_application-bar.scss +32 -12
  16. package/src/scss/atlas/variables/_buttons.scss +2 -31
  17. package/src/scss/atlas/variables/_management-bar.scss +53 -21
  18. package/src/scss/atlas/variables/_navigation-bar.scss +104 -18
  19. package/src/scss/atlas/variables/_navs.scss +20 -15
  20. package/src/scss/atlas/variables/_pagination.scss +2 -0
  21. package/src/scss/atlas/variables/_sidebar.scss +1 -1
  22. package/src/scss/cadmin/components/_dropdowns.scss +4 -0
  23. package/src/scss/cadmin/components/_input-groups.scss +12 -312
  24. package/src/scss/cadmin/components/_navs.scss +35 -113
  25. package/src/scss/cadmin/components/_pagination.scss +20 -236
  26. package/src/scss/cadmin/components/_popovers.scss +31 -252
  27. package/src/scss/cadmin/components/_tooltip.scss +29 -167
  28. package/src/scss/cadmin/components/_utilities-functional-important.scss +4 -3
  29. package/src/scss/cadmin/variables/_alerts.scss +3 -2
  30. package/src/scss/cadmin/variables/_dropdowns.scss +31 -2
  31. package/src/scss/cadmin/variables/_forms.scss +366 -5
  32. package/src/scss/cadmin/variables/_management-bar.scss +70 -30
  33. package/src/scss/cadmin/variables/_navigation-bar.scss +118 -22
  34. package/src/scss/cadmin/variables/_navs.scss +270 -53
  35. package/src/scss/cadmin/variables/_pagination.scss +274 -68
  36. package/src/scss/cadmin/variables/_popovers.scss +410 -0
  37. package/src/scss/cadmin/variables/_sidebar.scss +17 -5
  38. package/src/scss/cadmin/variables/_tooltip.scss +299 -0
  39. package/src/scss/components/_button-groups.scss +6 -6
  40. package/src/scss/components/_buttons.scss +87 -49
  41. package/src/scss/components/_cards.scss +16 -116
  42. package/src/scss/components/_dropdowns.scss +4 -0
  43. package/src/scss/components/_input-groups.scss +12 -308
  44. package/src/scss/components/_multi-step-nav.scss +12 -8
  45. package/src/scss/components/_navs.scss +45 -128
  46. package/src/scss/components/_pagination.scss +18 -234
  47. package/src/scss/components/_popovers.scss +30 -237
  48. package/src/scss/components/_toggle-switch.scss +2 -2
  49. package/src/scss/components/_tooltip.scss +29 -164
  50. package/src/scss/functions/_lx-icons-generated.scss +3 -1
  51. package/src/scss/mixins/_buttons.scss +674 -472
  52. package/src/scss/mixins/_cards.scss +751 -557
  53. package/src/scss/mixins/_close.scss +0 -1
  54. package/src/scss/mixins/_custom-forms.scss +442 -409
  55. package/src/scss/mixins/_dropdown-menu.scss +483 -406
  56. package/src/scss/mixins/_forms.scss +332 -256
  57. package/src/scss/mixins/_input-groups.scss +405 -11
  58. package/src/scss/mixins/_labels.scss +320 -296
  59. package/src/scss/mixins/_links.scss +522 -476
  60. package/src/scss/mixins/_nav.scss +202 -131
  61. package/src/scss/mixins/_navbar.scss +791 -140
  62. package/src/scss/mixins/_pagination.scss +422 -0
  63. package/src/scss/mixins/_popovers.scss +90 -0
  64. package/src/scss/mixins/_toggle-switch.scss +64 -0
  65. package/src/scss/mixins/_tooltip.scss +70 -0
  66. package/src/scss/variables/_alerts.scss +1 -0
  67. package/src/scss/variables/_application-bar.scss +18 -6
  68. package/src/scss/variables/_buttons.scss +26 -3
  69. package/src/scss/variables/_cards.scss +273 -1
  70. package/src/scss/variables/_dropdowns.scss +31 -2
  71. package/src/scss/variables/_forms.scss +405 -22
  72. package/src/scss/variables/_management-bar.scss +45 -12
  73. package/src/scss/variables/_navigation-bar.scss +95 -14
  74. package/src/scss/variables/_navs.scss +266 -33
  75. package/src/scss/variables/_pagination.scss +261 -61
  76. package/src/scss/variables/_popovers.scss +392 -0
  77. package/src/scss/variables/_sidebar.scss +17 -5
  78. package/src/scss/variables/_tooltip.scss +299 -0
@@ -1,56 +1,9 @@
1
1
  .tooltip {
2
- display: block;
3
- font-family: $font-family-base;
4
- font-size: $tooltip-font-size;
5
- font-style: normal;
6
- font-weight: $font-weight-normal;
7
- letter-spacing: normal;
8
- line-break: auto;
9
- line-height: $line-height-base;
10
- margin: $tooltip-margin;
11
- opacity: 0;
12
- position: absolute;
13
- text-align: left;
14
- text-align: start;
15
- text-decoration: none;
16
- text-shadow: none;
17
- text-transform: none;
18
- white-space: normal;
19
- word-break: normal;
20
- word-spacing: normal;
21
- word-wrap: break-word;
22
- z-index: $zindex-tooltip;
23
-
24
- &.show {
25
- opacity: $tooltip-opacity;
26
- }
27
-
28
- .arrow {
29
- display: block;
30
- height: $tooltip-arrow-height;
31
- position: absolute;
32
- width: $tooltip-arrow-width;
33
-
34
- &::before {
35
- border-color: transparent;
36
- border-style: solid;
37
- content: '';
38
- position: absolute;
39
- }
40
- }
2
+ @include clay-tooltip-variant($tooltip);
41
3
  }
42
4
 
43
5
  .tooltip-inner {
44
- background-color: $tooltip-bg;
45
-
46
- @include border-radius($tooltip-border-radius);
47
- @include box-shadow($tooltip-box-shadow);
48
-
49
- color: $tooltip-color;
50
- max-width: $tooltip-max-width;
51
- padding: $tooltip-padding-y $tooltip-padding-x;
52
- text-align: center;
53
- white-space: pre-line;
6
+ @include clay-css($tooltip-inner);
54
7
  }
55
8
 
56
9
  .tooltip-arrow {
@@ -143,75 +96,20 @@
143
96
  @extend %bs-tooltip-left !optional;
144
97
  }
145
98
 
146
- // Tooltip Positions
99
+ // Bottom
147
100
 
148
101
  .clay-tooltip-bottom,
149
- .clay-tooltip-top {
150
- .arrow {
151
- left: 50%;
152
- margin-left: math-sign($tooltip-arrow-width * 0.5);
153
- }
154
- }
155
-
156
102
  .clay-tooltip-bottom-left,
157
- .clay-tooltip-top-left {
158
- .arrow {
159
- left: $tooltip-arrow-offset;
160
- }
161
- }
162
-
163
- .clay-tooltip-bottom-right,
164
- .clay-tooltip-top-right {
165
- .arrow {
166
- right: $tooltip-arrow-offset;
167
- }
168
- }
169
-
170
- .clay-tooltip-left,
171
- .clay-tooltip-right {
172
- .arrow {
173
- margin-top: math-sign($tooltip-arrow-width * 0.5);
174
- top: 50%;
175
- }
176
- }
177
-
178
- .clay-tooltip-left-bottom,
179
- .clay-tooltip-right-bottom {
180
- .arrow {
181
- bottom: $tooltip-arrow-offset;
182
- }
103
+ .clay-tooltip-bottom-right {
104
+ @include clay-tooltip-variant($clay-tooltip-bottom);
183
105
  }
184
106
 
185
- .clay-tooltip-left-top,
186
- .clay-tooltip-right-top {
187
- .arrow {
188
- top: $tooltip-arrow-offset;
189
- }
107
+ .clay-tooltip-bottom-left {
108
+ @include clay-tooltip-variant($clay-tooltip-bottom-left);
190
109
  }
191
110
 
192
- // Bottom
193
-
194
- .clay-tooltip-bottom,
195
- .clay-tooltip-bottom-left,
196
111
  .clay-tooltip-bottom-right {
197
- padding-top: $tooltip-arrow-height;
198
-
199
- .arrow {
200
- top: 0;
201
-
202
- &::before {
203
- border-bottom-color: $tooltip-arrow-color;
204
- border-width: 0 ($tooltip-arrow-width * 0.5) $tooltip-arrow-height;
205
- bottom: 0;
206
- }
207
- }
208
-
209
- .tooltip-arrow {
210
- border-bottom-color: transparent;
211
- border-right-color: transparent;
212
- left: 50%;
213
- top: 0;
214
- }
112
+ @include clay-tooltip-variant($clay-tooltip-bottom-right);
215
113
  }
216
114
 
217
115
  // Left
@@ -219,27 +117,15 @@
219
117
  .clay-tooltip-left,
220
118
  .clay-tooltip-left-bottom,
221
119
  .clay-tooltip-left-top {
222
- padding-right: $tooltip-arrow-height;
223
-
224
- .arrow {
225
- height: $tooltip-arrow-width;
226
- right: 0;
227
- width: $tooltip-arrow-height;
120
+ @include clay-tooltip-variant($clay-tooltip-left);
121
+ }
228
122
 
229
- &::before {
230
- border-left-color: $tooltip-arrow-color;
231
- border-width: ($tooltip-arrow-width * 0.5) 0
232
- ($tooltip-arrow-width * 0.5) $tooltip-arrow-height;
233
- left: 0;
234
- }
235
- }
123
+ .clay-tooltip-left-bottom {
124
+ @include clay-tooltip-variant($clay-tooltip-left-bottom);
125
+ }
236
126
 
237
- .tooltip-arrow {
238
- border-bottom-color: transparent;
239
- border-left-color: transparent;
240
- right: 0;
241
- top: 50%;
242
- }
127
+ .clay-tooltip-left-top {
128
+ @include clay-tooltip-variant($clay-tooltip-left-top);
243
129
  }
244
130
 
245
131
  // Right
@@ -247,27 +133,15 @@
247
133
  .clay-tooltip-right,
248
134
  .clay-tooltip-right-bottom,
249
135
  .clay-tooltip-right-top {
250
- padding-left: $tooltip-arrow-height;
251
-
252
- .arrow {
253
- height: $tooltip-arrow-width;
254
- left: 0;
255
- width: $tooltip-arrow-height;
136
+ @include clay-tooltip-variant($clay-tooltip-right);
137
+ }
256
138
 
257
- &::before {
258
- border-right-color: $tooltip-arrow-color;
259
- border-width: ($tooltip-arrow-width * 0.5) $tooltip-arrow-height
260
- ($tooltip-arrow-width * 0.5) 0;
261
- right: 0;
262
- }
263
- }
139
+ .clay-tooltip-right-bottom {
140
+ @include clay-tooltip-variant($clay-tooltip-right-bottom);
141
+ }
264
142
 
265
- .tooltip-arrow {
266
- border-right-color: transparent;
267
- border-top-color: transparent;
268
- left: 0;
269
- top: 50%;
270
- }
143
+ .clay-tooltip-right-top {
144
+ @include clay-tooltip-variant($clay-tooltip-right-top);
271
145
  }
272
146
 
273
147
  // Top
@@ -275,22 +149,13 @@
275
149
  .clay-tooltip-top,
276
150
  .clay-tooltip-top-left,
277
151
  .clay-tooltip-top-right {
278
- padding-bottom: $tooltip-arrow-height;
279
-
280
- .arrow {
281
- bottom: 0;
152
+ @include clay-tooltip-variant($clay-tooltip-top);
153
+ }
282
154
 
283
- &::before {
284
- border-top-color: $tooltip-arrow-color;
285
- border-width: $tooltip-arrow-height ($tooltip-arrow-width * 0.5) 0;
286
- top: 0;
287
- }
288
- }
155
+ .clay-tooltip-top-left {
156
+ @include clay-tooltip-variant($clay-tooltip-top-left);
157
+ }
289
158
 
290
- .tooltip-arrow {
291
- border-left-color: transparent;
292
- border-top-color: transparent;
293
- bottom: 0;
294
- left: 50%;
295
- }
159
+ .clay-tooltip-top-right {
160
+ @include clay-tooltip-variant($clay-tooltip-top-right);
296
161
  }
@@ -204,6 +204,8 @@
204
204
 
205
205
  'cut': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M335.4 208.2c-16.7-16.6-32.8-32.8-48-47.9 35.1-35.1 68.9-69 96.2-96.3H480c-24.1 24.1-82.4 82.2-144.6 144.2zm-48 47.9c78 77.9 161.9 161.6 192.1 191.9h-95.6c-39.6-39.6-93.2-93.1-144.3-144.1-10.4 10.4-20.4 20.3-29.8 29.8 9 14.6 14.3 31.9 14.3 50.3 0 53-43 96-96 96s-96-43-96-96 43-96 96-96c9.7 0 19 1.4 27.9 4.1 11.2-11.3 23.3-23.3 35.9-35.9L155.7 220c-8.7 2.6-18 4-27.5 4-53 0-96-43-96-96s43-96 96-96 96 43 96 96c0 18.5-5.3 35.8-14.4 50.5 9.5 9.5 19.5 19.4 29.9 29.8l.2-.2c15.1 15.1 31.3 31.2 47.9 47.8-.3.1-.4.2-.4.2zM128 160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32z" fill="#{$color}"/></svg>',
206
206
 
207
+ 'date-time': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline date-time-calendar-border" d="M162.9 384.8H64V128.2h320v35c23 3.9 44.6 11.8 64 23.1v-58c0-35.4-28.7-64.1-64-64.1V32c0-42.6-64-42.7-64 0v32.1h-64V32c0-42.8-64-42.6-64 0v32.1h-64V32c0-42.3-64-42.8-64 0v32.1c-35.3 0-64 28.7-64 64.1v256.6c0 35.4 28.7 64.1 64 64.1h121.9c-11.3-19.5-19.2-41.1-23-64.1z" fill="#{$color}"/><path class="lexicon-icon-outline date-time-clock-border" d="M448 352.7c0 128.3-192 128.3-192 0 0-128.2 192-128.3 192 0zm-256 0c0 210.9 320 213.9 320 0 0-214.9-320-210.1-320 0z" fill="#{$color}"/><path class="lexicon-icon-outline date-time-clock-hands" d="M400 352.7h-48v-48.1c0-21.1-32-21-32 0v80.2h80c21.3 0 21.2-32.1 0-32.1z" fill="#{$color}"/><ellipse class="lexicon-icon-outline date-time-date" cx="128" cy="192.3" rx="32" ry="32.1" fill="#{$color}"/></svg>',
208
+
207
209
  'date': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="date-border lexicon-icon-outline" d="M512 160.1c0-35-28.7-64-63.7-64h-.3V32c0-44-64-41-64 0v64h-96V32c0-40-64-44-64 0v64h-96V32c0-45-64-40-64 0v64h-.3C28.7 96 0 125 0 160v288.1c0 35 29 64 64 64h352l96-96v-256zM384 448.2v-64h64l-64 64zm64-128.1H320v128H64v-288h384v160z" fill="#{$color}"/><path class="date-1 lexicon-icon-outline" fill="#{$color}" d="M256 416h32V192h-32v32h-32v32h32z"/><path class="date-3 lexicon-icon-outline" fill="#{$color}" d="M96 192h64v32H96zM160 224h32v63h-32zM98.3 288H160v32H98.3zM160 416v-32H96v32zM160 320h32v63h-32z"/></svg>',
208
210
 
209
211
  'decimal': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline decimal-hundreths" d="M397.1 129.3c-74 0-82.9 84.1-82.9 125.6s10.4 127.9 82.9 127.9c73.5 0 82.9-86.4 82.9-127.9 0-41.3-9.4-125.6-82.9-125.6zm0 34.5c19.4-.4 29.3 15.8 34.7 34.9l-75 75c-1.6-42.5-1.2-110.7 40.3-109.9zm0 184.4c-18.9-.8-28.8-16.7-34.2-35.3l74.6-74.6c-.5 42.2.8 109.9-40.4 109.9z" fill="#{$color}"/><path class="lexicon-icon-outline decimal-tenths" d="M199.2 129.3c-74 0-82.9 84.1-82.9 125.6s10.4 127.9 82.9 127.9c73.5 0 82.9-86.4 82.9-127.9 0-41.3-9.4-125.6-82.9-125.6zm0 34.5c19.4-.4 29.3 15.8 34.7 34.9l-75 75c-1.5-42.5-1.2-110.7 40.3-109.9zm0 184.4c-18.9-.8-28.8-16.7-34.2-35.3l74.6-74.6c-.5 42.2.9 109.9-40.4 109.9z" fill="#{$color}"/><circle class="lexicon-icon-outline decimal-decimal-point" cx="64" cy="348.8" r="32" fill="#{$color}"/></svg>',
@@ -300,7 +302,7 @@
300
302
 
301
303
  'file-xsl': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline file-xsl-border1" d="M96 192V64h224v64c0 19.2 12.8 32 32 32h64v32h64v-38.4c0-32-19.2-44.8-64-89.6S358.4 0 326.4 0H96C60.8 0 32 28.8 32 64v128h64z" fill="#{$color}"/><path class="lexicon-icon-outline file-xsl-border2" d="M32 448c0 35.2 28.8 64 64 64h320c35.2 0 64-28.8 64-64H32z" fill="#{$color}"/><path class="lexicon-icon-outline file-xsl-x" d="m80 326.4-44.8-83.2H80l26.2 52.1 24.9-52.1h41.6L128 326.4l48 89.6h-44.8l-28.8-64-28.8 64H32l48-89.6z" fill="#{$color}"/><path class="lexicon-icon-outline file-xsl-s" d="m198.4 393.6 22.4-25.6c12.8 12.8 64 28.8 67.2 0 3.2-22.4-83.2-19.2-83.2-76.8 0-48 73.6-73.6 115.2-28.8L304 288c-25.6-19.2-60.8-16-60.8 3.2 0 25.6 86.4 16 86.4 76.8 0 57.6-70.4 73.6-131.2 25.6z" fill="#{$color}"/><path class="lexicon-icon-outline file-xsl-l" d="M374.4 243.2h38.4V384H480v32H374.4V243.2z" fill="#{$color}"/></svg>',
302
304
 
303
- 'filter': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline filter-border" d="M448.1 89.9V156L256 316.1 63.9 156V89.9h384.2m32.1-64H31.8c-17.7 0-32 14.3-32 32V186L192 346.1v108.3c0 18.6 18.5 40.8 46.3 28.6l64-32c10.8-5.4 17.7-16.5 17.7-28.6v-76.3L512.2 186V57.9c0-17.7-14.3-32-32-32z" fill="#{$color}"/></svg>',
305
+ 'filter': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline filter-body" d="M448 160H63.9c-42.5 0-42.5-64 0-64H448c42.7 0 42.7 64 0 64zm-64 64H128c-42.7 0-42.7 64 0 64h256c42.7 0 42.7-64 0-64zm-64 128H192c-42.7 0-42.7 64 0 64h128c42.7 0 42.7-64 0-64z" fill="#{$color}"/></svg>',
304
306
 
305
307
  'flag-empty': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M384 32H128c0-42.4-64-42.9-64 0v448c0 42.6 64 42.7 64 0V288h256c18.2 0 32-13.8 32-32V64c0-18.2-13.8-32-32-32zm-32 192H128V96h224v128z" fill="#{$color}"/></svg>',
306
308