pacem-less 0.60.2-abel → 0.60.2-weber
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/pacem/ui/dark/button.less +21 -0
- package/package.json +1 -1
|
@@ -178,6 +178,19 @@ a.@{PCSS}-button,
|
|
|
178
178
|
|
|
179
179
|
.ButtonColorize(@color_button_back, @color_button_fore);
|
|
180
180
|
|
|
181
|
+
.IconGlyphColorize(@color) {
|
|
182
|
+
&[data-icon-glyph]::before {
|
|
183
|
+
color: ~"var(--@{PCSS}-color-@{color})";
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&:focus,
|
|
187
|
+
&:hover {
|
|
188
|
+
&[data-icon-glyph]::before {
|
|
189
|
+
color: ~"var(--@{PCSS}-color-@{color}-hover)";
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
181
194
|
&.button-invert {
|
|
182
195
|
.ButtonColorize(invert);
|
|
183
196
|
}
|
|
@@ -191,6 +204,10 @@ a.@{PCSS}-button,
|
|
|
191
204
|
&.button-@{value}{
|
|
192
205
|
.ButtonColorize(@value);
|
|
193
206
|
}
|
|
207
|
+
|
|
208
|
+
&.icon-glyph-@{value}{
|
|
209
|
+
.IconGlyphColorize(@value);
|
|
210
|
+
}
|
|
194
211
|
/*&.button-@{value}-container{
|
|
195
212
|
.ButtonColorize(~"@{value}-container");
|
|
196
213
|
}*/
|
|
@@ -203,6 +220,10 @@ a.@{PCSS}-button,
|
|
|
203
220
|
&.button-@{value}{
|
|
204
221
|
.ButtonColorize(@value);
|
|
205
222
|
}
|
|
223
|
+
|
|
224
|
+
&.icon-glyph-@{value}{
|
|
225
|
+
.IconGlyphColorize(@value);
|
|
226
|
+
}
|
|
206
227
|
/*&.button-@{value}-container{
|
|
207
228
|
.ButtonColorize(~"@{value}-container");
|
|
208
229
|
}*/
|
package/package.json
CHANGED