diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2014-08-12 15:27:06 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-08-15 13:29:54 +0000 |
commit | 56c98c7bf18a2aa2b5e86db0f46b1cdb3f900822 (patch) | |
tree | ed92e84d19f050ff1360ca31f14e9239c7a750f7 /WebContent/VAADIN/themes | |
parent | 9f1f5c5638757f7b727e300c7f437fd805914c54 (diff) | |
download | vaadin-framework-56c98c7bf18a2aa2b5e86db0f46b1cdb3f900822.tar.gz vaadin-framework-56c98c7bf18a2aa2b5e86db0f46b1cdb3f900822.zip |
Make read only textfield visually different from normal text fields
If the background color of the app is the same as the textfield
background color, make the textfield background color slightly darker.
Change-Id: I4870c3e396cdd8c586bfd3f0e812cf1f5ebab1eb
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_textfield.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_textfield.scss b/WebContent/VAADIN/themes/valo/components/_textfield.scss index dc516048e7..0b4fa50fb2 100644 --- a/WebContent/VAADIN/themes/valo/components/_textfield.scss +++ b/WebContent/VAADIN/themes/valo/components/_textfield.scss @@ -1,5 +1,5 @@ $v-textfield-background-color: if(is-dark-color($v-app-background-color), darken($v-app-background-color, 4%), lighten($v-app-background-color, 8%)) !default; -$v-textfield-background-color--readonly: $v-app-background-color; +$v-textfield-background-color--readonly: darkest-color($v-app-background-color, darken($v-textfield-background-color, 2%)); $v-textfield-bevel: inset 0 1px 0 v-shade !default; $v-textfield-shadow: 0 1px 0 (v-tint 2) !default; $v-textfield-font-weight: 400 !default; |