@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,133 +1,49 @@
1
1
  .pagination {
2
- @include border-radius();
3
-
4
- display: flex;
5
- flex-wrap: wrap;
6
- font-size: $pagination-font-size;
7
- list-style: none;
8
- margin-bottom: $pagination-margin-bottom;
9
- padding-left: 0;
2
+ @include clay-pagination-variant($pagination);
10
3
  }
11
4
 
12
5
  .pagination-bar {
13
- align-items: center;
14
- display: flex;
15
- flex-wrap: wrap;
16
-
17
- @include clay-scale-component {
18
- flex-direction: column;
19
- justify-content: center;
20
- }
21
-
22
- .pagination {
23
- @include clay-scale-component {
24
- margin-top: $pagination-margin-top-mobile;
25
- }
26
- }
6
+ @include clay-pagination-variant($pagination-bar);
27
7
  }
28
8
 
29
9
  // Pagination Link
30
10
 
31
11
  .page-link {
32
12
  @include clay-link($pagination-link);
13
+ }
33
14
 
34
- &:hover {
35
- @include clay-link($pagination-link-hover);
36
- }
15
+ // Pagination Item
37
16
 
38
- &:focus {
39
- @include clay-link($pagination-link-focus);
40
- }
17
+ .page-item {
18
+ @include clay-css($pagination-item);
41
19
 
42
- &:active,
43
20
  &.active {
44
- @include clay-link($pagination-link-active);
21
+ .page-link {
22
+ @include clay-link(map-get($pagination-link, active));
23
+ }
45
24
  }
46
25
 
47
- &:disabled,
48
26
  &.disabled {
49
- @include clay-link($pagination-link-disabled);
50
- }
51
- }
52
-
53
- .page-item.active,
54
- .page-item.show {
55
- .page-link {
56
- @include clay-link($pagination-link-active);
57
- }
58
- }
59
-
60
- .page-item.disabled {
61
- .page-link {
62
- @include clay-link($pagination-link-disabled);
27
+ .page-link {
28
+ @include clay-link(map-get($pagination-link, disabled));
29
+ }
63
30
  }
64
31
  }
65
32
 
66
- // Pagination Item
67
-
68
- .page-item {
69
- @include clay-container($pagination-item);
70
- }
71
-
72
33
  .page-item:first-child .page-link,
73
34
  .page-link-first {
74
- border-radius: $pagination-link-first-border-radius;
35
+ @include clay-css($pagination-link-first);
75
36
  }
76
37
 
77
38
  .page-item:last-child .page-link,
78
39
  .page-link-last {
79
- border-radius: $pagination-link-last-border-radius;
40
+ @include clay-css($pagination-link-last);
80
41
  }
81
42
 
82
43
  // Pagination Items Per Page
83
44
 
84
45
  .pagination-items-per-page {
85
- font-size: $pagination-items-per-page-font-size;
86
- margin-bottom: $pagination-margin-bottom;
87
-
88
- > a,
89
- > button {
90
- @include clay-link($pagination-items-per-page-link);
91
-
92
- &:hover {
93
- @include clay-link($pagination-items-per-page-link-hover);
94
- }
95
-
96
- &:focus {
97
- @include clay-link($pagination-items-per-page-link-focus);
98
- }
99
-
100
- &:active,
101
- &.active {
102
- @include clay-link($pagination-items-per-page-link-active);
103
- }
104
-
105
- &:disabled,
106
- &.disabled {
107
- @include clay-link($pagination-items-per-page-link-disabled);
108
- }
109
- }
110
-
111
- &.active,
112
- &.show {
113
- > a,
114
- > button {
115
- @include clay-link($pagination-items-per-page-link-active);
116
- }
117
- }
118
-
119
- &.disabled {
120
- > a,
121
- > button {
122
- @include clay-link($pagination-items-per-page-link-disabled);
123
- }
124
- }
125
-
126
- + .pagination-results {
127
- @include clay-scale-component {
128
- margin-left: auto;
129
- }
130
- }
46
+ @include clay-pagination-items-per-page-variant($pagination-items-per-page);
131
47
  }
132
48
 
133
49
  .page-item .dropdown-menu,
@@ -137,147 +53,15 @@
137
53
  }
138
54
 
139
55
  .pagination-results {
140
- border-color: transparent;
141
- border-style: solid;
142
- border-width: $pagination-border-width;
143
- color: $pagination-results-color;
144
- font-size: $pagination-font-size;
145
- line-height: $pagination-line-height;
146
- margin-bottom: $pagination-margin-bottom;
147
- margin-right: auto;
148
- max-width: 100%;
149
- padding: $pagination-padding-y $pagination-padding-x;
150
- word-wrap: break-word;
56
+ @include clay-css($pagination-results);
151
57
  }
152
58
 
153
59
  // Pagination Sizes
154
60
 
155
61
  .pagination-sm {
156
- .pagination-items-per-page {
157
- @include border-radius($pagination-link-border-radius-sm);
158
-
159
- .lexicon-icon {
160
- margin-left: $pagination-items-per-page-lexicon-icon-margin-left-sm;
161
- margin-right: $pagination-items-per-page-lexicon-icon-margin-top-sm;
162
- }
163
- }
164
-
165
- .pagination-items-per-page > a,
166
- .pagination-items-per-page > .btn-unstyled {
167
- font-size: $pagination-font-size-sm;
168
- height: $pagination-item-height-sm;
169
- line-height: $pagination-line-height-sm;
170
- padding: $pagination-padding-y-sm $pagination-padding-x;
171
-
172
- @if ($enable-c-inner) {
173
- .c-inner {
174
- margin: math-sign($pagination-padding-y-sm)
175
- math-sign($pagination-padding-x);
176
- }
177
- }
178
- }
179
-
180
- .pagination-results {
181
- font-size: $pagination-font-size-sm;
182
- line-height: $pagination-line-height-sm;
183
- padding: $pagination-padding-y-sm $pagination-padding-x;
184
- }
185
-
186
- .page-link {
187
- font-size: $pagination-font-size-sm;
188
- height: $pagination-item-height-sm;
189
- line-height: $pagination-line-height-sm;
190
- padding-bottom: $pagination-padding-y-sm;
191
- padding-right: $pagination-padding-x-sm;
192
- padding-left: $pagination-padding-x-sm;
193
- padding-top: $pagination-padding-y-sm;
194
-
195
- @if ($enable-c-inner) {
196
- .c-inner {
197
- margin: math-sign($pagination-padding-y-sm)
198
- math-sign($pagination-padding-x-sm);
199
- }
200
- }
201
-
202
- &.btn-unstyled {
203
- padding: $pagination-padding-y-sm $pagination-padding-x-sm;
204
- }
205
- }
206
-
207
- .page-item:first-child .page-link,
208
- .page-link-first {
209
- border-bottom-left-radius: $pagination-link-border-radius-sm;
210
- border-top-left-radius: $pagination-link-border-radius-sm;
211
- }
212
-
213
- .page-item:last-child .page-link,
214
- .page-link-last {
215
- border-bottom-right-radius: $pagination-link-border-radius-sm;
216
- border-top-right-radius: $pagination-link-border-radius-sm;
217
- }
62
+ @include clay-pagination-variant($pagination-sm);
218
63
  }
219
64
 
220
65
  .pagination-lg {
221
- .pagination-items-per-page {
222
- @include border-radius($pagination-link-border-radius-lg);
223
-
224
- .lexicon-icon {
225
- margin-left: $pagination-items-per-page-lexicon-icon-margin-left-lg;
226
- margin-right: $pagination-items-per-page-lexicon-icon-margin-top-lg;
227
- }
228
- }
229
-
230
- .pagination-items-per-page > a,
231
- .pagination-items-per-page > .btn-unstyled {
232
- font-size: $pagination-font-size-lg;
233
- height: $pagination-item-height-lg;
234
- line-height: $pagination-line-height-lg;
235
- padding: $pagination-padding-y-lg $pagination-padding-x;
236
-
237
- @if ($enable-c-inner) {
238
- .c-inner {
239
- margin: math-sign($pagination-padding-y-lg)
240
- math-sign($pagination-padding-x);
241
- }
242
- }
243
- }
244
-
245
- .pagination-results {
246
- font-size: $pagination-font-size-lg;
247
- line-height: $pagination-line-height-lg;
248
- padding: $pagination-padding-y-lg $pagination-padding-x;
249
- }
250
-
251
- .page-link {
252
- font-size: $pagination-font-size-lg;
253
- height: $pagination-item-height-lg;
254
- line-height: $pagination-line-height-lg;
255
- padding-bottom: $pagination-padding-y-lg;
256
- padding-left: $pagination-padding-x-lg;
257
- padding-right: $pagination-padding-x-lg;
258
- padding-top: $pagination-padding-y-lg;
259
-
260
- @if ($enable-c-inner) {
261
- .c-inner {
262
- margin: math-sign($pagination-padding-y-lg)
263
- math-sign($pagination-padding-x-lg);
264
- }
265
- }
266
-
267
- &.btn-unstyled {
268
- padding: $pagination-padding-y-lg $pagination-padding-x-lg;
269
- }
270
- }
271
-
272
- .page-item:first-child .page-link,
273
- .page-link-first {
274
- border-bottom-left-radius: $pagination-link-border-radius-lg;
275
- border-top-left-radius: $pagination-link-border-radius-lg;
276
- }
277
-
278
- .page-item:last-child .page-link,
279
- .page-link-last {
280
- border-bottom-right-radius: $pagination-link-border-radius-lg;
281
- border-top-right-radius: $pagination-link-border-radius-lg;
282
- }
66
+ @include clay-pagination-variant($pagination-lg);
283
67
  }
@@ -1,49 +1,5 @@
1
1
  .popover {
2
- background-clip: padding-box;
3
- background-color: $popover-bg;
4
- border: $popover-border-width solid $popover-border-color;
5
-
6
- @include border-radius($popover-border-radius);
7
- @include box-shadow($popover-box-shadow);
8
-
9
- display: block;
10
- font-family: $font-family-base;
11
- font-size: $popover-font-size;
12
- font-style: normal;
13
- font-weight: $font-weight-normal;
14
- left: 0;
15
- letter-spacing: normal;
16
- line-break: auto;
17
- line-height: $line-height-base;
18
- max-width: $popover-max-width;
19
- position: absolute;
20
- text-align: left;
21
- text-decoration: none;
22
- text-shadow: none;
23
- text-transform: none;
24
- top: 0;
25
- white-space: normal;
26
- word-break: normal;
27
- word-spacing: normal;
28
- word-wrap: break-word;
29
- z-index: $zindex-popover;
30
-
31
- .arrow {
32
- display: block;
33
- height: $popover-arrow-height;
34
- margin: 0 $popover-border-radius;
35
- position: absolute;
36
- width: $popover-arrow-width;
37
-
38
- &::before,
39
- &::after {
40
- border-color: transparent;
41
- border-style: solid;
42
- content: '';
43
- display: block;
44
- position: absolute;
45
- }
46
- }
2
+ @include clay-popover-variant($popover);
47
3
  }
48
4
 
49
5
  %bs-popover-bottom {
@@ -179,43 +135,24 @@
179
135
  @extend %bs-popover-top !optional;
180
136
  }
181
137
 
182
- .popover {
183
- .inline-scroller {
184
- max-height: $popover-inline-scroller-max-height;
185
- }
186
- }
187
-
188
- .popover-header {
189
- color: $popover-header-color;
190
- background-color: $popover-header-bg;
191
- border-bottom: $popover-border-width solid
192
- clay-darken($popover-header-bg, 5%);
193
- @include border-top-radius($popover-inner-border-radius);
194
- }
195
-
196
138
  .popover-header {
197
- border-color: $popover-header-border-color;
139
+ @include clay-css($popover-header);
198
140
 
199
- @include border-top-radius($popover-offset-border-width);
141
+ &::before {
142
+ @include clay-css(map-get($popover-header, before));
143
+ }
200
144
 
201
- font-size: $popover-header-font-size;
202
- font-weight: $popover-header-font-weight;
203
- margin-bottom: $popover-header-margin-y;
204
- margin-left: $popover-header-margin-x;
205
- margin-right: $popover-header-margin-x;
206
- margin-top: $popover-header-margin-y;
207
- padding: $popover-header-padding-y $popover-header-padding-x;
145
+ &::after {
146
+ @include clay-css(map-get($popover-header, after));
147
+ }
208
148
 
209
149
  &:empty {
210
- display: none;
150
+ @include clay-css(map-get($popover-header, empty));
211
151
  }
212
152
  }
213
153
 
214
154
  .popover-body {
215
- @include border-bottom-radius($popover-offset-border-width);
216
-
217
- color: $popover-body-color;
218
- padding: $popover-body-padding-y $popover-body-padding-x;
155
+ @include clay-css($popover-body);
219
156
  }
220
157
 
221
158
  // Top
@@ -223,38 +160,15 @@
223
160
  .clay-popover-top,
224
161
  .clay-popover-top-left,
225
162
  .clay-popover-top-right {
226
- margin-bottom: $popover-arrow-height;
227
-
228
- .arrow {
229
- bottom: calc(
230
- (#{$popover-arrow-height} + #{$popover-border-width}) * -1
231
- );
232
- margin: 0;
233
-
234
- &::after {
235
- border-top-color: $popover-arrow-color;
236
- border-width: $popover-arrow-height ($popover-arrow-width * 0.5) 0;
237
- bottom: $popover-border-width;
238
- }
239
-
240
- &::before {
241
- border-top-color: $popover-arrow-outer-color;
242
- border-width: $popover-arrow-height ($popover-arrow-width * 0.5) 0;
243
- bottom: 0;
244
- }
245
- }
246
- }
247
-
248
- .clay-popover-top .arrow::after {
249
- border-top-color: $popover-top-arrow-color;
163
+ @include clay-popover-variant($clay-popover-top);
250
164
  }
251
165
 
252
- .clay-popover-top-left .arrow::after {
253
- border-top-color: $popover-top-left-arrow-color;
166
+ .clay-popover-top-left {
167
+ @include clay-popover-variant($clay-popover-top-left);
254
168
  }
255
169
 
256
- .clay-popover-top-right .arrow::after {
257
- border-top-color: $popover-top-right-arrow-color;
170
+ .clay-popover-top-right {
171
+ @include clay-popover-variant($clay-popover-top-right);
258
172
  }
259
173
 
260
174
  // Right
@@ -262,40 +176,15 @@
262
176
  .clay-popover-right,
263
177
  .clay-popover-right-bottom,
264
178
  .clay-popover-right-top {
265
- margin-left: $popover-arrow-height;
266
-
267
- .arrow {
268
- height: $popover-arrow-width;
269
- left: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
270
- margin: 0;
271
- width: $popover-arrow-height;
272
-
273
- &::after {
274
- border-right-color: $popover-arrow-color;
275
- border-width: ($popover-arrow-width * 0.5) $popover-arrow-height
276
- ($popover-arrow-width * 0.5) 0;
277
- left: $popover-border-width;
278
- }
279
-
280
- &::before {
281
- border-right-color: $popover-arrow-outer-color;
282
- border-width: ($popover-arrow-width * 0.5) $popover-arrow-height
283
- ($popover-arrow-width * 0.5) 0;
284
- left: 0;
285
- }
286
- }
179
+ @include clay-popover-variant($clay-popover-right);
287
180
  }
288
181
 
289
- .clay-popover-right .arrow::after {
290
- border-right-color: $popover-right-arrow-color;
291
- }
292
-
293
- .clay-popover-right-bottom .arrow::after {
294
- border-right-color: $popover-right-bottom-arrow-color;
182
+ .clay-popover-right-bottom {
183
+ @include clay-popover-variant($clay-popover-right-bottom);
295
184
  }
296
185
 
297
- .clay-popover-right-top .arrow::after {
298
- border-right-color: $popover-right-top-arrow-color;
186
+ .clay-popover-right-top {
187
+ @include clay-popover-variant($clay-popover-right-top);
299
188
  }
300
189
 
301
190
  // Bottom
@@ -303,38 +192,15 @@
303
192
  .clay-popover-bottom,
304
193
  .clay-popover-bottom-left,
305
194
  .clay-popover-bottom-right {
306
- margin-top: $popover-arrow-height;
307
-
308
- .arrow {
309
- margin: 0;
310
- top: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
311
-
312
- &:after {
313
- border-bottom-color: $popover-arrow-color;
314
- border-width: 0 ($popover-arrow-width * 0.5) $popover-arrow-height
315
- ($popover-arrow-width * 0.5);
316
- top: $popover-border-width;
317
- }
318
-
319
- &:before {
320
- border-bottom-color: $popover-arrow-outer-color;
321
- border-width: 0 ($popover-arrow-width * 0.5) $popover-arrow-height
322
- ($popover-arrow-width * 0.5);
323
- top: 0;
324
- }
325
- }
326
- }
327
-
328
- .clay-popover-bottom .arrow::after {
329
- border-bottom-color: $popover-bottom-arrow-color;
195
+ @include clay-popover-variant($clay-popover-bottom);
330
196
  }
331
197
 
332
- .clay-popover-bottom-left .arrow::after {
333
- border-bottom-color: $popover-bottom-left-arrow-color;
198
+ .clay-popover-bottom-left {
199
+ @include clay-popover-variant($clay-popover-bottom-left);
334
200
  }
335
201
 
336
- .clay-popover-bottom-right .arrow::after {
337
- border-bottom-color: $popover-bottom-right-arrow-color;
202
+ .clay-popover-bottom-right {
203
+ @include clay-popover-variant($clay-popover-bottom-right);
338
204
  }
339
205
 
340
206
  // Left
@@ -342,86 +208,13 @@
342
208
  .clay-popover-left,
343
209
  .clay-popover-left-bottom,
344
210
  .clay-popover-left-top {
345
- margin-right: $popover-arrow-height;
346
-
347
- .arrow {
348
- height: $popover-arrow-width;
349
- margin: 0;
350
- right: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
351
- width: $popover-arrow-height;
352
-
353
- &::after {
354
- border-left-color: $popover-arrow-color;
355
- border-width: ($popover-arrow-width * 0.5) 0
356
- ($popover-arrow-width * 0.5) $popover-arrow-height;
357
- right: $popover-border-width;
358
- }
359
-
360
- &::before {
361
- border-left-color: $popover-arrow-outer-color;
362
- border-width: ($popover-arrow-width * 0.5) 0
363
- ($popover-arrow-width * 0.5) $popover-arrow-height;
364
- right: 0;
365
- }
366
- }
211
+ @include clay-popover-variant($clay-popover-left);
367
212
  }
368
213
 
369
- .clay-popover-left .arrow::after {
370
- border-left-color: $popover-left-arrow-color;
214
+ .clay-popover-left-bottom {
215
+ @include clay-popover-variant($clay-popover-left-bottom);
371
216
  }
372
217
 
373
- .clay-popover-left-bottom .arrow::after {
374
- border-left-color: $popover-left-bottom-arrow-color;
375
- }
376
-
377
- .clay-popover-left-top .arrow::after {
378
- border-left-color: $popover-left-top-arrow-color;
379
- }
380
-
381
- // Bottom / Top
382
-
383
- .clay-popover-bottom,
384
- .clay-popover-top {
385
- .arrow {
386
- left: 50%;
387
- margin-left: math-sign($popover-arrow-width * 0.5);
388
- }
389
- }
390
-
391
- .clay-popover-bottom-left,
392
- .clay-popover-top-left {
393
- .arrow {
394
- left: $popover-arrow-offset;
395
- }
396
- }
397
-
398
- .clay-popover-bottom-right,
399
- .clay-popover-top-right {
400
- .arrow {
401
- right: $popover-arrow-offset;
402
- }
403
- }
404
-
405
- // Right / Left
406
-
407
- .clay-popover-left,
408
- .clay-popover-right {
409
- .arrow {
410
- margin-top: math-sign($popover-arrow-height * 0.5);
411
- top: 50%;
412
- }
413
- }
414
-
415
- .clay-popover-left-bottom,
416
- .clay-popover-right-bottom {
417
- .arrow {
418
- bottom: $popover-arrow-offset;
419
- }
420
- }
421
-
422
- .clay-popover-left-top,
423
- .clay-popover-right-top {
424
- .arrow {
425
- top: $popover-arrow-offset;
426
- }
218
+ .clay-popover-left-top {
219
+ @include clay-popover-variant($clay-popover-left-top);
427
220
  }
@@ -52,7 +52,7 @@
52
52
 
53
53
  // Simple Toggle Switch
54
54
 
55
- .simple-toggle-switch {
55
+ .simple-toggle-switch.toggle-switch {
56
56
  @include clay-toggle-switch-variant($simple-toggle-switch);
57
57
 
58
58
  // deprecated
@@ -66,6 +66,6 @@
66
66
  }
67
67
  }
68
68
 
69
- .simple-toggle-switch-reverse {
69
+ .simple-toggle-switch-reverse.simple-toggle-switch {
70
70
  @include clay-toggle-switch-variant($simple-toggle-switch-reverse);
71
71
  }