mfbs

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

commit
90b52176f6ffcaee67b980fdda65ed8827f2f5c6
parent
323a87f32b4eddb1c73700a266a6943beb9a19e9
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2017-05-25 08:20
rm :invalid styling

Fields are :invalid in unexpected situations, i.e. when empty.

A better alternative could have the following properties:

- only highlight dirty fields (i.e. fields that have been changed by the
  user)
- have a slight delay to not highlight while the user is typing

Diffstat

M sass/form.scss 4 ----

1 files changed, 0 insertions, 4 deletions


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

@@ -18,10 +18,6 @@ select {
   18    18     background: $color-bg;
   19    19     color: $color-fg;
   20    20 
   21    -1     &:invalid {
   22    -1         border-color: $color-invalid;
   23    -1         color: $color-invalid;
   24    -1     }
   25    21     &:disabled {
   26    22         border-color: $color-border;
   27    23         background: $color-bg-tint;