-
-
Notifications
You must be signed in to change notification settings - Fork 129
/
menu.css
81 lines (67 loc) · 1.58 KB
/
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
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
/*
* Copyright (c) Jupyter Development Team.
* Distributed under the terms of the Modified BSD License.
*/
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
.lm-Menu {
padding: 3px 0px;
background: white;
color: rgba(0, 0, 0, 0.87);
border: 1px solid #c0c0c0;
font:
12px Helvetica,
Arial,
sans-serif;
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
}
.lm-Menu-item.lm-mod-active {
background: #e5e5e5;
}
.lm-Menu-item.lm-mod-disabled {
color: rgba(0, 0, 0, 0.25);
}
.lm-Menu-itemIcon {
width: 21px;
padding: 4px 2px;
}
.lm-Menu-itemLabel {
padding: 4px 35px 4px 2px;
}
.lm-Menu-itemMnemonic {
text-decoration: underline;
}
.lm-Menu-itemShortcut {
padding: 4px 0px;
}
.lm-Menu-itemSubmenuIcon {
width: 16px;
padding: 4px 0px;
}
.lm-Menu-item[data-type='separator'] > div {
padding: 0;
height: 9px;
}
.lm-Menu-item[data-type='separator'] > div::after {
content: '';
display: block;
position: relative;
top: 4px;
border-top: 1px solid #dddddd;
}
.lm-Menu-itemIcon::before,
.lm-Menu-itemSubmenuIcon::before {
font-family: FontAwesome;
}
.lm-Menu-item.lm-mod-toggled > .lm-Menu-itemIcon::before {
content: '\f00c';
}
.lm-Menu-item[data-type='submenu'] > .lm-Menu-itemSubmenuIcon::before {
content: '\f0da';
}