diff options
Cleanup code and add input readonly style
1 files changed, 7 insertions, 1 deletions
| -rw-r--r-- | src/forms.less | 8 |
diff --git a/src/forms.less b/src/forms.less index fe08dc7..2255574 100644 --- a/src/forms.less +++ b/src/forms.less @@ -362,7 +362,7 @@ } } -// Form disabled +// Form disabled and readonly .form-input, .form-select { &:disabled, @@ -373,6 +373,12 @@ } } +.form-input { + &[readonly] { + background-color: @bg-color; + } +} + input { &:disabled, &.disabled { |