-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmgExternal.css
95 lines (82 loc) · 2.11 KB
/
mgExternal.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
/*** mgExternal ***/
/*
* normalize.css forces the HTML tag to have a scrollbar. In onjunction with
* mgExternal's modal scrolling, it makes the page jump at the top everytime
* a modal window is opened. With this fix we leave the HTML tag alone and set
* the exact same property but in the BODY tag (which works as expected).
*/
html { overflow-y: visible !important; }
body { overflow-y: scroll; }
/* Style: default modal */
.mgE-modal .mgExternal-content {
background-color: #fff;
border: 1px solid #999;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
overflow: auto;
position: relative;
}
/* Style: default tooltip */
.mgE-tooltip .mgExternal-content {
background-color: #fff;
border: 1px solid #999;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.mgE-tooltip .mgExternal-arrow-shadow {
border-color: #888;
}
/* Style: tipsy */
.mgE-tipsy .mgExternal-content {
background-color: #333;
border: 0; /* `none` returns `medium` as width in IE, but we expect a number */
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
color: #fff;
font-size: 11px;
padding: 8px 10px;
}
/* Style: options menu */
.mgE-options .mgExternal-content {
margin: -1px 0;
max-height: 360px;
min-width: 130px;
overflow: auto;
padding: 10px 0;
}
.mgE-options ul {
margin: 0;
}
.mgE-options ul + ul {
border-top: 1px solid #eee;
margin-top: 8px;
padding-top: 8px;
}
.mgE-options li {
list-style: none;
}
.mgE-options a {
color: #333;
display: block;
max-width: 180px;
padding: 6px 60px 6px 30px;
text-decoration: none;
}
.mgE-options a:hover,
.mgE-options li.selected a {
background-color: #eee;
color: #333;
text-decoration: none;
}