forked from adopted-ember-addons/ember-sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
55 lines (47 loc) · 844 Bytes
/
app.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.ember-application {
font-size: 32px;
font-family: sans-serif;
}
.ember-application h2 {
font-size: 1em;
}
.ember-application ol {
display: block;
margin: 0;
padding: 0;
list-style: none outside;
}
.ember-application li {
display: block;
position: relative;
background: pink;
margin: 4px 0;
padding: 4px;
}
.ember-application footer {
margin-top: 2em;
font-size: .5em;
}
.sortable-item {
transition: all .125s;
}
.sortable-item.is-dragging {
background: red;
transition-duration: 0s;
z-index: 10;
}
.sortable-item.is-dropping {
background: #f66;
z-index: 10;
}
.sortable-item .handle {
position: absolute;
padding: 0 .5em;
top: 0; right: 0; bottom: 0;
background: rgba(127, 0, 0, .5);
color: pink;
cursor: move;
display: flex;
flex-direction: column;
justify-content: center;
}