forked from ReDEnergy/SessionSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrash-can.css
More file actions
105 lines (81 loc) · 1.61 KB
/
Copy pathtrash-can.css
File metadata and controls
105 lines (81 loc) · 1.61 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**
* Trash-can
*/
#session-sync .trash-can {
width: 8em;
height: 8em;
background-image: url("images/trash-can.png");
background-position: bottom 1.5em right 1.5em;
background-repeat: no-repeat;
background-size: 50%;
background-color: #FFF;
border-top-left-radius: 8em;
font-size: 12px;
border: 1px solid #CCC;
border-bottom: none;
border-right: none;
box-shadow: 0 0 5px 0 #FFF;
opacity: 0;
position: absolute;
bottom: 1px;
right: 0;
z-index: 100;
box-sizing: border-box;
transition: all 0.2s ease-out;
}
#session-sync[show="true"] .trash-can {
display: block;
}
#session-sync[show="false"] .trash-can {
display: none;
}
#session-sync .trash-can[droppable="true"] {
opacity: 1 !important;
}
#session-sync .trash-can[action="enter"] {
opacity: 1;
cursor: pointer;
}
#session-sync .trash-can:not([items="0"]) {
opacity: 1;
}
#session-sync .trash-can:hover {
cursor: pointer;
font-size: 16px;
opacity: 1;
}
#session-sync .count {
width: 2em;
height: 2em;
background: #E54828;
text-align: center;
line-height: 1.9em;
color: #FFF;
border-radius: 100%;
opacity: 1;
position: absolute;
top: 3.7em;
left: 1.75em;
z-index: 1;
box-sizing: border-box;
transition: background 0.5s ease-out;
}
#session-sync .trash-can[items="0"] .count {
background: #1AB61A;
}
#session-sync .trash-can[items="0"] .dismiss {
display: none;
}
#session-sync .trash-can .dismiss {
display: block;
right: 0.5em;
}
#session-sync .trash-can[dismiss="true"] {
opacity: 0;
}
#session-sync .trash-can[dismiss="true"] .dismiss {
display: none;
}
#session-sync .trash-can[dismiss="true"]:hover {
opacity: 1;
}