mfbs

CSS microframework
git clone https://git.ce9e.org/mfbs.git

commit
ff22a528aedd0bf5a1bfd495a7e8adba2fc49290
parent
ef850d3e6a00b8fdc06d4f3cc529ebdf795341d2
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-04-04 20:54
use opacity for disabled buttons

to avoid color mixing

Diffstat

M sass/form.scss 7 ++++---

1 files changed, 4 insertions, 3 deletions


diff --git a/sass/form.scss b/sass/form.scss

@@ -49,9 +49,10 @@ textarea {
   49    49         color: $color-contrast;
   50    50     }
   51    51     &:disabled {
   52    -1         border-color: mix($color, $color-contrast, 50%);
   53    -1         background: mix($color, $color-contrast, 50%);
   54    -1         color: mix($color, $color-contrast, 10%);
   -1    52         border-color: $color;
   -1    53         background: $color;
   -1    54         color: $color-contrast;
   -1    55         opacity: 0.6;
   55    56         cursor: not-allowed;
   56    57     }
   57    58 }