@clayui/css 3.161.0 → 3.162.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 (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
@@ -1,332 +1,321 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $tooltip-bg: var(--tooltip-background-color, $dark-d2);
3
- $tooltip-border-radius: var(--tooltip-border-radius, $border-radius);
4
- $tooltip-box-shadow: var(
5
- --tooltip-box-shadow,
6
- 0 1px 4px 0px rgba(0, 0, 0, 0.4)
7
- );
8
- $tooltip-color: var(--tooltip-color, $white);
9
- $tooltip-font-size: var(--tooltip-font-size, 14px);
10
- $tooltip-margin: var(--tooltip-margin, 0);
11
- $tooltip-max-width: var(--tooltip-max-width, 230px);
12
- $tooltip-opacity: var(--tooltip-opacity, 1);
13
- $tooltip-padding-x: var(--tooltip-padding-x, 12px);
14
- $tooltip-padding-y: var(--tooltip-padding-y, 12px);
15
-
16
- $tooltip-arrow-color: var(--tooltip-arrow-color, $tooltip-bg);
17
- $tooltip-arrow-height: var(--tooltip-arrow-height, 6.4px);
18
- $tooltip-arrow-offset: var(--tooltip-arrow-offset, 8px);
19
- $tooltip-arrow-width: var(--tooltip-arrow-width, 12.8px);
20
-
21
- $form-feedback-tooltip-border-radius: $tooltip-border-radius;
22
- $form-feedback-tooltip-font-size: $tooltip-font-size;
23
- $form-feedback-tooltip-line-height: $line-height-base;
24
- $form-feedback-tooltip-opacity: $tooltip-opacity;
25
- $form-feedback-tooltip-padding-x: $tooltip-padding-x;
26
- $form-feedback-tooltip-padding-y: $tooltip-padding-y;
27
-
28
- // .tooltip
29
-
30
- $tooltip: ();
31
- $tooltip: map-deep-merge(
32
- (
1
+ $tooltip-bg: var(--tooltip-background-color, $dark-d2) !default;
2
+ $tooltip-border-radius: var(--tooltip-border-radius, $border-radius) !default;
3
+ $tooltip-box-shadow: var(
4
+ --tooltip-box-shadow,
5
+ 0 1px 4px 0px rgba(0, 0, 0, 0.4)
6
+ ) !default;
7
+ $tooltip-color: var(--tooltip-color, $white) !default;
8
+ $tooltip-font-size: var(--tooltip-font-size, 14px) !default;
9
+ $tooltip-margin: var(--tooltip-margin, 0) !default;
10
+ $tooltip-max-width: var(--tooltip-max-width, 230px) !default;
11
+ $tooltip-opacity: var(--tooltip-opacity, 1) !default;
12
+ $tooltip-padding-x: var(--tooltip-padding-x, 12px) !default;
13
+ $tooltip-padding-y: var(--tooltip-padding-y, 12px) !default;
14
+
15
+ $tooltip-arrow-color: var(--tooltip-arrow-color, $tooltip-bg) !default;
16
+ $tooltip-arrow-height: var(--tooltip-arrow-height, 6.4px) !default;
17
+ $tooltip-arrow-offset: var(--tooltip-arrow-offset, 8px) !default;
18
+ $tooltip-arrow-width: var(--tooltip-arrow-width, 12.8px) !default;
19
+
20
+ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
21
+ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
22
+ $form-feedback-tooltip-line-height: $line-height-base !default;
23
+ $form-feedback-tooltip-opacity: $tooltip-opacity !default;
24
+ $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
25
+ $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
26
+
27
+ // .tooltip
28
+
29
+ $tooltip: () !default;
30
+ $tooltip: map-deep-merge(
31
+ (
32
+ display: block,
33
+ font-family: $font-family-base,
34
+ font-size: $tooltip-font-size,
35
+ font-style: normal,
36
+ font-weight: var(--tooltip-font-weight, $font-weight-normal),
37
+ letter-spacing: normal,
38
+ line-break: auto,
39
+ line-height: $line-height-base,
40
+ margin: $tooltip-margin,
41
+ opacity: 0,
42
+ position: absolute,
43
+ text-align: left,
44
+ text-decoration: none,
45
+ text-shadow: none,
46
+ text-transform: none,
47
+ white-space: normal,
48
+ word-break: normal,
49
+ word-spacing: normal,
50
+ word-wrap: break-word,
51
+ z-index: $zindex-tooltip,
52
+
53
+ show: (
54
+ opacity: $tooltip-opacity,
55
+ ),
56
+
57
+ arrow: (
33
58
  display: block,
34
- font-family: $font-family-base,
35
- font-size: $tooltip-font-size,
36
- font-style: normal,
37
- font-weight: var(--tooltip-font-weight, $font-weight-normal),
38
- letter-spacing: normal,
39
- line-break: auto,
40
- line-height: $line-height-base,
41
- margin: $tooltip-margin,
42
- opacity: 0,
59
+ height: $tooltip-arrow-height,
43
60
  position: absolute,
44
- text-align: left,
45
- text-decoration: none,
46
- text-shadow: none,
47
- text-transform: none,
48
- white-space: normal,
49
- word-break: normal,
50
- word-spacing: normal,
51
- word-wrap: break-word,
52
- z-index: $zindex-tooltip,
53
-
54
- show: (
55
- opacity: $tooltip-opacity,
56
- ),
61
+ width: $tooltip-arrow-width,
57
62
 
58
- arrow: (
59
- display: block,
60
- height: $tooltip-arrow-height,
63
+ before: (
64
+ border-color: transparent,
65
+ border-style: solid,
66
+ content: '',
61
67
  position: absolute,
62
- width: $tooltip-arrow-width,
63
-
64
- before: (
65
- border-color: transparent,
66
- border-style: solid,
67
- content: '',
68
- position: absolute,
69
- ),
70
68
  ),
71
69
  ),
72
- $tooltip
73
- );
74
-
75
- // .tooltip-inner
76
-
77
- $tooltip-inner: ();
78
- $tooltip-inner: map-merge(
79
- (
80
- background-color: $tooltip-bg,
81
- border-radius: clay-enable-rounded($tooltip-border-radius),
82
- box-shadow: clay-enable-shadows($tooltip-box-shadow),
83
- color: $tooltip-color,
84
- max-width: $tooltip-max-width,
85
- padding: $tooltip-padding-y $tooltip-padding-x,
86
- text-align: center,
87
- white-space: pre-line,
88
- ),
89
- $tooltip-inner
90
- );
91
-
92
- // .clay-tooltip-bottom, .clay-tooltip-bottom-left, .clay-tooltip-bottom-right
93
-
94
- $clay-tooltip-bottom: ();
95
- $clay-tooltip-bottom: map-deep-merge(
96
- (
97
- padding-top: $tooltip-arrow-height,
98
-
99
- arrow: (
100
- left: 50%,
101
- margin-left: calc(#{$tooltip-arrow-width} * -0.5),
102
- top: 0rem,
103
-
104
- before: (
105
- border-bottom-color: $tooltip-arrow-color,
106
- border-width:
107
- 0rem
108
- calc(#{$tooltip-arrow-width} * 0.5)
109
- $tooltip-arrow-height,
110
- bottom: 0rem,
111
- ),
112
- ),
113
-
114
- tooltip-arrow: (
115
- border-bottom-color: transparent,
116
- border-right-color: transparent,
117
- left: 50%,
118
- top: 0rem,
70
+ ),
71
+ $tooltip
72
+ );
73
+
74
+ // .tooltip-inner
75
+
76
+ $tooltip-inner: () !default;
77
+ $tooltip-inner: map-merge(
78
+ (
79
+ background-color: $tooltip-bg,
80
+ border-radius: clay-enable-rounded($tooltip-border-radius),
81
+ box-shadow: clay-enable-shadows($tooltip-box-shadow),
82
+ color: $tooltip-color,
83
+ max-width: $tooltip-max-width,
84
+ padding: $tooltip-padding-y $tooltip-padding-x,
85
+ text-align: center,
86
+ white-space: pre-line,
87
+ ),
88
+ $tooltip-inner
89
+ );
90
+
91
+ // .clay-tooltip-bottom, .clay-tooltip-bottom-left, .clay-tooltip-bottom-right
92
+
93
+ $clay-tooltip-bottom: () !default;
94
+ $clay-tooltip-bottom: map-deep-merge(
95
+ (
96
+ padding-top: $tooltip-arrow-height,
97
+
98
+ arrow: (
99
+ left: 50%,
100
+ margin-left: calc(#{$tooltip-arrow-width} * -0.5),
101
+ top: 0rem,
102
+
103
+ before: (
104
+ border-bottom-color: $tooltip-arrow-color,
105
+ border-width: 0rem calc(#{$tooltip-arrow-width} * 0.5)
106
+ $tooltip-arrow-height,
107
+ bottom: 0rem,
119
108
  ),
120
109
  ),
121
- $clay-tooltip-bottom
122
- );
123
-
124
- // .clay-tooltip-bottom-left
125
110
 
126
- $clay-tooltip-bottom-left: ();
127
- $clay-tooltip-bottom-left: map-deep-merge(
128
- (
129
- arrow: (
130
- left: $tooltip-arrow-offset,
131
- margin-left: 0rem,
132
- ),
111
+ tooltip-arrow: (
112
+ border-bottom-color: transparent,
113
+ border-right-color: transparent,
114
+ left: 50%,
115
+ top: 0rem,
133
116
  ),
134
- $clay-tooltip-bottom-left
135
- );
136
-
137
- // .clay-tooltip-bottom-right
138
-
139
- $clay-tooltip-bottom-right: ();
140
- $clay-tooltip-bottom-right: map-deep-merge(
141
- (
142
- arrow: (
143
- left: auto,
144
- margin-left: 0rem,
145
- right: $tooltip-arrow-offset,
146
- ),
117
+ ),
118
+ $clay-tooltip-bottom
119
+ );
120
+
121
+ // .clay-tooltip-bottom-left
122
+
123
+ $clay-tooltip-bottom-left: () !default;
124
+ $clay-tooltip-bottom-left: map-deep-merge(
125
+ (
126
+ arrow: (
127
+ left: $tooltip-arrow-offset,
128
+ margin-left: 0rem,
147
129
  ),
148
- $clay-tooltip-bottom-right
149
- );
150
-
151
- // .clay-tooltip-left, .clay-tooltip-left-bottom, .clay-tooltip-left-top
152
-
153
- $clay-tooltip-left: ();
154
- $clay-tooltip-left: map-deep-merge(
155
- (
156
- padding-right: $tooltip-arrow-height,
157
-
158
- arrow: (
159
- height: $tooltip-arrow-width,
160
- margin-top: calc(#{$tooltip-arrow-width} * -0.5),
161
- right: 0rem,
162
- top: 50%,
163
- width: $tooltip-arrow-height,
164
-
165
- before: (
166
- border-left-color: $tooltip-arrow-color,
167
- border-width:
168
- calc(#{$tooltip-arrow-width} * 0.5)
169
- 0
170
- calc(#{$tooltip-arrow-width} * 0.5)
171
- $tooltip-arrow-height,
172
- left: 0rem,
173
- ),
174
- ),
175
-
176
- tooltip-arrow: (
177
- border-bottom-color: transparent,
178
- border-left-color: transparent,
179
- right: 0rem,
180
- top: 50%,
181
- ),
130
+ ),
131
+ $clay-tooltip-bottom-left
132
+ );
133
+
134
+ // .clay-tooltip-bottom-right
135
+
136
+ $clay-tooltip-bottom-right: () !default;
137
+ $clay-tooltip-bottom-right: map-deep-merge(
138
+ (
139
+ arrow: (
140
+ left: auto,
141
+ margin-left: 0rem,
142
+ right: $tooltip-arrow-offset,
182
143
  ),
183
- $clay-tooltip-left
184
- );
185
-
186
- // .clay-tooltip-left-bottom
187
-
188
- $clay-tooltip-left-bottom: ();
189
- $clay-tooltip-left-bottom: map-deep-merge(
190
- (
191
- arrow: (
192
- bottom: $tooltip-arrow-offset,
193
- margin-top: 0rem,
194
- top: auto,
144
+ ),
145
+ $clay-tooltip-bottom-right
146
+ );
147
+
148
+ // .clay-tooltip-left, .clay-tooltip-left-bottom, .clay-tooltip-left-top
149
+
150
+ $clay-tooltip-left: () !default;
151
+ $clay-tooltip-left: map-deep-merge(
152
+ (
153
+ padding-right: $tooltip-arrow-height,
154
+
155
+ arrow: (
156
+ height: $tooltip-arrow-width,
157
+ margin-top: calc(#{$tooltip-arrow-width} * -0.5),
158
+ right: 0rem,
159
+ top: 50%,
160
+ width: $tooltip-arrow-height,
161
+
162
+ before: (
163
+ border-left-color: $tooltip-arrow-color,
164
+ border-width: calc(#{$tooltip-arrow-width} * 0.5) 0
165
+ calc(#{$tooltip-arrow-width} * 0.5) $tooltip-arrow-height,
166
+ left: 0rem,
195
167
  ),
196
168
  ),
197
- $clay-tooltip-left-bottom
198
- );
199
-
200
- // .clay-tooltip-left-top
201
169
 
202
- $clay-tooltip-left-top: ();
203
- $clay-tooltip-left-top: map-deep-merge(
204
- (
205
- arrow: (
206
- margin-top: 0rem,
207
- top: $tooltip-arrow-offset,
208
- ),
170
+ tooltip-arrow: (
171
+ border-bottom-color: transparent,
172
+ border-left-color: transparent,
173
+ right: 0rem,
174
+ top: 50%,
209
175
  ),
210
- $clay-tooltip-left-top
211
- );
212
-
213
- // .clay-tooltip-right, .clay-tooltip-right-bottom, .clay-tooltip-right-top
214
-
215
- $clay-tooltip-right: ();
216
- $clay-tooltip-right: map-deep-merge(
217
- (
218
- padding-left: $tooltip-arrow-height,
219
-
220
- arrow: (
221
- height: $tooltip-arrow-width,
222
- left: 0rem,
223
- margin-top: calc(#{$tooltip-arrow-width} * -0.5),
224
- top: 50%,
225
- width: $tooltip-arrow-height,
226
-
227
- before: (
228
- border-right-color: $tooltip-arrow-color,
229
- border-width:
230
- calc(#{$tooltip-arrow-width} * 0.5)
231
- $tooltip-arrow-height
232
- calc(#{$tooltip-arrow-width} * 0.5)
233
- 0rem,
234
- right: 0rem,
235
- ),
236
- ),
237
-
238
- tooltip-arrow: (
239
- border-right-color: transparent,
240
- border-top-color: transparent,
241
- left: 0rem,
242
- top: 50%,
243
- ),
176
+ ),
177
+ $clay-tooltip-left
178
+ );
179
+
180
+ // .clay-tooltip-left-bottom
181
+
182
+ $clay-tooltip-left-bottom: () !default;
183
+ $clay-tooltip-left-bottom: map-deep-merge(
184
+ (
185
+ arrow: (
186
+ bottom: $tooltip-arrow-offset,
187
+ margin-top: 0rem,
188
+ top: auto,
244
189
  ),
245
- $clay-tooltip-right
246
- );
247
-
248
- // .clay-tooltip-right-bottom
249
-
250
- $clay-tooltip-right-bottom: ();
251
- $clay-tooltip-right-bottom: map-deep-merge(
252
- (
253
- arrow: (
254
- bottom: $tooltip-arrow-offset,
255
- margin-top: 0rem,
256
- top: auto,
257
- ),
190
+ ),
191
+ $clay-tooltip-left-bottom
192
+ );
193
+
194
+ // .clay-tooltip-left-top
195
+
196
+ $clay-tooltip-left-top: () !default;
197
+ $clay-tooltip-left-top: map-deep-merge(
198
+ (
199
+ arrow: (
200
+ margin-top: 0rem,
201
+ top: $tooltip-arrow-offset,
258
202
  ),
259
- $clay-tooltip-right-bottom
260
- );
261
-
262
- // .clay-tooltip-right-top
263
-
264
- $clay-tooltip-right-top: ();
265
- $clay-tooltip-right-top: map-deep-merge(
266
- (
267
- arrow: (
268
- margin-top: 0rem,
269
- top: $tooltip-arrow-offset,
203
+ ),
204
+ $clay-tooltip-left-top
205
+ );
206
+
207
+ // .clay-tooltip-right, .clay-tooltip-right-bottom, .clay-tooltip-right-top
208
+
209
+ $clay-tooltip-right: () !default;
210
+ $clay-tooltip-right: map-deep-merge(
211
+ (
212
+ padding-left: $tooltip-arrow-height,
213
+
214
+ arrow: (
215
+ height: $tooltip-arrow-width,
216
+ left: 0rem,
217
+ margin-top: calc(#{$tooltip-arrow-width} * -0.5),
218
+ top: 50%,
219
+ width: $tooltip-arrow-height,
220
+
221
+ before: (
222
+ border-right-color: $tooltip-arrow-color,
223
+ border-width: calc(#{$tooltip-arrow-width} * 0.5)
224
+ $tooltip-arrow-height calc(#{$tooltip-arrow-width} * 0.5)
225
+ 0rem,
226
+ right: 0rem,
270
227
  ),
271
228
  ),
272
- $clay-tooltip-right-top
273
- );
274
-
275
- // .clay-tooltip-top, .clay-tooltip-top-left, .clay-tooltip-top-right
276
229
 
277
- $clay-tooltip-top: ();
278
- $clay-tooltip-top: map-deep-merge(
279
- (
280
- padding-bottom: $tooltip-arrow-height,
281
-
282
- arrow: (
283
- bottom: 0rem,
284
- left: 50%,
285
- margin-left: calc(#{$tooltip-arrow-width} * -0.5),
286
- before: (
287
- border-top-color: $tooltip-arrow-color,
288
- border-width:
289
- $tooltip-arrow-height
290
- calc(#{$tooltip-arrow-width} * 0.5)
291
- 0rem,
292
- top: 0rem,
293
- ),
294
- ),
295
-
296
- tooltip-arrow: (
297
- border-left-color: transparent,
298
- border-top-color: transparent,
299
- bottom: 0rem,
300
- left: 50%,
230
+ tooltip-arrow: (
231
+ border-right-color: transparent,
232
+ border-top-color: transparent,
233
+ left: 0rem,
234
+ top: 50%,
235
+ ),
236
+ ),
237
+ $clay-tooltip-right
238
+ );
239
+
240
+ // .clay-tooltip-right-bottom
241
+
242
+ $clay-tooltip-right-bottom: () !default;
243
+ $clay-tooltip-right-bottom: map-deep-merge(
244
+ (
245
+ arrow: (
246
+ bottom: $tooltip-arrow-offset,
247
+ margin-top: 0rem,
248
+ top: auto,
249
+ ),
250
+ ),
251
+ $clay-tooltip-right-bottom
252
+ );
253
+
254
+ // .clay-tooltip-right-top
255
+
256
+ $clay-tooltip-right-top: () !default;
257
+ $clay-tooltip-right-top: map-deep-merge(
258
+ (
259
+ arrow: (
260
+ margin-top: 0rem,
261
+ top: $tooltip-arrow-offset,
262
+ ),
263
+ ),
264
+ $clay-tooltip-right-top
265
+ );
266
+
267
+ // .clay-tooltip-top, .clay-tooltip-top-left, .clay-tooltip-top-right
268
+
269
+ $clay-tooltip-top: () !default;
270
+ $clay-tooltip-top: map-deep-merge(
271
+ (
272
+ padding-bottom: $tooltip-arrow-height,
273
+
274
+ arrow: (
275
+ bottom: 0rem,
276
+ left: 50%,
277
+ margin-left: calc(#{$tooltip-arrow-width} * -0.5),
278
+ before: (
279
+ border-top-color: $tooltip-arrow-color,
280
+ border-width: $tooltip-arrow-height
281
+ calc(#{$tooltip-arrow-width} * 0.5) 0rem,
282
+ top: 0rem,
301
283
  ),
302
284
  ),
303
- $clay-tooltip-top
304
- );
305
-
306
- // .clay-tooltip-top-left
307
285
 
308
- $clay-tooltip-top-left: ();
309
- $clay-tooltip-top-left: map-deep-merge(
310
- (
311
- arrow: (
312
- left: $tooltip-arrow-offset,
313
- margin-left: 0rem,
314
- ),
286
+ tooltip-arrow: (
287
+ border-left-color: transparent,
288
+ border-top-color: transparent,
289
+ bottom: 0rem,
290
+ left: 50%,
315
291
  ),
316
- $clay-tooltip-top-left
317
- );
318
-
319
- // .clay-tooltip-top-right
320
-
321
- $clay-tooltip-top-right: ();
322
- $clay-tooltip-top-right: map-deep-merge(
323
- (
324
- arrow: (
325
- left: auto,
326
- margin-left: 0rem,
327
- right: $tooltip-arrow-offset,
328
- ),
292
+ ),
293
+ $clay-tooltip-top
294
+ );
295
+
296
+ // .clay-tooltip-top-left
297
+
298
+ $clay-tooltip-top-left: () !default;
299
+ $clay-tooltip-top-left: map-deep-merge(
300
+ (
301
+ arrow: (
302
+ left: $tooltip-arrow-offset,
303
+ margin-left: 0rem,
304
+ ),
305
+ ),
306
+ $clay-tooltip-top-left
307
+ );
308
+
309
+ // .clay-tooltip-top-right
310
+
311
+ $clay-tooltip-top-right: () !default;
312
+ $clay-tooltip-top-right: map-deep-merge(
313
+ (
314
+ arrow: (
315
+ left: auto,
316
+ margin-left: 0rem,
317
+ right: $tooltip-arrow-offset,
329
318
  ),
330
- $clay-tooltip-top-right
331
- );
332
- }
319
+ ),
320
+ $clay-tooltip-top-right
321
+ );