Skip to content

Commit fe5918b

Browse files
author
Andrei Kraykov
committed
file browser drag and drop style
1 parent 1b24254 commit fe5918b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/css/dragdrop.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.lvl-over {
2+
/* applied to a drop target when a draggable object is over it */
3+
background-color: #3d3d3d;
4+
opacity: .5;
5+
}
6+
.drag-target {
7+
max-width: 200px;
8+
background: #2196F3;
9+
color:#fff;
10+
padding: 10px;
11+
}
12+
.lvl-zone-over {
13+
/* applied to a drop target when a draggable object is over it */
14+
background-color: #66ccff;
15+
opacity: .5;
16+
z-index:9999;
17+
}
18+
19+
.lvl-zone-over:before {
20+
content: "\e198";
21+
position: absolute;
22+
left: 50%;
23+
top: 50%;
24+
transform: translate(-50%, -50%);
25+
z-index: 100;
26+
color: #2196F3;
27+
font-size: 8em;
28+
font-family: 'Glyphicons Halflings';
29+
}

0 commit comments

Comments
 (0)