1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-03 02:53:31 +02:00

feat(form): add "is-disabled" class with form

This commit is contained in:
markcytian
2021-05-11 13:20:30 +08:00
parent 444faf05d1
commit c4aec38674
4 changed files with 78 additions and 1 deletions

View File

@@ -28,6 +28,12 @@
&.is-error {
@include border-style(map-get($error-colors, "normal"), map-get($error-colors, "hover"));
}
&.is-disabled {
@include border-style(map-get($disabled-colors, "normal"), map-get($disabled-colors, "shadow"));
color: map-get($disabled-colors, "normal");
cursor: not-allowed;
}
}
.nes-field {