-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.css
148 lines (137 loc) · 3.29 KB
/
index.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
html,
body {
margin: 0;
padding: 0;
background-color: black;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
#app {
}
article {
background-color: white;
width: 100%;
height: 100%;
overflow: auto;
}
.lm_popin {
background-color: black;
}
.react-contextmenu-wrapper {
width: 100%;
height: 100%;
}
.react-contextmenu--visible {
z-index: 21;
}
/* Fancy scrollbars. https://codepen.io/devstreak/pen/dMYgeO */
::-webkit-scrollbar
{
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 8px;
}
::-webkit-scrollbar-track:hover
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 8px;
background-color: rgba(255, 255, 255, .15);
}
::-webkit-scrollbar-thumb
{
border-radius: 8px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #555;
}
::-webkit-scrollbar-thumb:hover
{
border-radius: 8px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #AAA;
}
/* Icon hack */
.octicon.valign-middle {
vertical-align: middle;
}
/* TODO: Put this into the contextmenu component. */
.react-contextmenu {
min-width: 160px;
padding: 0;
margin: 2px 0 0;
font-size: 16px;
color: #373a3c;
text-align: left;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
outline: none;
opacity: 0;
pointer-events: none;
transition: opacity 250ms ease !important;
}
.react-contextmenu.react-contextmenu--visible {
opacity: 1;
pointer-events: auto;
}
.react-contextmenu-item {
padding: 3px 20px;
font-weight: 400;
line-height: 1.5;
color: #373a3c;
text-align: inherit;
white-space: nowrap;
background: 0 0;
border: 0;
border-bottom: 1px solid rgba(0,0,0,.15);
cursor: pointer;
}
.react-contextmenu-item:last-child {
border-bottom: none;
}
.react-contextmenu-item .icon {
position: absolute;
right: 0;
}
.react-contextmenu-item.react-contextmenu-item--active,
.react-contextmenu-item.react-contextmenu-item--selected {
background-color: #DDD;
outline: solid 1px #20a0ff;
text-decoration: none;
border-bottom-color: transparent;
}
.react-contextmenu-item.react-contextmenu-item--disabled,
.react-contextmenu-item.react-contextmenu-item--disabled:hover {
color: #878a8c;
background-color: transparent;
border-color: rgba(0,0,0,.15);
text-decoration: line-through;
outline: none;
}
.react-contextmenu-item--divider {
margin-bottom: 3px;
padding: 2px 0;
border-bottom: 1px solid rgba(0,0,0,.15);
cursor: inherit;
}
.react-contextmenu-item--divider:hover {
background-color: transparent;
border-color: rgba(0,0,0,.15);
}
.react-contextmenu-item.react-contextmenu-submenu {
padding: 0;
border-bottom: none;
}
.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item:after {
content: "\0025B6"; /*"◀ ▶ ▲ ▼";*/
font-family: "Arial", "Liberation Sans", sans-serif; /* Needed to avoid Segoe UI Emoji used by navigation tree */
display: inline-block;
position: absolute;
right: 7px;
}
.example-multiple-targets::after {
content: attr(data-count);
display: block;
}