Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 font-size: 16px; | 49 font-size: 16px; |
50 } | 50 } |
51 | 51 |
52 body | 52 body |
53 { | 53 { |
54 background-color: #F3F3F3; | 54 background-color: #F3F3F3; |
55 display: flex; | 55 display: flex; |
56 justify-content: center; | 56 justify-content: center; |
57 /* We force vertical scrollbars to keep the content centered */ | 57 /* We force vertical scrollbars to keep the content centered */ |
58 overflow-y: scroll; | 58 overflow-y: scroll; |
59 margin: 1.2rem 0.3rem; | 59 margin: 1rem 0.3rem; |
60 font-family: "Source Sans Pro", sans-serif; | 60 font-family: "Source Sans Pro", sans-serif; |
61 font-size: 1.25rem; | 61 font-size: 1rem; |
62 color: #494949; | 62 line-height: 1.5rem; |
63 color: #4A4A4A; | |
63 } | 64 } |
64 | 65 |
65 h1 | 66 h1 |
66 { | 67 { |
67 font-size: 3rem; | 68 font-size: 3rem; |
68 font-weight: 300; | 69 font-weight: 300; |
70 line-height: 3rem; | |
69 } | 71 } |
70 | 72 |
71 h2 | 73 h2 |
72 { | 74 { |
73 font-size: 1.375rem; | 75 font-size: 1.125rem; |
74 font-weight: 700; | 76 font-weight: 700; |
75 } | 77 } |
76 | 78 |
77 a | 79 a |
78 { | 80 { |
79 color: #099CD0; | 81 color: #077CA6; |
80 text-decoration: none; | |
81 } | 82 } |
82 | 83 |
83 a:hover | 84 a:hover |
84 { | 85 { |
85 color: #5CBCE1; | 86 color: #5CBCE1; |
86 } | 87 } |
87 | 88 |
88 ul | 89 ul |
89 { | 90 { |
90 margin: 0rem; | 91 margin: 0rem; |
91 } | 92 } |
92 | 93 |
93 [aria-hidden="true"] | 94 [aria-hidden="true"] |
94 { | 95 { |
95 display: none !important; | 96 display: none !important; |
96 } | 97 } |
97 | 98 |
98 input[type="text"], | 99 input[type="text"], |
99 input[type="url"], | 100 input[type="url"], |
100 textarea, | 101 textarea, |
101 main | 102 main |
102 { | 103 { |
103 -webkit-box-sizing: border-box; | 104 -webkit-box-sizing: border-box; |
104 -moz-box-sizing: border-box; | 105 -moz-box-sizing: border-box; |
105 box-sizing: border-box; | 106 box-sizing: border-box; |
106 } | 107 } |
107 | 108 |
108 /* | 109 /* |
110 Normalization | |
111 */ | |
112 | |
113 input, | |
114 button | |
115 { | |
116 font-family: inherit; | |
117 } | |
118 | |
119 button | |
120 { | |
121 border-radius: 0rem; | |
122 } | |
123 | |
124 /* | |
109 Buttons and links | 125 Buttons and links |
110 */ | 126 */ |
111 | 127 |
112 button, | 128 button, |
113 .button | 129 .button |
114 { | 130 { |
115 display: block; | 131 display: block; |
116 padding: 0.8rem 1.2rem; | 132 padding: 0.6rem 0.8rem; |
117 background-color: transparent; | 133 background-color: transparent; |
118 font-size: 1.125rem; | 134 font-size: 1rem; |
119 font-weight: 700; | 135 font-weight: 700; |
120 text-decoration: none; | 136 text-decoration: none; |
121 text-transform: uppercase; | 137 text-transform: uppercase; |
122 cursor: pointer; | 138 cursor: pointer; |
123 } | 139 } |
124 | 140 |
125 button.primary, | 141 button.primary, |
126 .button.primary | 142 .button.primary |
127 { | 143 { |
128 border: 0px; | 144 border: 0px; |
129 color: #FFF; | 145 color: #FFF; |
130 background-color: #099CD0; | 146 background-color: #077CA6; |
131 } | 147 } |
132 | 148 |
133 button.primary:not([disabled]):hover, | 149 button.primary:not([disabled]):hover, |
134 .button.primary:hover | 150 .button.primary:hover |
135 { | 151 { |
136 box-shadow: inset 0 0 0 3px #005D80; | 152 box-shadow: inset 0 0 0 3px #005D80; |
137 } | 153 } |
138 | 154 |
139 button.primary[disabled] | 155 button.primary[disabled] |
140 { | 156 { |
141 background-color: #5CBCE1; | 157 background-color: #5CBCE1; |
142 } | 158 } |
143 | 159 |
144 button.secondary, | 160 button.secondary, |
145 .button.secondary | 161 .button.secondary |
146 { | 162 { |
147 border: 1px solid #099CD0; | 163 border: 2px solid #077CA6; |
148 color: #099CD0; | 164 color: #077CA6; |
149 } | 165 } |
150 | 166 |
151 button.secondary:hover, | 167 button.secondary:hover, |
152 .button.secondary:hover | 168 .button.secondary:hover |
153 { | 169 { |
154 box-shadow: inset 0 0 0 2px #099CD0; | 170 box-shadow: inset 0 0 0 1px #077CA6; |
155 } | 171 } |
156 | 172 |
157 button[role="checkbox"] | 173 button[role="checkbox"] |
158 { | 174 { |
159 width: 18px; | 175 width: 1.2rem; |
160 height: 18px; | 176 height: 1.2rem; |
161 padding: 0px; | 177 padding: 0px; |
162 border: 0px; | 178 border: 0px; |
163 background-color: transparent; | 179 background-color: transparent; |
164 } | 180 } |
165 | 181 |
166 button[role="checkbox"]:not(.toggle) | 182 button[role="checkbox"]:not(.toggle) |
167 { | 183 { |
168 background-image: url(icons/checkbox.png); | 184 /* Using ?query as a workaround to chromium bug #643716 */ |
185 background-image: url(icons/checkbox.svg?off#off); | |
169 display: inline-block; | 186 display: inline-block; |
170 } | 187 } |
171 | 188 |
172 button[role="checkbox"][aria-checked="true"]:not(.toggle) | 189 button[role="checkbox"][aria-checked="true"]:not(.toggle) |
173 { | 190 { |
174 background-position: 0px 18px; | 191 background-image: url(icons/checkbox.svg?on#on); |
175 } | 192 } |
176 | 193 |
177 button[role="checkbox"][disabled], | 194 button[role="checkbox"][disabled], |
178 button[role="checkbox"][aria-disabled="true"] | 195 button[role="checkbox"][aria-disabled="true"] |
179 { | 196 { |
180 border-radius: 2px; | 197 border-radius: 2px; |
181 background-color: #ccc; | 198 background-color: #ccc; |
182 } | 199 } |
183 | 200 |
184 button[role="checkbox"].toggle | 201 button[role="checkbox"].toggle |
185 { | 202 { |
186 background: url(icons/toggle.svg#on); | 203 background-image: url(icons/toggle.svg?on#on); |
187 } | 204 } |
188 | 205 |
189 button[role="checkbox"][aria-checked="false"].toggle | 206 button[role="checkbox"][aria-checked="false"].toggle |
190 { | 207 { |
191 background: url(icons/toggle.svg#off); | 208 background-image: url(icons/toggle.svg?off#off); |
192 } | 209 } |
193 | 210 |
194 button[role="checkbox"][aria-checked="true"].toggle | 211 button[role="checkbox"][aria-checked="true"].toggle |
195 { | 212 { |
196 background: url(icons/toggle.svg#on); | 213 background-image: url(icons/toggle.svg?on#on); |
197 } | 214 } |
198 | 215 |
199 button[role="checkbox"].toggle | 216 button[role="checkbox"].toggle |
200 { | 217 { |
201 background-position: initial; | 218 background-position: initial; |
202 width: 2.25rem; | 219 width: 1.9rem; |
203 height: 1.3rem; | 220 height: 1rem; |
221 vertical-align: middle; | |
204 } | 222 } |
205 | 223 |
206 button[role="checkbox"][disabled].toggle | 224 button[role="checkbox"][disabled].toggle |
207 { | 225 { |
208 background-image: none; | 226 background-image: none; |
209 } | 227 } |
210 | 228 |
211 button.delete::before | 229 button.delete::before |
212 { | 230 { |
213 background-image: url(icons/trash.svg#default); | 231 background-image: url(icons/trash.svg?default#default); |
214 } | 232 } |
215 | 233 |
216 button.delete:hover::before | 234 button.delete:hover::before |
217 { | 235 { |
218 background-image: url(icons/trash.svg#hover); | 236 background-image: url(icons/trash.svg?hover#hover); |
219 } | 237 } |
220 | 238 |
221 button.gear::before | 239 button.gear::before |
222 { | 240 { |
223 background-image: url(icons/gear.svg#default); | 241 background-image: url(icons/gear.svg?default#default); |
224 } | 242 } |
225 | 243 |
226 button.gear:hover::before | 244 button.gear:hover::before |
227 { | 245 { |
228 background-image: url(icons/gear.svg#hover); | 246 background-image: url(icons/gear.svg?hover#hover); |
229 } | 247 } |
230 | 248 |
231 button.gear, | 249 button.gear, |
232 button.delete | 250 button.delete |
233 { | 251 { |
234 border: 0px; | 252 border: 0px; |
235 padding: 0px; | 253 padding: 0px; |
236 background-color: transparent; | 254 background-color: transparent; |
237 } | 255 } |
238 | 256 |
239 button.gear::before, | 257 button.gear::before, |
240 button.delete::before | 258 button.delete::before |
241 { | 259 { |
242 content: ""; | 260 content: ""; |
243 display: block; | 261 display: block; |
244 height: 1.9rem; | 262 height: 1rem; |
245 width: 1.9rem; | 263 width: 1rem; |
264 border: 0.2rem solid transparent; | |
265 background-repeat: no-repeat; | |
266 background-position: center; | |
246 } | 267 } |
247 | 268 |
248 button.link, | 269 button.link, |
249 button.list | 270 button.list |
250 { | 271 { |
251 color: #099CD0; | 272 color: #077CA6; |
252 } | 273 } |
253 | 274 |
254 button.link | 275 button.link |
255 { | 276 { |
256 border: 0px; | 277 border: 0px; |
257 background-color: transparent; | 278 background-color: transparent; |
258 font-weight: 300; | 279 font-weight: 400; |
259 font-family: inherit; | 280 font-family: inherit; |
260 text-transform: none; | 281 text-transform: none; |
282 text-decoration: underline; | |
261 padding: 0.2rem; | 283 padding: 0.2rem; |
262 } | 284 } |
263 | 285 |
264 button.link:hover | 286 button.link:hover |
265 { | 287 { |
266 color: #5CBCE1; | 288 color: #5CBCE1; |
267 } | 289 } |
268 | 290 |
269 button.list | 291 button.list |
270 { | 292 { |
271 border-style: solid;; | 293 border-style: solid;; |
272 border-color: #CDCDCD; | 294 border-color: #CDCDCD; |
273 border-width: 0px 1px 1px 1px; | 295 border-width: 1px; |
274 width: 100%; | 296 width: 100%; |
275 background-color: #E1F2FA; | 297 background-color: #E1F2FA; |
276 text-align: initial; | 298 text-align: initial; |
277 } | 299 } |
278 | 300 |
279 button.list:hover | 301 button.list:hover |
280 { | 302 { |
281 box-shadow: inset 0 0 0 3px #099CD0; | 303 box-shadow: inset 0 0 0 3px #077CA6; |
282 border-color: #099CD0; | 304 border-color: #077CA6; |
283 } | 305 } |
284 | 306 |
285 .side-controls:not(.wrap) | 307 .side-controls:not(.wrap) |
286 { | 308 { |
287 margin: 0.8rem 0rem; | 309 margin: 0.8rem 0rem; |
288 display: flex; | 310 display: flex; |
289 justify-content: flex-end; | 311 justify-content: flex-end; |
290 } | 312 } |
291 | 313 |
292 .side-controls button | 314 .side-controls button |
(...skipping 19 matching lines...) Expand all Loading... | |
312 position: relative; | 334 position: relative; |
313 padding-top: 0.7rem; | 335 padding-top: 0.7rem; |
314 margin: 1.8rem 0rem 0.5rem 0rem; | 336 margin: 1.8rem 0rem 0.5rem 0rem; |
315 } | 337 } |
316 | 338 |
317 .floating-input input | 339 .floating-input input |
318 { | 340 { |
319 border-color: #CDCDCD; | 341 border-color: #CDCDCD; |
320 border-width: 0px 0px 1px 0px; | 342 border-width: 0px 0px 1px 0px; |
321 outline: none; | 343 outline: none; |
322 font-size: 1.3rem; | 344 font-size: 1rem; |
323 padding: 5px; | 345 padding: 5px; |
324 width: 100%; | 346 width: 100%; |
325 } | 347 } |
326 | 348 |
327 .floating-input input:placeholder-shown ~ label, | 349 .floating-input input:placeholder-shown ~ label, |
328 .floating-input input + label, | 350 .floating-input input + label, |
329 .floating-input input:focus + label | 351 .floating-input input:focus + label |
330 { | 352 { |
331 position: absolute; | 353 position: absolute; |
332 top: 0.9rem; | 354 top: 0.9rem; |
333 left: 0.3rem; | 355 left: 0.3rem; |
334 font-size: 1.3rem; | 356 font-size: 1rem; |
335 } | 357 } |
336 | 358 |
337 .floating-input input + label, | 359 .floating-input input + label, |
338 .floating-input input:focus + label | 360 .floating-input input:focus + label |
339 { | 361 { |
340 top: -0.5rem; | 362 top: -0.5rem; |
341 font-size: 0.9rem; | 363 font-size: 0.9rem; |
342 } | 364 } |
343 | 365 |
344 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, | 366 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, |
(...skipping 12 matching lines...) Expand all Loading... | |
357 [data-validation] .floating-input input:focus:invalid ~ .attention::before, | 379 [data-validation] .floating-input input:focus:invalid ~ .attention::before, |
358 [data-validation] .floating-input input:valid ~ .attention::before | 380 [data-validation] .floating-input input:valid ~ .attention::before |
359 { | 381 { |
360 content: ""; | 382 content: ""; |
361 position: absolute; | 383 position: absolute; |
362 display: block; | 384 display: block; |
363 margin: 0.5rem; | 385 margin: 0.5rem; |
364 height: 1.5rem; | 386 height: 1.5rem; |
365 width: 1.5rem; | 387 width: 1.5rem; |
366 border: 0rem; | 388 border: 0rem; |
367 top: 0.5rem; | 389 top: 0.3rem; |
368 right: 0rem; | 390 right: 0rem; |
369 } | 391 } |
370 | 392 |
371 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, | 393 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, |
372 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re | 394 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re |
373 { | 395 { |
374 left: 0rem; | 396 left: 0rem; |
375 right: auto; | 397 right: auto; |
376 } | 398 } |
377 | 399 |
378 [data-validation] .floating-input input:focus:invalid ~ .attention::before | 400 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
379 { | 401 { |
380 background-image: url(icons/attention.svg); | 402 background-image: url(icons/attention.svg); |
381 } | 403 } |
382 | 404 |
383 [data-validation] .floating-input input:valid ~ .attention::before | 405 [data-validation] .floating-input input:valid ~ .attention::before |
384 { | 406 { |
385 top: 0.8rem; | 407 top: 0.5rem; |
386 background-image: url(icons/checkmark.svg#approved); | 408 background-image: url(icons/checkmark.svg?approved#approved); |
387 } | 409 } |
388 | 410 |
389 [data-validation] .floating-input input ~ .error-msg | 411 [data-validation] .floating-input input ~ .error-msg |
390 { | 412 { |
391 margin-top: 0.5rem; | 413 margin-top: 0.5rem; |
392 color: #C11D27; | 414 color: #C11D27; |
393 display: block; | 415 display: block; |
394 visibility: hidden; | 416 visibility: hidden; |
395 } | 417 } |
396 | 418 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
441 | 463 |
442 #sidebar header h1 strong | 464 #sidebar header h1 strong |
443 { | 465 { |
444 font-weight: 700; | 466 font-weight: 700; |
445 } | 467 } |
446 | 468 |
447 #sidebar header p | 469 #sidebar header p |
448 { | 470 { |
449 margin: 0rem; | 471 margin: 0rem; |
450 font-size: 2.4rem; | 472 font-size: 2.4rem; |
473 line-height: 2.6rem; | |
451 } | 474 } |
452 | 475 |
453 html[dir="rtl"] #sidebar header | 476 html[dir="rtl"] #sidebar header |
454 { | 477 { |
455 text-align: left; | 478 text-align: left; |
456 } | 479 } |
457 | 480 |
458 #sidebar-logo | 481 #sidebar-logo |
459 { | 482 { |
460 width: 3rem; | 483 width: 3rem; |
461 margin-bottom: 0.7rem; | 484 margin-bottom: 0.7rem; |
462 } | 485 } |
463 | 486 |
464 #sidebar nav, | 487 #sidebar nav, |
465 #sidebar footer | 488 #sidebar footer |
466 { | 489 { |
467 margin: 1.4rem 0rem; | 490 margin: 1.4rem 0rem; |
468 } | 491 } |
469 | 492 |
470 [role="tablist"] | 493 [role="tablist"] |
471 { | 494 { |
472 list-style: none; | 495 list-style: none; |
473 margin: 0rem; | 496 margin: 0rem; |
474 padding: 0rem; | 497 padding: 0rem; |
475 position: relative; | 498 position: relative; |
476 font-size: 1.25rem; | 499 font-size: 1rem; |
477 } | 500 } |
478 | 501 |
479 [role="tablist"] li a | 502 [role="tablist"] li a |
480 { | 503 { |
481 display: flex; | 504 display: flex; |
482 margin-top: -1px; | 505 margin-top: -1px; |
483 padding: 1rem 0.8rem; | 506 padding: 1rem 0.8rem; |
484 -moz-margin-end: -1px; | 507 -moz-margin-end: -1px; |
485 -webkit-margin-end: -1px; | 508 -webkit-margin-end: -1px; |
486 -moz-margin-start: -1px; | 509 -moz-margin-start: -1px; |
(...skipping 22 matching lines...) Expand all Loading... | |
509 | 532 |
510 #sidebar footer | 533 #sidebar footer |
511 { | 534 { |
512 width: 100%; | 535 width: 100%; |
513 } | 536 } |
514 | 537 |
515 #sidebar footer p | 538 #sidebar footer p |
516 { | 539 { |
517 display: flex; | 540 display: flex; |
518 justify-content: center; | 541 justify-content: center; |
519 margin: 1.2rem 0rem; | 542 margin: 1rem 0rem; |
520 } | 543 } |
521 | 544 |
522 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ | 545 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ |
523 @media (min-height: 37rem) | 546 @media (min-height: 37rem) |
524 { | 547 { |
525 #sidebar .fixed | 548 #sidebar .fixed |
526 { | 549 { |
527 position: fixed; | 550 position: fixed; |
528 } | 551 } |
529 | 552 |
(...skipping 13 matching lines...) Expand all Loading... | |
543 body[data-tab|="whitelist"] #content-whitelist, | 566 body[data-tab|="whitelist"] #content-whitelist, |
544 body[data-tab|="help"] #content-help | 567 body[data-tab|="help"] #content-help |
545 { | 568 { |
546 display: block; | 569 display: block; |
547 } | 570 } |
548 | 571 |
549 main | 572 main |
550 { | 573 { |
551 background-color: #FFFFFF; | 574 background-color: #FFFFFF; |
552 border: 1px solid #CDCDCD; | 575 border: 1px solid #CDCDCD; |
553 max-width: 46.3rem; | 576 width: 46.3rem; |
554 padding: 0px 0rem 1.4rem 0rem; | 577 padding: 0px 0rem 1.4rem 0rem; |
555 } | 578 } |
556 | 579 |
557 main > div | 580 main > div |
558 { | 581 { |
559 display: none; | 582 display: none; |
560 } | 583 } |
561 | 584 |
562 main p | 585 main p |
563 { | 586 { |
564 margin: 0.8rem 0rem; | 587 margin: 0.8rem 0rem; |
565 } | 588 } |
566 | 589 |
567 /* | 590 /* |
568 Sections | 591 Sections |
569 */ | 592 */ |
570 | 593 |
571 [role="tabpanel"] > section, | 594 [role="tabpanel"] > section, |
572 [role="tabpanel"] > .section | 595 [role="tabpanel"] > .section |
573 { | 596 { |
574 padding: 2rem; | 597 padding: 1.4rem 2rem; |
575 border-top: 1px solid #CDCDCD; | 598 border-top: 1px solid #CDCDCD; |
576 } | 599 } |
577 | 600 |
578 [role="tabpanel"] > header h1, | 601 [role="tabpanel"] > header h1, |
579 [role="tabpanel"] > header p | 602 [role="tabpanel"] > header p |
580 { | 603 { |
581 padding: 0rem 2rem; | 604 padding: 0rem 2rem; |
582 margin: 1.4rem 0rem; | 605 margin: 1.4rem 0rem; |
583 } | 606 } |
584 | 607 |
(...skipping 28 matching lines...) Expand all Loading... | |
613 | 636 |
614 section.cols > *:last-child | 637 section.cols > *:last-child |
615 { | 638 { |
616 flex: 3; | 639 flex: 3; |
617 } | 640 } |
618 | 641 |
619 /* | 642 /* |
620 Acceptable ads | 643 Acceptable ads |
621 */ | 644 */ |
622 | 645 |
623 #acceptable-ads.show-notification #tracking-notification | 646 #tracking-warning |
Thomas Greiner
2017/11/16 19:25:06
Suggestion: You could avoid setting "display" twic
saroyanm
2017/11/17 16:10:39
Right, done.
| |
624 { | |
625 display: block; | |
626 } | |
627 | |
628 #tracking-notification | |
629 { | 647 { |
630 position: relative; | 648 position: relative; |
631 display: none; | |
632 padding: 1.5rem; | 649 padding: 1.5rem; |
633 margin-bottom: 1rem; | 650 margin-bottom: 1rem; |
634 border: 2px solid #ffd7a3; | 651 border: 2px solid #ffd7a3; |
635 background-color: #fefbe3; | 652 background-color: #fefbe3; |
Thomas Greiner
2017/11/16 19:25:05
Detail: These colors aren't mentioned in the style
saroyanm
2017/11/17 16:10:39
Yes in general style guide for this notification i
Thomas Greiner
2017/11/20 18:36:04
Acknowledged.
| |
636 } | 653 } |
637 | 654 |
638 #hide-tracking-notification | 655 #acceptable-ads:not(.show-warning) #tracking-warning |
656 { | |
657 display: none; | |
658 } | |
659 | |
660 #hide-tracking-warning | |
639 { | 661 { |
640 position: absolute; | 662 position: absolute; |
641 right: 1rem; | 663 right: 1rem; |
Thomas Greiner
2017/11/16 19:25:06
What about right-to-left environments?
saroyanm
2017/11/17 16:10:39
Done.
| |
642 top: 1rem; | 664 top: 1rem; |
643 } | 665 } |
644 | 666 |
645 #tracking-notification .link | 667 html[dir="rtl"] #hide-tracking-warning |
Thomas Greiner
2017/11/16 19:25:06
Detail: Links also use `cursor: pointer`.
Alterna
saroyanm
2017/11/17 16:10:39
`cursor: pointer` is inherited from the class `but
Thomas Greiner
2017/11/20 18:36:04
Indeed, I missed that.
| |
668 { | |
669 left: 1rem; | |
670 right: auto; | |
671 } | |
672 | |
673 #tracking-warning .link | |
646 { | 674 { |
647 color: inherit; | 675 color: inherit; |
648 text-decoration: underline; | 676 text-decoration: underline; |
649 font-weight: 700; | 677 font-weight: 700; |
650 } | 678 } |
651 | 679 |
652 #acceptable-ads ul | 680 #acceptable-ads ul |
653 { | 681 { |
654 position: relative; | 682 position: relative; |
655 padding-left: 2rem; | 683 padding-left: 2.2rem; |
656 list-style: none; | 684 list-style: none; |
657 } | 685 } |
658 | 686 |
659 html[dir="rtl"] #acceptable-ads ul | 687 html[dir="rtl"] #acceptable-ads ul |
660 { | 688 { |
661 padding-left: 0rem; | 689 padding-left: 0rem; |
662 padding-right: 2rem; | 690 padding-right: 2.2rem; |
663 } | 691 } |
664 | 692 |
665 #acceptable-ads ul button | 693 #acceptable-ads ul button |
666 { | 694 { |
667 position: absolute; | 695 position: absolute; |
668 margin-top: 0.3rem; | 696 margin-top: 0.3rem; |
669 left: 0rem; | 697 left: 0rem; |
670 } | 698 } |
671 | 699 |
672 html[dir="rtl"] button | 700 html[dir="rtl"] button |
673 { | 701 { |
674 left: auto; | 702 left: auto; |
675 right: 0rem; | 703 right: 0rem; |
676 } | 704 } |
677 | 705 |
678 #acceptable-ads label | 706 #acceptable-ads label |
679 { | 707 { |
680 font-weight: 700; | 708 font-weight: 700; |
681 font-size: 1.375rem; | 709 font-size: 1rem; |
710 -moz-margin-end: 0.5rem; | |
711 -webkit-margin-end: 0.5rem; | |
682 } | 712 } |
683 | 713 |
684 #dnt | 714 #dnt |
685 { | 715 { |
686 padding: 0.8rem; | 716 padding: 0.8rem; |
687 border: 1px solid #099CD0; | 717 border: 1px solid #077CA6; |
688 } | 718 } |
689 | 719 |
690 .new | 720 .new |
691 { | 721 { |
692 display: inline-block; | 722 display: inline-block; |
693 margin: 0rem 0.5rem; | 723 padding: 0.2rem 0.5rem; |
694 padding: 0.3rem 0.6rem; | |
695 border-radius: 0.2rem; | 724 border-radius: 0.2rem; |
696 background-color: #099CD0; | 725 background-color: #077CA6; |
697 color: #FFF; | 726 color: #FFF; |
698 line-height: 100%; | 727 line-height: 100%; |
699 font-size: 1rem; | 728 font-size: 0.8rem; |
700 text-transform: uppercase; | 729 text-transform: uppercase; |
701 } | 730 } |
702 | 731 |
703 /* | 732 /* |
704 Tables | 733 Tables |
705 */ | 734 */ |
706 | 735 |
707 ul.table, | 736 ul.table, |
708 ul.list | 737 ul.list |
709 { | 738 { |
(...skipping 13 matching lines...) Expand all Loading... | |
723 { | 752 { |
724 margin: 0rem; | 753 margin: 0rem; |
725 border-style: solid; | 754 border-style: solid; |
726 border-color: #CDCDCD; | 755 border-color: #CDCDCD; |
727 border-width: 0px 1px 1px 1px; | 756 border-width: 0px 1px 1px 1px; |
728 } | 757 } |
729 | 758 |
730 .list li | 759 .list li |
731 { | 760 { |
732 padding: 0rem; | 761 padding: 0rem; |
733 margin: 0rem 0rem 1.3rem 0rem; | 762 margin-bottom: 0.8rem; |
734 } | 763 } |
735 | 764 |
736 .list li [role="checkbox"] | 765 .list li [role="checkbox"] |
737 { | 766 { |
738 flex-shrink: 0; | 767 flex-shrink: 0; |
739 } | 768 } |
740 | 769 |
741 .table li:first-of-type | 770 .table li:first-of-type |
742 { | 771 { |
743 border-top: 1px solid #CDCDCD; | 772 border-top: 1px solid #CDCDCD; |
744 } | 773 } |
745 | 774 |
746 .table.list li | 775 .table.list li |
747 { | 776 { |
748 padding: 0.5rem 1.1rem; | 777 padding: 0.5rem 1rem; |
749 margin: 0rem; | 778 margin: 0rem; |
779 } | |
780 | |
781 .table.list.bottom-control li:last-of-type | |
782 { | |
783 border-bottom: 0px; | |
750 } | 784 } |
751 | 785 |
752 li .display | 786 li .display |
753 { | 787 { |
754 margin: 0rem 1rem; | 788 margin: 0rem 1rem; |
755 } | 789 } |
756 | 790 |
757 .table.list li .display | 791 .table.list li .display |
758 { | 792 { |
759 flex: 1; | 793 flex: 1; |
794 margin: 0rem; | |
760 } | 795 } |
761 | 796 |
762 .table.list li.empty-placeholder | 797 .table.list li.empty-placeholder |
763 { | 798 { |
764 padding: 1.3em 1.9em; | 799 padding: 1rem 1.4rem; |
765 } | 800 } |
766 | 801 |
767 .table.list li.empty-placeholder:not(:last-of-type) | 802 .table.list li.empty-placeholder:not(:last-of-type) |
768 { | 803 { |
769 border-bottom: 0px; | 804 border-bottom: 0px; |
770 } | |
771 | |
772 #blocking-languages-table .display | |
773 { | |
774 font-weight: 700; | |
775 } | 805 } |
776 | 806 |
777 .table.list button.link | 807 .table.list button.link |
778 { | 808 { |
779 font-weight: 700; | 809 font-weight: 700; |
780 text-transform: uppercase; | 810 text-transform: uppercase; |
811 text-decoration: none; | |
781 } | 812 } |
782 | 813 |
783 .table:not(.list):not(.cols) li | 814 .table:not(.list):not(.cols) li |
784 { | 815 { |
785 padding-top: 0px; | 816 padding-top: 0px; |
786 padding-bottom: 6px; | 817 padding-bottom: 6px; |
787 } | 818 } |
788 | 819 |
789 .table li [data-single="visible"], | 820 .table li [data-single="visible"], |
790 .table li:first-of-type:last-of-type [data-single="hidden"] | 821 .table li:first-of-type:last-of-type [data-single="hidden"] |
791 { | 822 { |
792 display: none; | 823 display: none; |
793 } | 824 } |
794 | 825 |
795 .table li:first-of-type:last-of-type [data-single="visible"] | 826 .table li:first-of-type:last-of-type [data-single="visible"] |
796 { | 827 { |
797 display: block; | 828 display: block; |
798 } | 829 } |
799 | 830 |
800 .th | 831 .th |
801 { | 832 { |
802 display: flex; | 833 display: flex; |
803 } | 834 } |
804 | 835 |
805 .col4 > * | 836 .col5 > * |
806 { | 837 { |
807 display: inline-block; | 838 display: inline-block; |
808 } | 839 } |
809 | 840 |
810 .col4 | 841 .col5 |
811 { | 842 { |
812 margin: 0rem 0.9rem; | 843 margin: 0rem 1rem; |
813 } | 844 } |
814 | 845 |
815 .th .col4:nth-of-type(1), | 846 .th .col5:nth-of-type(1), |
816 .table .col4:nth-of-type(1) | 847 .table .col5:nth-of-type(1) |
817 { | 848 { |
818 flex: 2; | 849 flex: 4; |
819 } | 850 } |
820 | 851 |
821 .th .col4:nth-of-type(2), | 852 .th .col5:nth-of-type(2), |
822 .table .col4:nth-of-type(2) | 853 .table .col5:nth-of-type(2) |
823 { | 854 { |
824 flex: 3; | 855 flex: 8; |
825 } | 856 } |
826 | 857 |
827 .th .col4:nth-of-type(3), | 858 .th .col5:nth-of-type(3), |
828 .table .col4:nth-of-type(3) | 859 .table .col5:nth-of-type(3) |
829 { | 860 { |
830 flex: 2; | 861 flex: 4; |
831 } | 862 } |
832 | 863 |
833 .th .col4:nth-of-type(4), | 864 .th .col5:nth-of-type(4), |
834 .table .col4:nth-of-type(4) | 865 .table .col5:nth-of-type(4) |
835 { | 866 { |
836 flex: 1; | 867 flex: 1; |
837 } | 868 } |
838 | 869 |
839 .table.cols | 870 .th .col5:nth-of-type(5), |
840 { | 871 .table .col5:nth-of-type(5) |
841 font-size: 1.1rem; | 872 { |
873 flex: 1; | |
874 -moz-margin-start: 0; | |
875 -webkit-margin-start: 0; | |
876 -moz-margin-end: 1.8rem; | |
877 -webkit-margin-end: 1.8rem; | |
842 } | 878 } |
843 | 879 |
844 .table.cols .display | 880 .table.cols .display |
845 { | 881 { |
846 margin: 0rem; | 882 margin: 0rem; |
847 } | 883 } |
848 | 884 |
849 .table.cols li | 885 .table.cols li |
850 { | 886 { |
851 padding: 0.9rem 0rem; | 887 padding: 0.9rem 0rem; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
892 #dialog .table.list li button[aria-checked="true"] | 928 #dialog .table.list li button[aria-checked="true"] |
893 { | 929 { |
894 color: #BBB; | 930 color: #BBB; |
895 } | 931 } |
896 | 932 |
897 #dialog .table.list li button[aria-checked="true"]::before | 933 #dialog .table.list li button[aria-checked="true"]::before |
898 { | 934 { |
899 content: ""; | 935 content: ""; |
900 width: 1.3rem; | 936 width: 1.3rem; |
901 height: 1.3rem; | 937 height: 1.3rem; |
902 background-image: url(icons/checkmark.svg#default); | 938 background-image: url(icons/checkmark.svg?default#default); |
903 margin: 0rem; | 939 margin: 0rem; |
904 } | 940 } |
905 | 941 |
906 #dialog .table.list li button .display | 942 #dialog .table.list li button .display |
907 { | 943 { |
908 flex: none; | 944 flex: none; |
909 margin: 0rem 0.8rem; | 945 margin: 0rem 0.8rem; |
910 text-transform: none; | 946 text-transform: none; |
947 font-weight: 400; | |
911 } | 948 } |
912 | 949 |
913 /* | 950 /* |
914 Tooltips | 951 Tooltips |
915 */ | 952 */ |
916 | 953 |
917 .tooltip | 954 .tooltip |
918 { | 955 { |
919 display: inline-block; | 956 display: inline-block; |
920 position: relative; | 957 position: relative; |
921 margin: 0rem; | 958 margin: 0rem; |
922 -moz-margin-end: 1rem; | 959 -moz-margin-end: 1rem; |
923 -webkit-margin-end: 1rem; | 960 -webkit-margin-end: 1rem; |
924 line-height: 1.5rem; | 961 line-height: 1.5rem; |
925 text-decoration: none; | 962 text-decoration: none; |
926 cursor: help; | 963 cursor: help; |
927 } | 964 } |
928 | 965 |
929 .tooltip::before | 966 .tooltip::before |
930 { | 967 { |
931 content: ""; | 968 content: ""; |
932 width: 1.3rem; | 969 width: 1.1rem; |
933 height: 1.3rem; | 970 height: 1.1rem; |
934 display: block; | 971 display: block; |
935 background-image: url(icons/tooltip.svg); | 972 background-image: url(icons/tooltip.svg); |
936 } | 973 } |
937 | 974 |
938 /* | 975 /* |
939 Used for translatable screen reader only conten. | 976 Used for translatable screen reader only content. |
Thomas Greiner
2017/11/16 19:25:06
Typo: Replace "conten" with "content".
saroyanm
2017/11/17 16:10:39
Done.
| |
940 e.g.: Use instead of aria-label to avoid complex attribute value translation | 977 e.g.: Use instead of aria-label to avoid complex attribute value translation |
941 */ | 978 */ |
942 .sr-only | 979 .sr-only |
943 { | 980 { |
944 position: absolute; | 981 position: absolute; |
945 overflow: hidden; | 982 overflow: hidden; |
946 clip: rect(0, 0, 0, 0); | 983 clip: rect(0, 0, 0, 0); |
947 width: 1px; | 984 width: 1px; |
948 height: 1px; | 985 height: 1px; |
949 margin: -1px; | 986 margin: -1px; |
(...skipping 23 matching lines...) Expand all Loading... | |
973 */ | 1010 */ |
974 | 1011 |
975 #content-whitelist form | 1012 #content-whitelist form |
976 { | 1013 { |
977 display: flex; | 1014 display: flex; |
978 } | 1015 } |
979 | 1016 |
980 #content-whitelist form input | 1017 #content-whitelist form input |
981 { | 1018 { |
982 flex: 1; | 1019 flex: 1; |
1020 height: 100%; | |
983 padding: 0.5rem 1rem; | 1021 padding: 0.5rem 1rem; |
984 font-size: 1.25rem; | 1022 font-size: 1rem; |
985 border: 2px solid #099CD0; | 1023 border: 2px solid #077CA6; |
986 } | 1024 } |
987 | 1025 |
988 #content-whitelist form button | 1026 #content-whitelist form button |
989 { | 1027 { |
990 -moz-margin-start: 0.7rem; | 1028 -moz-margin-start: 0.7rem; |
991 -webkit-margin-start: 0.7rem; | 1029 -webkit-margin-start: 0.7rem; |
992 } | 1030 } |
993 | 1031 |
994 #whitelisting-table li | 1032 #whitelisting-table li |
995 { | 1033 { |
1034 padding-left: 1.4rem; | |
1035 padding-right: 1.4rem; | |
996 border-left: 0rem; | 1036 border-left: 0rem; |
997 border-right: 0rem; | 1037 border-right: 0rem; |
998 } | 1038 } |
999 | 1039 |
1000 /* | 1040 /* |
1001 Advanced tab content | 1041 Advanced tab content |
1002 */ | 1042 */ |
1003 | 1043 |
1004 #all-filter-lists-table li.show-message .last-update, | 1044 #all-filter-lists-table li.show-message .last-update, |
1005 #all-filter-lists-table li:not(.show-message) .message, | 1045 #all-filter-lists-table li:not(.show-message) .message, |
(...skipping 30 matching lines...) Expand all Loading... | |
1036 #custom-filters-raw | 1076 #custom-filters-raw |
1037 { | 1077 { |
1038 width: 100%; | 1078 width: 100%; |
1039 height: 23.6rem; | 1079 height: 23.6rem; |
1040 padding: 0.8rem 1.3rem; | 1080 padding: 0.8rem 1.3rem; |
1041 } | 1081 } |
1042 | 1082 |
1043 #custom-filters-raw:focus | 1083 #custom-filters-raw:focus |
1044 { | 1084 { |
1045 outline: none; | 1085 outline: none; |
1046 border: 2px solid #099CD0; | 1086 border: 2px solid #077CA6; |
1047 } | 1087 } |
1048 | 1088 |
1049 #empty-custom-filters | 1089 #empty-custom-filters |
1050 { | 1090 { |
1051 padding: 1.5rem; | 1091 padding: 1.5rem; |
1052 border: 1px solid #CDCDCD; | 1092 border: 1px solid #CDCDCD; |
1053 } | 1093 } |
1054 | 1094 |
1055 /* | 1095 /* |
1056 Context menu | 1096 Context menu |
1057 */ | 1097 */ |
1058 | 1098 |
1059 li [role="menubar"] | 1099 li [role="menubar"] |
1060 { | 1100 { |
1061 position: relative; | 1101 position: relative; |
1062 } | 1102 } |
1063 | 1103 |
1064 [role="tooltip"] | 1104 [role="tooltip"] |
1065 { | 1105 { |
1066 right: -1rem; | 1106 right: -1rem; |
1067 margin-top: 1rem; | 1107 margin-top: 1rem; |
1068 opacity: 1; | 1108 opacity: 1; |
1069 padding: 1.3rem; | 1109 padding: 0.2rem 1rem; |
1070 position: absolute; | 1110 position: absolute; |
1071 -webkit-transition: opacity 200ms ease-in-out 400ms, | 1111 -webkit-transition: opacity 200ms ease-in-out 400ms, |
1072 visibility 0ms linear 400ms; | 1112 visibility 0ms linear 400ms; |
1073 transition: opacity 200ms ease-in-out 400ms, | 1113 transition: opacity 200ms ease-in-out 400ms, |
1074 visibility 0ms linear 400ms; | 1114 visibility 0ms linear 400ms; |
1075 visibility: visible; | 1115 visibility: visible; |
1076 width: 15rem; | 1116 width: 15rem; |
1077 z-index: 1; | 1117 z-index: 1; |
1078 } | 1118 } |
1079 | 1119 |
1080 html[dir="rtl"] [role="tooltip"] | 1120 html[dir="rtl"] [role="tooltip"] |
1081 { | 1121 { |
1082 right: auto; | 1122 right: auto; |
1083 left: -1rem; | 1123 left: -1rem; |
1084 } | 1124 } |
1085 | 1125 |
1086 [role="tooltip"], | 1126 [role="tooltip"], |
1087 .context-menu .content | 1127 .context-menu .content |
1088 { | 1128 { |
1089 border: 1px solid #099CD0; | 1129 border: 1px solid #077CA6; |
1090 border-radius: 3px; | 1130 border-radius: 3px; |
1091 background-color: #FFFFFF; | 1131 background-color: #FFFFFF; |
1092 } | 1132 } |
1093 | 1133 |
1094 | 1134 |
1095 .tooltip:not(:hover) > [role="tooltip"], | 1135 .tooltip:not(:hover) > [role="tooltip"], |
1096 [role="tooltip"]:hover | 1136 [role="tooltip"]:hover |
1097 { | 1137 { |
1098 visibility: hidden; | 1138 visibility: hidden; |
1099 opacity: 0; | 1139 opacity: 0; |
1100 -webkit-transition-delay: 0ms; | 1140 -webkit-transition-delay: 0ms; |
1101 transition-delay: 0ms; | 1141 transition-delay: 0ms; |
1102 } | 1142 } |
1103 | 1143 |
1104 .context-menu | 1144 .context-menu |
1105 { | 1145 { |
1106 position: absolute; | 1146 position: absolute; |
1107 right: 3rem; | 1147 right: 2.5rem; |
1108 top: -3rem; | 1148 top: -2.7rem; |
1109 z-index: 1; | 1149 z-index: 1; |
1110 visibility: hidden; | 1150 visibility: hidden; |
1111 } | 1151 } |
1112 | 1152 |
1113 html[dir="rtl"] .context-menu | 1153 html[dir="rtl"] .context-menu |
1114 { | 1154 { |
1115 right: auto; | 1155 right: auto; |
1116 left: 3rem; | 1156 left: 2.5rem; |
1117 } | 1157 } |
1118 | 1158 |
1119 .context-menu .content | 1159 .context-menu .content |
1120 { | 1160 { |
1121 padding: 0rem; | 1161 padding: 0rem; |
1122 position: relative; | 1162 position: relative; |
1123 cursor: default; | 1163 cursor: default; |
1124 } | 1164 } |
1125 | 1165 |
1126 li.show-context-menu .context-menu | 1166 li.show-context-menu .context-menu |
1127 { | 1167 { |
1128 visibility: visible; | 1168 visibility: visible; |
1129 } | 1169 } |
1130 | 1170 |
1131 [role="tooltip"]::before, | 1171 [role="tooltip"]::before, |
1132 .context-menu::before | 1172 .context-menu::before |
1133 { | 1173 { |
1134 content: ""; | 1174 content: ""; |
1135 width: 0rem; | 1175 width: 0rem; |
1136 height: 0rem; | 1176 height: 0rem; |
1137 position: absolute; | 1177 position: absolute; |
1138 } | 1178 } |
1139 | 1179 |
1140 [role="tooltip"]::before | 1180 [role="tooltip"]::before |
1141 { | 1181 { |
1142 border-left: 10px solid transparent; | 1182 border-left: 10px solid transparent; |
1143 border-right: 10px solid transparent; | 1183 border-right: 10px solid transparent; |
1144 border-bottom: 10px solid #099CD0; | 1184 border-bottom: 10px solid #077CA6; |
1145 top: -10px; | 1185 top: -10px; |
1146 right: 15px; | 1186 right: 15px; |
1147 } | 1187 } |
1148 | 1188 |
1149 html[dir="rtl"] [role="tooltip"]::before | 1189 html[dir="rtl"] [role="tooltip"]::before |
1150 { | 1190 { |
1151 right: auto; | 1191 right: auto; |
1152 left: 15px; | 1192 left: 15px; |
1153 } | 1193 } |
1154 | 1194 |
1155 .context-menu::before | 1195 .context-menu::before |
1156 { | 1196 { |
1157 border-left: 10px solid #099CD0; | 1197 border-left: 10px solid #077CA6; |
1158 border-top: 10px solid transparent; | 1198 border-top: 10px solid transparent; |
1159 border-bottom: 10px solid transparent; | 1199 border-bottom: 10px solid transparent; |
1160 top: 22px; | 1200 top: 22px; |
1161 right: -0.5rem; | 1201 right: -0.5rem; |
1162 } | 1202 } |
1163 | 1203 |
1164 html[dir="rtl"] .context-menu::before | 1204 html[dir="rtl"] .context-menu::before |
1165 { | 1205 { |
1166 border-left: 0rem; | 1206 border-left: 0rem; |
1167 border-right: 10px solid #099CD0; | 1207 border-right: 10px solid #077CA6; |
1168 right: auto; | 1208 right: auto; |
1169 left: -0.5rem; | 1209 left: -0.5rem; |
1170 } | 1210 } |
1171 | 1211 |
1172 .context-menu li[role="menuitem"] | 1212 .context-menu li[role="menuitem"] |
1173 { | 1213 { |
1174 width: 12.2rem; | 1214 width: 12.2rem; |
1175 border: 0rem; | 1215 border: 0rem; |
1176 padding: 0rem; | 1216 padding: 0rem; |
1177 } | 1217 } |
1178 | 1218 |
1179 .context-menu li[role="menuitem"] > * | 1219 .context-menu li[role="menuitem"] > * |
1180 { | 1220 { |
1181 width: 100%; | 1221 width: 100%; |
1182 display: flex; | 1222 display: flex; |
1183 border: 0rem; | 1223 border: 0rem; |
1184 padding: 1rem 0rem; | 1224 padding: 0.7rem 0rem; |
1185 color: #099CD0; | 1225 color: #077CA6; |
1186 font-size: 1.1rem; | 1226 align-items: center; |
1187 font-weight: 700; | 1227 font-size: 1rem; |
1228 font-weight: 400; | |
1188 text-transform: none; | 1229 text-transform: none; |
1230 text-decoration: none; | |
1189 } | 1231 } |
1190 | 1232 |
1191 .context-menu li[role="menuitem"] > *:hover, | 1233 .context-menu li[role="menuitem"] > *:hover, |
1192 .context-menu li[role="menuitem"] > *:focus | 1234 .context-menu li[role="menuitem"] > *:focus |
1193 { | 1235 { |
1194 background-color: #E1F2FA; | 1236 background-color: #E1F2FA; |
1195 cursor: pointer; | 1237 cursor: pointer; |
1196 } | 1238 } |
1197 | 1239 |
1198 .context-menu li[role="menuitem"] > *::before | 1240 .context-menu li[role="menuitem"] > *::before |
1199 { | 1241 { |
1200 content: ""; | 1242 content: ""; |
1201 height: 1.5rem; | 1243 height: 1rem; |
1202 width: 1.5rem; | 1244 width: 1rem; |
1203 margin: 0rem 1.1rem; | 1245 margin: 0rem 1.1rem; |
1246 border: 0rem; | |
1204 } | 1247 } |
1205 | 1248 |
1206 .context-menu .update-subscription::before | 1249 .context-menu .update-subscription::before |
1207 { | 1250 { |
1208 background-image: url(icons/reload.svg); | 1251 background-image: url(icons/reload.svg); |
1209 } | 1252 } |
1210 | 1253 |
1211 .context-menu .website::before | 1254 .context-menu .website::before |
1212 { | 1255 { |
1213 background-image: url(icons/globe.svg); | 1256 background-image: url(icons/globe.svg); |
1214 } | 1257 } |
1215 | 1258 |
1216 .context-menu .source::before | 1259 .context-menu .source::before |
1217 { | 1260 { |
1218 background-image: url(icons/code.svg); | 1261 background-image: url(icons/code.svg); |
1219 } | 1262 } |
1220 | 1263 |
1221 .context-menu .delete::before | 1264 .context-menu .delete::before |
1222 { | 1265 { |
1223 background-image: url(icons/trash.svg#default); | 1266 background-image: url(icons/trash.svg?default#default); |
1224 } | 1267 } |
1225 | 1268 |
1226 /* | 1269 /* |
1227 Help tab content | 1270 Help tab content |
1228 */ | 1271 */ |
1229 | 1272 |
1230 html:not([lang="zh"]) #social-chinese, | 1273 html:not([lang="zh"]) #social-chinese, |
1231 html[lang="zh"] #social-general | 1274 html[lang="zh"] #social-general |
1232 { | 1275 { |
1233 display: none; | 1276 display: none; |
1234 } | 1277 } |
1235 | 1278 |
1236 #social ul | 1279 #social ul |
1237 { | 1280 { |
1238 list-style: none; | 1281 list-style: none; |
1239 padding: 0px; | 1282 padding: 0px; |
1240 } | 1283 } |
1241 | 1284 |
1242 #social ul li | 1285 #social ul li |
1243 { | 1286 { |
1244 display: inline-block; | 1287 display: inline-block; |
1245 -moz-margin-end: 1rem; | 1288 -moz-margin-end: 1rem; |
1246 -webkit-margin-end: 1rem; | 1289 -webkit-margin-end: 1rem; |
1247 } | 1290 } |
1248 | 1291 |
1249 #social ul li a | 1292 #social ul li a |
1250 { | 1293 { |
1251 display: block; | 1294 display: block; |
1252 text-align: center; | 1295 text-align: center; |
1296 text-decoration: none; | |
1253 } | 1297 } |
1254 | 1298 |
1255 #social ul li a::before | 1299 #social ul li a::before |
1256 { | 1300 { |
1257 display: block; | 1301 display: block; |
1258 margin: 0em auto; | 1302 margin: 0em auto; |
1259 width: 2.5rem; | 1303 width: 2.5rem; |
1260 height: 2.5rem; | 1304 height: 2.5rem; |
1261 content: ""; | 1305 content: ""; |
1262 } | 1306 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1308 width: 50vw; | 1352 width: 50vw; |
1309 margin: auto; | 1353 margin: auto; |
1310 border-radius: 3px; | 1354 border-radius: 3px; |
1311 background-color: #FFFFFF; | 1355 background-color: #FFFFFF; |
1312 } | 1356 } |
1313 | 1357 |
1314 #dialog header | 1358 #dialog header |
1315 { | 1359 { |
1316 display: flex; | 1360 display: flex; |
1317 padding: 0.7rem 1.5rem; | 1361 padding: 0.7rem 1.5rem; |
1318 background-color: #099CD0; | 1362 background-color: #077CA6; |
1319 } | 1363 } |
1320 | 1364 |
1321 #dialog header h3 | 1365 #dialog header h3 |
1322 { | 1366 { |
1323 margin: 0rem; | 1367 margin: 0rem; |
1324 font-size: 1.375rem; | 1368 font-size: 1rem; |
1325 font-weight: 700; | 1369 font-weight: 700; |
1326 } | 1370 } |
1327 | 1371 |
1328 #dialog-close, | 1372 #dialog-close, |
1329 #hide-notification, | 1373 #hide-notification, |
1330 #hide-tracking-notification | 1374 #hide-tracking-warning |
1331 { | 1375 { |
1332 border: 0rem; | 1376 border: 0rem; |
1333 padding: 0rem; | 1377 padding: 0rem; |
1334 margin: 0rem; | 1378 margin: 0rem; |
1335 background-color: transparent; | 1379 background-color: transparent; |
1336 cursor: pointer; | 1380 cursor: pointer; |
1337 } | 1381 } |
1338 | 1382 |
1339 #dialog-close::before, | 1383 #dialog-close::before, |
1340 #hide-notification::after, | 1384 #hide-notification::after, |
1341 #hide-tracking-notification::after | 1385 #hide-tracking-warning::after |
1342 { | 1386 { |
1343 content: ""; | 1387 content: ""; |
1344 display: block; | 1388 display: block; |
1345 height: 1rem; | 1389 height: 1rem; |
1346 width: 1rem; | 1390 width: 1rem; |
1347 border: 0rem; | 1391 border: 0rem; |
1348 background-image: url(icons/delete.svg#primary); | 1392 background-image: url(icons/delete.svg?primary#primary); |
1349 } | 1393 } |
1350 | 1394 |
1351 #dialog-close:hover::before | 1395 #dialog-close:hover::before |
1352 { | 1396 { |
1353 background-image: url(icons/delete.svg#primary-hover); | 1397 background-image: url(icons/delete.svg?primary-hover#primary-hover); |
1354 } | 1398 } |
1355 | 1399 |
1356 #dialog #dialog-body | 1400 #dialog #dialog-body |
1357 { | 1401 { |
1358 max-height: 60vh; | 1402 max-height: 60vh; |
1359 overflow: auto; | 1403 overflow: auto; |
1360 } | 1404 } |
1361 | 1405 |
1362 .dialog-content | 1406 .dialog-content |
1363 { | 1407 { |
(...skipping 12 matching lines...) Expand all Loading... | |
1376 } | 1420 } |
1377 | 1421 |
1378 [data-dialog="about"] button | 1422 [data-dialog="about"] button |
1379 { | 1423 { |
1380 margin: 1.5rem auto 1.8rem auto; | 1424 margin: 1.5rem auto 1.8rem auto; |
1381 } | 1425 } |
1382 | 1426 |
1383 [data-dialog="about"] p | 1427 [data-dialog="about"] p |
1384 { | 1428 { |
1385 margin: 0.5rem 0rem; | 1429 margin: 0.5rem 0rem; |
1386 } | |
1387 | |
1388 #abp-version | |
1389 { | |
1390 margin-bottom: 2rem; | |
1391 } | 1430 } |
1392 | 1431 |
1393 [data-dialog="import"] .side-controls | 1432 [data-dialog="import"] .side-controls |
1394 { | 1433 { |
1395 margin-top: 2.45rem; | 1434 margin-top: 2.45rem; |
1396 } | 1435 } |
1397 | 1436 |
1398 #dialog .table | 1437 #dialog .table |
1399 { | 1438 { |
1400 width: 100%; | 1439 width: 100%; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1448 { | 1487 { |
1449 position: fixed; | 1488 position: fixed; |
1450 top: 0rem; | 1489 top: 0rem; |
1451 left: 0rem; | 1490 left: 0rem; |
1452 display: flex; | 1491 display: flex; |
1453 padding: 1rem 1.9rem; | 1492 padding: 1rem 1.9rem; |
1454 width: 100%; | 1493 width: 100%; |
1455 box-sizing: border-box; | 1494 box-sizing: border-box; |
1456 opacity: 0.8; | 1495 opacity: 0.8; |
1457 font-size: 1rem; | 1496 font-size: 1rem; |
1458 color: #099CD0; | 1497 color: #077CA6; |
1459 background-color: #E1F2FA; | 1498 background-color: #E1F2FA; |
1460 } | 1499 } |
1461 | 1500 |
1462 #notification strong | 1501 #notification strong |
1463 { | 1502 { |
1464 flex: 1; | 1503 flex: 1; |
1465 text-align: center; | 1504 text-align: center; |
1466 } | 1505 } |
1467 | 1506 |
1468 #hide-notification | 1507 #hide-notification |
1469 { | 1508 { |
1470 margin: 0rem 1rem; | 1509 margin: 0rem 1rem; |
1471 } | 1510 } |
1472 | 1511 |
1473 #hide-notification::after | 1512 #hide-notification::after |
1474 { | 1513 { |
1475 background-image: url(icons/delete.svg#secondary); | 1514 background-image: url(icons/delete.svg?secondary#secondary); |
1476 } | 1515 } |
1477 | 1516 |
1478 #hide-tracking-notification::after | 1517 #hide-tracking-warning::after |
1479 { | 1518 { |
1480 background-image: url(icons/delete.svg#tertiary); | 1519 background-image: url(icons/delete.svg?tertiary#tertiary); |
1481 } | 1520 } |
1482 | 1521 |
1483 #hide-notification:hover::after | 1522 #hide-notification:hover::after |
1484 { | 1523 { |
1485 background-image: url(icons/delete.svg#secondary-hover); | 1524 background-image: url(icons/delete.svg?secondary-hover#secondary-hover); |
1486 } | 1525 } |
1487 | 1526 |
1488 #hide-tracking-notification:hover::after | 1527 #hide-tracking-warning:hover::after |
1489 { | 1528 { |
1490 background-image: url(icons/delete.svg#tertiary-hover); | 1529 background-image: url(icons/delete.svg?tertiary-hover#tertiary-hover); |
1491 } | 1530 } |
LEFT | RIGHT |