diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2014-08-19 20:07:04 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-20 20:08:52 +0300 |
commit | 506bb029158ac9adcec0bff3f8d1354f2eaaf8ed (patch) | |
tree | 9038961637148bca8fe593b7461cff8542009fc3 /WebContent/VAADIN/themes/valo/components/_textfield.scss | |
parent | 298d794533ec0a0e0fed807178abd26268c67757 (diff) | |
download | vaadin-framework-506bb029158ac9adcec0bff3f8d1354f2eaaf8ed.tar.gz vaadin-framework-506bb029158ac9adcec0bff3f8d1354f2eaaf8ed.zip |
Prevent user text selection by default (Valo)
Re-enable for labels, captions, tables and text inputs.
Removed all unnecessary user-select: none; declarations since the top
level declaration will affect the whole dom tree.
Change-Id: I2e74b749340c8649d3b0778d62acafecf878685d
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_textfield.scss')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_textfield.scss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_textfield.scss b/WebContent/VAADIN/themes/valo/components/_textfield.scss index 85e2487bc1..f0b0ec2532 100644 --- a/WebContent/VAADIN/themes/valo/components/_textfield.scss +++ b/WebContent/VAADIN/themes/valo/components/_textfield.scss @@ -95,6 +95,7 @@ $v-textfield-disabled-opacity: $v-disabled-opacity !default; @if contains($states, normal) { @include appearance(none); + @include user-select(text); margin: 0; font: inherit; font-size: $font-size; |