diff options
Diffstat (limited to 'app/assets/stylesheets/framework/sortable.scss')
-rw-r--r-- | app/assets/stylesheets/framework/sortable.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/sortable.scss b/app/assets/stylesheets/framework/sortable.scss index 8c070200135..25868061d04 100644 --- a/app/assets/stylesheets/framework/sortable.scss +++ b/app/assets/stylesheets/framework/sortable.scss @@ -90,3 +90,21 @@ padding: 0; } } + +.is-dragging { + // Important because plugin sets inline CSS + opacity: 1 !important; + + * { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + // !important to make sure no style can override this when dragging + cursor: grabbing !important; + } + + &.no-drop * { + cursor: no-drop !important; + } +} |