aboutsummaryrefslogtreecommitdiffstats
path: root/themes/src
diff options
context:
space:
mode:
Diffstat (limited to 'themes/src')
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/shared/_global.scss2
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss6
2 files changed, 8 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/shared/_global.scss b/themes/src/main/themes/VAADIN/themes/valo/shared/_global.scss
index 3c4761ad32..441e073dcf 100644
--- a/themes/src/main/themes/VAADIN/themes/valo/shared/_global.scss
+++ b/themes/src/main/themes/VAADIN/themes/valo/shared/_global.scss
@@ -345,6 +345,8 @@ $valo-shared-pathPrefix: null;
@include valo-drag-element;
+ @include valo-draggable;
+
@include valo-tooltip;
@include valo-contextmenu;
diff --git a/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss b/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss
index 1c6f0c6fbc..5b44e94cac 100644
--- a/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss
+++ b/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss
@@ -275,6 +275,12 @@ $v-selection-item-selection-color: $v-selection-color !default;
}
}
+@mixin valo-draggable {
+ .v-draggable {
+ user-select: none !important;
+ }
+}
+
/**
* Outputs the styles for generic dragging ghost elements.
*