OLD | NEW |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: 1.2rem 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 background-image: url(icons/checkbox.svg#off); |
169 display: inline-block; | 185 display: inline-block; |
170 } | 186 } |
171 | 187 |
172 button[role="checkbox"][aria-checked="true"]:not(.toggle) | 188 button[role="checkbox"][aria-checked="true"]:not(.toggle) |
173 { | 189 { |
174 background-position: 0px 18px; | 190 background-image: url(icons/checkbox.svg#on); |
175 } | 191 } |
176 | 192 |
177 button[role="checkbox"][disabled], | 193 button[role="checkbox"][disabled], |
178 button[role="checkbox"][aria-disabled="true"] | 194 button[role="checkbox"][aria-disabled="true"] |
179 { | 195 { |
180 border-radius: 2px; | 196 border-radius: 2px; |
181 background-color: #ccc; | 197 background-color: #ccc; |
182 } | 198 } |
183 | 199 |
184 button[role="checkbox"].toggle | 200 button[role="checkbox"].toggle |
185 { | 201 { |
186 background: url(icons/toggle.svg#on); | 202 background: url(icons/toggle.svg#on); |
187 } | 203 } |
188 | 204 |
189 button[role="checkbox"][aria-checked="false"].toggle | 205 button[role="checkbox"][aria-checked="false"].toggle |
190 { | 206 { |
191 background: url(icons/toggle.svg#off); | 207 background: url(icons/toggle.svg#off); |
192 } | 208 } |
193 | 209 |
194 button[role="checkbox"][aria-checked="true"].toggle | 210 button[role="checkbox"][aria-checked="true"].toggle |
195 { | 211 { |
196 background: url(icons/toggle.svg#on); | 212 background: url(icons/toggle.svg#on); |
197 } | 213 } |
198 | 214 |
199 button[role="checkbox"].toggle | 215 button[role="checkbox"].toggle |
200 { | 216 { |
201 background-position: initial; | 217 background-position: initial; |
202 width: 2.25rem; | 218 width: 1.9rem; |
203 height: 1.3rem; | 219 height: 1rem; |
| 220 vertical-align: middle; |
204 } | 221 } |
205 | 222 |
206 button[role="checkbox"][disabled].toggle | 223 button[role="checkbox"][disabled].toggle |
207 { | 224 { |
208 background-image: none; | 225 background-image: none; |
209 } | 226 } |
210 | 227 |
211 button.delete::before | 228 button.delete::before |
212 { | 229 { |
213 background-image: url(icons/trash.svg#default); | 230 background-image: url(icons/trash.svg#default); |
(...skipping 20 matching lines...) Expand all Loading... |
234 border: 0px; | 251 border: 0px; |
235 padding: 0px; | 252 padding: 0px; |
236 background-color: transparent; | 253 background-color: transparent; |
237 } | 254 } |
238 | 255 |
239 button.gear::before, | 256 button.gear::before, |
240 button.delete::before | 257 button.delete::before |
241 { | 258 { |
242 content: ""; | 259 content: ""; |
243 display: block; | 260 display: block; |
244 height: 1.9rem; | 261 height: 1rem; |
245 width: 1.9rem; | 262 width: 1rem; |
| 263 border: 0.2rem solid transparent; |
| 264 background-repeat: no-repeat; |
| 265 background-position: center; |
246 } | 266 } |
247 | 267 |
248 button.link, | 268 button.link, |
249 button.list | 269 button.list |
250 { | 270 { |
251 color: #099CD0; | 271 color: #077CA6; |
252 } | 272 } |
253 | 273 |
254 button.link | 274 button.link |
255 { | 275 { |
256 border: 0px; | 276 border: 0px; |
257 background-color: transparent; | 277 background-color: transparent; |
258 font-weight: 300; | 278 font-weight: 400; |
259 font-family: inherit; | 279 font-family: inherit; |
260 text-transform: none; | 280 text-transform: none; |
| 281 text-decoration: underline; |
261 padding: 0.2rem; | 282 padding: 0.2rem; |
262 } | 283 } |
263 | 284 |
264 button.link:hover | 285 button.link:hover |
265 { | 286 { |
266 color: #5CBCE1; | 287 color: #5CBCE1; |
267 } | 288 } |
268 | 289 |
269 button.list | 290 button.list |
270 { | 291 { |
271 border-style: solid;; | 292 border-style: solid;; |
272 border-color: #CDCDCD; | 293 border-color: #CDCDCD; |
273 border-width: 0px 1px 1px 1px; | 294 border-width: 0px 1px 1px 1px; |
274 width: 100%; | 295 width: 100%; |
275 background-color: #E1F2FA; | 296 background-color: #E1F2FA; |
276 text-align: initial; | 297 text-align: initial; |
277 } | 298 } |
278 | 299 |
279 button.list:hover | 300 button.list:hover |
280 { | 301 { |
281 box-shadow: inset 0 0 0 3px #099CD0; | 302 box-shadow: inset 0 0 0 3px #077CA6; |
282 border-color: #099CD0; | 303 border-color: #077CA6; |
283 } | 304 } |
284 | 305 |
285 .side-controls:not(.wrap) | 306 .side-controls:not(.wrap) |
286 { | 307 { |
287 margin: 0.8rem 0rem; | 308 margin: 0.8rem 0rem; |
288 display: flex; | 309 display: flex; |
289 justify-content: flex-end; | 310 justify-content: flex-end; |
290 } | 311 } |
291 | 312 |
292 .side-controls button | 313 .side-controls button |
(...skipping 19 matching lines...) Expand all Loading... |
312 position: relative; | 333 position: relative; |
313 padding-top: 0.7rem; | 334 padding-top: 0.7rem; |
314 margin: 1.8rem 0rem 0.5rem 0rem; | 335 margin: 1.8rem 0rem 0.5rem 0rem; |
315 } | 336 } |
316 | 337 |
317 .floating-input input | 338 .floating-input input |
318 { | 339 { |
319 border-color: #CDCDCD; | 340 border-color: #CDCDCD; |
320 border-width: 0px 0px 1px 0px; | 341 border-width: 0px 0px 1px 0px; |
321 outline: none; | 342 outline: none; |
322 font-size: 1.3rem; | 343 font-size: 1rem; |
323 padding: 5px; | 344 padding: 5px; |
324 width: 100%; | 345 width: 100%; |
325 } | 346 } |
326 | 347 |
327 .floating-input input:placeholder-shown ~ label, | 348 .floating-input input:placeholder-shown ~ label, |
328 .floating-input input + label, | 349 .floating-input input + label, |
329 .floating-input input:focus + label | 350 .floating-input input:focus + label |
330 { | 351 { |
331 position: absolute; | 352 position: absolute; |
332 top: 0.9rem; | 353 top: 0.9rem; |
333 left: 0.3rem; | 354 left: 0.3rem; |
334 font-size: 1.3rem; | 355 font-size: 1rem; |
335 } | 356 } |
336 | 357 |
337 .floating-input input + label, | 358 .floating-input input + label, |
338 .floating-input input:focus + label | 359 .floating-input input:focus + label |
339 { | 360 { |
340 top: -0.5rem; | 361 top: -0.5rem; |
341 font-size: 0.9rem; | 362 font-size: 0.9rem; |
342 } | 363 } |
343 | 364 |
344 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, | 365 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 | 462 |
442 #sidebar header h1 strong | 463 #sidebar header h1 strong |
443 { | 464 { |
444 font-weight: 700; | 465 font-weight: 700; |
445 } | 466 } |
446 | 467 |
447 #sidebar header p | 468 #sidebar header p |
448 { | 469 { |
449 margin: 0rem; | 470 margin: 0rem; |
450 font-size: 2.4rem; | 471 font-size: 2.4rem; |
| 472 line-height: 2.6rem; |
451 } | 473 } |
452 | 474 |
453 html[dir="rtl"] #sidebar header | 475 html[dir="rtl"] #sidebar header |
454 { | 476 { |
455 text-align: left; | 477 text-align: left; |
456 } | 478 } |
457 | 479 |
458 #sidebar-logo | 480 #sidebar-logo |
459 { | 481 { |
460 width: 3rem; | 482 width: 3rem; |
461 margin-bottom: 0.7rem; | 483 margin-bottom: 0.7rem; |
462 } | 484 } |
463 | 485 |
464 #sidebar nav, | 486 #sidebar nav, |
465 #sidebar footer | 487 #sidebar footer |
466 { | 488 { |
467 margin: 1.4rem 0rem; | 489 margin: 1.4rem 0rem; |
468 } | 490 } |
469 | 491 |
470 [role="tablist"] | 492 [role="tablist"] |
471 { | 493 { |
472 list-style: none; | 494 list-style: none; |
473 margin: 0rem; | 495 margin: 0rem; |
474 padding: 0rem; | 496 padding: 0rem; |
475 position: relative; | 497 position: relative; |
476 font-size: 1.25rem; | 498 font-size: 1rem; |
477 } | 499 } |
478 | 500 |
479 [role="tablist"] li a | 501 [role="tablist"] li a |
480 { | 502 { |
481 display: flex; | 503 display: flex; |
482 margin-top: -1px; | 504 margin-top: -1px; |
483 padding: 1rem 0.8rem; | 505 padding: 1rem 0.8rem; |
484 -moz-margin-end: -1px; | 506 -moz-margin-end: -1px; |
485 -webkit-margin-end: -1px; | 507 -webkit-margin-end: -1px; |
486 -moz-margin-start: -1px; | 508 -moz-margin-start: -1px; |
(...skipping 22 matching lines...) Expand all Loading... |
509 | 531 |
510 #sidebar footer | 532 #sidebar footer |
511 { | 533 { |
512 width: 100%; | 534 width: 100%; |
513 } | 535 } |
514 | 536 |
515 #sidebar footer p | 537 #sidebar footer p |
516 { | 538 { |
517 display: flex; | 539 display: flex; |
518 justify-content: center; | 540 justify-content: center; |
519 margin: 1.2rem 0rem; | 541 margin: 1rem 0rem; |
520 } | 542 } |
521 | 543 |
522 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ | 544 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ |
523 @media (min-height: 37rem) | 545 @media (min-height: 37rem) |
524 { | 546 { |
525 #sidebar .fixed | 547 #sidebar .fixed |
526 { | 548 { |
527 position: fixed; | 549 position: fixed; |
528 } | 550 } |
529 | 551 |
(...skipping 13 matching lines...) Expand all Loading... |
543 body[data-tab|="whitelist"] #content-whitelist, | 565 body[data-tab|="whitelist"] #content-whitelist, |
544 body[data-tab|="help"] #content-help | 566 body[data-tab|="help"] #content-help |
545 { | 567 { |
546 display: block; | 568 display: block; |
547 } | 569 } |
548 | 570 |
549 main | 571 main |
550 { | 572 { |
551 background-color: #FFFFFF; | 573 background-color: #FFFFFF; |
552 border: 1px solid #CDCDCD; | 574 border: 1px solid #CDCDCD; |
553 max-width: 46.3rem; | 575 width: 46.3rem; |
554 padding: 0px 0rem 1.4rem 0rem; | 576 padding: 0px 0rem 1.4rem 0rem; |
555 } | 577 } |
556 | 578 |
557 main > div | 579 main > div |
558 { | 580 { |
559 display: none; | 581 display: none; |
560 } | 582 } |
561 | 583 |
562 main p | 584 main p |
563 { | 585 { |
564 margin: 0.8rem 0rem; | 586 margin: 0.8rem 0rem; |
565 } | 587 } |
566 | 588 |
567 /* | 589 /* |
568 Sections | 590 Sections |
569 */ | 591 */ |
570 | 592 |
571 [role="tabpanel"] > section, | 593 [role="tabpanel"] > section, |
572 [role="tabpanel"] > .section | 594 [role="tabpanel"] > .section |
573 { | 595 { |
574 padding: 2rem; | 596 padding: 1.4rem 2rem; |
575 border-top: 1px solid #CDCDCD; | 597 border-top: 1px solid #CDCDCD; |
576 } | 598 } |
577 | 599 |
578 [role="tabpanel"] > header h1, | 600 [role="tabpanel"] > header h1, |
579 [role="tabpanel"] > header p | 601 [role="tabpanel"] > header p |
580 { | 602 { |
581 padding: 0rem 2rem; | 603 padding: 0rem 2rem; |
582 margin: 1.4rem 0rem; | 604 margin: 1.4rem 0rem; |
583 } | 605 } |
584 | 606 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 flex: 3; | 638 flex: 3; |
617 } | 639 } |
618 | 640 |
619 /* | 641 /* |
620 Acceptable ads | 642 Acceptable ads |
621 */ | 643 */ |
622 | 644 |
623 #acceptable-ads ul | 645 #acceptable-ads ul |
624 { | 646 { |
625 position: relative; | 647 position: relative; |
626 padding-left: 2rem; | 648 padding-left: 2.2rem; |
627 list-style: none; | 649 list-style: none; |
628 } | 650 } |
629 | 651 |
630 html[dir="rtl"] #acceptable-ads ul | 652 html[dir="rtl"] #acceptable-ads ul |
631 { | 653 { |
632 padding-left: 0rem; | 654 padding-left: 0rem; |
633 padding-right: 2rem; | 655 padding-right: 2.2rem; |
634 } | 656 } |
635 | 657 |
636 #acceptable-ads button | 658 #acceptable-ads button |
637 { | 659 { |
638 position: absolute; | 660 position: absolute; |
639 margin-top: 0.3rem; | 661 margin-top: 0.3rem; |
640 left: 0rem; | 662 left: 0rem; |
641 } | 663 } |
642 | 664 |
643 html[dir="rtl"] button | 665 html[dir="rtl"] button |
644 { | 666 { |
645 left: auto; | 667 left: auto; |
646 right: 0rem; | 668 right: 0rem; |
647 } | 669 } |
648 | 670 |
649 #acceptable-ads label | 671 #acceptable-ads label |
650 { | 672 { |
651 font-weight: 700; | 673 font-weight: 700; |
652 font-size: 1.375rem; | 674 font-size: 1rem; |
| 675 -moz-margin-end: 0.5rem; |
| 676 -webkit-margin-end: 0.5rem; |
653 } | 677 } |
654 | 678 |
655 #dnt | 679 #dnt |
656 { | 680 { |
657 padding: 0.8rem; | 681 padding: 0.8rem; |
658 border: 1px solid #099CD0; | 682 border: 1px solid #077CA6; |
659 } | 683 } |
660 | 684 |
661 .new | 685 .new |
662 { | 686 { |
663 display: inline-block; | 687 display: inline-block; |
664 margin: 0rem 0.5rem; | 688 padding: 0.2rem 0.5rem; |
665 padding: 0.3rem 0.6rem; | |
666 border-radius: 0.2rem; | 689 border-radius: 0.2rem; |
667 background-color: #099CD0; | 690 background-color: #077CA6; |
668 color: #FFF; | 691 color: #FFF; |
669 line-height: 100%; | 692 line-height: 100%; |
670 font-size: 1rem; | 693 font-size: 0.8rem; |
671 text-transform: uppercase; | 694 text-transform: uppercase; |
672 } | 695 } |
673 | 696 |
674 /* | 697 /* |
675 Tables | 698 Tables |
676 */ | 699 */ |
677 | 700 |
678 ul.table, | 701 ul.table, |
679 ul.list | 702 ul.list |
680 { | 703 { |
(...skipping 13 matching lines...) Expand all Loading... |
694 { | 717 { |
695 margin: 0rem; | 718 margin: 0rem; |
696 border-style: solid; | 719 border-style: solid; |
697 border-color: #CDCDCD; | 720 border-color: #CDCDCD; |
698 border-width: 0px 1px 1px 1px; | 721 border-width: 0px 1px 1px 1px; |
699 } | 722 } |
700 | 723 |
701 .list li | 724 .list li |
702 { | 725 { |
703 padding: 0rem; | 726 padding: 0rem; |
704 margin: 0rem 0rem 1.3rem 0rem; | 727 margin-bottom: 0.8rem; |
705 } | 728 } |
706 | 729 |
707 .list li [role="checkbox"] | 730 .list li [role="checkbox"] |
708 { | 731 { |
709 flex-shrink: 0; | 732 flex-shrink: 0; |
710 } | 733 } |
711 | 734 |
712 .table li:first-of-type | 735 .table li:first-of-type |
713 { | 736 { |
714 border-top: 1px solid #CDCDCD; | 737 border-top: 1px solid #CDCDCD; |
715 } | 738 } |
716 | 739 |
717 .table.list li | 740 .table.list li |
718 { | 741 { |
719 padding: 0.5rem 1.1rem; | 742 padding: 0.5rem 1rem; |
720 margin: 0rem; | 743 margin: 0rem; |
721 } | 744 } |
722 | 745 |
723 li .display | 746 li .display |
724 { | 747 { |
725 margin: 0rem 1rem; | 748 margin: 0rem 1rem; |
726 } | 749 } |
727 | 750 |
728 .table.list li .display | 751 .table.list li .display |
729 { | 752 { |
730 flex: 1; | 753 flex: 1; |
| 754 margin: 0rem; |
731 } | 755 } |
732 | 756 |
733 .table.list li.empty-placeholder | 757 .table.list li.empty-placeholder |
734 { | 758 { |
735 padding: 1.3em 1.9em; | 759 padding: 1.3em 1.9em; |
736 } | 760 } |
737 | 761 |
738 .table.list li.empty-placeholder:not(:last-of-type) | 762 .table.list li.empty-placeholder:not(:last-of-type) |
739 { | 763 { |
740 border-bottom: 0px; | 764 border-bottom: 0px; |
741 } | 765 } |
742 | 766 |
743 #blocking-languages-table .display | |
744 { | |
745 font-weight: 700; | |
746 } | |
747 | |
748 .table.list button.link | 767 .table.list button.link |
749 { | 768 { |
750 font-weight: 700; | 769 font-weight: 700; |
751 text-transform: uppercase; | 770 text-transform: uppercase; |
752 } | 771 } |
753 | 772 |
754 .table:not(.list):not(.cols) li | 773 .table:not(.list):not(.cols) li |
755 { | 774 { |
756 padding-top: 0px; | 775 padding-top: 0px; |
757 padding-bottom: 6px; | 776 padding-bottom: 6px; |
758 } | 777 } |
759 | 778 |
760 .table li [data-single="visible"], | 779 .table li [data-single="visible"], |
761 .table li:first-of-type:last-of-type [data-single="hidden"] | 780 .table li:first-of-type:last-of-type [data-single="hidden"] |
762 { | 781 { |
763 display: none; | 782 display: none; |
764 } | 783 } |
765 | 784 |
766 .table li:first-of-type:last-of-type [data-single="visible"] | 785 .table li:first-of-type:last-of-type [data-single="visible"] |
767 { | 786 { |
768 display: block; | 787 display: block; |
769 } | 788 } |
770 | 789 |
771 .th | 790 .th |
772 { | 791 { |
773 display: flex; | 792 display: flex; |
774 } | 793 } |
775 | 794 |
776 .col4 > * | 795 .col5 > * |
777 { | 796 { |
778 display: inline-block; | 797 display: inline-block; |
779 } | 798 } |
780 | 799 |
781 .col4 | 800 .col5 |
782 { | 801 { |
783 margin: 0rem 0.9rem; | 802 margin: 0rem 1rem; |
784 } | 803 } |
785 | 804 |
786 .th .col4:nth-of-type(1), | 805 .th .col5:nth-of-type(1), |
787 .table .col4:nth-of-type(1) | 806 .table .col5:nth-of-type(1) |
788 { | 807 { |
789 flex: 2; | 808 flex: 4; |
790 } | 809 } |
791 | 810 |
792 .th .col4:nth-of-type(2), | 811 .th .col5:nth-of-type(2), |
793 .table .col4:nth-of-type(2) | 812 .table .col5:nth-of-type(2) |
794 { | 813 { |
795 flex: 3; | 814 flex: 8; |
796 } | 815 } |
797 | 816 |
798 .th .col4:nth-of-type(3), | 817 .th .col5:nth-of-type(3), |
799 .table .col4:nth-of-type(3) | 818 .table .col5:nth-of-type(3) |
800 { | 819 { |
801 flex: 2; | 820 flex: 4; |
802 } | 821 } |
803 | 822 |
804 .th .col4:nth-of-type(4), | 823 .th .col5:nth-of-type(4), |
805 .table .col4:nth-of-type(4) | 824 .table .col5:nth-of-type(4) |
806 { | 825 { |
807 flex: 1; | 826 flex: 1; |
808 } | 827 } |
809 | 828 |
810 .table.cols | 829 .th .col5:nth-of-type(5), |
| 830 .table .col5:nth-of-type(5) |
811 { | 831 { |
812 font-size: 1.1rem; | 832 flex: 1; |
| 833 -moz-margin-start: 0; |
| 834 -webkit-margin-start: 0; |
| 835 -moz-margin-end: 1.8rem; |
| 836 -webkit-margin-end: 1.8rem; |
813 } | 837 } |
814 | 838 |
815 .table.cols .display | 839 .table.cols .display |
816 { | 840 { |
817 margin: 0rem; | 841 margin: 0rem; |
818 } | 842 } |
819 | 843 |
820 .table.cols li | 844 .table.cols li |
821 { | 845 { |
822 padding: 0.9rem 0rem; | 846 padding: 0.9rem 0rem; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 -moz-margin-end: 1rem; | 917 -moz-margin-end: 1rem; |
894 -webkit-margin-end: 1rem; | 918 -webkit-margin-end: 1rem; |
895 line-height: 1.5rem; | 919 line-height: 1.5rem; |
896 text-decoration: none; | 920 text-decoration: none; |
897 cursor: help; | 921 cursor: help; |
898 } | 922 } |
899 | 923 |
900 .tooltip::before | 924 .tooltip::before |
901 { | 925 { |
902 content: ""; | 926 content: ""; |
903 width: 1.3rem; | 927 width: 1.1rem; |
904 height: 1.3rem; | 928 height: 1.1rem; |
905 display: block; | 929 display: block; |
906 background-image: url(icons/tooltip.svg); | 930 background-image: url(icons/tooltip.svg); |
907 } | 931 } |
908 | 932 |
909 /* | 933 /* |
910 Used for translatable screen reader only conten. | 934 Used for translatable screen reader only conten. |
911 e.g.: Use instead of aria-label to avoid complex attribute value translation | 935 e.g.: Use instead of aria-label to avoid complex attribute value translation |
912 */ | 936 */ |
913 .sr-only | 937 .sr-only |
914 { | 938 { |
(...skipping 29 matching lines...) Expand all Loading... |
944 */ | 968 */ |
945 | 969 |
946 #content-whitelist form | 970 #content-whitelist form |
947 { | 971 { |
948 display: flex; | 972 display: flex; |
949 } | 973 } |
950 | 974 |
951 #content-whitelist form input | 975 #content-whitelist form input |
952 { | 976 { |
953 flex: 1; | 977 flex: 1; |
| 978 height: 100%; |
954 padding: 0.5rem 1rem; | 979 padding: 0.5rem 1rem; |
955 font-size: 1.25rem; | 980 font-size: 1rem; |
956 border: 2px solid #099CD0; | 981 border: 2px solid #077CA6; |
957 } | 982 } |
958 | 983 |
959 #content-whitelist form button | 984 #content-whitelist form button |
960 { | 985 { |
961 -moz-margin-start: 0.7rem; | 986 -moz-margin-start: 0.7rem; |
962 -webkit-margin-start: 0.7rem; | 987 -webkit-margin-start: 0.7rem; |
963 } | 988 } |
964 | 989 |
965 #whitelisting-table li | 990 #whitelisting-table li |
966 { | 991 { |
| 992 padding-left: 1.4rem; |
| 993 padding-right: 1.4rem; |
967 border-left: 0rem; | 994 border-left: 0rem; |
968 border-right: 0rem; | 995 border-right: 0rem; |
969 } | 996 } |
970 | 997 |
971 /* | 998 /* |
972 Advanced tab content | 999 Advanced tab content |
973 */ | 1000 */ |
974 | 1001 |
975 #all-filter-lists-table li.show-message .last-update, | 1002 #all-filter-lists-table li.show-message .last-update, |
976 #all-filter-lists-table li:not(.show-message) .message, | 1003 #all-filter-lists-table li:not(.show-message) .message, |
(...skipping 30 matching lines...) Expand all Loading... |
1007 #custom-filters-raw | 1034 #custom-filters-raw |
1008 { | 1035 { |
1009 width: 100%; | 1036 width: 100%; |
1010 height: 23.6rem; | 1037 height: 23.6rem; |
1011 padding: 0.8rem 1.3rem; | 1038 padding: 0.8rem 1.3rem; |
1012 } | 1039 } |
1013 | 1040 |
1014 #custom-filters-raw:focus | 1041 #custom-filters-raw:focus |
1015 { | 1042 { |
1016 outline: none; | 1043 outline: none; |
1017 border: 2px solid #099CD0; | 1044 border: 2px solid #077CA6; |
1018 } | 1045 } |
1019 | 1046 |
1020 #empty-custom-filters | 1047 #empty-custom-filters |
1021 { | 1048 { |
1022 padding: 1.5rem; | 1049 padding: 1.5rem; |
1023 border: 1px solid #CDCDCD; | 1050 border: 1px solid #CDCDCD; |
1024 } | 1051 } |
1025 | 1052 |
1026 /* | 1053 /* |
1027 Context menu | 1054 Context menu |
1028 */ | 1055 */ |
1029 | 1056 |
1030 li [role="menubar"] | 1057 li [role="menubar"] |
1031 { | 1058 { |
1032 position: relative; | 1059 position: relative; |
1033 } | 1060 } |
1034 | 1061 |
1035 [role="tooltip"] | 1062 [role="tooltip"] |
1036 { | 1063 { |
1037 right: -1rem; | 1064 right: -1rem; |
1038 margin-top: 1rem; | 1065 margin-top: 1rem; |
1039 opacity: 1; | 1066 opacity: 1; |
1040 padding: 1.3rem; | 1067 padding: 0.2rem 1rem; |
1041 position: absolute; | 1068 position: absolute; |
1042 -webkit-transition: opacity 200ms ease-in-out 400ms, | 1069 -webkit-transition: opacity 200ms ease-in-out 400ms, |
1043 visibility 0ms linear 400ms; | 1070 visibility 0ms linear 400ms; |
1044 transition: opacity 200ms ease-in-out 400ms, | 1071 transition: opacity 200ms ease-in-out 400ms, |
1045 visibility 0ms linear 400ms; | 1072 visibility 0ms linear 400ms; |
1046 visibility: visible; | 1073 visibility: visible; |
1047 width: 15rem; | 1074 width: 15rem; |
1048 z-index: 1; | 1075 z-index: 1; |
1049 } | 1076 } |
1050 | 1077 |
1051 html[dir="rtl"] [role="tooltip"] | 1078 html[dir="rtl"] [role="tooltip"] |
1052 { | 1079 { |
1053 right: auto; | 1080 right: auto; |
1054 left: -1rem; | 1081 left: -1rem; |
1055 } | 1082 } |
1056 | 1083 |
1057 [role="tooltip"], | 1084 [role="tooltip"], |
1058 .context-menu .content | 1085 .context-menu .content |
1059 { | 1086 { |
1060 border: 1px solid #099CD0; | 1087 border: 1px solid #077CA6; |
1061 border-radius: 3px; | 1088 border-radius: 3px; |
1062 background-color: #FFFFFF; | 1089 background-color: #FFFFFF; |
1063 } | 1090 } |
1064 | 1091 |
1065 | 1092 |
1066 .tooltip:not(:hover) > [role="tooltip"], | 1093 .tooltip:not(:hover) > [role="tooltip"], |
1067 [role="tooltip"]:hover | 1094 [role="tooltip"]:hover |
1068 { | 1095 { |
1069 visibility: hidden; | 1096 visibility: hidden; |
1070 opacity: 0; | 1097 opacity: 0; |
1071 -webkit-transition-delay: 0ms; | 1098 -webkit-transition-delay: 0ms; |
1072 transition-delay: 0ms; | 1099 transition-delay: 0ms; |
1073 } | 1100 } |
1074 | 1101 |
1075 .context-menu | 1102 .context-menu |
1076 { | 1103 { |
1077 position: absolute; | 1104 position: absolute; |
1078 right: 3rem; | 1105 right: 2.5rem; |
1079 top: -3rem; | 1106 top: -2.7rem; |
1080 z-index: 1; | 1107 z-index: 1; |
1081 visibility: hidden; | 1108 visibility: hidden; |
1082 } | 1109 } |
1083 | 1110 |
1084 html[dir="rtl"] .context-menu | 1111 html[dir="rtl"] .context-menu |
1085 { | 1112 { |
1086 right: auto; | 1113 right: auto; |
1087 left: 3rem; | 1114 left: 2.5rem; |
1088 } | 1115 } |
1089 | 1116 |
1090 .context-menu .content | 1117 .context-menu .content |
1091 { | 1118 { |
1092 padding: 0rem; | 1119 padding: 0rem; |
1093 position: relative; | 1120 position: relative; |
1094 cursor: default; | 1121 cursor: default; |
1095 } | 1122 } |
1096 | 1123 |
1097 li.show-context-menu .context-menu | 1124 li.show-context-menu .context-menu |
1098 { | 1125 { |
1099 visibility: visible; | 1126 visibility: visible; |
1100 } | 1127 } |
1101 | 1128 |
1102 [role="tooltip"]::before, | 1129 [role="tooltip"]::before, |
1103 .context-menu::before | 1130 .context-menu::before |
1104 { | 1131 { |
1105 content: ""; | 1132 content: ""; |
1106 width: 0rem; | 1133 width: 0rem; |
1107 height: 0rem; | 1134 height: 0rem; |
1108 position: absolute; | 1135 position: absolute; |
1109 } | 1136 } |
1110 | 1137 |
1111 [role="tooltip"]::before | 1138 [role="tooltip"]::before |
1112 { | 1139 { |
1113 border-left: 10px solid transparent; | 1140 border-left: 10px solid transparent; |
1114 border-right: 10px solid transparent; | 1141 border-right: 10px solid transparent; |
1115 border-bottom: 10px solid #099CD0; | 1142 border-bottom: 10px solid #077CA6; |
1116 top: -10px; | 1143 top: -10px; |
1117 right: 15px; | 1144 right: 15px; |
1118 } | 1145 } |
1119 | 1146 |
1120 html[dir="rtl"] [role="tooltip"]::before | 1147 html[dir="rtl"] [role="tooltip"]::before |
1121 { | 1148 { |
1122 right: auto; | 1149 right: auto; |
1123 left: 15px; | 1150 left: 15px; |
1124 } | 1151 } |
1125 | 1152 |
1126 .context-menu::before | 1153 .context-menu::before |
1127 { | 1154 { |
1128 border-left: 10px solid #099CD0; | 1155 border-left: 10px solid #077CA6; |
1129 border-top: 10px solid transparent; | 1156 border-top: 10px solid transparent; |
1130 border-bottom: 10px solid transparent; | 1157 border-bottom: 10px solid transparent; |
1131 top: 22px; | 1158 top: 22px; |
1132 right: -0.5rem; | 1159 right: -0.5rem; |
1133 } | 1160 } |
1134 | 1161 |
1135 html[dir="rtl"] .context-menu::before | 1162 html[dir="rtl"] .context-menu::before |
1136 { | 1163 { |
1137 border-left: 0rem; | 1164 border-left: 0rem; |
1138 border-right: 10px solid #099CD0; | 1165 border-right: 10px solid #077CA6; |
1139 right: auto; | 1166 right: auto; |
1140 left: -0.5rem; | 1167 left: -0.5rem; |
1141 } | 1168 } |
1142 | 1169 |
1143 .context-menu li[role="menuitem"] | 1170 .context-menu li[role="menuitem"] |
1144 { | 1171 { |
1145 width: 12.2rem; | 1172 width: 12.2rem; |
1146 border: 0rem; | 1173 border: 0rem; |
1147 padding: 0rem; | 1174 padding: 0rem; |
1148 } | 1175 } |
1149 | 1176 |
1150 .context-menu li[role="menuitem"] > * | 1177 .context-menu li[role="menuitem"] > * |
1151 { | 1178 { |
1152 width: 100%; | 1179 width: 100%; |
1153 display: flex; | 1180 display: flex; |
1154 border: 0rem; | 1181 border: 0rem; |
1155 padding: 1rem 0rem; | 1182 padding: 0.7rem 0rem; |
1156 color: #099CD0; | 1183 color: #077CA6; |
1157 font-size: 1.1rem; | 1184 font-size: 1rem; |
1158 font-weight: 700; | 1185 font-weight: 400; |
1159 text-transform: none; | 1186 text-transform: none; |
| 1187 text-decoration: none; |
1160 } | 1188 } |
1161 | 1189 |
1162 .context-menu li[role="menuitem"] > *:hover, | 1190 .context-menu li[role="menuitem"] > *:hover, |
1163 .context-menu li[role="menuitem"] > *:focus | 1191 .context-menu li[role="menuitem"] > *:focus |
1164 { | 1192 { |
1165 background-color: #E1F2FA; | 1193 background-color: #E1F2FA; |
1166 cursor: pointer; | 1194 cursor: pointer; |
1167 } | 1195 } |
1168 | 1196 |
1169 .context-menu li[role="menuitem"] > *::before | 1197 .context-menu li[role="menuitem"] > *::before |
1170 { | 1198 { |
1171 content: ""; | 1199 content: ""; |
1172 height: 1.5rem; | 1200 height: 1rem; |
1173 width: 1.5rem; | 1201 width: 1rem; |
1174 margin: 0rem 1.1rem; | 1202 margin: 0rem 1.1rem; |
| 1203 border: 0rem; |
1175 } | 1204 } |
1176 | 1205 |
1177 .context-menu .update-subscription::before | 1206 .context-menu .update-subscription::before |
1178 { | 1207 { |
1179 background-image: url(icons/reload.svg); | 1208 background-image: url(icons/reload.svg); |
1180 } | 1209 } |
1181 | 1210 |
1182 .context-menu .website::before | 1211 .context-menu .website::before |
1183 { | 1212 { |
1184 background-image: url(icons/globe.svg); | 1213 background-image: url(icons/globe.svg); |
(...skipping 29 matching lines...) Expand all Loading... |
1214 { | 1243 { |
1215 display: inline-block; | 1244 display: inline-block; |
1216 -moz-margin-end: 1rem; | 1245 -moz-margin-end: 1rem; |
1217 -webkit-margin-end: 1rem; | 1246 -webkit-margin-end: 1rem; |
1218 } | 1247 } |
1219 | 1248 |
1220 #social ul li a | 1249 #social ul li a |
1221 { | 1250 { |
1222 display: block; | 1251 display: block; |
1223 text-align: center; | 1252 text-align: center; |
| 1253 text-decoration: none; |
1224 } | 1254 } |
1225 | 1255 |
1226 #social ul li a::before | 1256 #social ul li a::before |
1227 { | 1257 { |
1228 display: block; | 1258 display: block; |
1229 margin: 0em auto; | 1259 margin: 0em auto; |
1230 width: 2.5rem; | 1260 width: 2.5rem; |
1231 height: 2.5rem; | 1261 height: 2.5rem; |
1232 content: ""; | 1262 content: ""; |
1233 } | 1263 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 width: 50vw; | 1309 width: 50vw; |
1280 margin: auto; | 1310 margin: auto; |
1281 border-radius: 3px; | 1311 border-radius: 3px; |
1282 background-color: #FFFFFF; | 1312 background-color: #FFFFFF; |
1283 } | 1313 } |
1284 | 1314 |
1285 #dialog header | 1315 #dialog header |
1286 { | 1316 { |
1287 display: flex; | 1317 display: flex; |
1288 padding: 0.7rem 1.5rem; | 1318 padding: 0.7rem 1.5rem; |
1289 background-color: #099CD0; | 1319 background-color: #077CA6; |
1290 } | 1320 } |
1291 | 1321 |
1292 #dialog header h3 | 1322 #dialog header h3 |
1293 { | 1323 { |
1294 margin: 0rem; | 1324 margin: 0rem; |
1295 font-size: 1.375rem; | 1325 font-size: 1rem; |
1296 font-weight: 700; | 1326 font-weight: 700; |
1297 } | 1327 } |
1298 | 1328 |
1299 #dialog-close, | 1329 #dialog-close, |
1300 #hide-notification | 1330 #hide-notification |
1301 { | 1331 { |
1302 border: 0rem; | 1332 border: 0rem; |
1303 padding: 0rem; | 1333 padding: 0rem; |
1304 margin: 0rem; | 1334 margin: 0rem; |
1305 background-color: transparent; | 1335 background-color: transparent; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 [data-dialog="about"] button | 1377 [data-dialog="about"] button |
1348 { | 1378 { |
1349 margin: 1.5rem auto 1.8rem auto; | 1379 margin: 1.5rem auto 1.8rem auto; |
1350 } | 1380 } |
1351 | 1381 |
1352 [data-dialog="about"] p | 1382 [data-dialog="about"] p |
1353 { | 1383 { |
1354 margin: 0.5rem 0rem; | 1384 margin: 0.5rem 0rem; |
1355 } | 1385 } |
1356 | 1386 |
1357 #abp-version | |
1358 { | |
1359 margin-bottom: 2rem; | |
1360 } | |
1361 | |
1362 [data-dialog="import"] .side-controls | 1387 [data-dialog="import"] .side-controls |
1363 { | 1388 { |
1364 margin-top: 2.45rem; | 1389 margin-top: 2.45rem; |
1365 } | 1390 } |
1366 | 1391 |
1367 #dialog .table | 1392 #dialog .table |
1368 { | 1393 { |
1369 width: 100%; | 1394 width: 100%; |
1370 } | 1395 } |
1371 | 1396 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 { | 1442 { |
1418 position: fixed; | 1443 position: fixed; |
1419 top: 0rem; | 1444 top: 0rem; |
1420 left: 0rem; | 1445 left: 0rem; |
1421 display: flex; | 1446 display: flex; |
1422 padding: 1rem 1.9rem; | 1447 padding: 1rem 1.9rem; |
1423 width: 100%; | 1448 width: 100%; |
1424 box-sizing: border-box; | 1449 box-sizing: border-box; |
1425 opacity: 0.8; | 1450 opacity: 0.8; |
1426 font-size: 1rem; | 1451 font-size: 1rem; |
1427 color: #099CD0; | 1452 color: #077CA6; |
1428 background-color: #E1F2FA; | 1453 background-color: #E1F2FA; |
1429 } | 1454 } |
1430 | 1455 |
1431 #notification strong | 1456 #notification strong |
1432 { | 1457 { |
1433 flex: 1; | 1458 flex: 1; |
1434 text-align: center; | 1459 text-align: center; |
1435 } | 1460 } |
1436 | 1461 |
1437 #hide-notification | 1462 #hide-notification |
1438 { | 1463 { |
1439 margin: 0rem 1rem; | 1464 margin: 0rem 1rem; |
1440 } | 1465 } |
1441 | 1466 |
1442 #hide-notification::after | 1467 #hide-notification::after |
1443 { | 1468 { |
1444 background-image: url(icons/delete.svg#secondary); | 1469 background-image: url(icons/delete.svg#secondary); |
1445 } | 1470 } |
1446 | 1471 |
1447 #hide-notification:hover::after | 1472 #hide-notification:hover::after |
1448 { | 1473 { |
1449 background-image: url(icons/delete.svg#secondary-hover); | 1474 background-image: url(icons/delete.svg#secondary-hover); |
1450 } | 1475 } |
OLD | NEW |