Skip to content

Commit 06d690c

Browse files
committed
add a drag handle
1 parent 142ea29 commit 06d690c

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

Desktop/html/css/jasp.css

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ h6, .h6-toolbar .jasp-menu {
6868
}
6969

7070
.jasp-display-item-flat {
71-
padding-left: 0;
71+
padding-left: 0.6em;
7272
}
7373

7474
.jasp-table-primitive {
@@ -660,7 +660,28 @@ iframe.ql-video {
660660
.ui-state-highlight,
661661
.ui-widget-content .ui-state-highlight,
662662
.ui-widget-header .ui-state-highlight {
663-
border: 1px solid #97C4F2;
663+
border: 1px solid #97C4F2;
664664
background: #DCF1FB;
665665
color: #97C4F2;
666666
}
667+
668+
.jasp-analysis > .jasp-display-item {
669+
position: relative;
670+
}
671+
672+
.jasp-analysis > .jasp-display-item:hover::before {
673+
content: "";
674+
position: absolute;
675+
left: -7px;
676+
top: 50%;
677+
transform: translateY(-50%);
678+
width: 24px;
679+
height: 24px;
680+
background: url("../img/jasp-drag-handle.svg") no-repeat left center;
681+
background-size: contain;
682+
cursor: move;
683+
}
684+
685+
.jasp-analysis > .jasp-display-item:hover {
686+
box-shadow: -2px 0 0 0 rgba(151, 196, 242, 0.7);
687+
}
Lines changed: 19 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)