forked from GoogleChrome/chrome-extensions-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
198 lines (166 loc) · 5.27 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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
body {
margin: 5px 10px 10px;
}
h1 {
color: #53637D;
font: 26px/1.2 Helvetica, sans-serif;
font-size: 200%;
margin: 0;
padding-bottom: 4px;
text-shadow: white 0 1px 2px;
}
div[role='main'] {
border-radius: 5px;
background: #EAEEF3;
font: 14px/1 Arial,Sans Serif;
padding: 10px;
width: 563px;
box-shadow: inset 0px 2px 5px rgba(0,0,0,0.5);
overflow: hidden;
transition: background-color 0.5s ease-out;
}
div[role='main'].incognito {
background: #496281 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAhCAYAAABeD2IVAAAFz0lEQVRYw8VYC0xcRRQtUEprERQ1VkohSGNpwaCYYNBUjS2K+KEVTUkDiqY0hWD5xxhDINgQqIZviRAkSiiWNDRxWypNpaatEQk/CwvlWyks3+XPAssu7I7nbmabx+suPzfrTU7yljfz5sy95947w5YtpjcLwBLYBuzgsAGs+DuzGZGwBh4BHIDdwHPA8xxuwBOcnIWpPUAL7wQeB54CngYcAWdO4kXgDeBoWFhYSk5OTtmFCxeuxsbGpuBv3sCTwFZTkrL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IkEeS05Obs7Pz6+vqakZgAcUY2Njur8T2cHBwSXobbSwsPCPgICAAny7QJgstAaVjry8vEquKwexpiz5WccrJCTkDO1yLWIILcP474DPgQ8oMahpA9+C0FxJSUk7nr/h2vwMSAfhJWFJQAKN8Xku4tCJveWP3d8gb6zWToh0aGjoJYz/FHgToGYbTMmBUM0RnJyccvE7GkiEVlv1cylhpqenGbI7l4v8UWNVfRsn5efs7Jxx/vz5fr0+VvGWuqysrMbNzS0R88KDgoLyEMo+/XvyDI4tcmHC6GsUSkgL5rxFCWbsxGDFY/oSdn+mt7d3gj5w/fp15VrENmokbvRANTbyBdbbz8/tBgsn1agD/v7+cUh7lfAj2KmGmdAoI9PT0//kOnQ01vesedF8t7+/X27oQ0hbrSmJoXBKucD3GAsd3VS8cDIoY2YykgM6RS4/Zj8kckt+sfTDeaeHmdFwHxzj98Y94qKpOz+5u7ufZGY28haOyOX89rzCW9SZ3YuLi39g/4Mhy4ex/kHejFeQ2tvS0vI79ShqE+YEmjxLSkoK5aQsheGjW6snv8EeBT42Az4C3uP/l3DhyWYhvuPZ84PWbt6tzQFH7pCdvCzoSP0LtBi6oflBr2wAAAAASUVORK5CYII=') no-repeat 533px bottom;
}
form {
transition: transform 0.25s ease;
width: 563px;
}
form.offscreen {
transform: translateX(-600px);
}
fieldset {
border: 0;
margin: 0;
padding: 0;
position: relative;
}
legend {
position: absolute;
left: -999em;
}
form > fieldset {
border-radius: 5px;
border: 1px solid transparent;
padding: 10px 10px 10px 30px;
margin: 5px 0;
transition: all 0.5s ease;
}
form > fieldset:hover {
background: rgba(255,255,255,0.1);
border-color: rgba(0,0,0,0.1);
}
form > fieldset.active {
background: rgba(255,255,255,0.25);
border-color: rgba(0,0,0,0.25);
}
form > fieldset > input {
margin-left: -20px;
}
section {
margin: 5px 0 0;
}
section fieldset:not(:first-child):not(:last-child) {
max-height: 1.6em;
overflow: hidden;
transition: all 0.5s ease;
}
section.single fieldset:not(:first-child):not(:last-child) {
max-height: 0px;
}
section fieldset:last-child {
margin-top: 5px;
}
section fieldset:last-child label {
display: block;
}
section fieldset:last-child textarea {
width: 412px;
}
section > fieldset {
position: relative;
padding-left: 60px;
}
section > fieldset > legend {
left: 0;
top: 4px;
width: 53px;
text-align: right;
}
input[type='url']:invalid:not(:active):not(:focus) {
border-color: rgba(255,0,0,0.5);
background: rgba(255,0,0,0.25);
}
input:invalid:not(:active):not(:focus):after {
content: "This isn't a valid URL!";
display:block;
}
input[type="checkbox"] {
margin: 5px 0 5px 35px;
}
input[type="text"] {
width: 200px;
margin: 0 10px 0 0;
}
input.port {
width: 50px;
margin: 2px 10px 0 5px;
}
section label,
section legend {
color: #999;
transition: color 0.5s ease;
}
.incognito section label,
.incognito section legend {
color: #BBB;
}
.active section label,
.active section legend,
form > fieldset > label {
color: #000;
transition: color 0.5s ease;
}
.incognito .active section label,
.incognito .active section legend,
.incognito form > fieldset > label {
color: #FFF;
}
input[type="submit"],
button {
border-radius: 2px;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
-webkit-user-select: none;
background: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
border: 1px solid #AAA;
color: #444;
margin-bottom: 0;
min-width: 4em;
padding: 3px 12px;
margin-top: 0;
font-size: 1.1em;
}
.overlay {
display: block;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
width: 500px;
padding: 20px;
margin: -80px 0 0 -270px;
opacity: 0;
background: rgba(0, 0, 0, 0.75);
border-radius: 5px;
color: #FFF;
font: 1.5em/1.2 Helvetica Neue, sans-serif;
transform: scale(0);
transition: all 1.0s ease;
}
.overlay a {
color: #FFF;
}
.overlay.visible {
opacity: 1;
transform: scale(1);
}