Skip to content

Commit 94c5d11

Browse files
committed
add a drag handle
1 parent 16303c6 commit 94c5d11

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

Desktop/html/css/jasp.css

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,31 @@ h6, .h6-toolbar .jasp-menu {
6868
}
6969

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

74+
.jasp-analysis > .jasp-display-item {
75+
position: relative;
76+
}
77+
78+
.jasp-analysis > .jasp-display-item:hover::before {
79+
content: "";
80+
position: absolute;
81+
left: -7px;
82+
top: 50%;
83+
transform: translateY(-50%);
84+
width: 24px;
85+
height: 24px;
86+
background: url("../img/jasp-drag-handle.svg") no-repeat left center;
87+
background-size: contain;
88+
cursor: move;
89+
}
90+
91+
.jasp-analysis > .jasp-display-item:hover {
92+
box-shadow: -2px 0 0 0 rgba(151, 196, 242, 0.7);
93+
}
94+
95+
7496
.jasp-table-primitive {
7597
padding-left: 0.6em ;
7698
}
Lines changed: 19 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)