@clayui/css 3.161.0 → 3.163.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 +136 -6
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +134 -5
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +74 -7
- 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/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/icons.svg +1 -1
- package/src/scss/_components.scss +2 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +3 -1
- package/src/scss/atlas/variables/_reorder.scss +1 -1
- package/src/scss/atlas-custom-properties/_variables.scss +0 -2
- package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
- package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
- package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
- package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
- package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
- package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
- package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
- package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
- package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
- package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
- package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
- package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
- package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
- package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
- package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
- package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
- package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
- package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
- package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
- package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
- package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
- package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
- package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
- package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
- package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
- package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
- package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
- package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
- package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
- package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
- package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
- package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
- package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
- package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
- package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
- package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
- package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
- package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
- package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
- package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
- package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
- package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
- package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
- package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
- package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
- package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
- package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
- package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
- package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
- package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
- package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
- package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
- package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
- package/src/scss/atlas-variables.scss +0 -2
- package/src/scss/atlas.scss +0 -2
- package/src/scss/base-variables.scss +0 -2
- package/src/scss/base.scss +0 -2
- 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/_lx-icons-generated.scss +8 -0
- package/src/scss/variables/_breadcrumbs.scss +4 -2
- package/src/scss/variables/_forms.scss +2 -0
- package/src/scss/variables/_resizer.scss +16 -3
|
@@ -1,1498 +1,1442 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
$btn-border-radius: var(--btn-border-radius, $border-radius) !default;
|
|
2
|
+
$btn-border-width: var(--btn-border-width, $border-width) !default;
|
|
3
|
+
$btn-box-shadow: var(--btn-box-shadow, none) !default;
|
|
4
|
+
$btn-cursor: $link-cursor !default;
|
|
5
|
+
$btn-font-family: var(--btn-font-family, $font-family-base) !default;
|
|
6
|
+
$btn-font-size: var(--btn-font-size, $font-size-base) !default;
|
|
7
|
+
$btn-font-weight: var(--btn-font-weight, $font-weight-semi-bold) !default;
|
|
8
|
+
$btn-line-height: var(--btn-line-height, $line-height-base) !default;
|
|
9
|
+
$btn-padding-x: var(--btn-padding-x, 0.9375rem) !default;
|
|
10
|
+
$btn-padding-y: var(--btn-padding-y, 0.4375rem) !default;
|
|
11
|
+
$btn-transition: $component-transition !default;
|
|
12
|
+
$btn-white-space: null !default;
|
|
13
|
+
|
|
14
|
+
$btn-font-size-mobile: null !default;
|
|
15
|
+
$btn-padding-x-mobile: null !default;
|
|
16
|
+
$btn-padding-y-mobile: null !default;
|
|
17
|
+
|
|
18
|
+
$btn-focus-width: $input-btn-focus-width !default;
|
|
19
|
+
|
|
20
|
+
$btn-focus-box-shadow: var(
|
|
21
|
+
--btn-focus-box-shadow,
|
|
22
|
+
$component-focus-box-shadow
|
|
23
|
+
) !default;
|
|
24
|
+
|
|
25
|
+
$btn-active-box-shadow: none !default;
|
|
26
|
+
|
|
27
|
+
$btn-disabled-cursor: $disabled-cursor !default;
|
|
28
|
+
$btn-disabled-opacity: $component-disabled-opacity !default;
|
|
29
|
+
|
|
30
|
+
$btn-inline-item-font-size: null !default;
|
|
31
|
+
|
|
32
|
+
$btn-section-font-size: 0.6875rem !default; // 11px
|
|
33
|
+
$btn-section-font-weight: $font-weight-semi-bold !default;
|
|
34
|
+
$btn-section-line-height: 1 !default;
|
|
35
|
+
|
|
36
|
+
$btn: () !default;
|
|
37
|
+
$btn: map-deep-merge(
|
|
38
|
+
(
|
|
39
|
+
background-color: transparent,
|
|
40
|
+
border-color: transparent,
|
|
41
|
+
border-style: solid,
|
|
42
|
+
border-width: $btn-border-width,
|
|
43
|
+
border-radius: clay-enable-rounded($btn-border-radius),
|
|
44
|
+
box-shadow: clay-enable-shadows($btn-box-shadow),
|
|
45
|
+
color: $body-color,
|
|
46
|
+
cursor: $btn-cursor,
|
|
47
|
+
display: inline-block,
|
|
48
|
+
font-family: $btn-font-family,
|
|
49
|
+
font-size: $btn-font-size,
|
|
50
|
+
font-weight: $btn-font-weight,
|
|
51
|
+
letter-spacing: inherit,
|
|
52
|
+
line-height: $btn-line-height,
|
|
53
|
+
padding-bottom: $btn-padding-y,
|
|
54
|
+
padding-left: $btn-padding-x,
|
|
55
|
+
padding-right: $btn-padding-x,
|
|
56
|
+
padding-top: $btn-padding-y,
|
|
57
|
+
text-align: center,
|
|
58
|
+
text-transform: none,
|
|
59
|
+
transition: clay-enable-transitions($btn-transition),
|
|
60
|
+
user-select: none,
|
|
61
|
+
vertical-align: middle,
|
|
62
|
+
white-space: $btn-white-space,
|
|
63
|
+
|
|
64
|
+
mobile: (
|
|
65
|
+
font-size: $btn-font-size-mobile,
|
|
66
|
+
padding-bottom: $btn-padding-y-mobile,
|
|
67
|
+
padding-left: $btn-padding-x-mobile,
|
|
68
|
+
padding-right: $btn-padding-x-mobile,
|
|
69
|
+
padding-top: $btn-padding-y-mobile,
|
|
70
|
+
),
|
|
71
|
+
|
|
72
|
+
hover: (
|
|
46
73
|
color: $body-color,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
font-family: $btn-font-family,
|
|
50
|
-
font-size: $btn-font-size,
|
|
51
|
-
font-weight: $btn-font-weight,
|
|
52
|
-
letter-spacing: inherit,
|
|
53
|
-
line-height: $btn-line-height,
|
|
54
|
-
padding-bottom: $btn-padding-y,
|
|
55
|
-
padding-left: $btn-padding-x,
|
|
56
|
-
padding-right: $btn-padding-x,
|
|
57
|
-
padding-top: $btn-padding-y,
|
|
58
|
-
text-align: center,
|
|
59
|
-
text-transform: none,
|
|
60
|
-
transition: clay-enable-transitions($btn-transition),
|
|
61
|
-
user-select: none,
|
|
62
|
-
vertical-align: middle,
|
|
63
|
-
white-space: $btn-white-space,
|
|
64
|
-
|
|
65
|
-
mobile: (
|
|
66
|
-
font-size: $btn-font-size-mobile,
|
|
67
|
-
padding-bottom: $btn-padding-y-mobile,
|
|
68
|
-
padding-left: $btn-padding-x-mobile,
|
|
69
|
-
padding-right: $btn-padding-x-mobile,
|
|
70
|
-
padding-top: $btn-padding-y-mobile,
|
|
71
|
-
),
|
|
74
|
+
text-decoration: none,
|
|
75
|
+
),
|
|
72
76
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
focus: (
|
|
78
|
+
box-shadow: $btn-focus-box-shadow,
|
|
79
|
+
outline: 0,
|
|
80
|
+
),
|
|
81
|
+
|
|
82
|
+
active: (
|
|
83
|
+
box-shadow: clay-enable-shadows($btn-active-box-shadow),
|
|
84
|
+
focus: (
|
|
85
|
+
box-shadow: clay-enable-shadows($btn-focus-box-shadow),
|
|
76
86
|
),
|
|
87
|
+
),
|
|
88
|
+
|
|
89
|
+
active-class: (
|
|
90
|
+
box-shadow: clay-enable-shadows($btn-active-box-shadow),
|
|
91
|
+
),
|
|
92
|
+
|
|
93
|
+
disabled: (
|
|
94
|
+
cursor: $btn-disabled-cursor,
|
|
95
|
+
opacity: $btn-disabled-opacity,
|
|
77
96
|
|
|
78
97
|
focus: (
|
|
79
|
-
box-shadow:
|
|
80
|
-
outline: 0,
|
|
98
|
+
box-shadow: none,
|
|
81
99
|
),
|
|
82
100
|
|
|
83
101
|
active: (
|
|
84
|
-
|
|
85
|
-
focus: (
|
|
86
|
-
box-shadow: clay-enable-shadows($btn-focus-box-shadow),
|
|
87
|
-
),
|
|
102
|
+
pointer-events: none,
|
|
88
103
|
),
|
|
104
|
+
),
|
|
105
|
+
|
|
106
|
+
inline-item: (
|
|
107
|
+
font-size: $btn-inline-item-font-size,
|
|
108
|
+
line-height: 1,
|
|
109
|
+
margin-top: -3px,
|
|
89
110
|
|
|
90
|
-
|
|
91
|
-
|
|
111
|
+
lexicon-icon: (
|
|
112
|
+
margin-top: 0rem,
|
|
92
113
|
),
|
|
114
|
+
),
|
|
93
115
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
116
|
+
btn-section: (
|
|
117
|
+
display: block,
|
|
118
|
+
font-size: $btn-section-font-size,
|
|
119
|
+
font-weight: $btn-section-font-weight,
|
|
120
|
+
line-height: $btn-section-line-height,
|
|
121
|
+
),
|
|
122
|
+
),
|
|
123
|
+
$btn
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
// Button Lg
|
|
127
|
+
|
|
128
|
+
$btn-border-radius-lg: $border-radius !default;
|
|
129
|
+
$btn-font-size-lg: $font-size-lg !default;
|
|
130
|
+
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
|
131
|
+
$btn-padding-x-lg: 1.5rem !default; // 24px
|
|
132
|
+
$btn-padding-y-lg: 0.59375rem !default; // 9.5px
|
|
133
|
+
$btn-inline-item-font-size-lg: $font-size-lg !default; // 18px
|
|
134
|
+
$btn-section-font-size-lg: 0.8125rem !default; // 13px
|
|
135
|
+
|
|
136
|
+
$btn-font-size-lg-mobile: null !default;
|
|
137
|
+
$btn-padding-x-lg-mobile: null !default;
|
|
138
|
+
$btn-padding-y-lg-mobile: null !default;
|
|
139
|
+
|
|
140
|
+
$btn-lg: () !default;
|
|
141
|
+
$btn-lg: map-deep-merge(
|
|
142
|
+
(
|
|
143
|
+
border-radius: clay-enable-rounded($btn-border-radius-lg),
|
|
144
|
+
font-size: $btn-font-size-lg,
|
|
145
|
+
line-height: $btn-line-height-lg,
|
|
146
|
+
padding-bottom: $btn-padding-y-lg,
|
|
147
|
+
padding-left: $btn-padding-x-lg,
|
|
148
|
+
padding-right: $btn-padding-x-lg,
|
|
149
|
+
padding-top: $btn-padding-y-lg,
|
|
150
|
+
|
|
151
|
+
mobile: (
|
|
152
|
+
font-size: $btn-font-size-lg-mobile,
|
|
153
|
+
padding-bottom: $btn-padding-y-lg-mobile,
|
|
154
|
+
padding-left: $btn-padding-x-lg-mobile,
|
|
155
|
+
padding-right: $btn-padding-x-lg-mobile,
|
|
156
|
+
padding-top: $btn-padding-y-lg-mobile,
|
|
157
|
+
),
|
|
97
158
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
159
|
+
inline-item: (
|
|
160
|
+
font-size: $btn-inline-item-font-size-lg,
|
|
161
|
+
),
|
|
101
162
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
163
|
+
btn-section: (
|
|
164
|
+
font-size: $btn-section-font-size-lg,
|
|
165
|
+
),
|
|
166
|
+
),
|
|
167
|
+
$btn-lg
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
// Button Sm
|
|
171
|
+
|
|
172
|
+
$btn-border-radius-sm: $border-radius-sm !default;
|
|
173
|
+
$btn-font-size-sm: $font-size-sm !default; // 14px
|
|
174
|
+
$btn-line-height-sm: 1 !default;
|
|
175
|
+
$btn-padding-x-sm: 0.75rem !default; // 12px
|
|
176
|
+
$btn-padding-y-sm: 0.4375rem !default; // 7px
|
|
177
|
+
$btn-inline-item-font-size-sm: null !default;
|
|
178
|
+
$btn-section-font-size-sm: 0.5625rem !default; // 9px
|
|
179
|
+
|
|
180
|
+
$btn-font-size-sm-mobile: null !default;
|
|
181
|
+
$btn-padding-x-sm-mobile: null !default;
|
|
182
|
+
$btn-padding-y-sm-mobile: null !default;
|
|
183
|
+
|
|
184
|
+
$btn-sm: () !default;
|
|
185
|
+
$btn-sm: map-deep-merge(
|
|
186
|
+
(
|
|
187
|
+
border-radius: clay-enable-rounded($btn-border-radius-sm),
|
|
188
|
+
font-size: $btn-font-size-sm,
|
|
189
|
+
line-height: $btn-line-height-sm,
|
|
190
|
+
padding-bottom: $btn-padding-y-sm,
|
|
191
|
+
padding-left: $btn-padding-x-sm,
|
|
192
|
+
padding-right: $btn-padding-x-sm,
|
|
193
|
+
padding-top: $btn-padding-y-sm,
|
|
194
|
+
|
|
195
|
+
mobile: (
|
|
196
|
+
font-size: $btn-font-size-sm-mobile,
|
|
197
|
+
padding-bottom: $btn-padding-y-sm-mobile,
|
|
198
|
+
padding-left: $btn-padding-x-sm-mobile,
|
|
199
|
+
padding-right: $btn-padding-x-sm-mobile,
|
|
200
|
+
padding-top: $btn-padding-y-sm-mobile,
|
|
201
|
+
),
|
|
106
202
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
margin-top: -3px,
|
|
203
|
+
inline-item: (
|
|
204
|
+
font-size: $btn-inline-item-font-size-sm,
|
|
205
|
+
),
|
|
111
206
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
),
|
|
207
|
+
btn-section: (
|
|
208
|
+
font-size: $btn-section-font-size-sm,
|
|
209
|
+
),
|
|
116
210
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
font-size: $btn-section-font-size,
|
|
120
|
-
font-weight: $btn-section-font-weight,
|
|
121
|
-
line-height: $btn-section-line-height,
|
|
122
|
-
),
|
|
211
|
+
lexicon-icon: (
|
|
212
|
+
font-size: 1rem,
|
|
123
213
|
),
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
$btn-lg: ();
|
|
142
|
-
$btn-lg: map-deep-merge(
|
|
143
|
-
(
|
|
144
|
-
border-radius: clay-enable-rounded($btn-border-radius-lg),
|
|
145
|
-
font-size: $btn-font-size-lg,
|
|
146
|
-
line-height: $btn-line-height-lg,
|
|
147
|
-
padding-bottom: $btn-padding-y-lg,
|
|
148
|
-
padding-left: $btn-padding-x-lg,
|
|
149
|
-
padding-right: $btn-padding-x-lg,
|
|
150
|
-
padding-top: $btn-padding-y-lg,
|
|
151
|
-
|
|
152
|
-
mobile: (
|
|
153
|
-
font-size: $btn-font-size-lg-mobile,
|
|
154
|
-
padding-bottom: $btn-padding-y-lg-mobile,
|
|
155
|
-
padding-left: $btn-padding-x-lg-mobile,
|
|
156
|
-
padding-right: $btn-padding-x-lg-mobile,
|
|
157
|
-
padding-top: $btn-padding-y-lg-mobile,
|
|
158
|
-
),
|
|
214
|
+
),
|
|
215
|
+
$btn-sm
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
// Button Sizes
|
|
219
|
+
|
|
220
|
+
$btn-sizes: () !default;
|
|
221
|
+
$btn-sizes: map-deep-merge(
|
|
222
|
+
(
|
|
223
|
+
btn-xs: (
|
|
224
|
+
border-radius: var(--btn-xs-border-radius, $border-radius),
|
|
225
|
+
font-size: 0.75rem,
|
|
226
|
+
line-height: 1.5,
|
|
227
|
+
padding-bottom: 0.125rem,
|
|
228
|
+
padding-left: 0.5rem,
|
|
229
|
+
padding-right: 0.5rem,
|
|
230
|
+
padding-top: 0.125rem,
|
|
159
231
|
|
|
160
232
|
inline-item: (
|
|
161
|
-
font-size:
|
|
233
|
+
font-size: inherit,
|
|
234
|
+
margin-top: -0.16em,
|
|
162
235
|
),
|
|
163
236
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
),
|
|
167
|
-
),
|
|
168
|
-
$btn-lg
|
|
169
|
-
);
|
|
170
|
-
|
|
171
|
-
// Button Sm
|
|
172
|
-
|
|
173
|
-
$btn-border-radius-sm: $border-radius-sm;
|
|
174
|
-
$btn-font-size-sm: $font-size-sm; // 14px
|
|
175
|
-
$btn-line-height-sm: 1;
|
|
176
|
-
$btn-padding-x-sm: 0.75rem; // 12px
|
|
177
|
-
$btn-padding-y-sm: 0.4375rem; // 7px
|
|
178
|
-
$btn-inline-item-font-size-sm: null;
|
|
179
|
-
$btn-section-font-size-sm: 0.5625rem; // 9px
|
|
180
|
-
|
|
181
|
-
$btn-font-size-sm-mobile: null;
|
|
182
|
-
$btn-padding-x-sm-mobile: null;
|
|
183
|
-
$btn-padding-y-sm-mobile: null;
|
|
184
|
-
|
|
185
|
-
$btn-sm: ();
|
|
186
|
-
$btn-sm: map-deep-merge(
|
|
187
|
-
(
|
|
188
|
-
border-radius: clay-enable-rounded($btn-border-radius-sm),
|
|
189
|
-
font-size: $btn-font-size-sm,
|
|
190
|
-
line-height: $btn-line-height-sm,
|
|
191
|
-
padding-bottom: $btn-padding-y-sm,
|
|
192
|
-
padding-left: $btn-padding-x-sm,
|
|
193
|
-
padding-right: $btn-padding-x-sm,
|
|
194
|
-
padding-top: $btn-padding-y-sm,
|
|
195
|
-
|
|
196
|
-
mobile: (
|
|
197
|
-
font-size: $btn-font-size-sm-mobile,
|
|
198
|
-
padding-bottom: $btn-padding-y-sm-mobile,
|
|
199
|
-
padding-left: $btn-padding-x-sm-mobile,
|
|
200
|
-
padding-right: $btn-padding-x-sm-mobile,
|
|
201
|
-
padding-top: $btn-padding-y-sm-mobile,
|
|
237
|
+
inline-item-before: (
|
|
238
|
+
margin-right: 0.25rem,
|
|
202
239
|
),
|
|
203
240
|
|
|
204
|
-
inline-item: (
|
|
205
|
-
|
|
241
|
+
inline-item-after: (
|
|
242
|
+
margin-left: 0.25rem,
|
|
206
243
|
),
|
|
207
244
|
|
|
208
245
|
btn-section: (
|
|
209
|
-
font-size:
|
|
246
|
+
font-size: 0.375rem,
|
|
210
247
|
),
|
|
211
248
|
|
|
212
249
|
lexicon-icon: (
|
|
213
|
-
font-size:
|
|
250
|
+
font-size: inherit,
|
|
214
251
|
),
|
|
215
252
|
),
|
|
216
|
-
$btn-sm
|
|
217
|
-
);
|
|
218
|
-
|
|
219
|
-
// Button Sizes
|
|
220
|
-
|
|
221
|
-
$btn-sizes: ();
|
|
222
|
-
$btn-sizes: map-deep-merge(
|
|
223
|
-
(
|
|
224
|
-
btn-xs: (
|
|
225
|
-
border-radius: var(--btn-xs-border-radius, $border-radius),
|
|
226
|
-
font-size: 0.75rem,
|
|
227
|
-
line-height: 1.5,
|
|
228
|
-
padding-bottom: 0.125rem,
|
|
229
|
-
padding-left: 0.5rem,
|
|
230
|
-
padding-right: 0.5rem,
|
|
231
|
-
padding-top: 0.125rem,
|
|
232
|
-
|
|
233
|
-
inline-item: (
|
|
234
|
-
font-size: inherit,
|
|
235
|
-
margin-top: -0.16em,
|
|
236
|
-
),
|
|
237
253
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
254
|
+
btn-lg: $btn-lg,
|
|
255
|
+
|
|
256
|
+
btn-sm: $btn-sm,
|
|
257
|
+
),
|
|
258
|
+
$btn-sizes
|
|
259
|
+
);
|
|
260
|
+
|
|
261
|
+
// .btn-monospaced
|
|
262
|
+
|
|
263
|
+
$btn-monospaced-padding-x: 0 !default;
|
|
264
|
+
$btn-monospaced-padding-y: 0 !default;
|
|
265
|
+
$btn-monospaced-size: 2.5rem !default; // 40px
|
|
266
|
+
|
|
267
|
+
$btn-monospaced-size-mobile: null !default;
|
|
268
|
+
|
|
269
|
+
$btn-monospaced: () !default;
|
|
270
|
+
$btn-monospaced: map-deep-merge(
|
|
271
|
+
(
|
|
272
|
+
align-items: center,
|
|
273
|
+
display: inline-flex,
|
|
274
|
+
flex-direction: column,
|
|
275
|
+
height: $btn-monospaced-size,
|
|
276
|
+
justify-content: center,
|
|
277
|
+
line-height: 1,
|
|
278
|
+
overflow: hidden,
|
|
279
|
+
padding-bottom: $btn-monospaced-padding-y,
|
|
280
|
+
padding-left: $btn-monospaced-padding-x,
|
|
281
|
+
padding-right: $btn-monospaced-padding-x,
|
|
282
|
+
padding-top: $btn-monospaced-padding-y,
|
|
283
|
+
text-align: center,
|
|
284
|
+
white-space: normal,
|
|
285
|
+
width: $btn-monospaced-size,
|
|
286
|
+
word-wrap: break-word,
|
|
287
|
+
|
|
288
|
+
mobile: (
|
|
289
|
+
height: $btn-monospaced-size-mobile,
|
|
290
|
+
width: $btn-monospaced-size-mobile,
|
|
291
|
+
),
|
|
241
292
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
293
|
+
inline-item: (
|
|
294
|
+
margin-top: 0rem,
|
|
295
|
+
),
|
|
245
296
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
297
|
+
lexicon-icon: (
|
|
298
|
+
margin-top: 0rem,
|
|
299
|
+
),
|
|
249
300
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
301
|
+
c-inner: (
|
|
302
|
+
align-items: center,
|
|
303
|
+
display: flex,
|
|
304
|
+
flex-direction: column,
|
|
305
|
+
height: 100%,
|
|
306
|
+
justify-content: center,
|
|
307
|
+
padding: 0rem,
|
|
308
|
+
width: 100%,
|
|
309
|
+
),
|
|
310
|
+
),
|
|
311
|
+
$btn-monospaced
|
|
312
|
+
);
|
|
313
|
+
|
|
314
|
+
// .btn-monospaced.btn-lg
|
|
315
|
+
|
|
316
|
+
$btn-monospaced-padding-x-lg: null !default;
|
|
317
|
+
$btn-monospaced-padding-y-lg: null !default;
|
|
318
|
+
$btn-monospaced-size-lg: 3rem !default; // 48px
|
|
319
|
+
|
|
320
|
+
$btn-monospaced-size-lg-mobile: null !default;
|
|
321
|
+
|
|
322
|
+
$btn-monospaced-lg: () !default;
|
|
323
|
+
$btn-monospaced-lg: map-deep-merge(
|
|
324
|
+
(
|
|
325
|
+
height: $btn-monospaced-size-lg,
|
|
326
|
+
padding-bottom: $btn-monospaced-padding-y-lg,
|
|
327
|
+
padding-left: $btn-monospaced-padding-x-lg,
|
|
328
|
+
padding-right: $btn-monospaced-padding-x-lg,
|
|
329
|
+
padding-top: $btn-monospaced-padding-y-lg,
|
|
330
|
+
width: $btn-monospaced-size-lg,
|
|
331
|
+
|
|
332
|
+
mobile: (
|
|
333
|
+
height: $btn-monospaced-size-lg-mobile,
|
|
334
|
+
width: $btn-monospaced-size-lg-mobile,
|
|
335
|
+
),
|
|
336
|
+
),
|
|
337
|
+
$btn-monospaced-lg
|
|
338
|
+
);
|
|
339
|
+
|
|
340
|
+
// .btn-monospaced.btn-sm
|
|
341
|
+
|
|
342
|
+
$btn-monospaced-padding-x-sm: null !default;
|
|
343
|
+
$btn-monospaced-padding-y-sm: null !default;
|
|
344
|
+
$btn-monospaced-size-sm: 2rem !default; // 32px
|
|
345
|
+
|
|
346
|
+
$btn-monospaced-size-sm-mobile: null !default;
|
|
347
|
+
|
|
348
|
+
$btn-monospaced-sm: () !default;
|
|
349
|
+
$btn-monospaced-sm: map-deep-merge(
|
|
350
|
+
(
|
|
351
|
+
height: $btn-monospaced-size-sm,
|
|
352
|
+
padding-bottom: $btn-monospaced-padding-y-sm,
|
|
353
|
+
padding-left: $btn-monospaced-padding-x-sm,
|
|
354
|
+
padding-right: $btn-monospaced-padding-x-sm,
|
|
355
|
+
padding-top: $btn-monospaced-padding-y-sm,
|
|
356
|
+
width: $btn-monospaced-size-sm,
|
|
357
|
+
|
|
358
|
+
mobile: (
|
|
359
|
+
height: $btn-monospaced-size-sm-mobile,
|
|
360
|
+
width: $btn-monospaced-size-sm-mobile,
|
|
361
|
+
),
|
|
362
|
+
),
|
|
363
|
+
$btn-monospaced-sm
|
|
364
|
+
);
|
|
365
|
+
|
|
366
|
+
// Button Monospaced Sizes
|
|
367
|
+
|
|
368
|
+
$btn-monospaced-sizes: () !default;
|
|
369
|
+
$btn-monospaced-sizes: map-deep-merge(
|
|
370
|
+
(
|
|
371
|
+
btn-monospaced-xs: (
|
|
372
|
+
height: 1.5rem,
|
|
373
|
+
width: 1.5rem,
|
|
374
|
+
),
|
|
254
375
|
|
|
255
|
-
|
|
376
|
+
btn-monospaced: $btn-monospaced,
|
|
256
377
|
|
|
257
|
-
|
|
258
|
-
),
|
|
259
|
-
$btn-sizes
|
|
260
|
-
);
|
|
378
|
+
btn-monospaced-lg: $btn-monospaced-lg,
|
|
261
379
|
|
|
262
|
-
|
|
380
|
+
btn-monospaced-sm: $btn-monospaced-sm,
|
|
381
|
+
),
|
|
382
|
+
$btn-monospaced-sizes
|
|
383
|
+
);
|
|
263
384
|
|
|
264
|
-
|
|
265
|
-
$btn-monospaced-padding-y: 0;
|
|
266
|
-
$btn-monospaced-size: 2.5rem; // 40px
|
|
385
|
+
// Button Block
|
|
267
386
|
|
|
268
|
-
|
|
387
|
+
$btn-block-spacing-y: 0.5rem !default;
|
|
269
388
|
|
|
270
|
-
|
|
271
|
-
$btn-monospaced: map-deep-merge(
|
|
272
|
-
(
|
|
273
|
-
align-items: center,
|
|
274
|
-
display: inline-flex,
|
|
275
|
-
flex-direction: column,
|
|
276
|
-
height: $btn-monospaced-size,
|
|
277
|
-
justify-content: center,
|
|
278
|
-
line-height: 1,
|
|
279
|
-
overflow: hidden,
|
|
280
|
-
padding-bottom: $btn-monospaced-padding-y,
|
|
281
|
-
padding-left: $btn-monospaced-padding-x,
|
|
282
|
-
padding-right: $btn-monospaced-padding-x,
|
|
283
|
-
padding-top: $btn-monospaced-padding-y,
|
|
284
|
-
text-align: center,
|
|
285
|
-
white-space: normal,
|
|
286
|
-
width: $btn-monospaced-size,
|
|
287
|
-
word-wrap: break-word,
|
|
288
|
-
|
|
289
|
-
mobile: (
|
|
290
|
-
height: $btn-monospaced-size-mobile,
|
|
291
|
-
width: $btn-monospaced-size-mobile,
|
|
292
|
-
),
|
|
389
|
+
// Button Unstyled
|
|
293
390
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
391
|
+
$btn-unstyled: () !default;
|
|
392
|
+
$btn-unstyled: map-deep-merge(
|
|
393
|
+
(
|
|
394
|
+
background-color: unquote('hsl(from #{$black} h s l / 0.001)'),
|
|
395
|
+
border-width: 0px,
|
|
396
|
+
cursor: $btn-cursor,
|
|
397
|
+
font-size: inherit,
|
|
398
|
+
font-weight: inherit,
|
|
399
|
+
letter-spacing: inherit,
|
|
400
|
+
line-height: inherit,
|
|
401
|
+
max-width: 100%,
|
|
402
|
+
padding: 0rem,
|
|
403
|
+
text-align: left,
|
|
404
|
+
text-transform: inherit,
|
|
405
|
+
vertical-align: baseline,
|
|
297
406
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
407
|
+
c-inner: (
|
|
408
|
+
margin: 0rem,
|
|
409
|
+
max-width: none,
|
|
410
|
+
),
|
|
411
|
+
),
|
|
412
|
+
$btn-unstyled
|
|
413
|
+
);
|
|
414
|
+
|
|
415
|
+
// Button Group
|
|
416
|
+
|
|
417
|
+
$btn-group-item-margin-right: 1rem !default;
|
|
418
|
+
|
|
419
|
+
$btn-group-spaced: () !default;
|
|
420
|
+
$btn-group-spaced: map-merge(
|
|
421
|
+
(
|
|
422
|
+
align-items: center,
|
|
423
|
+
column-gap: $btn-group-item-margin-right,
|
|
424
|
+
display: inline-flex,
|
|
425
|
+
flex-wrap: wrap,
|
|
426
|
+
position: relative,
|
|
427
|
+
),
|
|
428
|
+
$btn-group-spaced
|
|
429
|
+
);
|
|
430
|
+
|
|
431
|
+
$clay-btn-group-divider: () !default;
|
|
432
|
+
$clay-btn-group-divider: map-deep-merge(
|
|
433
|
+
(
|
|
434
|
+
'&:not(:first-of-type)': (
|
|
435
|
+
border-left-color: $white,
|
|
436
|
+
),
|
|
301
437
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
438
|
+
'&:not(:last-of-type)': (
|
|
439
|
+
border-right-color: $white,
|
|
440
|
+
),
|
|
441
|
+
),
|
|
442
|
+
$clay-btn-group-divider
|
|
443
|
+
);
|
|
444
|
+
|
|
445
|
+
$btn-group-palette: () !default;
|
|
446
|
+
$btn-group-palette: map-deep-merge(
|
|
447
|
+
(
|
|
448
|
+
'> .btn-primary': (
|
|
449
|
+
extend: '%clay-btn-group-divider',
|
|
311
450
|
),
|
|
312
|
-
$btn-monospaced
|
|
313
|
-
);
|
|
314
451
|
|
|
315
|
-
|
|
452
|
+
'> .btn-info': (
|
|
453
|
+
extend: '%clay-btn-group-divider',
|
|
454
|
+
),
|
|
316
455
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
456
|
+
'> .btn-success': (
|
|
457
|
+
extend: '%clay-btn-group-divider',
|
|
458
|
+
),
|
|
320
459
|
|
|
321
|
-
|
|
460
|
+
'> .btn-warning': (
|
|
461
|
+
extend: '%clay-btn-group-divider',
|
|
462
|
+
),
|
|
322
463
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
height: $btn-monospaced-size-lg,
|
|
327
|
-
padding-bottom: $btn-monospaced-padding-y-lg,
|
|
328
|
-
padding-left: $btn-monospaced-padding-x-lg,
|
|
329
|
-
padding-right: $btn-monospaced-padding-x-lg,
|
|
330
|
-
padding-top: $btn-monospaced-padding-y-lg,
|
|
331
|
-
width: $btn-monospaced-size-lg,
|
|
464
|
+
'> .btn-danger': (
|
|
465
|
+
extend: '%clay-btn-group-divider',
|
|
466
|
+
),
|
|
332
467
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
width: $btn-monospaced-size-lg-mobile,
|
|
336
|
-
),
|
|
468
|
+
'> .btn-dark': (
|
|
469
|
+
extend: '%clay-btn-group-divider',
|
|
337
470
|
),
|
|
338
|
-
|
|
339
|
-
|
|
471
|
+
),
|
|
472
|
+
$btn-group-palette
|
|
473
|
+
);
|
|
340
474
|
|
|
341
|
-
|
|
475
|
+
// Button Toolbar
|
|
342
476
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
$btn-monospaced-size-sm: 2rem; // 32px
|
|
477
|
+
$btn-toolbar-spacer-x: 0.5rem !default; // 8px
|
|
478
|
+
$btn-toolbar-spacer-y: 0.125rem !default; // 2px
|
|
346
479
|
|
|
347
|
-
|
|
480
|
+
// Button Variants
|
|
348
481
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
482
|
+
$btn-primary: () !default;
|
|
483
|
+
$btn-primary: map-deep-merge(
|
|
484
|
+
(
|
|
485
|
+
background-color: var(--btn-primary-background-color, $primary),
|
|
486
|
+
border-color: var(--btn-primary-border-color, transparent),
|
|
487
|
+
color: var(--btn-primary-color, $white),
|
|
488
|
+
hover: (
|
|
489
|
+
background-color:
|
|
490
|
+
var(--btn-primary-hover-background-color, $primary-d1),
|
|
491
|
+
border-color: var(--btn-primary-hover-border-color, transparent),
|
|
492
|
+
color: var(--btn-primary-hover-color, $white),
|
|
493
|
+
),
|
|
358
494
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
495
|
+
focus: (),
|
|
496
|
+
active: (
|
|
497
|
+
background-color:
|
|
498
|
+
var(--btn-primary-active-background-color, $primary-d2),
|
|
499
|
+
border-color: var(--btn-primary-active-border-color, transparent),
|
|
500
|
+
color: var(--btn-primary-active-color, $white),
|
|
363
501
|
),
|
|
364
|
-
$btn-monospaced-sm
|
|
365
|
-
);
|
|
366
502
|
|
|
367
|
-
|
|
503
|
+
disabled: (
|
|
504
|
+
background-color:
|
|
505
|
+
var(--btn-primary-disabled-background-color, $primary),
|
|
506
|
+
border-color: var(--btn-primary-disabled-border-color, transparent),
|
|
507
|
+
color: var(--btn-primary-disabled-color, $white),
|
|
508
|
+
),
|
|
509
|
+
),
|
|
510
|
+
$btn-primary
|
|
511
|
+
);
|
|
512
|
+
|
|
513
|
+
$btn-secondary: () !default;
|
|
514
|
+
$btn-secondary: map-deep-merge(
|
|
515
|
+
(
|
|
516
|
+
background-color: var(--btn-secondary-background-color, $white),
|
|
517
|
+
border-color: var(--btn-secondary-border-color, $secondary-l0),
|
|
518
|
+
color: var(--btn-secondary-color, $secondary),
|
|
519
|
+
hover: (
|
|
520
|
+
background-color:
|
|
521
|
+
var(--btn-secondary-hover-background-color, $gray-100),
|
|
522
|
+
border-color: var(--btn-secondary-hover-border-color, $secondary-l0),
|
|
523
|
+
color: var(--btn-secondary-hover-color, $gray-900),
|
|
524
|
+
),
|
|
368
525
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
),
|
|
526
|
+
focus: (),
|
|
527
|
+
active: (
|
|
528
|
+
background-color:
|
|
529
|
+
var(--btn-secondary-active-background-color, $gray-200),
|
|
530
|
+
border-color:
|
|
531
|
+
var(--btn-secondary-active-border-color, $secondary-l0),
|
|
532
|
+
color: var(--btn-secondary-active-color, $gray-900),
|
|
533
|
+
),
|
|
376
534
|
|
|
377
|
-
|
|
535
|
+
disabled: (
|
|
536
|
+
background-color:
|
|
537
|
+
var(--btn-secondary-disabled-background-color, $white),
|
|
538
|
+
border-color:
|
|
539
|
+
var(--btn-secondary-disabled-border-color, $secondary-l0),
|
|
540
|
+
color: var(--btn-secondary-disabled-color, $secondary),
|
|
541
|
+
),
|
|
542
|
+
),
|
|
543
|
+
$btn-secondary
|
|
544
|
+
);
|
|
545
|
+
|
|
546
|
+
$btn-success: () !default;
|
|
547
|
+
$btn-success: map-deep-merge(
|
|
548
|
+
(
|
|
549
|
+
background-color: var(--btn-success-background-color, $success),
|
|
550
|
+
border-color: var(--btn-success-border-color, transparent),
|
|
551
|
+
color: var(--btn-success-color, $white),
|
|
552
|
+
hover: (
|
|
553
|
+
background-color:
|
|
554
|
+
var(--btn-success-hover-background-color, $success-d1),
|
|
555
|
+
border-color: var(--btn-success-hover-border-color, transparent),
|
|
556
|
+
color: var(--btn-success-hover-color, $white),
|
|
557
|
+
),
|
|
378
558
|
|
|
379
|
-
|
|
559
|
+
focus: (),
|
|
560
|
+
active: (
|
|
561
|
+
background-color:
|
|
562
|
+
var(--btn-success-active-background-color, $success-d2),
|
|
563
|
+
border-color: var(--btn-success-active-border-color, transparent),
|
|
564
|
+
color: var(--btn-success-active-color, $white),
|
|
565
|
+
),
|
|
380
566
|
|
|
381
|
-
|
|
567
|
+
disabled: (
|
|
568
|
+
background-color:
|
|
569
|
+
var(--btn-success-disabled-background-color, $success),
|
|
570
|
+
border-color: var(--btn-success-disabled-border-color, transparent),
|
|
571
|
+
color: var(--btn-success-disabled-color, $white),
|
|
572
|
+
),
|
|
573
|
+
),
|
|
574
|
+
$btn-success
|
|
575
|
+
);
|
|
576
|
+
|
|
577
|
+
$btn-info: () !default;
|
|
578
|
+
$btn-info: map-deep-merge(
|
|
579
|
+
(
|
|
580
|
+
background-color: var(--btn-info-background-color, $info),
|
|
581
|
+
border-color: var(--btn-info-border-color, transparent),
|
|
582
|
+
color: var(--btn-info-color, $white),
|
|
583
|
+
hover: (
|
|
584
|
+
background-color: var(--btn-info-hover-background-color, $info-d1),
|
|
585
|
+
border-color: var(--btn-info-hover-border-color, transparent),
|
|
586
|
+
color: var(--btn-info-hover-color, $white),
|
|
382
587
|
),
|
|
383
|
-
$btn-monospaced-sizes
|
|
384
|
-
);
|
|
385
588
|
|
|
386
|
-
|
|
589
|
+
focus: (),
|
|
590
|
+
active: (
|
|
591
|
+
background-color: var(--btn-info-active-background-color, $info-d2),
|
|
592
|
+
border-color: var(--btn-info-active-border-color, transparent),
|
|
593
|
+
color: var(--btn-info-active-color, $white),
|
|
594
|
+
),
|
|
387
595
|
|
|
388
|
-
|
|
596
|
+
disabled: (
|
|
597
|
+
background-color: var(--btn-info-disabled-background-color, $info),
|
|
598
|
+
border-color: var(--btn-info-disabled-border-color, transparent),
|
|
599
|
+
color: var(--btn-info-disabled-color, $white),
|
|
600
|
+
),
|
|
601
|
+
),
|
|
602
|
+
$btn-info
|
|
603
|
+
);
|
|
604
|
+
|
|
605
|
+
$btn-warning: () !default;
|
|
606
|
+
$btn-warning: map-deep-merge(
|
|
607
|
+
(
|
|
608
|
+
background-color: var(--btn-warning-background-color, $warning),
|
|
609
|
+
border-color: var(--btn-warning-border-color, transparent),
|
|
610
|
+
color: var(--btn-warning-color, $white),
|
|
611
|
+
hover: (
|
|
612
|
+
background-color:
|
|
613
|
+
var(--btn-warning-hover-background-color, $warning-d1),
|
|
614
|
+
border-color: var(--btn-warning-hover-border-color, transparent),
|
|
615
|
+
color: var(--btn-warning-hover-color, $white),
|
|
616
|
+
),
|
|
389
617
|
|
|
390
|
-
|
|
618
|
+
focus: (),
|
|
619
|
+
active: (
|
|
620
|
+
background-color:
|
|
621
|
+
var(--btn-warning-active-background-color, $warning-d2),
|
|
622
|
+
border-color: var(--btn-warning-active-border-color, transparent),
|
|
623
|
+
color: var(--btn-warning-active-color, $white),
|
|
624
|
+
),
|
|
391
625
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
626
|
+
disabled: (
|
|
627
|
+
background-color:
|
|
628
|
+
var(--btn-warning-disabled-background-color, $warning),
|
|
629
|
+
border-color: var(--btn-warning-disabled-border-color, transparent),
|
|
630
|
+
color: var(--btn-warning-disabled-color, $white),
|
|
631
|
+
),
|
|
632
|
+
),
|
|
633
|
+
$btn-warning
|
|
634
|
+
);
|
|
635
|
+
|
|
636
|
+
$btn-danger: () !default;
|
|
637
|
+
$btn-danger: map-deep-merge(
|
|
638
|
+
(
|
|
639
|
+
background-color: var(--btn-danger-background-color, $danger),
|
|
640
|
+
border-color: var(--btn-danger-border-color, transparent),
|
|
641
|
+
color: var(--btn-danger-color, $white),
|
|
642
|
+
hover: (
|
|
643
|
+
background-color:
|
|
644
|
+
var(--btn-danger-hover-background-color, $danger-d1),
|
|
645
|
+
border-color: var(--btn-danger-hover-border-color, transparent),
|
|
646
|
+
color: var(--btn-danger-hover-color, $white),
|
|
647
|
+
),
|
|
407
648
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
649
|
+
focus: (),
|
|
650
|
+
active: (
|
|
651
|
+
background-color:
|
|
652
|
+
var(--btn-danger-active-background-color, $danger-d2),
|
|
653
|
+
border-color: var(--btn-danger-active-border-color, transparent),
|
|
654
|
+
color: var(--btn-danger-active-color, $white),
|
|
412
655
|
),
|
|
413
|
-
$btn-unstyled
|
|
414
|
-
);
|
|
415
656
|
|
|
416
|
-
|
|
657
|
+
disabled: (
|
|
658
|
+
background-color:
|
|
659
|
+
var(--btn-danger-disabled-background-color, $danger),
|
|
660
|
+
border-color: var(--btn-danger-disabled-border-color, transparent),
|
|
661
|
+
color: var(--btn-danger-disabled-color, $white),
|
|
662
|
+
),
|
|
663
|
+
),
|
|
664
|
+
$btn-danger
|
|
665
|
+
);
|
|
666
|
+
|
|
667
|
+
$btn-light: () !default;
|
|
668
|
+
$btn-light: map-deep-merge(
|
|
669
|
+
(
|
|
670
|
+
background-color: $light,
|
|
671
|
+
border-color: $light,
|
|
672
|
+
color: $gray-900,
|
|
673
|
+
|
|
674
|
+
hover: (
|
|
675
|
+
background-color: $light-d1,
|
|
676
|
+
border-color: transparent,
|
|
677
|
+
color: $gray-900,
|
|
678
|
+
),
|
|
417
679
|
|
|
418
|
-
|
|
680
|
+
focus: (),
|
|
681
|
+
active: (
|
|
682
|
+
background-color: $light-d1,
|
|
683
|
+
border-color: transparent,
|
|
684
|
+
color: $gray-900,
|
|
685
|
+
),
|
|
419
686
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
687
|
+
disabled: (
|
|
688
|
+
background-color: $light,
|
|
689
|
+
border-color: $light,
|
|
690
|
+
color: $gray-900,
|
|
691
|
+
),
|
|
692
|
+
),
|
|
693
|
+
$btn-light
|
|
694
|
+
);
|
|
695
|
+
|
|
696
|
+
$btn-dark: () !default;
|
|
697
|
+
$btn-dark: map-deep-merge(
|
|
698
|
+
(
|
|
699
|
+
background-color: $dark,
|
|
700
|
+
border-color: $dark,
|
|
701
|
+
color: $white,
|
|
702
|
+
|
|
703
|
+
hover: (
|
|
704
|
+
background-color: $dark-d1,
|
|
705
|
+
border-color: transparent,
|
|
706
|
+
color: $white,
|
|
707
|
+
),
|
|
438
708
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
709
|
+
focus: (),
|
|
710
|
+
active: (
|
|
711
|
+
background-color: $dark-d2,
|
|
712
|
+
border-color: transparent,
|
|
713
|
+
color: $white,
|
|
442
714
|
),
|
|
443
|
-
$clay-btn-group-divider
|
|
444
|
-
);
|
|
445
715
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
716
|
+
disabled: (
|
|
717
|
+
background-color: $dark,
|
|
718
|
+
border-color: $dark,
|
|
719
|
+
color: $white,
|
|
720
|
+
),
|
|
721
|
+
),
|
|
722
|
+
$btn-dark
|
|
723
|
+
);
|
|
724
|
+
|
|
725
|
+
$btn-link-disabled-color: $link-color !default;
|
|
726
|
+
|
|
727
|
+
$btn-link: () !default;
|
|
728
|
+
$btn-link: map-deep-merge(
|
|
729
|
+
(
|
|
730
|
+
border-radius: 1px,
|
|
731
|
+
box-shadow: clay-enable-shadows(none),
|
|
732
|
+
color: $link-color,
|
|
733
|
+
font-weight: $font-weight-normal,
|
|
734
|
+
text-decoration: $link-decoration,
|
|
735
|
+
|
|
736
|
+
hover: (
|
|
737
|
+
color: $link-hover-color,
|
|
738
|
+
text-decoration: $link-hover-decoration,
|
|
739
|
+
),
|
|
452
740
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
741
|
+
focus: (
|
|
742
|
+
box-shadow: $btn-focus-box-shadow,
|
|
743
|
+
text-decoration: $link-decoration,
|
|
744
|
+
),
|
|
456
745
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
746
|
+
disabled: (
|
|
747
|
+
box-shadow: none,
|
|
748
|
+
color: $btn-link-disabled-color,
|
|
749
|
+
text-decoration: none,
|
|
750
|
+
),
|
|
751
|
+
),
|
|
752
|
+
$btn-link
|
|
753
|
+
);
|
|
460
754
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
755
|
+
$btn-palette: () !default;
|
|
756
|
+
$btn-palette: map-deep-merge(
|
|
757
|
+
(
|
|
758
|
+
primary: $btn-primary,
|
|
464
759
|
|
|
465
|
-
|
|
466
|
-
extend: '%clay-btn-group-divider',
|
|
467
|
-
),
|
|
760
|
+
secondary: $btn-secondary,
|
|
468
761
|
|
|
469
|
-
|
|
470
|
-
extend: '%clay-btn-group-divider',
|
|
471
|
-
),
|
|
472
|
-
),
|
|
473
|
-
$btn-group-palette
|
|
474
|
-
);
|
|
762
|
+
success: $btn-success,
|
|
475
763
|
|
|
476
|
-
|
|
764
|
+
info: $btn-info,
|
|
477
765
|
|
|
478
|
-
|
|
479
|
-
$btn-toolbar-spacer-y: 0.125rem; // 2px
|
|
766
|
+
warning: $btn-warning,
|
|
480
767
|
|
|
481
|
-
|
|
768
|
+
danger: $btn-danger,
|
|
482
769
|
|
|
483
|
-
|
|
484
|
-
$btn-primary: map-deep-merge(
|
|
485
|
-
(
|
|
486
|
-
background-color: var(--btn-primary-background-color, $primary),
|
|
487
|
-
border-color: var(--btn-primary-border-color, transparent),
|
|
488
|
-
color: var(--btn-primary-color, $white),
|
|
489
|
-
hover: (
|
|
490
|
-
background-color:
|
|
491
|
-
var(--btn-primary-hover-background-color, $primary-d1),
|
|
492
|
-
border-color:
|
|
493
|
-
var(--btn-primary-hover-border-color, transparent),
|
|
494
|
-
color: var(--btn-primary-hover-color, $white),
|
|
495
|
-
),
|
|
770
|
+
light: $btn-light,
|
|
496
771
|
|
|
497
|
-
|
|
498
|
-
active: (
|
|
499
|
-
background-color:
|
|
500
|
-
var(--btn-primary-active-background-color, $primary-d2),
|
|
501
|
-
border-color:
|
|
502
|
-
var(--btn-primary-active-border-color, transparent),
|
|
503
|
-
color: var(--btn-primary-active-color, $white),
|
|
504
|
-
),
|
|
772
|
+
dark: $btn-dark,
|
|
505
773
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
),
|
|
774
|
+
link: $btn-link,
|
|
775
|
+
|
|
776
|
+
'.btn-translucent': (
|
|
777
|
+
extend: '%clay-btn-xs',
|
|
778
|
+
|
|
779
|
+
border-radius: $rounded-pill,
|
|
513
780
|
),
|
|
514
|
-
$btn-primary
|
|
515
|
-
);
|
|
516
781
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
color: var(--btn-secondary-color, $secondary),
|
|
782
|
+
'.btn-translucent.btn-primary': (
|
|
783
|
+
background-color: unquote('hsl(from #{$primary-d1} h s l / 0.04)'),
|
|
784
|
+
border-color: transparent,
|
|
785
|
+
color: $primary-d1,
|
|
786
|
+
|
|
523
787
|
hover: (
|
|
524
788
|
background-color:
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
var(--btn-secondary-hover-border-color, $secondary-l0),
|
|
528
|
-
color: var(--btn-secondary-hover-color, $gray-900),
|
|
789
|
+
unquote('hsl(from #{$primary-d1} h s l / 0.06)'),
|
|
790
|
+
color: $primary-d1,
|
|
529
791
|
),
|
|
530
792
|
|
|
531
|
-
focus: (
|
|
532
|
-
active: (
|
|
793
|
+
focus: (
|
|
533
794
|
background-color:
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
var(--btn-secondary-active-border-color, $secondary-l0),
|
|
537
|
-
color: var(--btn-secondary-active-color, $gray-900),
|
|
795
|
+
unquote('hsl(from #{$primary-d1} h s l / 0.06)'),
|
|
796
|
+
color: $primary-d1,
|
|
538
797
|
),
|
|
539
798
|
|
|
540
|
-
|
|
799
|
+
active: (
|
|
541
800
|
background-color:
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
var(--btn-secondary-disabled-border-color, $secondary-l0),
|
|
545
|
-
color: var(--btn-secondary-disabled-color, $secondary),
|
|
801
|
+
unquote('hsl(from #{$primary-d1} h s l / 0.08)'),
|
|
802
|
+
color: $primary-d1,
|
|
546
803
|
),
|
|
547
804
|
),
|
|
548
|
-
$btn-secondary
|
|
549
|
-
);
|
|
550
805
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
color: var(--btn-success-color, $white),
|
|
806
|
+
'.btn-translucent.btn-secondary': (
|
|
807
|
+
background-color: unquote('hsl(from #{$dark-l2} h s l / 0.04)'),
|
|
808
|
+
border-color: transparent,
|
|
809
|
+
color: $secondary,
|
|
810
|
+
|
|
557
811
|
hover: (
|
|
558
|
-
background-color:
|
|
559
|
-
|
|
560
|
-
border-color:
|
|
561
|
-
var(--btn-success-hover-border-color, transparent),
|
|
562
|
-
color: var(--btn-success-hover-color, $white),
|
|
812
|
+
background-color: unquote('hsl(from #{$dark-l2} h s l / 0.06)'),
|
|
813
|
+
color: $secondary,
|
|
563
814
|
),
|
|
564
815
|
|
|
565
|
-
focus: (
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
var(--btn-success-active-background-color, $success-d2),
|
|
569
|
-
border-color:
|
|
570
|
-
var(--btn-success-active-border-color, transparent),
|
|
571
|
-
color: var(--btn-success-active-color, $white),
|
|
816
|
+
focus: (
|
|
817
|
+
background-color: unquote('hsl(from #{$dark-l2} h s l / 0.06)'),
|
|
818
|
+
color: $secondary,
|
|
572
819
|
),
|
|
573
820
|
|
|
574
|
-
|
|
575
|
-
background-color:
|
|
576
|
-
|
|
577
|
-
border-color:
|
|
578
|
-
var(--btn-success-disabled-border-color, transparent),
|
|
579
|
-
color: var(--btn-success-disabled-color, $white),
|
|
821
|
+
active: (
|
|
822
|
+
background-color: unquote('hsl(from #{$dark-l2} h s l / 0.08)'),
|
|
823
|
+
color: $secondary,
|
|
580
824
|
),
|
|
581
825
|
),
|
|
582
|
-
$btn-success
|
|
583
|
-
);
|
|
584
826
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
color: var(--btn-info-color, $white),
|
|
827
|
+
'.btn-translucent.btn-info, .btn-beta': (
|
|
828
|
+
background-color: unquote('hsl(from #{$info-d1} h s l / 0.04)'),
|
|
829
|
+
border-color: transparent,
|
|
830
|
+
color: $info-d1,
|
|
831
|
+
|
|
591
832
|
hover: (
|
|
592
|
-
background-color:
|
|
593
|
-
|
|
594
|
-
border-color: var(--btn-info-hover-border-color, transparent),
|
|
595
|
-
color: var(--btn-info-hover-color, $white),
|
|
833
|
+
background-color: unquote('hsl(from #{$info-d1} h s l / 0.06)'),
|
|
834
|
+
color: $info-d1,
|
|
596
835
|
),
|
|
597
836
|
|
|
598
|
-
focus: (
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
var(--btn-info-active-background-color, $info-d2),
|
|
602
|
-
border-color: var(--btn-info-active-border-color, transparent),
|
|
603
|
-
color: var(--btn-info-active-color, $white),
|
|
837
|
+
focus: (
|
|
838
|
+
background-color: unquote('hsl(from #{$info-d1} h s l / 0.06)'),
|
|
839
|
+
color: $info-d1,
|
|
604
840
|
),
|
|
605
841
|
|
|
606
|
-
|
|
607
|
-
background-color:
|
|
608
|
-
|
|
609
|
-
border-color:
|
|
610
|
-
var(--btn-info-disabled-border-color, transparent),
|
|
611
|
-
color: var(--btn-info-disabled-color, $white),
|
|
842
|
+
active: (
|
|
843
|
+
background-color: unquote('hsl(from #{$info-d1} h s l / 0.08)'),
|
|
844
|
+
color: $info-d1,
|
|
612
845
|
),
|
|
613
846
|
),
|
|
614
|
-
$btn-info
|
|
615
|
-
);
|
|
616
847
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
color: var(--btn-warning-color, $white),
|
|
848
|
+
'.btn-translucent.btn-success': (
|
|
849
|
+
background-color: unquote('hsl(from #{$success-d1} h s l / 0.04)'),
|
|
850
|
+
border-color: transparent,
|
|
851
|
+
color: $success-d1,
|
|
852
|
+
|
|
623
853
|
hover: (
|
|
624
854
|
background-color:
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
var(--btn-warning-hover-border-color, transparent),
|
|
628
|
-
color: var(--btn-warning-hover-color, $white),
|
|
855
|
+
unquote('hsl(from #{$success-d1} h s l / 0.06)'),
|
|
856
|
+
color: $success-d1,
|
|
629
857
|
),
|
|
630
858
|
|
|
631
|
-
focus: (
|
|
632
|
-
active: (
|
|
859
|
+
focus: (
|
|
633
860
|
background-color:
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
var(--btn-warning-active-border-color, transparent),
|
|
637
|
-
color: var(--btn-warning-active-color, $white),
|
|
861
|
+
unquote('hsl(from #{$success-d1} h s l / 0.06)'),
|
|
862
|
+
color: $success-d1,
|
|
638
863
|
),
|
|
639
864
|
|
|
640
|
-
|
|
865
|
+
active: (
|
|
641
866
|
background-color:
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
var(--btn-warning-disabled-border-color, transparent),
|
|
645
|
-
color: var(--btn-warning-disabled-color, $white),
|
|
867
|
+
unquote('hsl(from #{$success-d1} h s l / 0.08)'),
|
|
868
|
+
color: $success-d1,
|
|
646
869
|
),
|
|
647
870
|
),
|
|
648
|
-
$btn-warning
|
|
649
|
-
);
|
|
650
871
|
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
color: var(--btn-danger-color, $white),
|
|
872
|
+
'.btn-translucent.btn-warning': (
|
|
873
|
+
background-color: unquote('hsl(from #{$warning-d1} h s l / 0.04)'),
|
|
874
|
+
border-color: transparent,
|
|
875
|
+
color: $warning-d1,
|
|
876
|
+
|
|
657
877
|
hover: (
|
|
658
878
|
background-color:
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
color: var(--btn-danger-hover-color, $white),
|
|
879
|
+
unquote('hsl(from #{$warning-d1} h s l / 0.06)'),
|
|
880
|
+
color: $warning-d1,
|
|
662
881
|
),
|
|
663
882
|
|
|
664
|
-
focus: (
|
|
665
|
-
active: (
|
|
883
|
+
focus: (
|
|
666
884
|
background-color:
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
var(--btn-danger-active-border-color, transparent),
|
|
670
|
-
color: var(--btn-danger-active-color, $white),
|
|
885
|
+
unquote('hsl(from #{$warning-d1} h s l / 0.06)'),
|
|
886
|
+
color: $warning-d1,
|
|
671
887
|
),
|
|
672
888
|
|
|
673
|
-
|
|
889
|
+
active: (
|
|
674
890
|
background-color:
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
var(--btn-danger-disabled-border-color, transparent),
|
|
678
|
-
color: var(--btn-danger-disabled-color, $white),
|
|
891
|
+
unquote('hsl(from #{$warning-d1} h s l / 0.08)'),
|
|
892
|
+
color: $warning-d1,
|
|
679
893
|
),
|
|
680
894
|
),
|
|
681
|
-
$btn-danger
|
|
682
|
-
);
|
|
683
895
|
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
border-color: $light,
|
|
689
|
-
color: $gray-900,
|
|
896
|
+
'.btn-translucent.btn-danger': (
|
|
897
|
+
background-color: unquote('hsl(from #{$danger-d1} h s l / 0.04)'),
|
|
898
|
+
border-color: transparent,
|
|
899
|
+
color: $danger-d1,
|
|
690
900
|
|
|
691
901
|
hover: (
|
|
692
|
-
background-color:
|
|
693
|
-
|
|
694
|
-
color: $
|
|
902
|
+
background-color:
|
|
903
|
+
unquote('hsl(from #{$danger-d1} h s l / 0.06)'),
|
|
904
|
+
color: $danger-d1,
|
|
695
905
|
),
|
|
696
906
|
|
|
697
|
-
focus: (
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
color: $gray-900,
|
|
907
|
+
focus: (
|
|
908
|
+
background-color:
|
|
909
|
+
unquote('hsl(from #{$danger-d1} h s l / 0.06)'),
|
|
910
|
+
color: $danger-d1,
|
|
702
911
|
),
|
|
703
912
|
|
|
704
|
-
|
|
705
|
-
background-color:
|
|
706
|
-
|
|
707
|
-
color: $
|
|
913
|
+
active: (
|
|
914
|
+
background-color:
|
|
915
|
+
unquote('hsl(from #{$danger-d1} h s l / 0.08)'),
|
|
916
|
+
color: $danger-d1,
|
|
708
917
|
),
|
|
709
918
|
),
|
|
710
|
-
$btn-light
|
|
711
|
-
);
|
|
712
919
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
border-color: $dark,
|
|
718
|
-
color: $white,
|
|
920
|
+
'%clay-dark-btn-translucent-primary': (
|
|
921
|
+
background-color: unquote('hsl(from #{$primary-l2} h s l / 0.04)'),
|
|
922
|
+
border-color: transparent,
|
|
923
|
+
color: $primary-l1,
|
|
719
924
|
|
|
720
925
|
hover: (
|
|
721
|
-
background-color:
|
|
722
|
-
|
|
723
|
-
color: $
|
|
926
|
+
background-color:
|
|
927
|
+
unquote('hsl(from #{$primary-l2} h s l / 0.06)'),
|
|
928
|
+
color: $primary-l1,
|
|
724
929
|
),
|
|
725
930
|
|
|
726
|
-
focus: (
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
color: $white,
|
|
931
|
+
focus: (
|
|
932
|
+
background-color:
|
|
933
|
+
unquote('hsl(from #{$primary-l2} h s l / 0.06)'),
|
|
934
|
+
color: $primary-l1,
|
|
731
935
|
),
|
|
732
936
|
|
|
733
|
-
|
|
734
|
-
background-color:
|
|
735
|
-
|
|
736
|
-
color: $
|
|
937
|
+
active: (
|
|
938
|
+
background-color:
|
|
939
|
+
unquote('hsl(from #{$primary-l2} h s l / 0.08)'),
|
|
940
|
+
color: $primary-l1,
|
|
737
941
|
),
|
|
738
942
|
),
|
|
739
|
-
$btn-dark
|
|
740
|
-
);
|
|
741
943
|
|
|
742
|
-
|
|
944
|
+
'.clay-dark .btn-translucent.btn-primary': (
|
|
945
|
+
extend: '%clay-dark-btn-translucent-primary',
|
|
946
|
+
),
|
|
947
|
+
|
|
948
|
+
'.clay-dark.btn-translucent.btn-primary': (
|
|
949
|
+
extend: '%clay-dark-btn-translucent-primary',
|
|
950
|
+
),
|
|
743
951
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
box-shadow: clay-enable-shadows(none),
|
|
749
|
-
color: $link-color,
|
|
750
|
-
font-weight: $font-weight-normal,
|
|
751
|
-
text-decoration: $link-decoration,
|
|
952
|
+
'%clay-dark-btn-translucent-info': (
|
|
953
|
+
background-color: unquote('hsl(from #{$info-l2} h s l / 0.04)'),
|
|
954
|
+
border-color: transparent,
|
|
955
|
+
color: $info-l1,
|
|
752
956
|
|
|
753
957
|
hover: (
|
|
754
|
-
color: $
|
|
755
|
-
|
|
958
|
+
background-color: unquote('hsl(from #{$info-l2} h s l / 0.06)'),
|
|
959
|
+
color: $info-l1,
|
|
756
960
|
),
|
|
757
961
|
|
|
758
962
|
focus: (
|
|
759
|
-
|
|
760
|
-
|
|
963
|
+
background-color: unquote('hsl(from #{$info-l2} h s l / 0.06)'),
|
|
964
|
+
color: $info-l1,
|
|
761
965
|
),
|
|
762
966
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
color: $
|
|
766
|
-
text-decoration: none,
|
|
967
|
+
active: (
|
|
968
|
+
background-color: unquote('hsl(from #{$info-l2} h s l / 0.08)'),
|
|
969
|
+
color: $info-l1,
|
|
767
970
|
),
|
|
768
971
|
),
|
|
769
|
-
$btn-link
|
|
770
|
-
);
|
|
771
972
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
primary: $btn-primary,
|
|
973
|
+
'.clay-dark .btn-translucent.btn-info, .btn-beta-dark': (
|
|
974
|
+
extend: '%clay-dark-btn-translucent-info',
|
|
975
|
+
),
|
|
776
976
|
|
|
777
|
-
|
|
977
|
+
'.clay-dark.btn-translucent.btn-info': (
|
|
978
|
+
extend: '%clay-dark-btn-translucent-info',
|
|
979
|
+
),
|
|
778
980
|
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
warning: $btn-warning,
|
|
784
|
-
|
|
785
|
-
danger: $btn-danger,
|
|
786
|
-
|
|
787
|
-
light: $btn-light,
|
|
788
|
-
|
|
789
|
-
dark: $btn-dark,
|
|
790
|
-
|
|
791
|
-
link: $btn-link,
|
|
792
|
-
|
|
793
|
-
'.btn-translucent': (
|
|
794
|
-
extend: '%clay-btn-xs',
|
|
981
|
+
'%clay-dark-btn-translucent-success': (
|
|
982
|
+
background-color: unquote('hsl(from #{$success-l2} h s l / 0.04)'),
|
|
983
|
+
border-color: transparent,
|
|
984
|
+
color: $success-l1,
|
|
795
985
|
|
|
796
|
-
|
|
986
|
+
hover: (
|
|
987
|
+
background-color:
|
|
988
|
+
unquote('hsl(from #{$success-l2} h s l / 0.06)'),
|
|
989
|
+
color: $success-l1,
|
|
797
990
|
),
|
|
798
991
|
|
|
799
|
-
|
|
992
|
+
focus: (
|
|
800
993
|
background-color:
|
|
801
|
-
unquote('hsl(from #{$
|
|
802
|
-
|
|
803
|
-
color: $primary-d1,
|
|
804
|
-
|
|
805
|
-
hover: (
|
|
806
|
-
background-color:
|
|
807
|
-
unquote('hsl(from #{$primary-d1} h s l / 0.06)'),
|
|
808
|
-
color: $primary-d1,
|
|
809
|
-
),
|
|
810
|
-
|
|
811
|
-
focus: (
|
|
812
|
-
background-color:
|
|
813
|
-
unquote('hsl(from #{$primary-d1} h s l / 0.06)'),
|
|
814
|
-
color: $primary-d1,
|
|
815
|
-
),
|
|
816
|
-
|
|
817
|
-
active: (
|
|
818
|
-
background-color:
|
|
819
|
-
unquote('hsl(from #{$primary-d1} h s l / 0.08)'),
|
|
820
|
-
color: $primary-d1,
|
|
821
|
-
),
|
|
994
|
+
unquote('hsl(from #{$success-l2} h s l / 0.06)'),
|
|
995
|
+
color: $success-l1,
|
|
822
996
|
),
|
|
823
997
|
|
|
824
|
-
|
|
825
|
-
background-color:
|
|
826
|
-
|
|
827
|
-
color: $
|
|
828
|
-
|
|
829
|
-
hover: (
|
|
830
|
-
background-color:
|
|
831
|
-
unquote('hsl(from #{$dark-l2} h s l / 0.06)'),
|
|
832
|
-
color: $secondary,
|
|
833
|
-
),
|
|
834
|
-
|
|
835
|
-
focus: (
|
|
836
|
-
background-color:
|
|
837
|
-
unquote('hsl(from #{$dark-l2} h s l / 0.06)'),
|
|
838
|
-
color: $secondary,
|
|
839
|
-
),
|
|
840
|
-
|
|
841
|
-
active: (
|
|
842
|
-
background-color:
|
|
843
|
-
unquote('hsl(from #{$dark-l2} h s l / 0.08)'),
|
|
844
|
-
color: $secondary,
|
|
845
|
-
),
|
|
998
|
+
active: (
|
|
999
|
+
background-color:
|
|
1000
|
+
unquote('hsl(from #{$success-l2} h s l / 0.08)'),
|
|
1001
|
+
color: $success-l1,
|
|
846
1002
|
),
|
|
1003
|
+
),
|
|
847
1004
|
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
color: $info-d1,
|
|
852
|
-
|
|
853
|
-
hover: (
|
|
854
|
-
background-color:
|
|
855
|
-
unquote('hsl(from #{$info-d1} h s l / 0.06)'),
|
|
856
|
-
color: $info-d1,
|
|
857
|
-
),
|
|
1005
|
+
'.clay-dark .btn-translucent.btn-success': (
|
|
1006
|
+
extend: '%clay-dark-btn-translucent-success',
|
|
1007
|
+
),
|
|
858
1008
|
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
color: $info-d1,
|
|
863
|
-
),
|
|
1009
|
+
'.clay-dark.btn-translucent.btn-success': (
|
|
1010
|
+
extend: '%clay-dark-btn-translucent-success',
|
|
1011
|
+
),
|
|
864
1012
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
),
|
|
870
|
-
),
|
|
1013
|
+
'%clay-dark-btn-translucent-warning': (
|
|
1014
|
+
background-color: unquote('hsl(from #{$warning-l2} h s l / 0.04)'),
|
|
1015
|
+
border-color: transparent,
|
|
1016
|
+
color: $warning-l1,
|
|
871
1017
|
|
|
872
|
-
|
|
1018
|
+
hover: (
|
|
873
1019
|
background-color:
|
|
874
|
-
unquote('hsl(from #{$
|
|
875
|
-
|
|
876
|
-
color: $success-d1,
|
|
877
|
-
|
|
878
|
-
hover: (
|
|
879
|
-
background-color:
|
|
880
|
-
unquote('hsl(from #{$success-d1} h s l / 0.06)'),
|
|
881
|
-
color: $success-d1,
|
|
882
|
-
),
|
|
883
|
-
|
|
884
|
-
focus: (
|
|
885
|
-
background-color:
|
|
886
|
-
unquote('hsl(from #{$success-d1} h s l / 0.06)'),
|
|
887
|
-
color: $success-d1,
|
|
888
|
-
),
|
|
889
|
-
|
|
890
|
-
active: (
|
|
891
|
-
background-color:
|
|
892
|
-
unquote('hsl(from #{$success-d1} h s l / 0.08)'),
|
|
893
|
-
color: $success-d1,
|
|
894
|
-
),
|
|
1020
|
+
unquote('hsl(from #{$warning-l2} h s l / 0.06)'),
|
|
1021
|
+
color: $warning-l1,
|
|
895
1022
|
),
|
|
896
1023
|
|
|
897
|
-
|
|
1024
|
+
focus: (
|
|
898
1025
|
background-color:
|
|
899
|
-
unquote('hsl(from #{$warning-
|
|
900
|
-
|
|
901
|
-
color: $warning-d1,
|
|
902
|
-
|
|
903
|
-
hover: (
|
|
904
|
-
background-color:
|
|
905
|
-
unquote('hsl(from #{$warning-d1} h s l / 0.06)'),
|
|
906
|
-
color: $warning-d1,
|
|
907
|
-
),
|
|
908
|
-
|
|
909
|
-
focus: (
|
|
910
|
-
background-color:
|
|
911
|
-
unquote('hsl(from #{$warning-d1} h s l / 0.06)'),
|
|
912
|
-
color: $warning-d1,
|
|
913
|
-
),
|
|
914
|
-
|
|
915
|
-
active: (
|
|
916
|
-
background-color:
|
|
917
|
-
unquote('hsl(from #{$warning-d1} h s l / 0.08)'),
|
|
918
|
-
color: $warning-d1,
|
|
919
|
-
),
|
|
1026
|
+
unquote('hsl(from #{$warning-l2} h s l / 0.06)'),
|
|
1027
|
+
color: $warning-l1,
|
|
920
1028
|
),
|
|
921
1029
|
|
|
922
|
-
|
|
1030
|
+
active: (
|
|
923
1031
|
background-color:
|
|
924
|
-
unquote('hsl(from #{$
|
|
925
|
-
|
|
926
|
-
color: $danger-d1,
|
|
927
|
-
|
|
928
|
-
hover: (
|
|
929
|
-
background-color:
|
|
930
|
-
unquote('hsl(from #{$danger-d1} h s l / 0.06)'),
|
|
931
|
-
color: $danger-d1,
|
|
932
|
-
),
|
|
933
|
-
|
|
934
|
-
focus: (
|
|
935
|
-
background-color:
|
|
936
|
-
unquote('hsl(from #{$danger-d1} h s l / 0.06)'),
|
|
937
|
-
color: $danger-d1,
|
|
938
|
-
),
|
|
939
|
-
|
|
940
|
-
active: (
|
|
941
|
-
background-color:
|
|
942
|
-
unquote('hsl(from #{$danger-d1} h s l / 0.08)'),
|
|
943
|
-
color: $danger-d1,
|
|
944
|
-
),
|
|
1032
|
+
unquote('hsl(from #{$warning-l2} h s l / 0.08)'),
|
|
1033
|
+
color: $warning-l1,
|
|
945
1034
|
),
|
|
1035
|
+
),
|
|
946
1036
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
border-color: transparent,
|
|
951
|
-
color: $primary-l1,
|
|
952
|
-
|
|
953
|
-
hover: (
|
|
954
|
-
background-color:
|
|
955
|
-
unquote('hsl(from #{$primary-l2} h s l / 0.06)'),
|
|
956
|
-
color: $primary-l1,
|
|
957
|
-
),
|
|
958
|
-
|
|
959
|
-
focus: (
|
|
960
|
-
background-color:
|
|
961
|
-
unquote('hsl(from #{$primary-l2} h s l / 0.06)'),
|
|
962
|
-
color: $primary-l1,
|
|
963
|
-
),
|
|
1037
|
+
'.clay-dark .btn-translucent.btn-warning': (
|
|
1038
|
+
extend: '%clay-dark-btn-translucent-warning',
|
|
1039
|
+
),
|
|
964
1040
|
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
color: $primary-l1,
|
|
969
|
-
),
|
|
970
|
-
),
|
|
1041
|
+
'.clay-dark.btn-translucent.btn-warning': (
|
|
1042
|
+
extend: '%clay-dark-btn-translucent-warning',
|
|
1043
|
+
),
|
|
971
1044
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
1045
|
+
'%clay-dark-btn-translucent-danger': (
|
|
1046
|
+
background-color: unquote('hsl(from #{$danger-l2} h s l / 0.04)'),
|
|
1047
|
+
border-color: transparent,
|
|
1048
|
+
color: $danger-l1,
|
|
975
1049
|
|
|
976
|
-
|
|
977
|
-
|
|
1050
|
+
hover: (
|
|
1051
|
+
background-color:
|
|
1052
|
+
unquote('hsl(from #{$danger-l2} h s l / 0.06)'),
|
|
1053
|
+
color: $danger-l1,
|
|
978
1054
|
),
|
|
979
1055
|
|
|
980
|
-
|
|
981
|
-
background-color:
|
|
982
|
-
|
|
983
|
-
color: $
|
|
984
|
-
|
|
985
|
-
hover: (
|
|
986
|
-
background-color:
|
|
987
|
-
unquote('hsl(from #{$info-l2} h s l / 0.06)'),
|
|
988
|
-
color: $info-l1,
|
|
989
|
-
),
|
|
990
|
-
|
|
991
|
-
focus: (
|
|
992
|
-
background-color:
|
|
993
|
-
unquote('hsl(from #{$info-l2} h s l / 0.06)'),
|
|
994
|
-
color: $info-l1,
|
|
995
|
-
),
|
|
996
|
-
|
|
997
|
-
active: (
|
|
998
|
-
background-color:
|
|
999
|
-
unquote('hsl(from #{$info-l2} h s l / 0.08)'),
|
|
1000
|
-
color: $info-l1,
|
|
1001
|
-
),
|
|
1056
|
+
focus: (
|
|
1057
|
+
background-color:
|
|
1058
|
+
unquote('hsl(from #{$danger-l2} h s l / 0.06)'),
|
|
1059
|
+
color: $danger-l1,
|
|
1002
1060
|
),
|
|
1003
1061
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1062
|
+
active: (
|
|
1063
|
+
background-color:
|
|
1064
|
+
unquote('hsl(from #{$danger-l2} h s l / 0.08)'),
|
|
1065
|
+
color: $danger-l1,
|
|
1006
1066
|
),
|
|
1067
|
+
),
|
|
1007
1068
|
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1069
|
+
'.clay-dark .btn-translucent.btn-danger': (
|
|
1070
|
+
extend: '%clay-dark-btn-translucent-danger',
|
|
1071
|
+
),
|
|
1011
1072
|
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1073
|
+
'.clay-dark.btn-translucent.btn-danger': (
|
|
1074
|
+
extend: '%clay-dark-btn-translucent-danger',
|
|
1075
|
+
),
|
|
1076
|
+
),
|
|
1077
|
+
$btn-palette
|
|
1078
|
+
);
|
|
1079
|
+
|
|
1080
|
+
// Button Outline Variants
|
|
1081
|
+
|
|
1082
|
+
$btn-outline-primary: () !default;
|
|
1083
|
+
$btn-outline-primary: map-deep-merge(
|
|
1084
|
+
(
|
|
1085
|
+
background-color:
|
|
1086
|
+
var(--btn-outline-primary-background-color, transparent),
|
|
1087
|
+
border-color: var(--btn-outline-primary-border-color, $primary),
|
|
1088
|
+
color: var(--btn-outline-primary-color, $primary),
|
|
1089
|
+
hover: (
|
|
1090
|
+
background-color:
|
|
1091
|
+
var(--btn-outline-primary-hover-background-color, $primary-l3),
|
|
1092
|
+
border-color:
|
|
1093
|
+
var(--btn-outline-primary-hover-border-color, $primary),
|
|
1094
|
+
color: var(--btn-outline-primary-hover-color, $primary),
|
|
1095
|
+
),
|
|
1017
1096
|
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1097
|
+
focus: (),
|
|
1098
|
+
active: (
|
|
1099
|
+
background-color:
|
|
1100
|
+
var(
|
|
1101
|
+
--btn-outline-primary-active-background-color,
|
|
1102
|
+
unquote('hsl(from #{$primary} h s l / 0.12)')
|
|
1022
1103
|
),
|
|
1104
|
+
border-color:
|
|
1105
|
+
var(--btn-outline-primary-active-border-color, $primary),
|
|
1106
|
+
color: var(--btn-outline-primary-active-color, $primary),
|
|
1107
|
+
),
|
|
1023
1108
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
color
|
|
1109
|
+
disabled: (
|
|
1110
|
+
background-color:
|
|
1111
|
+
var(
|
|
1112
|
+
--btn-outline-primary-disabled-background-color,
|
|
1113
|
+
transparent
|
|
1028
1114
|
),
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1115
|
+
border-color:
|
|
1116
|
+
var(--btn-outline-primary-disabled-border-color, $primary),
|
|
1117
|
+
color: var(--btn-outline-primary-disabled-color, $primary),
|
|
1118
|
+
),
|
|
1119
|
+
),
|
|
1120
|
+
$btn-outline-primary
|
|
1121
|
+
);
|
|
1122
|
+
|
|
1123
|
+
$btn-outline-secondary: () !default;
|
|
1124
|
+
$btn-outline-secondary: map-deep-merge(
|
|
1125
|
+
(
|
|
1126
|
+
background-color:
|
|
1127
|
+
var(--btn-outline-secondary-background-color, transparent),
|
|
1128
|
+
border-color: var(--btn-outline-secondary-border-color, $secondary-l2),
|
|
1129
|
+
color: var(--btn-outline-secondary-color, $secondary),
|
|
1130
|
+
hover: (
|
|
1131
|
+
background-color:
|
|
1132
|
+
var(
|
|
1133
|
+
--btn-outline-secondary-hover-background-color,
|
|
1134
|
+
unquote('hsl(from #{$gray-900} h s l / 0.03)')
|
|
1034
1135
|
),
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
),
|
|
1040
|
-
|
|
1041
|
-
'.clay-dark.btn-translucent.btn-success': (
|
|
1042
|
-
extend: '%clay-dark-btn-translucent-success',
|
|
1043
|
-
),
|
|
1044
|
-
|
|
1045
|
-
'%clay-dark-btn-translucent-warning': (
|
|
1046
|
-
background-color:
|
|
1047
|
-
unquote('hsl(from #{$warning-l2} h s l / 0.04)'),
|
|
1048
|
-
border-color: transparent,
|
|
1049
|
-
color: $warning-l1,
|
|
1136
|
+
border-color:
|
|
1137
|
+
var(--btn-outline-secondary-hover-border-color, transparent),
|
|
1138
|
+
color: var(--btn-outline-secondary-hover-color, $gray-900),
|
|
1139
|
+
),
|
|
1050
1140
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1141
|
+
focus: (),
|
|
1142
|
+
active: (
|
|
1143
|
+
background-color:
|
|
1144
|
+
var(
|
|
1145
|
+
--btn-outline-secondary-active-background-color,
|
|
1146
|
+
unquote('hsl(from #{$gray-900} h s l / 0.06)')
|
|
1055
1147
|
),
|
|
1148
|
+
border-color:
|
|
1149
|
+
var(--btn-outline-secondary-active-border-color, transparent),
|
|
1150
|
+
color: var(--btn-outline-secondary-active-color, $gray-900),
|
|
1151
|
+
),
|
|
1056
1152
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
color
|
|
1153
|
+
disabled: (
|
|
1154
|
+
background-color:
|
|
1155
|
+
var(
|
|
1156
|
+
--btn-outline-secondary-disabled-background-color,
|
|
1157
|
+
transparent
|
|
1061
1158
|
),
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
color: $warning-l1,
|
|
1159
|
+
border-color:
|
|
1160
|
+
var(
|
|
1161
|
+
--btn-outline-secondary-disabled-border-color,
|
|
1162
|
+
$secondary-l2
|
|
1067
1163
|
),
|
|
1068
|
-
),
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
'.clay-dark.btn-translucent.btn-warning': (
|
|
1075
|
-
extend: '%clay-dark-btn-translucent-warning',
|
|
1076
|
-
),
|
|
1164
|
+
color: var(--btn-outline-secondary-disabled-color, $secondary),
|
|
1165
|
+
),
|
|
1166
|
+
),
|
|
1167
|
+
$btn-outline-secondary
|
|
1168
|
+
);
|
|
1077
1169
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1170
|
+
$btn-outline-success: () !default;
|
|
1171
|
+
$btn-outline-success: map-deep-merge(
|
|
1172
|
+
(
|
|
1173
|
+
border-color: $success,
|
|
1174
|
+
color: $success,
|
|
1083
1175
|
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1176
|
+
hover: (
|
|
1177
|
+
background-color:
|
|
1178
|
+
map-deep-get($btn-success, hover, background-color),
|
|
1179
|
+
border-color: $success,
|
|
1180
|
+
color: $white,
|
|
1181
|
+
),
|
|
1089
1182
|
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1183
|
+
focus: (),
|
|
1184
|
+
active: (
|
|
1185
|
+
background-color:
|
|
1186
|
+
map-deep-get($btn-success, active, background-color),
|
|
1187
|
+
box-shadow: map-deep-get($btn-success, active, box-shadow),
|
|
1188
|
+
),
|
|
1095
1189
|
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1190
|
+
disabled: (
|
|
1191
|
+
background-color: transparent,
|
|
1192
|
+
color: $success,
|
|
1193
|
+
),
|
|
1194
|
+
),
|
|
1195
|
+
$btn-outline-success
|
|
1196
|
+
);
|
|
1197
|
+
|
|
1198
|
+
$btn-outline-info: () !default;
|
|
1199
|
+
$btn-outline-info: map-deep-merge(
|
|
1200
|
+
(
|
|
1201
|
+
border-color: $info,
|
|
1202
|
+
color: $info,
|
|
1203
|
+
|
|
1204
|
+
hover: (
|
|
1205
|
+
background-color: map-deep-get($btn-info, hover, background-color),
|
|
1206
|
+
border-color: $info,
|
|
1207
|
+
color: $white,
|
|
1208
|
+
),
|
|
1102
1209
|
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
),
|
|
1210
|
+
focus: (),
|
|
1211
|
+
active: (
|
|
1212
|
+
background-color: map-deep-get($btn-info, active, background-color),
|
|
1213
|
+
box-shadow: map-deep-get($btn-info, active, box-shadow),
|
|
1214
|
+
border-color: $info,
|
|
1215
|
+
color: $white,
|
|
1216
|
+
),
|
|
1106
1217
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1218
|
+
disabled: (
|
|
1219
|
+
background-color: transparent,
|
|
1220
|
+
color: $info,
|
|
1110
1221
|
),
|
|
1111
|
-
|
|
1112
|
-
|
|
1222
|
+
),
|
|
1223
|
+
$btn-outline-info
|
|
1224
|
+
);
|
|
1113
1225
|
|
|
1114
|
-
|
|
1226
|
+
$btn-outline-warning: () !default;
|
|
1227
|
+
$btn-outline-warning: map-deep-merge(
|
|
1228
|
+
(
|
|
1229
|
+
border-color: $warning,
|
|
1230
|
+
color: $warning,
|
|
1115
1231
|
|
|
1116
|
-
|
|
1117
|
-
$btn-outline-primary: map-deep-merge(
|
|
1118
|
-
(
|
|
1232
|
+
hover: (
|
|
1119
1233
|
background-color:
|
|
1120
|
-
|
|
1121
|
-
border-color:
|
|
1122
|
-
color:
|
|
1123
|
-
|
|
1124
|
-
background-color:
|
|
1125
|
-
var(
|
|
1126
|
-
--btn-outline-primary-hover-background-color,
|
|
1127
|
-
$primary-l3
|
|
1128
|
-
),
|
|
1129
|
-
border-color:
|
|
1130
|
-
var(--btn-outline-primary-hover-border-color, $primary),
|
|
1131
|
-
color: var(--btn-outline-primary-hover-color, $primary),
|
|
1132
|
-
),
|
|
1234
|
+
map-deep-get($btn-warning, hover, background-color),
|
|
1235
|
+
border-color: $warning,
|
|
1236
|
+
color: $white,
|
|
1237
|
+
),
|
|
1133
1238
|
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
border-color:
|
|
1142
|
-
var(--btn-outline-primary-active-border-color, $primary),
|
|
1143
|
-
color: var(--btn-outline-primary-active-color, $primary),
|
|
1144
|
-
),
|
|
1239
|
+
focus: (),
|
|
1240
|
+
active: (
|
|
1241
|
+
background-color:
|
|
1242
|
+
map-deep-get($btn-warning, active, background-color),
|
|
1243
|
+
border-color: $warning,
|
|
1244
|
+
color: $white,
|
|
1245
|
+
),
|
|
1145
1246
|
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1247
|
+
disabled: (
|
|
1248
|
+
background-color: transparent,
|
|
1249
|
+
color: $warning,
|
|
1250
|
+
),
|
|
1251
|
+
),
|
|
1252
|
+
$btn-outline-warning
|
|
1253
|
+
);
|
|
1254
|
+
|
|
1255
|
+
$btn-outline-danger: () !default;
|
|
1256
|
+
$btn-outline-danger: map-deep-merge(
|
|
1257
|
+
(
|
|
1258
|
+
border-color: $danger,
|
|
1259
|
+
color: $danger,
|
|
1260
|
+
|
|
1261
|
+
hover: (
|
|
1262
|
+
background-color: map-deep-get($btn-danger, hover, background-color),
|
|
1263
|
+
border-color: $danger,
|
|
1264
|
+
color: $white,
|
|
1156
1265
|
),
|
|
1157
|
-
$btn-outline-primary
|
|
1158
|
-
);
|
|
1159
1266
|
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
(
|
|
1267
|
+
focus: (),
|
|
1268
|
+
active: (
|
|
1163
1269
|
background-color:
|
|
1164
|
-
|
|
1165
|
-
border-color:
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
hover: (
|
|
1169
|
-
background-color:
|
|
1170
|
-
var(
|
|
1171
|
-
--btn-outline-secondary-hover-background-color,
|
|
1172
|
-
unquote('hsl(from #{$gray-900} h s l / 0.03)')
|
|
1173
|
-
),
|
|
1174
|
-
border-color:
|
|
1175
|
-
var(
|
|
1176
|
-
--btn-outline-secondary-hover-border-color,
|
|
1177
|
-
transparent
|
|
1178
|
-
),
|
|
1179
|
-
color: var(--btn-outline-secondary-hover-color, $gray-900),
|
|
1180
|
-
),
|
|
1181
|
-
|
|
1182
|
-
focus: (),
|
|
1183
|
-
active: (
|
|
1184
|
-
background-color:
|
|
1185
|
-
var(
|
|
1186
|
-
--btn-outline-secondary-active-background-color,
|
|
1187
|
-
unquote('hsl(from #{$gray-900} h s l / 0.06)')
|
|
1188
|
-
),
|
|
1189
|
-
border-color:
|
|
1190
|
-
var(
|
|
1191
|
-
--btn-outline-secondary-active-border-color,
|
|
1192
|
-
transparent
|
|
1193
|
-
),
|
|
1194
|
-
color: var(--btn-outline-secondary-active-color, $gray-900),
|
|
1195
|
-
),
|
|
1270
|
+
map-deep-get($btn-danger, active, background-color),
|
|
1271
|
+
border-color: $danger,
|
|
1272
|
+
color: $white,
|
|
1273
|
+
),
|
|
1196
1274
|
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1275
|
+
disabled: (
|
|
1276
|
+
background-color: transparent,
|
|
1277
|
+
color: $danger,
|
|
1278
|
+
),
|
|
1279
|
+
),
|
|
1280
|
+
$btn-outline-danger
|
|
1281
|
+
);
|
|
1282
|
+
|
|
1283
|
+
$btn-outline-light: () !default;
|
|
1284
|
+
$btn-outline-light: map-deep-merge(
|
|
1285
|
+
(
|
|
1286
|
+
border-color: $light,
|
|
1287
|
+
color: $light,
|
|
1288
|
+
|
|
1289
|
+
hover: (
|
|
1290
|
+
background-color: map-deep-get($btn-light, hover, background-color),
|
|
1291
|
+
border-color: $light,
|
|
1292
|
+
color: $dark,
|
|
1210
1293
|
),
|
|
1211
|
-
$btn-outline-secondary
|
|
1212
|
-
);
|
|
1213
1294
|
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
border-color: $
|
|
1218
|
-
color: $
|
|
1295
|
+
focus: (),
|
|
1296
|
+
active: (
|
|
1297
|
+
background-color: map-deep-get($btn-light, active, background-color),
|
|
1298
|
+
border-color: $light,
|
|
1299
|
+
color: $dark,
|
|
1300
|
+
),
|
|
1219
1301
|
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1302
|
+
disabled: (
|
|
1303
|
+
background-color: transparent,
|
|
1304
|
+
color: $light,
|
|
1305
|
+
),
|
|
1306
|
+
),
|
|
1307
|
+
$btn-outline-light
|
|
1308
|
+
);
|
|
1309
|
+
|
|
1310
|
+
$btn-outline-dark: () !default;
|
|
1311
|
+
$btn-outline-dark: map-deep-merge(
|
|
1312
|
+
(
|
|
1313
|
+
border-color: $dark,
|
|
1314
|
+
color: $dark,
|
|
1315
|
+
|
|
1316
|
+
hover: (
|
|
1317
|
+
background-color: map-deep-get($btn-dark, hover, background-color),
|
|
1318
|
+
border-color: $dark,
|
|
1319
|
+
color: $white,
|
|
1320
|
+
),
|
|
1226
1321
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1322
|
+
focus: (),
|
|
1323
|
+
active: (
|
|
1324
|
+
background-color: map-deep-get($btn-dark, active, background-color),
|
|
1325
|
+
border-color: $dark,
|
|
1326
|
+
color: $white,
|
|
1327
|
+
),
|
|
1233
1328
|
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
),
|
|
1329
|
+
disabled: (
|
|
1330
|
+
background-color: transparent,
|
|
1331
|
+
color: $dark,
|
|
1238
1332
|
),
|
|
1239
|
-
|
|
1240
|
-
|
|
1333
|
+
),
|
|
1334
|
+
$btn-outline-dark
|
|
1335
|
+
);
|
|
1241
1336
|
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
color: $info,
|
|
1337
|
+
$btn-outline-borderless: () !default;
|
|
1338
|
+
$btn-outline-borderless: map-deep-merge(
|
|
1339
|
+
(
|
|
1340
|
+
border-color: transparent,
|
|
1247
1341
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
border-color: $info,
|
|
1252
|
-
color: $white,
|
|
1253
|
-
),
|
|
1342
|
+
hover: (
|
|
1343
|
+
border-color: transparent,
|
|
1344
|
+
),
|
|
1254
1345
|
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
map-deep-get($btn-info, active, background-color),
|
|
1259
|
-
box-shadow: map-deep-get($btn-info, active, box-shadow),
|
|
1260
|
-
border-color: $info,
|
|
1261
|
-
color: $white,
|
|
1262
|
-
),
|
|
1346
|
+
focus: (
|
|
1347
|
+
border-color: transparent,
|
|
1348
|
+
),
|
|
1263
1349
|
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
color: $info,
|
|
1267
|
-
),
|
|
1350
|
+
active: (
|
|
1351
|
+
border-color: transparent,
|
|
1268
1352
|
),
|
|
1269
|
-
$btn-outline-info
|
|
1270
|
-
);
|
|
1271
1353
|
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1354
|
+
disabled: (
|
|
1355
|
+
border-color: transparent,
|
|
1356
|
+
),
|
|
1357
|
+
),
|
|
1358
|
+
$btn-outline-borderless
|
|
1359
|
+
);
|
|
1277
1360
|
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
color: $white,
|
|
1283
|
-
),
|
|
1361
|
+
$btn-outline-palette: () !default;
|
|
1362
|
+
$btn-outline-palette: map-deep-merge(
|
|
1363
|
+
(
|
|
1364
|
+
primary: $btn-outline-primary,
|
|
1284
1365
|
|
|
1285
|
-
|
|
1286
|
-
active: (
|
|
1287
|
-
background-color:
|
|
1288
|
-
map-deep-get($btn-warning, active, background-color),
|
|
1289
|
-
border-color: $warning,
|
|
1290
|
-
color: $white,
|
|
1291
|
-
),
|
|
1366
|
+
secondary: $btn-outline-secondary,
|
|
1292
1367
|
|
|
1293
|
-
|
|
1294
|
-
background-color: transparent,
|
|
1295
|
-
color: $warning,
|
|
1296
|
-
),
|
|
1297
|
-
),
|
|
1298
|
-
$btn-outline-warning
|
|
1299
|
-
);
|
|
1368
|
+
success: $btn-outline-success,
|
|
1300
1369
|
|
|
1301
|
-
|
|
1302
|
-
$btn-outline-danger: map-deep-merge(
|
|
1303
|
-
(
|
|
1304
|
-
border-color: $danger,
|
|
1305
|
-
color: $danger,
|
|
1370
|
+
info: $btn-outline-info,
|
|
1306
1371
|
|
|
1307
|
-
|
|
1308
|
-
background-color:
|
|
1309
|
-
map-deep-get($btn-danger, hover, background-color),
|
|
1310
|
-
border-color: $danger,
|
|
1311
|
-
color: $white,
|
|
1312
|
-
),
|
|
1372
|
+
warning: $btn-outline-warning,
|
|
1313
1373
|
|
|
1314
|
-
|
|
1315
|
-
active: (
|
|
1316
|
-
background-color:
|
|
1317
|
-
map-deep-get($btn-danger, active, background-color),
|
|
1318
|
-
border-color: $danger,
|
|
1319
|
-
color: $white,
|
|
1320
|
-
),
|
|
1374
|
+
danger: $btn-outline-danger,
|
|
1321
1375
|
|
|
1322
|
-
|
|
1323
|
-
background-color: transparent,
|
|
1324
|
-
color: $danger,
|
|
1325
|
-
),
|
|
1326
|
-
),
|
|
1327
|
-
$btn-outline-danger
|
|
1328
|
-
);
|
|
1376
|
+
light: $btn-outline-light,
|
|
1329
1377
|
|
|
1330
|
-
|
|
1331
|
-
$btn-outline-light: map-deep-merge(
|
|
1332
|
-
(
|
|
1333
|
-
border-color: $light,
|
|
1334
|
-
color: $light,
|
|
1378
|
+
dark: $btn-outline-dark,
|
|
1335
1379
|
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
border-color: $light,
|
|
1340
|
-
color: $dark,
|
|
1341
|
-
),
|
|
1380
|
+
'%clay-dark-btn-outline-primary': (
|
|
1381
|
+
background-color: transparent,
|
|
1382
|
+
color: $primary-l1,
|
|
1342
1383
|
|
|
1343
|
-
|
|
1344
|
-
active: (
|
|
1384
|
+
hover: (
|
|
1345
1385
|
background-color:
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
color: $dark,
|
|
1386
|
+
unquote('hsl(from #{$primary-l1} h s l / 0.06)'),
|
|
1387
|
+
color: $primary-l2,
|
|
1349
1388
|
),
|
|
1350
1389
|
|
|
1351
|
-
|
|
1352
|
-
background-color: transparent,
|
|
1353
|
-
color: $light,
|
|
1354
|
-
),
|
|
1355
|
-
),
|
|
1356
|
-
$btn-outline-light
|
|
1357
|
-
);
|
|
1358
|
-
|
|
1359
|
-
$btn-outline-dark: ();
|
|
1360
|
-
$btn-outline-dark: map-deep-merge(
|
|
1361
|
-
(
|
|
1362
|
-
border-color: $dark,
|
|
1363
|
-
color: $dark,
|
|
1364
|
-
|
|
1365
|
-
hover: (
|
|
1390
|
+
focus: (
|
|
1366
1391
|
background-color:
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
color: $white,
|
|
1392
|
+
unquote('hsl(from #{$primary-l1} h s l / 0.06)'),
|
|
1393
|
+
color: $primary-l2,
|
|
1370
1394
|
),
|
|
1371
1395
|
|
|
1372
|
-
focus: (),
|
|
1373
1396
|
active: (
|
|
1374
1397
|
background-color:
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
color: $white,
|
|
1398
|
+
unquote('hsl(from #{$primary-l1} h s l / 0.12)'),
|
|
1399
|
+
color: $primary-l2,
|
|
1378
1400
|
),
|
|
1379
1401
|
|
|
1380
1402
|
disabled: (
|
|
1381
1403
|
background-color: transparent,
|
|
1382
|
-
color: $
|
|
1404
|
+
color: $primary-l1,
|
|
1383
1405
|
),
|
|
1384
1406
|
),
|
|
1385
|
-
$btn-outline-dark
|
|
1386
|
-
);
|
|
1387
1407
|
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1408
|
+
'.clay-dark .btn-outline-primary, .clay-dark.btn-outline-primary': (
|
|
1409
|
+
extend: '%clay-dark-btn-outline-primary',
|
|
1410
|
+
),
|
|
1411
|
+
|
|
1412
|
+
'%clay-dark-btn-outline-secondary': (
|
|
1413
|
+
background-color: transparent,
|
|
1414
|
+
color: $secondary-l1,
|
|
1392
1415
|
|
|
1393
1416
|
hover: (
|
|
1394
|
-
|
|
1417
|
+
background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
|
|
1418
|
+
color: $white,
|
|
1395
1419
|
),
|
|
1396
1420
|
|
|
1397
1421
|
focus: (
|
|
1398
|
-
|
|
1422
|
+
background-color: unquote('hsl(from #{$white} h s l / 0.06)'),
|
|
1423
|
+
color: $white,
|
|
1399
1424
|
),
|
|
1400
1425
|
|
|
1401
1426
|
active: (
|
|
1402
|
-
|
|
1427
|
+
background-color: unquote('hsl(from #{$white} h s l / 0.12)'),
|
|
1428
|
+
color: $white,
|
|
1403
1429
|
),
|
|
1404
1430
|
|
|
1405
1431
|
disabled: (
|
|
1406
|
-
border-color: transparent,
|
|
1407
|
-
),
|
|
1408
|
-
),
|
|
1409
|
-
$btn-outline-borderless
|
|
1410
|
-
);
|
|
1411
|
-
|
|
1412
|
-
$btn-outline-palette: ();
|
|
1413
|
-
$btn-outline-palette: map-deep-merge(
|
|
1414
|
-
(
|
|
1415
|
-
primary: $btn-outline-primary,
|
|
1416
|
-
|
|
1417
|
-
secondary: $btn-outline-secondary,
|
|
1418
|
-
|
|
1419
|
-
success: $btn-outline-success,
|
|
1420
|
-
|
|
1421
|
-
info: $btn-outline-info,
|
|
1422
|
-
|
|
1423
|
-
warning: $btn-outline-warning,
|
|
1424
|
-
|
|
1425
|
-
danger: $btn-outline-danger,
|
|
1426
|
-
|
|
1427
|
-
light: $btn-outline-light,
|
|
1428
|
-
|
|
1429
|
-
dark: $btn-outline-dark,
|
|
1430
|
-
|
|
1431
|
-
'%clay-dark-btn-outline-primary': (
|
|
1432
|
-
background-color: transparent,
|
|
1433
|
-
color: $primary-l1,
|
|
1434
|
-
|
|
1435
|
-
hover: (
|
|
1436
|
-
background-color:
|
|
1437
|
-
unquote('hsl(from #{$primary-l1} h s l / 0.06)'),
|
|
1438
|
-
color: $primary-l2,
|
|
1439
|
-
),
|
|
1440
|
-
|
|
1441
|
-
focus: (
|
|
1442
|
-
background-color:
|
|
1443
|
-
unquote('hsl(from #{$primary-l1} h s l / 0.06)'),
|
|
1444
|
-
color: $primary-l2,
|
|
1445
|
-
),
|
|
1446
|
-
|
|
1447
|
-
active: (
|
|
1448
|
-
background-color:
|
|
1449
|
-
unquote('hsl(from #{$primary-l1} h s l / 0.12)'),
|
|
1450
|
-
color: $primary-l2,
|
|
1451
|
-
),
|
|
1452
|
-
|
|
1453
|
-
disabled: (
|
|
1454
|
-
background-color: transparent,
|
|
1455
|
-
color: $primary-l1,
|
|
1456
|
-
),
|
|
1457
|
-
),
|
|
1458
|
-
|
|
1459
|
-
'.clay-dark .btn-outline-primary, .clay-dark.btn-outline-primary': (
|
|
1460
|
-
extend: '%clay-dark-btn-outline-primary',
|
|
1461
|
-
),
|
|
1462
|
-
|
|
1463
|
-
'%clay-dark-btn-outline-secondary': (
|
|
1464
1432
|
background-color: transparent,
|
|
1465
1433
|
color: $secondary-l1,
|
|
1466
|
-
|
|
1467
|
-
hover: (
|
|
1468
|
-
background-color:
|
|
1469
|
-
unquote('hsl(from #{$white} h s l / 0.06)'),
|
|
1470
|
-
color: $white,
|
|
1471
|
-
),
|
|
1472
|
-
|
|
1473
|
-
focus: (
|
|
1474
|
-
background-color:
|
|
1475
|
-
unquote('hsl(from #{$white} h s l / 0.06)'),
|
|
1476
|
-
color: $white,
|
|
1477
|
-
),
|
|
1478
|
-
|
|
1479
|
-
active: (
|
|
1480
|
-
background-color:
|
|
1481
|
-
unquote('hsl(from #{$white} h s l / 0.12)'),
|
|
1482
|
-
color: $white,
|
|
1483
|
-
),
|
|
1484
|
-
|
|
1485
|
-
disabled: (
|
|
1486
|
-
background-color: transparent,
|
|
1487
|
-
color: $secondary-l1,
|
|
1488
|
-
),
|
|
1489
1434
|
),
|
|
1435
|
+
),
|
|
1490
1436
|
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
extend: '%clay-dark-btn-outline-secondary',
|
|
1494
|
-
),
|
|
1437
|
+
'.clay-dark .btn-outline-secondary, .clay-dark.btn-outline-secondary': (
|
|
1438
|
+
extend: '%clay-dark-btn-outline-secondary',
|
|
1495
1439
|
),
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1440
|
+
),
|
|
1441
|
+
$btn-outline-palette
|
|
1442
|
+
);
|