forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.css
108 lines (92 loc) · 2.09 KB
/
popup.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
body {
margin-left: 1em;
margin-top: 0;
margin-right: 1em;
margin-bottom: 0;
min-width: 20em;
}
/* Don't wrap text for important stuff. */
h1, h2, h3, .rule {
white-space: nowrap;
}
/* Hide rules & options if the extension is off. */
.disabled #RuleManagement, .disabled #HttpNowhere {
display: none;
}
/* Initially hide section (until rules get added). */
section.rules {
position: fixed;
visibility: hidden;
}
/* Underline rules that have notes. */
.rule [title] {
border-bottom: 1px dotted;
cursor: help;
}
/* Favicons */
.rule img {
width: 16px;
height: 16px;
margin-left: 0.6em;
vertical-align: bottom;
}
/*** Everything below is "reverse-engineered" from Chrome's Settings page. ***/
/* Override a strange pixel offset in widgets.css. */
.rule input[type="checkbox"] {
bottom: 1px;
}
/* Override display attribute of text labels in widgets.css. */
.rule span {
display: inline !important;
}
body {
/* Fonts Chrome specifies for each OS: */
/* Linux: 'DejaVu Sans', Arial, sans-serif */
/* Mac: 'Lucida Grande', sans-serif */
/* Windows: 'Segoe UI', Tahoma, sans-serif */
font-family: 'Lucida Grande', 'Segoe UI', Tahoma, 'DejaVu Sans', Arial, sans-serif;
font-size: 75%;
color: #303942;
padding-top: 55px;
}
header {
background-image: -webkit-linear-gradient(white, white 40%, rgba(255, 255, 255, 0.92));
left: 1em;
position: fixed;
right: 1em;
top: 0;
z-index: 3;
}
header > h1 {
margin: 0;
padding: 21px 0 13px;
}
/* Create a border under the h1 (but before anything that gets appended
* to the end of the header). */
header > h1::after {
background-color: #eee;
content: ' ';
display: block;
height: 1px;
position: relative;
top: 13px;
}
section {
-webkit-padding-start: 18px;
-webkit-padding-end: 18px;
margin-bottom: 24px;
margin-top: 8px;
}
section > h3 {
-webkit-margin-start: -18px;
}
footer {
border-top: 1px solid #EEE;
margin-top: 16px;
padding: 8px 0;
}
/* By default the "Add a rule" link is hidden. It's shown on HTTPS sites for
* which there is no rule. */
#add-rule-link {
display: none;
}