-
Notifications
You must be signed in to change notification settings - Fork 102
/
contextMenu.css
69 lines (69 loc) · 1.31 KB
/
contextMenu.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
*contextMenu.js v 1.4.0
*Author: Sudhanshu Yadav
*s-yadav.github.com
*Copyright (c) 2013 Sudhanshu Yadav.
*Dual licensed under the MIT and GPL licenses
*/
/*Context menu css */
.iw-contextMenu {
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
border: 1px solid #E6E6E6;
display: none;
z-index: 1000;
}
.iw-cm-menu {
background: #F4F4F4;
color: #333;
margin: 0px;
padding: 0px;
}
.iw-cm-menu li {
list-style: none;
padding: 3px;
padding-left: 30px;
padding-right: 20px;
border-bottom: 1px solid #CCC;
cursor: pointer;
position: relative;
}
.iw-mOverlay {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background: #FFF;
opacity: .5;
}
.iw-contextMenu li.iw-mDisable {
opacity: .3;
}
.iw-mSelected {
background-color: #003366;
color: #F2F2F2;
}
.iw-cm-arrow-right {
width: 0;
height: 0;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #333333;
position: absolute;
right: 3px;
top: 50%;
margin-top: -3px;
}
.iw-mSelected > .iw-cm-arrow-right {
border-left: 5px solid #FFF;
}
.iw-mIcon {
width: 20px;
height: 20px;
left: 0px;
top: 3px;
position: absolute;
}
/*context menu css end */