@navikt/ds-css 0.12.11-next.0 → 0.12.11
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/button.css +17 -2
- package/dist/index.css +54 -187
- package/form/form.css +1 -3
- package/form/search-field.css +25 -153
- package/form/text-field.css +9 -2
- package/loader.css +0 -23
- package/package.json +2 -2
package/button.css
CHANGED
|
@@ -74,6 +74,10 @@
|
|
|
74
74
|
--navds-button-color-danger-border-focus: var(
|
|
75
75
|
--navds-semantic-color-component-background-light
|
|
76
76
|
);
|
|
77
|
+
|
|
78
|
+
/* Loader */
|
|
79
|
+
--navds-loader-color-on-button-background: rgba(255, 255, 255, 0.3);
|
|
80
|
+
--navds-loader-color-on-button-foreground: currentColor;
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
.navds-button {
|
|
@@ -255,7 +259,18 @@
|
|
|
255
259
|
**************************/
|
|
256
260
|
|
|
257
261
|
.navds-button:disabled {
|
|
258
|
-
opacity: 0.3;
|
|
259
262
|
cursor: not-allowed;
|
|
260
|
-
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.navds-button:disabled:not(.navds-button--loading) {
|
|
266
|
+
opacity: 0.3;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.navds-button .navds-loader .navds-loader__foreground {
|
|
270
|
+
stroke: var(--navds-loader-color-on-button-foreground);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.navds-button--primary .navds-loader .navds-loader__background,
|
|
274
|
+
.navds-button--danger .navds-loader .navds-loader__background {
|
|
275
|
+
stroke: var(--navds-loader-color-on-button-background);
|
|
261
276
|
}
|