summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_textfield.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-08-19 20:07:04 +0300
committerArtur Signell <artur@vaadin.com>2014-08-20 20:08:52 +0300
commit506bb029158ac9adcec0bff3f8d1354f2eaaf8ed (patch)
tree9038961637148bca8fe593b7461cff8542009fc3 /WebContent/VAADIN/themes/valo/components/_textfield.scss
parent298d794533ec0a0e0fed807178abd26268c67757 (diff)
downloadvaadin-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.scss1
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;