forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
132 lines (112 loc) · 2.37 KB
/
popup.css
File metadata and controls
132 lines (112 loc) · 2.37 KB
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
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;
}
.rule{
height: 25px;
}
.rule label{
padding: 0px;
max-width: 93%;
overflow: hidden;
}
/* Underline rules that have notes. */
.rule [title] {
border-bottom: 1px dotted;
cursor: help;
}
/* Favicons */
.rule img.favicon {
width: 16px;
height: 16px;
margin-left: 0.6em;
vertical-align: bottom;
}
/* Remove user rule icon */
.rule img.remove {
width: 15px;
height: 15px;
float: right;
opacity: .8;
}
.rule img.remove:hover {
opacity: 1;
}
/*** Everything below is "reverse-engineered" from Chrome's Settings page. ***/
/* Override a strange pixel offset in widgets.css. */
.rule input[type="checkbox"] {
bottom: 1px;
margin: 0px;
}
/* Override display attribute of text labels in widgets.css. */
.rule span {
display: inline !important;
margin-left: 0.6em;
}
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: 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;
}