forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-context-menu.css
46 lines (43 loc) · 975 Bytes
/
react-context-menu.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
.react-context-menu {
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
font-size: 16px;
color: #373a3c;
text-align: left;
background-color: #fff;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
border-radius: .25rem;
outline: none;
}
.react-context-menu-link {
display: inline-block;
width: 100%;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.5;
color: #373a3c;
text-align: inherit;
white-space: nowrap;
background: 0 0;
border: 0;
}
.react-context-menu-link.active,
.react-context-menu-link:hover {
color: #fff;
background-color: #0275d8;
border-color: #0275d8;
text-decoration: none;
}
.react-context-menu-item.submenu > a {
padding-right: 27px;
}
.react-context-menu-item.submenu > a:after {
content: "▶";
display: inline-block;
position: absolute;
right: 7px;
}