mfbs

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

commit
2882de593311f7468e2df4749e49c72feca9036a
parent
060d0a46e69c9aff976a570b0187f4c49398680b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-20 20:53
consistent line-height for inputs and buttons

Diffstat

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

1 files changed, 5 insertions, 1 deletions


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

@@ -7,6 +7,7 @@ label {
    7     7     padding: 0.3em 0.75em;
    8     8     font-family: inherit;
    9     9     font-size: inherit;
   -1    10     line-height: 1.8;
   10    11 }
   11    12 
   12    13 input,
@@ -32,6 +33,10 @@ select {
   32    33     }
   33    34 }
   34    35 
   -1    36 textarea {
   -1    37     line-height: inherit;
   -1    38 }
   -1    39 
   35    40 @mixin button-color($color, $color-contrast, $color-focus) {
   36    41     border-color: $color;
   37    42     background: $color;
@@ -63,7 +68,6 @@ button,
   63    68     text-decoration: none;
   64    69     display: inline-block;
   65    70     cursor: pointer;
   66    -1     line-height: 1.8;
   67    71     text-align: center;
   68    72     border-radius: 0.3em;
   69    73