pacem-less 0.40.5-bithynia → 0.40.5-byblos
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/pacem.less +4 -0
- package/pacem/theme-dark.less +3 -1
- package/pacem/theme-light.less +1 -0
- package/pacem/ui/dark/button.less +2 -2
- package/package.json +1 -1
package/pacem/pacem.less
CHANGED
|
@@ -287,6 +287,10 @@ each(@_colors, {
|
|
|
287
287
|
|
|
288
288
|
});
|
|
289
289
|
|
|
290
|
+
--@{PCSS}-color-disabled-button: @color_button_back_disabled;
|
|
291
|
+
.ChannelizeColor(disabled-button, @color_button_back_disabled);
|
|
292
|
+
--@{PCSS}-color-disabled-button-inverse: @color_button_fore_disabled;
|
|
293
|
+
.ChannelizeColor(disabled-button-inverse, @color_button_fore_disabled);
|
|
290
294
|
--@{PCSS}-color-border: @color_border;
|
|
291
295
|
// spacing + sizing
|
|
292
296
|
--@{PCSS}-grid-cell: @grid_cell;
|
package/pacem/theme-dark.less
CHANGED
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
@color_primary_inv: @color_light;
|
|
173
173
|
@color_secondary: #5e7881;
|
|
174
174
|
@color_secondary_inv: #fff;
|
|
175
|
-
@color_disabled: @color_watermark;
|
|
175
|
+
@color_disabled: #6f717d;// @color_watermark;
|
|
176
176
|
@color_disabled_inv: @color_default;
|
|
177
177
|
@color_title: @color_accent;
|
|
178
178
|
@color_title_inv: transparent;
|
|
@@ -211,6 +211,8 @@
|
|
|
211
211
|
@color_button_border_dark: fade(@color_dark, 0);
|
|
212
212
|
@color_button_back: @color_lightblue;
|
|
213
213
|
@color_button_fore: @color_light;
|
|
214
|
+
@color_button_fore_disabled: @color_button_fore; // then disabled opacity will be applied: 0.4
|
|
215
|
+
@color_button_back_disabled: @color_button_back;
|
|
214
216
|
@button_hover_percentage: 5;
|
|
215
217
|
@button_fontfamily: @font_std;
|
|
216
218
|
@button_fontsize: 1.1rem * @font_rem_factor;
|
package/pacem/theme-light.less
CHANGED
|
@@ -422,8 +422,8 @@ input.@{PCSS}-button[disabled]:hover {
|
|
|
422
422
|
@{P}-button:focus {
|
|
423
423
|
// color: inherit;
|
|
424
424
|
&.@{PCSS}-disabled {
|
|
425
|
-
@_fore: ~"var(--@{PCSS}-color-disabled-
|
|
426
|
-
@_back: ~"var(--@{PCSS}-color-disabled-
|
|
425
|
+
@_fore: ~"var(--@{PCSS}-color-disabled-button-inverse-rgb)";
|
|
426
|
+
@_back: ~"var(--@{PCSS}-color-disabled-button)";
|
|
427
427
|
//color: fade(@color_button_fore, 30);
|
|
428
428
|
//background-color: @color_button_back;
|
|
429
429
|
color: rgba(@_fore, .4);
|
package/package.json
CHANGED