diff options
Merge pull request #354 from picturepan2/0.5.0 v0.5.0
0.5.0
1 files changed, 22 insertions, 9 deletions
| -rw-r--r-- | docs/dist/spectre.css | 31 |
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index e9ea4b7..53b9e66 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -1,4 +1,4 @@ -/*! Spectre.css v0.4.7 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css v0.5.0 | MIT License | github.com/picturepan2/spectre */ /* Manually forked from Normalize.css */ /* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /** 1. Change the default font family in all browsers (opinionated). 2. Correct the line height in all browsers. 3. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS. */ @@ -801,10 +801,12 @@ legend { } .form-label.label-sm { + font-size: .7rem; padding: .2rem 0; } .form-label.label-lg { + font-size: .9rem; padding: .5rem 0; } @@ -976,7 +978,9 @@ textarea.form-input { .form-switch { display: inline-block; line-height: 1rem; - padding: .2rem 1.2rem; + margin: .2rem 0; + min-height: 1.2rem; + padding: .2rem .4rem .2rem 1.2rem; position: relative; } @@ -1015,6 +1019,20 @@ textarea.form-input { transition: all .2s ease; } +.form-checkbox.input-sm, +.form-radio.input-sm, +.form-switch.input-sm { + font-size: .7rem; + margin: 0; +} + +.form-checkbox.input-lg, +.form-radio.input-lg, +.form-switch.input-lg { + font-size: .9rem; + margin: .3rem 0; +} + .form-checkbox .form-icon, .form-radio .form-icon { background: #fff; @@ -1128,6 +1146,7 @@ textarea.form-input { border-radius: .1rem; line-height: 1rem; padding: .35rem .4rem; + white-space: nowrap; } .input-group .input-group-addon.addon-sm { @@ -1294,12 +1313,6 @@ input.disabled + .form-icon { display: -ms-flexbox; } -.form-horizontal .form-checkbox, -.form-horizontal .form-radio, -.form-horizontal .form-switch { - margin: .2rem 0; -} - .label { background: #f0f1f4; border-radius: .1rem; @@ -1914,7 +1927,7 @@ video.video-responsive::before { -ms-flex-align: center; } -.navbar .navbar-section:last-child { +.navbar .navbar-section:not(:first-child):last-child { -ms-flex-pack: end; justify-content: flex-end; } |