diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2014-08-19 20:07:04 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-20 14:20:33 +0000 |
commit | 961782b78e5f0379a535ecdaa39d7c1939648afb (patch) | |
tree | 286d6d9be2f8f9613dbbbb2dea221d24b35c8c0d /WebContent/VAADIN/themes/valo/components/_label.scss | |
parent | 1856423be3ad100679b9ac38656dd610c0061a76 (diff) | |
download | vaadin-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.scss | 4 |
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; } |