-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathselectionmenu.css
52 lines (45 loc) · 977 Bytes
/
selectionmenu.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
#selection-menu {
position: absolute;
margin-left: -25px;
background: #f8f8f8;
border: 1px solid #555;
font-size: 13px;
-moz-box-shadow: 1px 1px 4px #aaa;
-webkit-box-shadow: 1px 1px 4px #aaa;
box-shadow: 1px 1px 4px #aaa;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 4px;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
#selection-menu::selection {
/* Opera fix - Opera sometimes selects the menu text */
background: transparent;
}
#selection-menu:after {
content: "\00a0";
display: block;
position: absolute;
bottom: -12px;
left: 10px;
width: 0;
height: 0;
overflow: hidden;
border-width: 6px;
border-style: solid;
border-color: #555 transparent transparent;
}
#selection-menu a {
display: block;
border-bottom: 1px solid #aaa;
padding: 0 4px;
color: #111;
text-decoration: none;
font: 12px/1.4 arial, sans-serif;
cursor: pointer;
}
#selection-menu a:last-child {
border-bottom: 0;
}