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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff"); | 42 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff"); |
43 font-weight: 700; | 43 font-weight: 700; |
44 font-style: normal; | 44 font-style: normal; |
45 } | 45 } |
46 | 46 |
47 html | 47 html |
48 { | 48 { |
49 font-size: 16px; | 49 font-size: 16px; |
50 } | 50 } |
51 | 51 |
52 body | 52 body |
ire
2017/11/09 09:08:29
The line-height isn't set at all? It's supposed to
saroyanm
2017/11/13 17:07:14
Yes, it's not, the style guide are being constantl
| |
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: 1rem; | 61 font-size: 1rem; |
62 color: #494949; | 62 line-height: 1.5rem; |
ire
2017/11/09 09:08:28
According to the spec this colour should be #4A4A4
saroyanm
2017/11/13 17:07:14
Well spotted, done.
| |
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.125rem; | 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: #077CA6; | 81 color: #077CA6; |
80 text-decoration: none; | |
ire
2017/11/09 09:08:28
Shouldn't this be underlined?
saroyanm
2017/11/13 17:07:14
Well spotted, seems like I missed when this was up
| |
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; |
107 } | |
108 | |
109 /* | |
110 Normalization | |
111 */ | |
112 | |
113 input, | |
114 button | |
115 { | |
116 font-family: inherit; | |
117 } | |
118 | |
119 button | |
120 { | |
121 border-radius: 0rem; | |
106 } | 122 } |
107 | 123 |
108 /* | 124 /* |
109 Buttons and links | 125 Buttons and links |
110 */ | 126 */ |
111 | 127 |
112 button, | 128 button, |
113 .button | 129 .button |
ire
2017/11/09 09:08:28
Since Chrome 62, buttons by default have rounded c
saroyanm
2017/11/13 17:07:14
Interesting, didn't know about that, apparently th
| |
114 { | 130 { |
115 display: block; | 131 display: block; |
116 padding: 0.6rem 0.8rem; | 132 padding: 0.6rem 0.8rem; |
117 background-color: transparent; | 133 background-color: transparent; |
118 font-size: 1rem; | 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 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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: 1.7rem; | 218 width: 1.9rem; |
ire
2017/11/09 09:08:29
This should be 1.9rem according to the spec (https
saroyanm
2017/11/13 17:07:14
You are right, the SVG should have been updated fi
| |
203 height: 1rem; | 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 22 matching lines...) Expand all Loading... | |
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: 1rem; | 261 height: 1rem; |
245 width: 1rem; | 262 width: 1rem; |
246 border: 0.2rem solid transparent; | 263 border: 0.2rem solid transparent; |
ire
2017/11/09 09:08:28
I don't understand the purpose of the border, coul
saroyanm
2017/11/13 17:07:15
I think I should have left a comment here:
There w
ire
2017/11/14 16:55:20
Okay I understand now, thanks!
The issue in the .
saroyanm
2017/11/14 19:19:00
Right, I missed the part about the .context-menu
.
| |
247 background-repeat: no-repeat; | 264 background-repeat: no-repeat; |
248 background-position: center; | 265 background-position: center; |
249 } | 266 } |
250 | 267 |
251 button.link, | 268 button.link, |
252 button.list | 269 button.list |
253 { | 270 { |
254 color: #077CA6; | 271 color: #077CA6; |
255 } | 272 } |
256 | 273 |
257 button.link | 274 button.link |
ire
2017/11/14 16:55:21
This should be underlined to look like the <a> lin
saroyanm
2017/11/14 19:18:59
I agree, done.
| |
258 { | 275 { |
259 border: 0px; | 276 border: 0px; |
260 background-color: transparent; | 277 background-color: transparent; |
261 font-weight: 300; | 278 font-weight: 400; |
262 font-family: inherit; | 279 font-family: inherit; |
263 text-transform: none; | 280 text-transform: none; |
281 text-decoration: underline; | |
264 padding: 0.2rem; | 282 padding: 0.2rem; |
265 } | 283 } |
266 | 284 |
267 button.link:hover | 285 button.link:hover |
268 { | 286 { |
269 color: #5CBCE1; | 287 color: #5CBCE1; |
270 } | 288 } |
271 | 289 |
272 button.list | 290 button.list |
273 { | 291 { |
274 border-style: solid;; | 292 border-style: solid;; |
275 border-color: #CDCDCD; | 293 border-color: #CDCDCD; |
276 border-width: 0px 1px 1px 1px; | 294 border-width: 1px; |
277 width: 100%; | 295 width: 100%; |
278 background-color: #E1F2FA; | 296 background-color: #E1F2FA; |
279 text-align: initial; | 297 text-align: initial; |
280 } | 298 } |
281 | 299 |
282 button.list:hover | 300 button.list:hover |
283 { | 301 { |
284 box-shadow: inset 0 0 0 3px #077CA6; | 302 box-shadow: inset 0 0 0 3px #077CA6; |
285 border-color: #077CA6; | 303 border-color: #077CA6; |
286 } | 304 } |
(...skipping 28 matching lines...) Expand all Loading... | |
315 position: relative; | 333 position: relative; |
316 padding-top: 0.7rem; | 334 padding-top: 0.7rem; |
317 margin: 1.8rem 0rem 0.5rem 0rem; | 335 margin: 1.8rem 0rem 0.5rem 0rem; |
318 } | 336 } |
319 | 337 |
320 .floating-input input | 338 .floating-input input |
321 { | 339 { |
322 border-color: #CDCDCD; | 340 border-color: #CDCDCD; |
323 border-width: 0px 0px 1px 0px; | 341 border-width: 0px 0px 1px 0px; |
324 outline: none; | 342 outline: none; |
325 font-size: 1.3rem; | 343 font-size: 1rem; |
326 padding: 5px; | 344 padding: 5px; |
327 width: 100%; | 345 width: 100%; |
328 } | 346 } |
329 | 347 |
330 .floating-input input:placeholder-shown ~ label, | 348 .floating-input input:placeholder-shown ~ label, |
331 .floating-input input + label, | 349 .floating-input input + label, |
332 .floating-input input:focus + label | 350 .floating-input input:focus + label |
333 { | 351 { |
334 position: absolute; | 352 position: absolute; |
335 top: 0.9rem; | 353 top: 0.9rem; |
336 left: 0.3rem; | 354 left: 0.3rem; |
337 font-size: 1.3rem; | 355 font-size: 1rem; |
338 } | 356 } |
339 | 357 |
340 .floating-input input + label, | 358 .floating-input input + label, |
341 .floating-input input:focus + label | 359 .floating-input input:focus + label |
342 { | 360 { |
343 top: -0.5rem; | 361 top: -0.5rem; |
344 font-size: 0.9rem; | 362 font-size: 0.9rem; |
345 } | 363 } |
346 | 364 |
347 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, | 365 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, |
(...skipping 12 matching lines...) Expand all Loading... | |
360 [data-validation] .floating-input input:focus:invalid ~ .attention::before, | 378 [data-validation] .floating-input input:focus:invalid ~ .attention::before, |
361 [data-validation] .floating-input input:valid ~ .attention::before | 379 [data-validation] .floating-input input:valid ~ .attention::before |
362 { | 380 { |
363 content: ""; | 381 content: ""; |
364 position: absolute; | 382 position: absolute; |
365 display: block; | 383 display: block; |
366 margin: 0.5rem; | 384 margin: 0.5rem; |
367 height: 1.5rem; | 385 height: 1.5rem; |
368 width: 1.5rem; | 386 width: 1.5rem; |
369 border: 0rem; | 387 border: 0rem; |
370 top: 0.5rem; | 388 top: 0.3rem; |
371 right: 0rem; | 389 right: 0rem; |
372 } | 390 } |
373 | 391 |
374 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, | 392 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, |
375 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re | 393 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re |
376 { | 394 { |
377 left: 0rem; | 395 left: 0rem; |
378 right: auto; | 396 right: auto; |
379 } | 397 } |
380 | 398 |
381 [data-validation] .floating-input input:focus:invalid ~ .attention::before | 399 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
382 { | 400 { |
383 background-image: url(icons/attention.svg); | 401 background-image: url(icons/attention.svg); |
384 } | 402 } |
385 | 403 |
386 [data-validation] .floating-input input:valid ~ .attention::before | 404 [data-validation] .floating-input input:valid ~ .attention::before |
387 { | 405 { |
388 top: 0.8rem; | 406 top: 0.5rem; |
389 background-image: url(icons/checkmark.svg#approved); | 407 background-image: url(icons/checkmark.svg#approved); |
390 } | 408 } |
391 | 409 |
392 [data-validation] .floating-input input ~ .error-msg | 410 [data-validation] .floating-input input ~ .error-msg |
393 { | 411 { |
394 margin-top: 0.5rem; | 412 margin-top: 0.5rem; |
395 color: #C11D27; | 413 color: #C11D27; |
396 display: block; | 414 display: block; |
397 visibility: hidden; | 415 visibility: hidden; |
398 } | 416 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
444 | 462 |
445 #sidebar header h1 strong | 463 #sidebar header h1 strong |
446 { | 464 { |
447 font-weight: 700; | 465 font-weight: 700; |
448 } | 466 } |
449 | 467 |
450 #sidebar header p | 468 #sidebar header p |
451 { | 469 { |
452 margin: 0rem; | 470 margin: 0rem; |
453 font-size: 2.4rem; | 471 font-size: 2.4rem; |
472 line-height: 2.6rem; | |
454 } | 473 } |
455 | 474 |
456 html[dir="rtl"] #sidebar header | 475 html[dir="rtl"] #sidebar header |
457 { | 476 { |
458 text-align: left; | 477 text-align: left; |
459 } | 478 } |
460 | 479 |
461 #sidebar-logo | 480 #sidebar-logo |
462 { | 481 { |
463 width: 3rem; | 482 width: 3rem; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 | 531 |
513 #sidebar footer | 532 #sidebar footer |
514 { | 533 { |
515 width: 100%; | 534 width: 100%; |
516 } | 535 } |
517 | 536 |
518 #sidebar footer p | 537 #sidebar footer p |
519 { | 538 { |
520 display: flex; | 539 display: flex; |
521 justify-content: center; | 540 justify-content: center; |
522 margin: 1.2rem 0rem; | 541 margin: 1rem 0rem; |
ire
2017/11/14 16:55:21
The vertical spacing here should be 1rem
saroyanm
2017/11/14 19:19:00
Well spotted, done.
| |
523 } | 542 } |
524 | 543 |
525 /* 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 */ |
526 @media (min-height: 37rem) | 545 @media (min-height: 37rem) |
527 { | 546 { |
528 #sidebar .fixed | 547 #sidebar .fixed |
529 { | 548 { |
530 position: fixed; | 549 position: fixed; |
531 } | 550 } |
532 | 551 |
(...skipping 13 matching lines...) Expand all Loading... | |
546 body[data-tab|="whitelist"] #content-whitelist, | 565 body[data-tab|="whitelist"] #content-whitelist, |
547 body[data-tab|="help"] #content-help | 566 body[data-tab|="help"] #content-help |
548 { | 567 { |
549 display: block; | 568 display: block; |
550 } | 569 } |
551 | 570 |
552 main | 571 main |
553 { | 572 { |
554 background-color: #FFFFFF; | 573 background-color: #FFFFFF; |
555 border: 1px solid #CDCDCD; | 574 border: 1px solid #CDCDCD; |
556 width: 46.3rem; | 575 width: 46.3rem; |
ire
2017/11/09 09:08:29
I think your intention was to force this element t
saroyanm
2017/11/13 17:07:15
My intention was to prevent a main area resize eff
ire
2017/11/14 16:55:20
Acknowledged.
| |
557 padding: 0px 0rem 1.4rem 0rem; | 576 padding: 0px 0rem 1.4rem 0rem; |
558 } | 577 } |
559 | 578 |
560 main > div | 579 main > div |
561 { | 580 { |
562 display: none; | 581 display: none; |
563 } | 582 } |
564 | 583 |
565 main p | 584 main p |
566 { | 585 { |
567 margin: 0.8rem 0rem; | 586 margin: 0.8rem 0rem; |
568 } | 587 } |
569 | 588 |
570 /* | 589 /* |
571 Sections | 590 Sections |
572 */ | 591 */ |
573 | 592 |
574 [role="tabpanel"] > section, | 593 [role="tabpanel"] > section, |
575 [role="tabpanel"] > .section | 594 [role="tabpanel"] > .section |
576 { | 595 { |
577 padding: 2rem; | 596 padding: 1.4rem 2rem; |
ire
2017/11/14 16:55:21
According to the spec this spacing should be 1.4re
saroyanm
2017/11/14 19:18:59
You are right, vertical spacings seems to be speci
| |
578 border-top: 1px solid #CDCDCD; | 597 border-top: 1px solid #CDCDCD; |
579 } | 598 } |
580 | 599 |
581 [role="tabpanel"] > header h1, | 600 [role="tabpanel"] > header h1, |
582 [role="tabpanel"] > header p | 601 [role="tabpanel"] > header p |
583 { | 602 { |
584 padding: 0rem 2rem; | 603 padding: 0rem 2rem; |
585 margin: 1.4rem 0rem; | 604 margin: 1.4rem 0rem; |
586 } | 605 } |
587 | 606 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
698 { | 717 { |
699 margin: 0rem; | 718 margin: 0rem; |
700 border-style: solid; | 719 border-style: solid; |
701 border-color: #CDCDCD; | 720 border-color: #CDCDCD; |
702 border-width: 0px 1px 1px 1px; | 721 border-width: 0px 1px 1px 1px; |
703 } | 722 } |
704 | 723 |
705 .list li | 724 .list li |
706 { | 725 { |
707 padding: 0rem; | 726 padding: 0rem; |
708 margin: 0rem 0rem 0.8rem 0rem; | 727 margin-bottom: 0.8rem; |
ire
2017/11/09 09:08:28
I don't think you need to apply margins to all of
saroyanm
2017/11/13 17:07:14
Agree, done.
| |
709 } | 728 } |
710 | 729 |
711 .list li [role="checkbox"] | 730 .list li [role="checkbox"] |
712 { | 731 { |
713 flex-shrink: 0; | 732 flex-shrink: 0; |
714 } | 733 } |
715 | 734 |
716 .table li:first-of-type | 735 .table li:first-of-type |
717 { | 736 { |
718 border-top: 1px solid #CDCDCD; | 737 border-top: 1px solid #CDCDCD; |
719 } | 738 } |
720 | 739 |
721 .table.list li | 740 .table.list li |
722 { | 741 { |
723 padding: 0.5rem 1.0rem; | 742 padding: 0.5rem 1rem; |
ire
2017/11/09 09:08:28
You don't need the .0 here. i.e 1rem is enough
saroyanm
2017/11/13 17:07:15
Done.
| |
724 margin: 0rem; | 743 margin: 0rem; |
744 } | |
745 | |
746 .table.list.bottom-control li:last-of-type | |
747 { | |
748 border-bottom: 0px; | |
725 } | 749 } |
726 | 750 |
727 li .display | 751 li .display |
728 { | 752 { |
729 margin: 0rem 1rem; | 753 margin: 0rem 1rem; |
730 } | 754 } |
731 | 755 |
732 .table.list li .display | 756 .table.list li .display |
733 { | 757 { |
734 flex: 1; | 758 flex: 1; |
735 margin: 0rem; | 759 margin: 0rem; |
736 } | 760 } |
737 | 761 |
738 .table.list li.empty-placeholder | 762 .table.list li.empty-placeholder |
739 { | 763 { |
740 padding: 1.3em 1.9em; | 764 padding: 1rem 1.4rem; |
741 } | 765 } |
742 | 766 |
743 .table.list li.empty-placeholder:not(:last-of-type) | 767 .table.list li.empty-placeholder:not(:last-of-type) |
744 { | 768 { |
745 border-bottom: 0px; | 769 border-bottom: 0px; |
746 } | |
747 | |
748 #blocking-languages-table .display | |
749 { | |
750 font-weight: 700; | |
751 } | 770 } |
752 | 771 |
753 .table.list button.link | 772 .table.list button.link |
754 { | 773 { |
755 font-weight: 700; | 774 font-weight: 700; |
756 text-transform: uppercase; | 775 text-transform: uppercase; |
776 text-decoration: none; | |
757 } | 777 } |
758 | 778 |
759 .table:not(.list):not(.cols) li | 779 .table:not(.list):not(.cols) li |
760 { | 780 { |
761 padding-top: 0px; | 781 padding-top: 0px; |
762 padding-bottom: 6px; | 782 padding-bottom: 6px; |
763 } | 783 } |
764 | 784 |
765 .table li [data-single="visible"], | 785 .table li [data-single="visible"], |
766 .table li:first-of-type:last-of-type [data-single="hidden"] | 786 .table li:first-of-type:last-of-type [data-single="hidden"] |
(...skipping 17 matching lines...) Expand all Loading... | |
784 } | 804 } |
785 | 805 |
786 .col5 | 806 .col5 |
787 { | 807 { |
788 margin: 0rem 1rem; | 808 margin: 0rem 1rem; |
789 } | 809 } |
790 | 810 |
791 .th .col5:nth-of-type(1), | 811 .th .col5:nth-of-type(1), |
792 .table .col5:nth-of-type(1) | 812 .table .col5:nth-of-type(1) |
793 { | 813 { |
794 flex: 7; | 814 flex: 4; |
ire
2017/11/09 09:08:28
NIT: It's not exactly clear how these flex numbers
saroyanm
2017/11/13 17:07:15
Mostly eyepick
| |
795 } | 815 } |
796 | 816 |
797 .th .col5:nth-of-type(2), | 817 .th .col5:nth-of-type(2), |
798 .table .col5:nth-of-type(2) | 818 .table .col5:nth-of-type(2) |
799 { | 819 { |
800 flex: 14; | 820 flex: 8; |
801 } | 821 } |
802 | 822 |
803 .th .col5:nth-of-type(3), | 823 .th .col5:nth-of-type(3), |
804 .table .col5:nth-of-type(3) | 824 .table .col5:nth-of-type(3) |
805 { | 825 { |
806 flex: 7; | 826 flex: 4; |
807 } | 827 } |
808 | 828 |
809 .th .col5:nth-of-type(4), | 829 .th .col5:nth-of-type(4), |
810 .table .col5:nth-of-type(4) | 830 .table .col5:nth-of-type(4) |
811 { | 831 { |
812 flex: 2; | 832 flex: 1; |
813 } | 833 } |
814 | 834 |
815 .th .col5:nth-of-type(5), | 835 .th .col5:nth-of-type(5), |
816 .table .col5:nth-of-type(5) | 836 .table .col5:nth-of-type(5) |
817 { | 837 { |
818 flex: 1; | 838 flex: 1; |
819 -moz-margin-start: 0; | 839 -moz-margin-start: 0; |
820 -webkit-margin-start: 0; | 840 -webkit-margin-start: 0; |
821 -moz-margin-end: 1.8rem; | 841 -moz-margin-end: 1.8rem; |
822 -webkit-margin-end: 1.8rem; | 842 -webkit-margin-end: 1.8rem; |
823 } | 843 } |
824 | 844 |
825 .table.cols | |
826 { | |
827 font-size: 1rem; | |
ire
2017/11/09 09:08:29
I don't think setting the font-size is necessary h
saroyanm
2017/11/13 17:07:14
Done.
| |
828 } | |
829 | |
830 .table.cols .display | 845 .table.cols .display |
831 { | 846 { |
832 margin: 0rem; | 847 margin: 0rem; |
833 } | 848 } |
834 | 849 |
835 .table.cols li | 850 .table.cols li |
836 { | 851 { |
837 padding: 0.9rem 0rem; | 852 padding: 0.9rem 0rem; |
838 } | 853 } |
839 | 854 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
887 height: 1.3rem; | 902 height: 1.3rem; |
888 background-image: url(icons/checkmark.svg#default); | 903 background-image: url(icons/checkmark.svg#default); |
889 margin: 0rem; | 904 margin: 0rem; |
890 } | 905 } |
891 | 906 |
892 #dialog .table.list li button .display | 907 #dialog .table.list li button .display |
893 { | 908 { |
894 flex: none; | 909 flex: none; |
895 margin: 0rem 0.8rem; | 910 margin: 0rem 0.8rem; |
896 text-transform: none; | 911 text-transform: none; |
912 font-weight: 400; | |
897 } | 913 } |
898 | 914 |
899 /* | 915 /* |
900 Tooltips | 916 Tooltips |
901 */ | 917 */ |
902 | 918 |
903 .tooltip | 919 .tooltip |
904 { | 920 { |
905 display: inline-block; | 921 display: inline-block; |
906 position: relative; | 922 position: relative; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
956 | 972 |
957 /* | 973 /* |
958 Whitelist tab | 974 Whitelist tab |
959 */ | 975 */ |
960 | 976 |
961 #content-whitelist form | 977 #content-whitelist form |
962 { | 978 { |
963 display: flex; | 979 display: flex; |
964 } | 980 } |
965 | 981 |
966 #content-whitelist form input | 982 #content-whitelist form input |
ire
2017/11/09 09:08:29
The font-family for this input isn't the "Source S
saroyanm
2017/11/13 17:07:15
Well spotted!
Done.
| |
967 { | 983 { |
968 flex: 1; | 984 flex: 1; |
969 height: 100%; | 985 height: 100%; |
970 padding: 0.5rem 1rem; | 986 padding: 0.5rem 1rem; |
971 font-size: 1rem; | 987 font-size: 1rem; |
972 border: 2px solid #077CA6; | 988 border: 2px solid #077CA6; |
973 } | 989 } |
974 | 990 |
975 #content-whitelist form button | 991 #content-whitelist form button |
976 { | 992 { |
977 -moz-margin-start: 0.7rem; | 993 -moz-margin-start: 0.7rem; |
978 -webkit-margin-start: 0.7rem; | 994 -webkit-margin-start: 0.7rem; |
979 } | 995 } |
980 | 996 |
981 #whitelisting-table li | 997 #whitelisting-table li |
982 { | 998 { |
999 padding-left: 1.4rem; | |
1000 padding-right: 1.4rem; | |
983 border-left: 0rem; | 1001 border-left: 0rem; |
984 border-right: 0rem; | 1002 border-right: 0rem; |
985 } | 1003 } |
986 | 1004 |
987 /* | 1005 /* |
988 Advanced tab content | 1006 Advanced tab content |
989 */ | 1007 */ |
990 | 1008 |
991 #all-filter-lists-table li.show-message .last-update, | 1009 #all-filter-lists-table li.show-message .last-update, |
992 #all-filter-lists-table li:not(.show-message) .message, | 1010 #all-filter-lists-table li:not(.show-message) .message, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1046 li [role="menubar"] | 1064 li [role="menubar"] |
1047 { | 1065 { |
1048 position: relative; | 1066 position: relative; |
1049 } | 1067 } |
1050 | 1068 |
1051 [role="tooltip"] | 1069 [role="tooltip"] |
1052 { | 1070 { |
1053 right: -1rem; | 1071 right: -1rem; |
1054 margin-top: 1rem; | 1072 margin-top: 1rem; |
1055 opacity: 1; | 1073 opacity: 1; |
1056 padding: 1.3rem; | 1074 padding: 0.2rem 1rem; |
1057 position: absolute; | 1075 position: absolute; |
1058 -webkit-transition: opacity 200ms ease-in-out 400ms, | 1076 -webkit-transition: opacity 200ms ease-in-out 400ms, |
1059 visibility 0ms linear 400ms; | 1077 visibility 0ms linear 400ms; |
1060 transition: opacity 200ms ease-in-out 400ms, | 1078 transition: opacity 200ms ease-in-out 400ms, |
1061 visibility 0ms linear 400ms; | 1079 visibility 0ms linear 400ms; |
1062 visibility: visible; | 1080 visibility: visible; |
1063 width: 15rem; | 1081 width: 15rem; |
1064 z-index: 1; | 1082 z-index: 1; |
1065 } | 1083 } |
1066 | 1084 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1163 padding: 0rem; | 1181 padding: 0rem; |
1164 } | 1182 } |
1165 | 1183 |
1166 .context-menu li[role="menuitem"] > * | 1184 .context-menu li[role="menuitem"] > * |
1167 { | 1185 { |
1168 width: 100%; | 1186 width: 100%; |
1169 display: flex; | 1187 display: flex; |
1170 border: 0rem; | 1188 border: 0rem; |
1171 padding: 0.7rem 0rem; | 1189 padding: 0.7rem 0rem; |
1172 color: #077CA6; | 1190 color: #077CA6; |
1191 align-items: center; | |
1173 font-size: 1rem; | 1192 font-size: 1rem; |
saroyanm
2017/11/08 15:46:46
Note: There is a difference between font-sizes for
ire
2017/11/09 09:08:29
It's because the font families aren't actually the
saroyanm
2017/11/13 17:07:14
Right, Done :)
| |
1174 font-weight: 700; | 1193 font-weight: 400; |
1175 text-transform: none; | 1194 text-transform: none; |
1195 text-decoration: none; | |
1176 } | 1196 } |
1177 | 1197 |
1178 .context-menu li[role="menuitem"] > *:hover, | 1198 .context-menu li[role="menuitem"] > *:hover, |
1179 .context-menu li[role="menuitem"] > *:focus | 1199 .context-menu li[role="menuitem"] > *:focus |
1180 { | 1200 { |
1181 background-color: #E1F2FA; | 1201 background-color: #E1F2FA; |
1182 cursor: pointer; | 1202 cursor: pointer; |
1183 } | 1203 } |
1184 | 1204 |
1185 .context-menu li[role="menuitem"] > *::before | 1205 .context-menu li[role="menuitem"] > *::before |
1186 { | 1206 { |
1187 content: ""; | 1207 content: ""; |
1188 height: 1rem; | 1208 height: 1rem; |
1189 width: 1rem; | 1209 width: 1rem; |
1190 margin: 0rem 1.1rem; | 1210 margin: 0rem 1.1rem; |
1211 border: 0rem; | |
1191 } | 1212 } |
1192 | 1213 |
1193 .context-menu .update-subscription::before | 1214 .context-menu .update-subscription::before |
1194 { | 1215 { |
1195 background-image: url(icons/reload.svg); | 1216 background-image: url(icons/reload.svg); |
1196 } | 1217 } |
1197 | 1218 |
1198 .context-menu .website::before | 1219 .context-menu .website::before |
1199 { | 1220 { |
1200 background-image: url(icons/globe.svg); | 1221 background-image: url(icons/globe.svg); |
(...skipping 29 matching lines...) Expand all Loading... | |
1230 { | 1251 { |
1231 display: inline-block; | 1252 display: inline-block; |
1232 -moz-margin-end: 1rem; | 1253 -moz-margin-end: 1rem; |
1233 -webkit-margin-end: 1rem; | 1254 -webkit-margin-end: 1rem; |
1234 } | 1255 } |
1235 | 1256 |
1236 #social ul li a | 1257 #social ul li a |
1237 { | 1258 { |
1238 display: block; | 1259 display: block; |
1239 text-align: center; | 1260 text-align: center; |
1261 text-decoration: none; | |
1240 } | 1262 } |
1241 | 1263 |
1242 #social ul li a::before | 1264 #social ul li a::before |
1243 { | 1265 { |
1244 display: block; | 1266 display: block; |
1245 margin: 0em auto; | 1267 margin: 0em auto; |
1246 width: 2.5rem; | 1268 width: 2.5rem; |
1247 height: 2.5rem; | 1269 height: 2.5rem; |
1248 content: ""; | 1270 content: ""; |
1249 } | 1271 } |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1361 } | 1383 } |
1362 | 1384 |
1363 [data-dialog="about"] button | 1385 [data-dialog="about"] button |
1364 { | 1386 { |
1365 margin: 1.5rem auto 1.8rem auto; | 1387 margin: 1.5rem auto 1.8rem auto; |
1366 } | 1388 } |
1367 | 1389 |
1368 [data-dialog="about"] p | 1390 [data-dialog="about"] p |
1369 { | 1391 { |
1370 margin: 0.5rem 0rem; | 1392 margin: 0.5rem 0rem; |
1371 } | |
1372 | |
1373 #abp-version | |
1374 { | |
1375 margin-bottom: 2rem; | |
1376 } | 1393 } |
1377 | 1394 |
1378 [data-dialog="import"] .side-controls | 1395 [data-dialog="import"] .side-controls |
1379 { | 1396 { |
1380 margin-top: 2.45rem; | 1397 margin-top: 2.45rem; |
1381 } | 1398 } |
1382 | 1399 |
1383 #dialog .table | 1400 #dialog .table |
1384 { | 1401 { |
1385 width: 100%; | 1402 width: 100%; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1457 | 1474 |
1458 #hide-notification::after | 1475 #hide-notification::after |
1459 { | 1476 { |
1460 background-image: url(icons/delete.svg#secondary); | 1477 background-image: url(icons/delete.svg#secondary); |
1461 } | 1478 } |
1462 | 1479 |
1463 #hide-notification:hover::after | 1480 #hide-notification:hover::after |
1464 { | 1481 { |
1465 background-image: url(icons/delete.svg#secondary-hover); | 1482 background-image: url(icons/delete.svg#secondary-hover); |
1466 } | 1483 } |
LEFT | RIGHT |