summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_label.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 14:20:33 +0000
commit961782b78e5f0379a535ecdaa39d7c1939648afb (patch)
tree286d6d9be2f8f9613dbbbb2dea221d24b35c8c0d /WebContent/VAADIN/themes/valo/components/_label.scss
parent1856423be3ad100679b9ac38656dd610c0061a76 (diff)
downloadvaadin-framework-961782b78e5f0379a535ecdaa39d7c1939648afb.tar.gz
vaadin-framework-961782b78e5f0379a535ecdaa39d7c1939648afb.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/_label.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_label.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_label.scss b/WebContent/VAADIN/themes/valo/components/_label.scss
index e61aa4ec11..655ef6e1cc 100644
--- a/WebContent/VAADIN/themes/valo/components/_label.scss
+++ b/WebContent/VAADIN/themes/valo/components/_label.scss
@@ -21,6 +21,10 @@ $v-letter-spacing--h4: 0 !default;
@mixin valo-label ($primary-stylename: v-label, $include-additional-styles: contains($v-included-additional-styles, label)) {
+ .#{$primary-stylename} {
+ @include user-select(text);
+ }
+
.#{$primary-stylename}-undef-w {
white-space: nowrap;
}