assets added css js
This commit is contained in:
26
Asset/css/tweak-drag.css
Normal file
26
Asset/css/tweak-drag.css
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* TweakDrag -- board drag/touch and column-gap tweaks.
|
||||
*
|
||||
* The wider column gap is applied conditionally from Template/layout/variable.php (only
|
||||
* when the "Widen the gap between columns" setting is on), using border-spacing with the
|
||||
* --td-column-gap value, so it is not in this static stylesheet.
|
||||
*
|
||||
* Below: click-and-drag horizontal scrolling (added by Asset/js/drag-scroll.js when the
|
||||
* "Drag the board background to scroll" setting is enabled). The .td-drag-scroll class is
|
||||
* set on #board-container by the script, so these rules are inert when disabled. A grab
|
||||
* cursor advertises the empty background; cards keep the normal cursor since pressing them
|
||||
* does a card drag, not a pan.
|
||||
*/
|
||||
#board-container.td-drag-scroll {
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
#board-container.td-drag-scroll .task-board {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.td-grabbing,
|
||||
.td-grabbing * {
|
||||
cursor: grabbing !important;
|
||||
user-select: none !important;
|
||||
}
|
||||
Reference in New Issue
Block a user