-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperson-status.styl
70 lines (58 loc) · 1.09 KB
/
person-status.styl
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
@import('statuses')
.person-status {
position: relative;
font-family: verdana;
font-size: 12px;
font-weight: normal;
.indicator.inactive,
&.inactive > .indicator {
background-color: inactive
}
.indicator.active,
&.active > .indicator {
background-color: active;
}
.indicator.clean,
&.clean > .indicator {
background-color: clean;
}
.indicator.complete,
&.complete > .indicator {
background-color: complete;
}
.indicator.hard,
&.hard > .indicator {
background-color: hard;
}
.indicator {
display: inline-block;
width: 15px;
height: 15px;
border-radius: 5px;
margin-right: 5px;
cursor: pointer;
border: 1px solid #777;
pointer-events: all;
}
.dropdown {
position: absolute;
top: 15px;
left: 0;
display: none;
width: 95px;
border: 1px solid #aaa;
border-radius: 5px;
z-index: 100;
background-color: white;
.item {
padding: 5px;
cursor: pointer;
&:hover {
background-color: #eef;
}
}
}
&.open .dropdown {
display: block;
}
}