@clayui/css 3.160.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.
- package/lib/css/atlas.css +1716 -1586
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +1416 -1287
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +79 -12
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/arrow-key-down.svg +9 -0
- package/lib/images/icons/arrow-key-left.svg +9 -0
- package/lib/images/icons/arrow-key-right.svg +9 -0
- package/lib/images/icons/arrow-key-up.svg +9 -0
- package/lib/images/icons/books-brush.svg +9 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +1 -1
- package/src/images/icons/arrow-key-down.svg +9 -0
- package/src/images/icons/arrow-key-left.svg +9 -0
- package/src/images/icons/arrow-key-right.svg +9 -0
- package/src/images/icons/arrow-key-up.svg +9 -0
- package/src/images/icons/books-brush.svg +9 -0
- package/src/images/icons/icons.svg +1 -1
- package/src/scss/_components.scss +2 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/_variables.scss +6 -4
- package/src/scss/atlas/variables/_forms.scss +3 -1
- package/src/scss/atlas/variables/_globals.scss +10 -10
- package/src/scss/atlas/variables/_reorder.scss +1 -1
- package/src/scss/atlas-custom-properties/_variables.scss +66 -0
- package/src/scss/atlas-custom-properties/variables/_alerts.scss +1205 -0
- package/src/scss/atlas-custom-properties/variables/_application-bar.scss +60 -0
- package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +26 -0
- package/src/scss/atlas-custom-properties/variables/_badges.scss +341 -0
- package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +193 -0
- package/src/scss/atlas-custom-properties/variables/_buttons.scss +1442 -0
- package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -0
- package/src/scss/atlas-custom-properties/variables/_cards.scss +1212 -0
- package/src/scss/atlas-custom-properties/variables/_clay-color.scss +617 -0
- package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +1096 -0
- package/src/scss/atlas-custom-properties/variables/_date-picker.scss +619 -0
- package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -0
- package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1229 -0
- package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +72 -0
- package/src/scss/atlas-custom-properties/variables/_empty-state.scss +102 -0
- package/src/scss/atlas-custom-properties/variables/_forms.scss +2305 -0
- package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +48 -0
- package/src/scss/atlas-custom-properties/variables/_globals.scss +844 -0
- package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -0
- package/src/scss/atlas-custom-properties/variables/_images.scss +9 -0
- package/src/scss/atlas-custom-properties/variables/_labels.scss +1374 -0
- package/src/scss/atlas-custom-properties/variables/_links.scss +466 -0
- package/src/scss/atlas-custom-properties/variables/_list-group.scss +488 -0
- package/src/scss/atlas-custom-properties/variables/_loaders.scss +226 -0
- package/src/scss/atlas-custom-properties/variables/_management-bar.scss +151 -0
- package/src/scss/atlas-custom-properties/variables/_menubar.scss +778 -0
- package/src/scss/atlas-custom-properties/variables/_modals.scss +645 -0
- package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +354 -0
- package/src/scss/atlas-custom-properties/variables/_navbar.scss +198 -0
- package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +449 -0
- package/src/scss/atlas-custom-properties/variables/_navs.scss +553 -0
- package/src/scss/atlas-custom-properties/variables/_pagination.scss +1064 -0
- package/src/scss/atlas-custom-properties/variables/_panels.scss +554 -0
- package/src/scss/atlas-custom-properties/variables/_popovers.scss +533 -0
- package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +149 -0
- package/src/scss/atlas-custom-properties/variables/_quick-action.scss +28 -0
- package/src/scss/atlas-custom-properties/variables/_range.scss +262 -0
- package/src/scss/atlas-custom-properties/variables/_reorder.scss +91 -0
- package/src/scss/atlas-custom-properties/variables/_resizer.scss +37 -0
- package/src/scss/atlas-custom-properties/variables/_sheets.scss +301 -0
- package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -0
- package/src/scss/atlas-custom-properties/variables/_sidebar.scss +547 -0
- package/src/scss/atlas-custom-properties/variables/_slideout.scss +369 -0
- package/src/scss/atlas-custom-properties/variables/_stickers.scss +576 -0
- package/src/scss/atlas-custom-properties/variables/_tables.scss +1292 -0
- package/src/scss/atlas-custom-properties/variables/_tbar.scss +570 -0
- package/src/scss/atlas-custom-properties/variables/_time.scss +133 -0
- package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -0
- package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +702 -0
- package/src/scss/atlas-custom-properties/variables/_tooltip.scss +321 -0
- package/src/scss/atlas-custom-properties/variables/_treeview.scss +367 -0
- package/src/scss/atlas-custom-properties/variables/_type.scss +195 -0
- package/src/scss/atlas-custom-properties/variables/_utilities.scss +933 -0
- package/src/scss/cadmin/components/_focus-ring.scss +74 -0
- package/src/scss/cadmin/components/_forms.scss +2 -0
- package/src/scss/cadmin/components/_menubar.scss +8 -0
- package/src/scss/cadmin/components/_resizer.scss +19 -4
- package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
- package/src/scss/cadmin/variables/_forms.scss +3 -1
- package/src/scss/cadmin/variables/_reorder.scss +1 -0
- package/src/scss/cadmin/variables/_resizer.scss +16 -3
- package/src/scss/cadmin.scss +1 -0
- package/src/scss/components/_focus-ring.scss +64 -0
- package/src/scss/components/_forms.scss +2 -0
- package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
- package/src/scss/components/_menubar.scss +8 -0
- package/src/scss/components/_resizer.scss +15 -4
- package/src/scss/functions/_global-functions.scss +6 -4
- package/src/scss/functions/_lx-icons-generated.scss +10 -0
- package/src/scss/variables/_breadcrumbs.scss +4 -2
- package/src/scss/variables/_forms.scss +2 -0
- package/src/scss/variables/_globals.scss +8 -8
- package/src/scss/variables/_resizer.scss +16 -3
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
// Clay Color Input Group Text (.clay-color > .input-group-item > .input-group-text)
|
|
2
|
+
|
|
3
|
+
$clay-color-input-group-text: () !default;
|
|
4
|
+
$clay-color-input-group-text: map-merge(
|
|
5
|
+
(
|
|
6
|
+
background-color:
|
|
7
|
+
var(
|
|
8
|
+
--clay-color-input-group-text-background-color,
|
|
9
|
+
setter(map-get($clay-color-input-group-text, bg), $white)
|
|
10
|
+
),
|
|
11
|
+
border-color:
|
|
12
|
+
var(--clay-color-input-group-text-border-color, $input-border-color),
|
|
13
|
+
padding-left: var(--clay-color-input-group-text-padding-left, 0),
|
|
14
|
+
padding-right: var(--clay-color-input-group-text-padding-right, 0),
|
|
15
|
+
),
|
|
16
|
+
$clay-color-input-group-text
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
// Clay Color Input Group Input (.clay-color > .input-group-item > .form-control)
|
|
20
|
+
|
|
21
|
+
$clay-color-input-group-input: () !default;
|
|
22
|
+
|
|
23
|
+
// Clay Color Input Group Inset Item Before (.clay-color > .input-group-item > .input-group-inset-item-before)
|
|
24
|
+
|
|
25
|
+
$clay-color-input-group-inset-item-before: () !default;
|
|
26
|
+
$clay-color-input-group-inset-item-before: map-merge(
|
|
27
|
+
(
|
|
28
|
+
color: var(--clay-color-input-group-inset-item-before-color, $gray-600),
|
|
29
|
+
font-size:
|
|
30
|
+
var(--clay-color-input-group-inset-item-before-font-size, inherit),
|
|
31
|
+
padding-left:
|
|
32
|
+
var(
|
|
33
|
+
--clay-color-input-group-inset-item-before-padding-left,
|
|
34
|
+
$input-padding-x
|
|
35
|
+
),
|
|
36
|
+
padding-right:
|
|
37
|
+
var(--clay-color-input-group-inset-item-before-padding-right, 8px),
|
|
38
|
+
),
|
|
39
|
+
$clay-color-input-group-inset-item-before
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
// Dropdown Menu
|
|
43
|
+
|
|
44
|
+
$clay-color-dropdown-menu: () !default;
|
|
45
|
+
$clay-color-dropdown-menu: map-deep-merge(
|
|
46
|
+
(
|
|
47
|
+
max-height: var(--clay-color-dropdown-menu-max-height, 500px),
|
|
48
|
+
max-width: var(--clay-color-dropdown-menu-max-width, none),
|
|
49
|
+
padding-bottom: var(--clay-color-dropdown-menu-padding-bottom, 0),
|
|
50
|
+
padding-left: var(--clay-color-dropdown-menu-padding-left, 16px),
|
|
51
|
+
padding-right: var(--clay-color-dropdown-menu-padding-right, 16px),
|
|
52
|
+
padding-top: var(--clay-color-dropdown-menu-padding-top, 16px),
|
|
53
|
+
width: var(--clay-color-dropdown-menu-width, 272px),
|
|
54
|
+
),
|
|
55
|
+
$clay-color-dropdown-menu
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
// Dropdown Menu Form Group
|
|
59
|
+
|
|
60
|
+
$clay-color-dropdown-menu-form-group: () !default;
|
|
61
|
+
$clay-color-dropdown-menu-form-group: map-merge(
|
|
62
|
+
(
|
|
63
|
+
margin-bottom:
|
|
64
|
+
var(--clay-color-dropdown-menu-form-group-margin-bottom, 16px),
|
|
65
|
+
),
|
|
66
|
+
$clay-color-dropdown-menu-form-group
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
// Dropdown Menu Input (.clay-color-dropdown-menu .form-control)
|
|
70
|
+
|
|
71
|
+
$clay-color-dropdown-menu-input: () !default;
|
|
72
|
+
$clay-color-dropdown-menu-input: map-deep-merge(
|
|
73
|
+
(
|
|
74
|
+
font-size: var(--clay-color-dropdown-menu-input-font-size, 14px),
|
|
75
|
+
height: var(--clay-color-dropdown-menu-input-height, 32px),
|
|
76
|
+
padding-bottom:
|
|
77
|
+
var(--clay-color-dropdown-menu-input-padding-bottom, 4px),
|
|
78
|
+
padding-left: var(--clay-color-dropdown-menu-input-padding-left, 12px),
|
|
79
|
+
padding-right: var(--clay-color-dropdown-menu-input-padding-right, 12px),
|
|
80
|
+
padding-top: var(--clay-color-dropdown-menu-input-padding-top, 4px),
|
|
81
|
+
),
|
|
82
|
+
$clay-color-dropdown-menu-input
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
// Dropdown Menu Input Group Inset Item Before
|
|
86
|
+
|
|
87
|
+
$clay-color-dropdown-menu-input-group-inset-item-before: () !default;
|
|
88
|
+
$clay-color-dropdown-menu-input-group-inset-item-before: map-merge(
|
|
89
|
+
(
|
|
90
|
+
color:
|
|
91
|
+
var(
|
|
92
|
+
--clay-color-dropdown-menu-input-group-inset-item-before-color,
|
|
93
|
+
$gray-600
|
|
94
|
+
),
|
|
95
|
+
font-size:
|
|
96
|
+
var(
|
|
97
|
+
--clay-color-dropdown-menu-input-group-inset-item-before-font-size,
|
|
98
|
+
14px
|
|
99
|
+
),
|
|
100
|
+
padding-left:
|
|
101
|
+
var(
|
|
102
|
+
--clay-color-dropdown-menu-input-group-inset-item-before-padding-left,
|
|
103
|
+
$input-padding-x-sm
|
|
104
|
+
),
|
|
105
|
+
padding-right:
|
|
106
|
+
var(
|
|
107
|
+
--clay-color-dropdown-menu-input-group-inset-item-before-padding-right,
|
|
108
|
+
8px
|
|
109
|
+
),
|
|
110
|
+
),
|
|
111
|
+
$clay-color-dropdown-menu-input-group-inset-item-before
|
|
112
|
+
);
|
|
113
|
+
|
|
114
|
+
// Dropdown Menu Close
|
|
115
|
+
|
|
116
|
+
$clay-color-dropdown-menu-close: () !default;
|
|
117
|
+
$clay-color-dropdown-menu-close: map-deep-merge(
|
|
118
|
+
(
|
|
119
|
+
color: var(--clay-color-dropdown-menu-close-color, $gray-600),
|
|
120
|
+
font-size: var(--clay-color-dropdown-menu-close-font-size, 16px),
|
|
121
|
+
opacity: var(--clay-color-dropdown-menu-close-opacity, 1),
|
|
122
|
+
hover: (
|
|
123
|
+
background-color:
|
|
124
|
+
var(
|
|
125
|
+
--clay-color-dropdown-menu-close-hover-background-color,
|
|
126
|
+
unquote('hsl(from #{$gray-900} h s l / 0.03)')
|
|
127
|
+
),
|
|
128
|
+
),
|
|
129
|
+
|
|
130
|
+
focus: (
|
|
131
|
+
background-color:
|
|
132
|
+
var(
|
|
133
|
+
--clay-color-dropdown-menu-close-focus-background-color,
|
|
134
|
+
unquote('hsl(from #{$gray-900} h s l / 0.03)')
|
|
135
|
+
),
|
|
136
|
+
),
|
|
137
|
+
|
|
138
|
+
active: (
|
|
139
|
+
background-color:
|
|
140
|
+
var(
|
|
141
|
+
--clay-color-dropdown-menu-close-active-background-color,
|
|
142
|
+
unquote('hsl(from #{$gray-900} h s l / 0.06)')
|
|
143
|
+
),
|
|
144
|
+
),
|
|
145
|
+
|
|
146
|
+
disabled: (
|
|
147
|
+
background-color:
|
|
148
|
+
var(
|
|
149
|
+
--clay-color-dropdown-menu-close-disabled-background-color,
|
|
150
|
+
transparent
|
|
151
|
+
),
|
|
152
|
+
),
|
|
153
|
+
),
|
|
154
|
+
$clay-color-dropdown-menu-close
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
// Dropdown Menu Component Action
|
|
158
|
+
|
|
159
|
+
$clay-color-dropdown-menu-component-action: () !default;
|
|
160
|
+
|
|
161
|
+
// Clay Color Swatch
|
|
162
|
+
|
|
163
|
+
$clay-color-swatch: () !default;
|
|
164
|
+
$clay-color-swatch: map-merge(
|
|
165
|
+
(
|
|
166
|
+
display: flex,
|
|
167
|
+
flex-wrap: wrap,
|
|
168
|
+
margin-left: var(--clay-color-swatch-margin-left, -8px),
|
|
169
|
+
margin-right: var(--clay-color-swatch-margin-right, -8px),
|
|
170
|
+
margin-top: var(--clay-color-swatch-margin-top, 8px),
|
|
171
|
+
),
|
|
172
|
+
$clay-color-swatch
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
$clay-color-swatch-item: () !default;
|
|
176
|
+
$clay-color-swatch-item: map-merge(
|
|
177
|
+
(
|
|
178
|
+
display: flex,
|
|
179
|
+
flex-wrap: wrap,
|
|
180
|
+
justify-content: center,
|
|
181
|
+
padding-bottom: var(--clay-color-swatch-item-padding-bottom, 16px),
|
|
182
|
+
width: var(--clay-color-swatch-item-width, 16.66667%),
|
|
183
|
+
),
|
|
184
|
+
$clay-color-swatch-item
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
// Clay Color Btn
|
|
188
|
+
|
|
189
|
+
$clay-color-btn: () !default;
|
|
190
|
+
$clay-color-btn: map-deep-merge(
|
|
191
|
+
(
|
|
192
|
+
border-radius: var(--clay-color-btn-border-radius, 2px),
|
|
193
|
+
height: var(--clay-color-btn-height, 24px),
|
|
194
|
+
padding-bottom: var(--clay-color-btn-padding-bottom, 0),
|
|
195
|
+
padding-left: var(--clay-color-btn-padding-left, 0),
|
|
196
|
+
padding-right: var(--clay-color-btn-padding-right, 0),
|
|
197
|
+
padding-top: var(--clay-color-btn-padding-top, 0),
|
|
198
|
+
width: var(--clay-color-btn-width, 24px),
|
|
199
|
+
active: (
|
|
200
|
+
box-shadow:
|
|
201
|
+
var(
|
|
202
|
+
--clay-color-btn-active-box-shadow,
|
|
203
|
+
$component-focus-box-shadow
|
|
204
|
+
),
|
|
205
|
+
),
|
|
206
|
+
),
|
|
207
|
+
$clay-color-btn
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
$clay-color-btn-bordered: () !default;
|
|
211
|
+
$clay-color-btn-bordered: map-deep-merge(
|
|
212
|
+
(
|
|
213
|
+
border-color: var(--clay-color-btn-bordered-border-color, $gray-300),
|
|
214
|
+
),
|
|
215
|
+
$clay-color-btn-bordered
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
// Clay Color Pointer
|
|
219
|
+
|
|
220
|
+
$clay-color-pointer: () !default;
|
|
221
|
+
$clay-color-pointer: map-deep-merge(
|
|
222
|
+
(
|
|
223
|
+
background-color: transparent,
|
|
224
|
+
border-radius: var(--clay-color-pointer-border-radius, 100px),
|
|
225
|
+
border-color: var(--clay-color-pointer-border-color, $white),
|
|
226
|
+
border-style: var(--clay-color-pointer-border-style, solid),
|
|
227
|
+
border-width: var(--clay-color-pointer-border-width, 2px),
|
|
228
|
+
height: var(--clay-color-pointer-height, 14px),
|
|
229
|
+
padding-bottom: var(--clay-color-pointer-padding-bottom, 0),
|
|
230
|
+
padding-left: var(--clay-color-pointer-padding-left, 0),
|
|
231
|
+
padding-right: var(--clay-color-pointer-padding-right, 0),
|
|
232
|
+
padding-top: var(--clay-color-pointer-padding-top, 0),
|
|
233
|
+
position: absolute,
|
|
234
|
+
transition:
|
|
235
|
+
var(--clay-color-pointer-transition, box-shadow 0.15s ease-in-out),
|
|
236
|
+
width: var(--clay-color-pointer-width, 14px),
|
|
237
|
+
focus: (
|
|
238
|
+
box-shadow:
|
|
239
|
+
var(
|
|
240
|
+
--clay-color-pointer-focus-box-shadow,
|
|
241
|
+
0 0 0 2px $primary-l0
|
|
242
|
+
),
|
|
243
|
+
outline: 0,
|
|
244
|
+
),
|
|
245
|
+
),
|
|
246
|
+
$clay-color-pointer
|
|
247
|
+
);
|
|
248
|
+
|
|
249
|
+
// Clay Color Header
|
|
250
|
+
|
|
251
|
+
$clay-color-header: () !default;
|
|
252
|
+
$clay-color-header: map-merge(
|
|
253
|
+
(
|
|
254
|
+
display: flex,
|
|
255
|
+
justify-content: space-between,
|
|
256
|
+
margin-bottom: var(--clay-color-header-margin-bottom, 16px),
|
|
257
|
+
margin-right: var(--clay-color-header-margin-right, -4px),
|
|
258
|
+
),
|
|
259
|
+
$clay-color-header
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
// Clay Color Header Component Title
|
|
263
|
+
|
|
264
|
+
$clay-color-header-component-title: () !default;
|
|
265
|
+
$clay-color-header-component-title: map-deep-merge(
|
|
266
|
+
(
|
|
267
|
+
color: var(--clay-color-header-component-title-color, $gray-600),
|
|
268
|
+
display: inline-block,
|
|
269
|
+
font-size: var(--clay-color-header-component-title-font-size, 14px),
|
|
270
|
+
font-weight:
|
|
271
|
+
var(
|
|
272
|
+
--clay-color-header-component-title-font-weight,
|
|
273
|
+
$font-weight-semi-bold
|
|
274
|
+
),
|
|
275
|
+
max-width:
|
|
276
|
+
var(
|
|
277
|
+
--clay-color-header-component-title-max-width,
|
|
278
|
+
calc(100% - 32px)
|
|
279
|
+
),
|
|
280
|
+
),
|
|
281
|
+
$clay-color-header-component-title
|
|
282
|
+
);
|
|
283
|
+
|
|
284
|
+
// Clay Color Footer
|
|
285
|
+
|
|
286
|
+
$clay-color-footer: () !default;
|
|
287
|
+
$clay-color-footer: map-merge(
|
|
288
|
+
(
|
|
289
|
+
margin-bottom: var(--clay-color-footer-margin-bottom, 16px),
|
|
290
|
+
),
|
|
291
|
+
$clay-color-footer
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
// Clay Color Map
|
|
295
|
+
|
|
296
|
+
$clay-color-map-group: () !default;
|
|
297
|
+
$clay-color-map-group: map-merge(
|
|
298
|
+
(
|
|
299
|
+
display: flex,
|
|
300
|
+
margin-top: var(--clay-color-map-group-margin-top, 8px),
|
|
301
|
+
),
|
|
302
|
+
$clay-color-map-group
|
|
303
|
+
);
|
|
304
|
+
|
|
305
|
+
$clay-color-map: () !default;
|
|
306
|
+
$clay-color-map: map-merge(
|
|
307
|
+
(
|
|
308
|
+
flex-shrink: 0,
|
|
309
|
+
height: var(--clay-color-map-height, 128px),
|
|
310
|
+
margin-bottom: var(--clay-color-map-margin-bottom, 16px),
|
|
311
|
+
margin-right: var(--clay-color-map-margin-right, 16px),
|
|
312
|
+
position: relative,
|
|
313
|
+
touch-action: none,
|
|
314
|
+
user-select: none,
|
|
315
|
+
width: var(--clay-color-map-width, 144px),
|
|
316
|
+
),
|
|
317
|
+
$clay-color-map
|
|
318
|
+
);
|
|
319
|
+
|
|
320
|
+
$clay-color-map-hsb: () !default;
|
|
321
|
+
$clay-color-map-hsb: map-merge(
|
|
322
|
+
(
|
|
323
|
+
background-image: #{linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
|
|
324
|
+
linear-gradient(to right, #fff, rgba(255, 255, 255, 0))},
|
|
325
|
+
),
|
|
326
|
+
$clay-color-map-hsb
|
|
327
|
+
);
|
|
328
|
+
|
|
329
|
+
// Clay Color Map Pointer
|
|
330
|
+
|
|
331
|
+
$clay-color-map-pointer: () !default;
|
|
332
|
+
|
|
333
|
+
// Clay Color Map Values
|
|
334
|
+
|
|
335
|
+
$clay-color-map-values: () !default;
|
|
336
|
+
$clay-color-map-values: map-merge(
|
|
337
|
+
(
|
|
338
|
+
flex-grow: 1,
|
|
339
|
+
flex-shrink: 1,
|
|
340
|
+
width: 1%,
|
|
341
|
+
),
|
|
342
|
+
$clay-color-map-values
|
|
343
|
+
);
|
|
344
|
+
|
|
345
|
+
$clay-color-map-values-form-group: () !default;
|
|
346
|
+
|
|
347
|
+
// Clay Color Map Values (.clay-color-map-values .form-control)
|
|
348
|
+
|
|
349
|
+
$clay-color-map-values-input: () !default;
|
|
350
|
+
$clay-color-map-values-input: map-deep-merge(
|
|
351
|
+
(
|
|
352
|
+
padding-left: 0,
|
|
353
|
+
padding-right: 10%,
|
|
354
|
+
text-align: right,
|
|
355
|
+
),
|
|
356
|
+
$clay-color-map-values-input
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
// Clay Color Map Values Input Group Inset Item Before (.clay-color-map-values .input-group-inset-item-before)
|
|
360
|
+
|
|
361
|
+
$clay-color-map-values-input-group-inset-item-before: () !default;
|
|
362
|
+
$clay-color-map-values-input-group-inset-item-before: map-deep-merge(
|
|
363
|
+
(
|
|
364
|
+
font-weight:
|
|
365
|
+
var(
|
|
366
|
+
--clay-color-map-values-input-group-inset-item-before-font-weight,
|
|
367
|
+
$font-weight-semi-bold
|
|
368
|
+
),
|
|
369
|
+
padding-left:
|
|
370
|
+
var(
|
|
371
|
+
--clay-color-map-values-input-group-inset-item-before-padding-left,
|
|
372
|
+
10%
|
|
373
|
+
),
|
|
374
|
+
padding-right:
|
|
375
|
+
var(
|
|
376
|
+
--clay-color-map-values-input-group-inset-item-before-padding-right,
|
|
377
|
+
0
|
|
378
|
+
),
|
|
379
|
+
min-width:
|
|
380
|
+
var(
|
|
381
|
+
--clay-color-map-values-input-group-inset-item-before-min-width,
|
|
382
|
+
18px
|
|
383
|
+
),
|
|
384
|
+
),
|
|
385
|
+
$clay-color-map-values-input-group-inset-item-before
|
|
386
|
+
);
|
|
387
|
+
|
|
388
|
+
// Clay Color Range
|
|
389
|
+
|
|
390
|
+
$clay-color-range: () !default;
|
|
391
|
+
$clay-color-range: map-merge(
|
|
392
|
+
(
|
|
393
|
+
border-radius: var(--clay-color-range-border-radius, 100px),
|
|
394
|
+
height: var(--clay-color-range-height, 8px),
|
|
395
|
+
margin-bottom: var(--clay-color-range-margin-bottom, 20px),
|
|
396
|
+
margin-top: var(--clay-color-range-margin-top, 4px),
|
|
397
|
+
position: relative,
|
|
398
|
+
touch-action: none,
|
|
399
|
+
user-select: none,
|
|
400
|
+
),
|
|
401
|
+
$clay-color-range
|
|
402
|
+
);
|
|
403
|
+
|
|
404
|
+
$clay-color-range-pointer: () !default;
|
|
405
|
+
$clay-color-range-pointer: map-deep-merge(
|
|
406
|
+
(
|
|
407
|
+
margin-top: var(--clay-color-range-pointer-margin-top, -7px),
|
|
408
|
+
top: var(--clay-color-range-pointer-top, 50%),
|
|
409
|
+
),
|
|
410
|
+
$clay-color-range-pointer
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
// Clay Color Form Group
|
|
414
|
+
|
|
415
|
+
$clay-color-form-group: () !default;
|
|
416
|
+
$clay-color-form-group: map-deep-merge(
|
|
417
|
+
(
|
|
418
|
+
display: flex,
|
|
419
|
+
align-items: center,
|
|
420
|
+
margin-top: var(--clay-color-form-group-margin-top, 4px),
|
|
421
|
+
margin-bottom: var(--clay-color-form-group-margin-bottom, 16px),
|
|
422
|
+
clay-range: (
|
|
423
|
+
flex-grow: 1,
|
|
424
|
+
flex-shrink: 0,
|
|
425
|
+
margin-right:
|
|
426
|
+
var(--clay-color-form-group-clay-range-margin-right, 16px),
|
|
427
|
+
width: var(--clay-color-form-group-clay-range-width, 144px),
|
|
428
|
+
),
|
|
429
|
+
|
|
430
|
+
form-control: (
|
|
431
|
+
padding-left:
|
|
432
|
+
var(--clay-color-form-group-form-control-padding-left, 0),
|
|
433
|
+
padding-right:
|
|
434
|
+
var(--clay-color-form-group-form-control-padding-right, 10%),
|
|
435
|
+
text-align:
|
|
436
|
+
var(--clay-color-form-group-form-control-text-align, right),
|
|
437
|
+
),
|
|
438
|
+
|
|
439
|
+
input-group: (
|
|
440
|
+
input-group-inset-item-before: (
|
|
441
|
+
font-weight: $font-weight-semi-bold,
|
|
442
|
+
padding-left: 10%,
|
|
443
|
+
padding-right: 0,
|
|
444
|
+
min-width: 18px,
|
|
445
|
+
),
|
|
446
|
+
),
|
|
447
|
+
),
|
|
448
|
+
$clay-color-form-group
|
|
449
|
+
);
|
|
450
|
+
|
|
451
|
+
// Clay Color Slider
|
|
452
|
+
|
|
453
|
+
$clay-color-slider: () !default;
|
|
454
|
+
$clay-color-slider: map-deep-merge(
|
|
455
|
+
(
|
|
456
|
+
clay-range-input: (
|
|
457
|
+
border-radius: 100px,
|
|
458
|
+
|
|
459
|
+
clay-range-track: (
|
|
460
|
+
border-radius: inherit,
|
|
461
|
+
height: 8px,
|
|
462
|
+
margin-top: -4px,
|
|
463
|
+
),
|
|
464
|
+
|
|
465
|
+
clay-range-progress: (
|
|
466
|
+
background-color: transparent,
|
|
467
|
+
border-radius: inherit,
|
|
468
|
+
height: 8px,
|
|
469
|
+
margin-top: -4px,
|
|
470
|
+
width: 100%,
|
|
471
|
+
),
|
|
472
|
+
|
|
473
|
+
ms-thumb: (
|
|
474
|
+
visibility: visible,
|
|
475
|
+
),
|
|
476
|
+
|
|
477
|
+
moz-range-thumb: (
|
|
478
|
+
visibility: visible,
|
|
479
|
+
),
|
|
480
|
+
|
|
481
|
+
webkit-slider-thumb: (
|
|
482
|
+
visibility: visible,
|
|
483
|
+
),
|
|
484
|
+
|
|
485
|
+
clay-range-thumb: (
|
|
486
|
+
background-color: currentColor,
|
|
487
|
+
border-width: 0,
|
|
488
|
+
box-shadow: 0 0 0 2px $white,
|
|
489
|
+
height: 10px,
|
|
490
|
+
margin-top: -5px,
|
|
491
|
+
transition:
|
|
492
|
+
clay-enable-transitions(box-shadow 0.15s ease-in-out),
|
|
493
|
+
visibility: hidden,
|
|
494
|
+
width: 10px,
|
|
495
|
+
),
|
|
496
|
+
|
|
497
|
+
form-control-range: (
|
|
498
|
+
background-color: inherit,
|
|
499
|
+
border-radius: inherit,
|
|
500
|
+
color: inherit,
|
|
501
|
+
height: 8px,
|
|
502
|
+
|
|
503
|
+
webkit-slider-runnable-track: (
|
|
504
|
+
-webkit-appearance: none,
|
|
505
|
+
appearance: none,
|
|
506
|
+
),
|
|
507
|
+
),
|
|
508
|
+
|
|
509
|
+
focus: (
|
|
510
|
+
clay-range-thumb: (
|
|
511
|
+
box-shadow: #{0 0 0 2px $white,
|
|
512
|
+
0 0 0 4px $primary-l1},
|
|
513
|
+
),
|
|
514
|
+
),
|
|
515
|
+
),
|
|
516
|
+
),
|
|
517
|
+
$clay-color-slider
|
|
518
|
+
);
|
|
519
|
+
|
|
520
|
+
$clay-color-slider-hue: () !default;
|
|
521
|
+
$clay-color-slider-hue: map-deep-merge(
|
|
522
|
+
(
|
|
523
|
+
clay-range-input: (
|
|
524
|
+
color: #26affd,
|
|
525
|
+
|
|
526
|
+
clay-range-track: (
|
|
527
|
+
background-image:
|
|
528
|
+
linear-gradient(
|
|
529
|
+
270deg,
|
|
530
|
+
#fc0d1b 0%,
|
|
531
|
+
#fc22d6 18.23%,
|
|
532
|
+
#1824fb 34.25%,
|
|
533
|
+
#2bf6fd 50.28%,
|
|
534
|
+
#2bfd2e 67.58%,
|
|
535
|
+
#fcfd37 81.22%,
|
|
536
|
+
#fc121b 100%
|
|
537
|
+
),
|
|
538
|
+
),
|
|
539
|
+
),
|
|
540
|
+
),
|
|
541
|
+
$clay-color-slider-hue
|
|
542
|
+
);
|
|
543
|
+
|
|
544
|
+
$clay-color-slider-alpha: () !default;
|
|
545
|
+
$clay-color-slider-alpha: map-deep-merge(
|
|
546
|
+
(
|
|
547
|
+
clay-range-input: (
|
|
548
|
+
color: $black,
|
|
549
|
+
|
|
550
|
+
clay-range-track: (
|
|
551
|
+
background-color: $white,
|
|
552
|
+
background-image: #{linear-gradient(
|
|
553
|
+
45deg,
|
|
554
|
+
#e7e7ed 25%,
|
|
555
|
+
transparent 25%
|
|
556
|
+
),
|
|
557
|
+
linear-gradient(
|
|
558
|
+
-45deg,
|
|
559
|
+
#e7e7ed 25%,
|
|
560
|
+
transparent 25%,
|
|
561
|
+
),
|
|
562
|
+
linear-gradient(
|
|
563
|
+
45deg,
|
|
564
|
+
transparent 75%,
|
|
565
|
+
#e7e7ed 75%,
|
|
566
|
+
),
|
|
567
|
+
linear-gradient(-45deg, transparent 75%, #e7e7ed 75%)},
|
|
568
|
+
background-position: #{0 0,
|
|
569
|
+
0 4px,
|
|
570
|
+
4px -4px,
|
|
571
|
+
-4px 0px},
|
|
572
|
+
background-size: 8px 8px,
|
|
573
|
+
),
|
|
574
|
+
|
|
575
|
+
form-control-range: (
|
|
576
|
+
background-image:
|
|
577
|
+
linear-gradient(90deg, transparent 0%, currentcolor 100%),
|
|
578
|
+
color: inherit,
|
|
579
|
+
),
|
|
580
|
+
|
|
581
|
+
clay-range-progress: (
|
|
582
|
+
background-image:
|
|
583
|
+
linear-gradient(90deg, transparent 0%, currentcolor 100%),
|
|
584
|
+
),
|
|
585
|
+
),
|
|
586
|
+
),
|
|
587
|
+
$clay-color-slider-alpha
|
|
588
|
+
);
|
|
589
|
+
|
|
590
|
+
// Clay Color Sm
|
|
591
|
+
|
|
592
|
+
$clay-color-sm-input-group-inset-item-before: () !default;
|
|
593
|
+
$clay-color-sm-input-group-inset-item-before: map-merge(
|
|
594
|
+
(
|
|
595
|
+
padding-left: $input-padding-x-sm,
|
|
596
|
+
),
|
|
597
|
+
$clay-color-sm-input-group-inset-item-before
|
|
598
|
+
);
|
|
599
|
+
|
|
600
|
+
$clay-color-sm-input-group-text: () !default;
|
|
601
|
+
$clay-color-sm-input-group-text: map-merge(
|
|
602
|
+
(
|
|
603
|
+
padding: 0,
|
|
604
|
+
),
|
|
605
|
+
$clay-color-sm-input-group-text
|
|
606
|
+
);
|
|
607
|
+
|
|
608
|
+
$clay-color-sm-clay-color-btn: () !default;
|
|
609
|
+
$clay-color-sm-clay-color-btn: map-deep-merge(
|
|
610
|
+
(
|
|
611
|
+
border-radius: var(--clay-color-sm-clay-color-btn-border-radius, 2px),
|
|
612
|
+
height: var(--clay-color-sm-clay-color-btn-height, 20px),
|
|
613
|
+
padding: var(--clay-color-sm-clay-color-btn-padding, 0),
|
|
614
|
+
width: var(--clay-color-sm-clay-color-btn-width, 20px),
|
|
615
|
+
),
|
|
616
|
+
$clay-color-sm-clay-color-btn
|
|
617
|
+
);
|