diff options
Update package.json and select support for input-group
1 files changed, 10 insertions, 0 deletions
| -rw-r--r-- | docs/dist/spectre.css | 10 |
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index 6e93c35..49b844d 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -891,6 +891,12 @@ textarea.form-input { .form-select.is-error:focus { box-shadow: 0 0 0 .2rem rgba(232, 86, 0, .15); } +.form-input:not(:placeholder-shown):invalid { + border-color: #e85600; +} +.form-input:not(:placeholder-shown):invalid:focus { + box-shadow: 0 0 0 .2rem rgba(232, 86, 0, .15); +} .form-checkbox, .form-radio, .form-switch { @@ -1052,18 +1058,21 @@ textarea.form-input { flex: 1 0 auto; } .input-group .form-input:first-child:not(:last-child), +.input-group .form-select:first-child:not(:last-child), .input-group .input-group-addon:first-child:not(:last-child), .input-group .input-group-btn:first-child:not(:last-child) { border-bottom-right-radius: 0; border-top-right-radius: 0; } .input-group .form-input:not(:first-child):not(:last-child), +.input-group .form-select:not(:first-child):not(:last-child), .input-group .input-group-addon:not(:first-child):not(:last-child), .input-group .input-group-btn:not(:first-child):not(:last-child) { border-radius: 0; margin-left: -.1rem; } .input-group .form-input:last-child:not(:first-child), +.input-group .form-select:last-child:not(:first-child), .input-group .input-group-addon:last-child:not(:first-child), .input-group .input-group-btn:last-child:not(:first-child) { border-bottom-left-radius: 0; @@ -1071,6 +1080,7 @@ textarea.form-input { margin-left: -.1rem; } .input-group .form-input:focus, +.input-group .form-select:focus, .input-group .input-group-addon:focus, .input-group .input-group-btn:focus { z-index: 1; |