Fix form validation flash message color and input borders (#9235)

* Fix form validation flash message color and input borders

* Fix typo
This commit is contained in:
Eugen Rochko
2018-11-08 21:06:14 +01:00
committed by GitHub
父節點 7f4adfaf77
當前提交 ccbdf689e8
共有 2 個文件被更改,包括 6 次插入3 次删除

查看文件

@ -330,9 +330,12 @@ code {
} }
input[type=text], input[type=text],
input[type=number],
input[type=email], input[type=email],
input[type=password] { input[type=password],
border-bottom-color: $valid-value-color; textarea,
select {
border-color: lighten($error-red, 12%);
} }
.error { .error {

查看文件

@ -1,3 +1,3 @@
- if object.errors.any? - if object.errors.any?
.flash-message#error_explanation .flash-message.alert#error_explanation
%strong= t('generic.validation_errors', count: object.errors.count) %strong= t('generic.validation_errors', count: object.errors.count)