| Left: | ||
| Right: |
| 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 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: 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 color: #494949; |
|
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 } | 63 } |
| 64 | 64 |
| 65 h1 | 65 h1 |
| 66 { | 66 { |
| 67 font-size: 3rem; | 67 font-size: 3rem; |
| 68 font-weight: 300; | 68 font-weight: 300; |
| 69 } | 69 } |
| 70 | 70 |
| 71 h2 | 71 h2 |
| 72 { | 72 { |
| 73 font-size: 1.375rem; | 73 font-size: 1.125rem; |
| 74 font-weight: 700; | 74 font-weight: 700; |
| 75 } | 75 } |
| 76 | 76 |
| 77 a | 77 a |
| 78 { | 78 { |
| 79 color: #099CD0; | 79 color: #077CA6; |
| 80 text-decoration: none; | 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 } | 81 } |
| 82 | 82 |
| 83 a:hover | 83 a:hover |
| 84 { | 84 { |
| 85 color: #5CBCE1; | 85 color: #5CBCE1; |
| 86 } | 86 } |
| 87 | 87 |
| 88 ul | 88 ul |
| 89 { | 89 { |
| 90 margin: 0rem; | 90 margin: 0rem; |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 103 -webkit-box-sizing: border-box; | 103 -webkit-box-sizing: border-box; |
| 104 -moz-box-sizing: border-box; | 104 -moz-box-sizing: border-box; |
| 105 box-sizing: border-box; | 105 box-sizing: border-box; |
| 106 } | 106 } |
| 107 | 107 |
| 108 /* | 108 /* |
| 109 Buttons and links | 109 Buttons and links |
| 110 */ | 110 */ |
| 111 | 111 |
| 112 button, | 112 button, |
| 113 .button | 113 .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 { | 114 { |
| 115 display: block; | 115 display: block; |
| 116 padding: 0.8rem 1.2rem; | 116 padding: 0.6rem 0.8rem; |
| 117 background-color: transparent; | 117 background-color: transparent; |
| 118 font-size: 1.125rem; | 118 font-size: 1rem; |
| 119 font-weight: 700; | 119 font-weight: 700; |
| 120 text-decoration: none; | 120 text-decoration: none; |
| 121 text-transform: uppercase; | 121 text-transform: uppercase; |
| 122 cursor: pointer; | 122 cursor: pointer; |
| 123 } | 123 } |
| 124 | 124 |
| 125 button.primary, | 125 button.primary, |
| 126 .button.primary | 126 .button.primary |
| 127 { | 127 { |
| 128 border: 0px; | 128 border: 0px; |
| 129 color: #FFF; | 129 color: #FFF; |
| 130 background-color: #099CD0; | 130 background-color: #077CA6; |
| 131 } | 131 } |
| 132 | 132 |
| 133 button.primary:not([disabled]):hover, | 133 button.primary:not([disabled]):hover, |
| 134 .button.primary:hover | 134 .button.primary:hover |
| 135 { | 135 { |
| 136 box-shadow: inset 0 0 0 3px #005D80; | 136 box-shadow: inset 0 0 0 3px #005D80; |
| 137 } | 137 } |
| 138 | 138 |
| 139 button.primary[disabled] | 139 button.primary[disabled] |
| 140 { | 140 { |
| 141 background-color: #5CBCE1; | 141 background-color: #5CBCE1; |
| 142 } | 142 } |
| 143 | 143 |
| 144 button.secondary, | 144 button.secondary, |
| 145 .button.secondary | 145 .button.secondary |
| 146 { | 146 { |
| 147 border: 1px solid #099CD0; | 147 border: 2px solid #077CA6; |
| 148 color: #099CD0; | 148 color: #077CA6; |
| 149 } | 149 } |
| 150 | 150 |
| 151 button.secondary:hover, | 151 button.secondary:hover, |
| 152 .button.secondary:hover | 152 .button.secondary:hover |
| 153 { | 153 { |
| 154 box-shadow: inset 0 0 0 2px #099CD0; | 154 box-shadow: inset 0 0 0 1px #077CA6; |
| 155 } | 155 } |
| 156 | 156 |
| 157 button[role="checkbox"] | 157 button[role="checkbox"] |
| 158 { | 158 { |
| 159 width: 18px; | 159 width: 1.2rem; |
| 160 height: 18px; | 160 height: 1.2rem; |
| 161 padding: 0px; | 161 padding: 0px; |
| 162 border: 0px; | 162 border: 0px; |
| 163 background-color: transparent; | 163 background-color: transparent; |
| 164 } | 164 } |
| 165 | 165 |
| 166 button[role="checkbox"]:not(.toggle) | 166 button[role="checkbox"]:not(.toggle) |
| 167 { | 167 { |
| 168 background-image: url(icons/checkbox.png); | 168 background-image: url(icons/checkbox.svg#off); |
| 169 display: inline-block; | 169 display: inline-block; |
| 170 } | 170 } |
| 171 | 171 |
| 172 button[role="checkbox"][aria-checked="true"]:not(.toggle) | 172 button[role="checkbox"][aria-checked="true"]:not(.toggle) |
| 173 { | 173 { |
| 174 background-position: 0px 18px; | 174 background-image: url(icons/checkbox.svg#on); |
| 175 } | 175 } |
| 176 | 176 |
| 177 button[role="checkbox"][disabled], | 177 button[role="checkbox"][disabled], |
| 178 button[role="checkbox"][aria-disabled="true"] | 178 button[role="checkbox"][aria-disabled="true"] |
| 179 { | 179 { |
| 180 border-radius: 2px; | 180 border-radius: 2px; |
| 181 background-color: #ccc; | 181 background-color: #ccc; |
| 182 } | 182 } |
| 183 | 183 |
| 184 button[role="checkbox"].toggle | 184 button[role="checkbox"].toggle |
| 185 { | 185 { |
| 186 background: url(icons/toggle.svg#on); | 186 background: url(icons/toggle.svg#on); |
| 187 } | 187 } |
| 188 | 188 |
| 189 button[role="checkbox"][aria-checked="false"].toggle | 189 button[role="checkbox"][aria-checked="false"].toggle |
| 190 { | 190 { |
| 191 background: url(icons/toggle.svg#off); | 191 background: url(icons/toggle.svg#off); |
| 192 } | 192 } |
| 193 | 193 |
| 194 button[role="checkbox"][aria-checked="true"].toggle | 194 button[role="checkbox"][aria-checked="true"].toggle |
| 195 { | 195 { |
| 196 background: url(icons/toggle.svg#on); | 196 background: url(icons/toggle.svg#on); |
| 197 } | 197 } |
| 198 | 198 |
| 199 button[role="checkbox"].toggle | 199 button[role="checkbox"].toggle |
| 200 { | 200 { |
| 201 background-position: initial; | 201 background-position: initial; |
| 202 width: 2.25rem; | 202 width: 1.7rem; |
|
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: 1.3rem; | 203 height: 1rem; |
| 204 } | 204 } |
| 205 | 205 |
| 206 button[role="checkbox"][disabled].toggle | 206 button[role="checkbox"][disabled].toggle |
| 207 { | 207 { |
| 208 background-image: none; | 208 background-image: none; |
| 209 } | 209 } |
| 210 | 210 |
| 211 button.delete::before | 211 button.delete::before |
| 212 { | 212 { |
| 213 background-image: url(icons/trash.svg#default); | 213 background-image: url(icons/trash.svg#default); |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 234 border: 0px; | 234 border: 0px; |
| 235 padding: 0px; | 235 padding: 0px; |
| 236 background-color: transparent; | 236 background-color: transparent; |
| 237 } | 237 } |
| 238 | 238 |
| 239 button.gear::before, | 239 button.gear::before, |
| 240 button.delete::before | 240 button.delete::before |
| 241 { | 241 { |
| 242 content: ""; | 242 content: ""; |
| 243 display: block; | 243 display: block; |
| 244 height: 1.9rem; | 244 height: 1rem; |
| 245 width: 1.9rem; | 245 width: 1rem; |
| 246 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; | |
| 248 background-position: center; | |
| 246 } | 249 } |
| 247 | 250 |
| 248 button.link, | 251 button.link, |
| 249 button.list | 252 button.list |
| 250 { | 253 { |
| 251 color: #099CD0; | 254 color: #077CA6; |
| 252 } | 255 } |
| 253 | 256 |
| 254 button.link | 257 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.
| |
| 255 { | 258 { |
| 256 border: 0px; | 259 border: 0px; |
| 257 background-color: transparent; | 260 background-color: transparent; |
| 258 font-weight: 300; | 261 font-weight: 300; |
| 259 font-family: inherit; | 262 font-family: inherit; |
| 260 text-transform: none; | 263 text-transform: none; |
| 261 padding: 0.2rem; | 264 padding: 0.2rem; |
| 262 } | 265 } |
| 263 | 266 |
| 264 button.link:hover | 267 button.link:hover |
| 265 { | 268 { |
| 266 color: #5CBCE1; | 269 color: #5CBCE1; |
| 267 } | 270 } |
| 268 | 271 |
| 269 button.list | 272 button.list |
| 270 { | 273 { |
| 271 border-style: solid;; | 274 border-style: solid;; |
| 272 border-color: #CDCDCD; | 275 border-color: #CDCDCD; |
| 273 border-width: 0px 1px 1px 1px; | 276 border-width: 0px 1px 1px 1px; |
| 274 width: 100%; | 277 width: 100%; |
| 275 background-color: #E1F2FA; | 278 background-color: #E1F2FA; |
| 276 text-align: initial; | 279 text-align: initial; |
| 277 } | 280 } |
| 278 | 281 |
| 279 button.list:hover | 282 button.list:hover |
| 280 { | 283 { |
| 281 box-shadow: inset 0 0 0 3px #099CD0; | 284 box-shadow: inset 0 0 0 3px #077CA6; |
| 282 border-color: #099CD0; | 285 border-color: #077CA6; |
| 283 } | 286 } |
| 284 | 287 |
| 285 .side-controls:not(.wrap) | 288 .side-controls:not(.wrap) |
| 286 { | 289 { |
| 287 margin: 0.8rem 0rem; | 290 margin: 0.8rem 0rem; |
| 288 display: flex; | 291 display: flex; |
| 289 justify-content: flex-end; | 292 justify-content: flex-end; |
| 290 } | 293 } |
| 291 | 294 |
| 292 .side-controls button | 295 .side-controls button |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 466 { | 469 { |
| 467 margin: 1.4rem 0rem; | 470 margin: 1.4rem 0rem; |
| 468 } | 471 } |
| 469 | 472 |
| 470 [role="tablist"] | 473 [role="tablist"] |
| 471 { | 474 { |
| 472 list-style: none; | 475 list-style: none; |
| 473 margin: 0rem; | 476 margin: 0rem; |
| 474 padding: 0rem; | 477 padding: 0rem; |
| 475 position: relative; | 478 position: relative; |
| 476 font-size: 1.25rem; | 479 font-size: 1rem; |
| 477 } | 480 } |
| 478 | 481 |
| 479 [role="tablist"] li a | 482 [role="tablist"] li a |
| 480 { | 483 { |
| 481 display: flex; | 484 display: flex; |
| 482 margin-top: -1px; | 485 margin-top: -1px; |
| 483 padding: 1rem 0.8rem; | 486 padding: 1rem 0.8rem; |
| 484 -moz-margin-end: -1px; | 487 -moz-margin-end: -1px; |
| 485 -webkit-margin-end: -1px; | 488 -webkit-margin-end: -1px; |
| 486 -moz-margin-start: -1px; | 489 -moz-margin-start: -1px; |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 509 | 512 |
| 510 #sidebar footer | 513 #sidebar footer |
| 511 { | 514 { |
| 512 width: 100%; | 515 width: 100%; |
| 513 } | 516 } |
| 514 | 517 |
| 515 #sidebar footer p | 518 #sidebar footer p |
| 516 { | 519 { |
| 517 display: flex; | 520 display: flex; |
| 518 justify-content: center; | 521 justify-content: center; |
| 519 margin: 1.2rem 0rem; | 522 margin: 1.2rem 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.
| |
| 520 } | 523 } |
| 521 | 524 |
| 522 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ | 525 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ |
| 523 @media (min-height: 37rem) | 526 @media (min-height: 37rem) |
| 524 { | 527 { |
| 525 #sidebar .fixed | 528 #sidebar .fixed |
| 526 { | 529 { |
| 527 position: fixed; | 530 position: fixed; |
| 528 } | 531 } |
| 529 | 532 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 543 body[data-tab|="whitelist"] #content-whitelist, | 546 body[data-tab|="whitelist"] #content-whitelist, |
| 544 body[data-tab|="help"] #content-help | 547 body[data-tab|="help"] #content-help |
| 545 { | 548 { |
| 546 display: block; | 549 display: block; |
| 547 } | 550 } |
| 548 | 551 |
| 549 main | 552 main |
| 550 { | 553 { |
| 551 background-color: #FFFFFF; | 554 background-color: #FFFFFF; |
| 552 border: 1px solid #CDCDCD; | 555 border: 1px solid #CDCDCD; |
| 553 max-width: 46.3rem; | 556 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.
| |
| 554 padding: 0px 0rem 1.4rem 0rem; | 557 padding: 0px 0rem 1.4rem 0rem; |
| 555 } | 558 } |
| 556 | 559 |
| 557 main > div | 560 main > div |
| 558 { | 561 { |
| 559 display: none; | 562 display: none; |
| 560 } | 563 } |
| 561 | 564 |
| 562 main p | 565 main p |
| 563 { | 566 { |
| 564 margin: 0.8rem 0rem; | 567 margin: 0.8rem 0rem; |
| 565 } | 568 } |
| 566 | 569 |
| 567 /* | 570 /* |
| 568 Sections | 571 Sections |
| 569 */ | 572 */ |
| 570 | 573 |
| 571 [role="tabpanel"] > section, | 574 [role="tabpanel"] > section, |
| 572 [role="tabpanel"] > .section | 575 [role="tabpanel"] > .section |
| 573 { | 576 { |
| 574 padding: 2rem; | 577 padding: 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
| |
| 575 border-top: 1px solid #CDCDCD; | 578 border-top: 1px solid #CDCDCD; |
| 576 } | 579 } |
| 577 | 580 |
| 578 [role="tabpanel"] > header h1, | 581 [role="tabpanel"] > header h1, |
| 579 [role="tabpanel"] > header p | 582 [role="tabpanel"] > header p |
| 580 { | 583 { |
| 581 padding: 0rem 2rem; | 584 padding: 0rem 2rem; |
| 582 margin: 1.4rem 0rem; | 585 margin: 1.4rem 0rem; |
| 583 } | 586 } |
| 584 | 587 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 616 flex: 3; | 619 flex: 3; |
| 617 } | 620 } |
| 618 | 621 |
| 619 /* | 622 /* |
| 620 Acceptable ads | 623 Acceptable ads |
| 621 */ | 624 */ |
| 622 | 625 |
| 623 #acceptable-ads ul | 626 #acceptable-ads ul |
| 624 { | 627 { |
| 625 position: relative; | 628 position: relative; |
| 626 padding-left: 2rem; | 629 padding-left: 2.2rem; |
| 627 list-style: none; | 630 list-style: none; |
| 628 } | 631 } |
| 629 | 632 |
| 630 html[dir="rtl"] #acceptable-ads ul | 633 html[dir="rtl"] #acceptable-ads ul |
| 631 { | 634 { |
| 632 padding-left: 0rem; | 635 padding-left: 0rem; |
| 633 padding-right: 2rem; | 636 padding-right: 2.2rem; |
| 634 } | 637 } |
| 635 | 638 |
| 636 #acceptable-ads button | 639 #acceptable-ads button |
| 637 { | 640 { |
| 638 position: absolute; | 641 position: absolute; |
| 639 margin-top: 0.3rem; | 642 margin-top: 0.3rem; |
| 640 left: 0rem; | 643 left: 0rem; |
| 641 } | 644 } |
| 642 | 645 |
| 643 html[dir="rtl"] button | 646 html[dir="rtl"] button |
| 644 { | 647 { |
| 645 left: auto; | 648 left: auto; |
| 646 right: 0rem; | 649 right: 0rem; |
| 647 } | 650 } |
| 648 | 651 |
| 649 #acceptable-ads label | 652 #acceptable-ads label |
| 650 { | 653 { |
| 651 font-weight: 700; | 654 font-weight: 700; |
| 652 font-size: 1.375rem; | 655 font-size: 1rem; |
| 656 -moz-margin-end: 0.5rem; | |
| 657 -webkit-margin-end: 0.5rem; | |
| 653 } | 658 } |
| 654 | 659 |
| 655 #dnt | 660 #dnt |
| 656 { | 661 { |
| 657 padding: 0.8rem; | 662 padding: 0.8rem; |
| 658 border: 1px solid #099CD0; | 663 border: 1px solid #077CA6; |
| 659 } | 664 } |
| 660 | 665 |
| 661 .new | 666 .new |
| 662 { | 667 { |
| 663 display: inline-block; | 668 display: inline-block; |
| 664 margin: 0rem 0.5rem; | 669 padding: 0.2rem 0.5rem; |
| 665 padding: 0.3rem 0.6rem; | |
| 666 border-radius: 0.2rem; | 670 border-radius: 0.2rem; |
| 667 background-color: #099CD0; | 671 background-color: #077CA6; |
| 668 color: #FFF; | 672 color: #FFF; |
| 669 line-height: 100%; | 673 line-height: 100%; |
| 670 font-size: 1rem; | 674 font-size: 0.8rem; |
| 671 text-transform: uppercase; | 675 text-transform: uppercase; |
| 672 } | 676 } |
| 673 | 677 |
| 674 /* | 678 /* |
| 675 Tables | 679 Tables |
| 676 */ | 680 */ |
| 677 | 681 |
| 678 ul.table, | 682 ul.table, |
| 679 ul.list | 683 ul.list |
| 680 { | 684 { |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 694 { | 698 { |
| 695 margin: 0rem; | 699 margin: 0rem; |
| 696 border-style: solid; | 700 border-style: solid; |
| 697 border-color: #CDCDCD; | 701 border-color: #CDCDCD; |
| 698 border-width: 0px 1px 1px 1px; | 702 border-width: 0px 1px 1px 1px; |
| 699 } | 703 } |
| 700 | 704 |
| 701 .list li | 705 .list li |
| 702 { | 706 { |
| 703 padding: 0rem; | 707 padding: 0rem; |
| 704 margin: 0rem 0rem 1.3rem 0rem; | 708 margin: 0rem 0rem 0.8rem 0rem; |
|
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.
| |
| 705 } | 709 } |
| 706 | 710 |
| 707 .list li [role="checkbox"] | 711 .list li [role="checkbox"] |
| 708 { | 712 { |
| 709 flex-shrink: 0; | 713 flex-shrink: 0; |
| 710 } | 714 } |
| 711 | 715 |
| 712 .table li:first-of-type | 716 .table li:first-of-type |
| 713 { | 717 { |
| 714 border-top: 1px solid #CDCDCD; | 718 border-top: 1px solid #CDCDCD; |
| 715 } | 719 } |
| 716 | 720 |
| 717 .table.list li | 721 .table.list li |
| 718 { | 722 { |
| 719 padding: 0.5rem 1.1rem; | 723 padding: 0.5rem 1.0rem; |
|
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.
| |
| 720 margin: 0rem; | 724 margin: 0rem; |
| 721 } | 725 } |
| 722 | 726 |
| 723 li .display | 727 li .display |
| 724 { | 728 { |
| 725 margin: 0rem 1rem; | 729 margin: 0rem 1rem; |
| 726 } | 730 } |
| 727 | 731 |
| 728 .table.list li .display | 732 .table.list li .display |
| 729 { | 733 { |
| 730 flex: 1; | 734 flex: 1; |
| 735 margin: 0rem; | |
| 731 } | 736 } |
| 732 | 737 |
| 733 .table.list li.empty-placeholder | 738 .table.list li.empty-placeholder |
| 734 { | 739 { |
| 735 padding: 1.3em 1.9em; | 740 padding: 1.3em 1.9em; |
| 736 } | 741 } |
| 737 | 742 |
| 738 .table.list li.empty-placeholder:not(:last-of-type) | 743 .table.list li.empty-placeholder:not(:last-of-type) |
| 739 { | 744 { |
| 740 border-bottom: 0px; | 745 border-bottom: 0px; |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 766 .table li:first-of-type:last-of-type [data-single="visible"] | 771 .table li:first-of-type:last-of-type [data-single="visible"] |
| 767 { | 772 { |
| 768 display: block; | 773 display: block; |
| 769 } | 774 } |
| 770 | 775 |
| 771 .th | 776 .th |
| 772 { | 777 { |
| 773 display: flex; | 778 display: flex; |
| 774 } | 779 } |
| 775 | 780 |
| 776 .col4 > * | 781 .col5 > * |
| 777 { | 782 { |
| 778 display: inline-block; | 783 display: inline-block; |
| 779 } | 784 } |
| 780 | 785 |
| 781 .col4 | 786 .col5 |
| 782 { | 787 { |
| 783 margin: 0rem 0.9rem; | 788 margin: 0rem 1rem; |
| 784 } | 789 } |
| 785 | 790 |
| 786 .th .col4:nth-of-type(1), | 791 .th .col5:nth-of-type(1), |
| 787 .table .col4:nth-of-type(1) | 792 .table .col5:nth-of-type(1) |
| 793 { | |
| 794 flex: 7; | |
|
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 } | |
| 796 | |
| 797 .th .col5:nth-of-type(2), | |
| 798 .table .col5:nth-of-type(2) | |
| 799 { | |
| 800 flex: 14; | |
| 801 } | |
| 802 | |
| 803 .th .col5:nth-of-type(3), | |
| 804 .table .col5:nth-of-type(3) | |
| 805 { | |
| 806 flex: 7; | |
| 807 } | |
| 808 | |
| 809 .th .col5:nth-of-type(4), | |
| 810 .table .col5:nth-of-type(4) | |
| 788 { | 811 { |
| 789 flex: 2; | 812 flex: 2; |
| 790 } | 813 } |
| 791 | 814 |
| 792 .th .col4:nth-of-type(2), | 815 .th .col5:nth-of-type(5), |
| 793 .table .col4:nth-of-type(2) | 816 .table .col5:nth-of-type(5) |
| 794 { | |
| 795 flex: 3; | |
| 796 } | |
| 797 | |
| 798 .th .col4:nth-of-type(3), | |
| 799 .table .col4:nth-of-type(3) | |
| 800 { | |
| 801 flex: 2; | |
| 802 } | |
| 803 | |
| 804 .th .col4:nth-of-type(4), | |
| 805 .table .col4:nth-of-type(4) | |
| 806 { | 817 { |
| 807 flex: 1; | 818 flex: 1; |
| 819 -moz-margin-start: 0; | |
| 820 -webkit-margin-start: 0; | |
| 821 -moz-margin-end: 1.8rem; | |
| 822 -webkit-margin-end: 1.8rem; | |
| 808 } | 823 } |
| 809 | 824 |
| 810 .table.cols | 825 .table.cols |
| 811 { | 826 { |
| 812 font-size: 1.1rem; | 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.
| |
| 813 } | 828 } |
| 814 | 829 |
| 815 .table.cols .display | 830 .table.cols .display |
| 816 { | 831 { |
| 817 margin: 0rem; | 832 margin: 0rem; |
| 818 } | 833 } |
| 819 | 834 |
| 820 .table.cols li | 835 .table.cols li |
| 821 { | 836 { |
| 822 padding: 0.9rem 0rem; | 837 padding: 0.9rem 0rem; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 893 -moz-margin-end: 1rem; | 908 -moz-margin-end: 1rem; |
| 894 -webkit-margin-end: 1rem; | 909 -webkit-margin-end: 1rem; |
| 895 line-height: 1.5rem; | 910 line-height: 1.5rem; |
| 896 text-decoration: none; | 911 text-decoration: none; |
| 897 cursor: help; | 912 cursor: help; |
| 898 } | 913 } |
| 899 | 914 |
| 900 .tooltip::before | 915 .tooltip::before |
| 901 { | 916 { |
| 902 content: ""; | 917 content: ""; |
| 903 width: 1.3rem; | 918 width: 1.1rem; |
| 904 height: 1.3rem; | 919 height: 1.1rem; |
| 905 display: block; | 920 display: block; |
| 906 background-image: url(icons/tooltip.svg); | 921 background-image: url(icons/tooltip.svg); |
| 907 } | 922 } |
| 908 | 923 |
| 909 /* | 924 /* |
| 910 Used for translatable screen reader only conten. | 925 Used for translatable screen reader only conten. |
| 911 e.g.: Use instead of aria-label to avoid complex attribute value translation | 926 e.g.: Use instead of aria-label to avoid complex attribute value translation |
| 912 */ | 927 */ |
| 913 .sr-only | 928 .sr-only |
| 914 { | 929 { |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 941 | 956 |
| 942 /* | 957 /* |
| 943 Whitelist tab | 958 Whitelist tab |
| 944 */ | 959 */ |
| 945 | 960 |
| 946 #content-whitelist form | 961 #content-whitelist form |
| 947 { | 962 { |
| 948 display: flex; | 963 display: flex; |
| 949 } | 964 } |
| 950 | 965 |
| 951 #content-whitelist form input | 966 #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.
| |
| 952 { | 967 { |
| 953 flex: 1; | 968 flex: 1; |
| 969 height: 100%; | |
| 954 padding: 0.5rem 1rem; | 970 padding: 0.5rem 1rem; |
| 955 font-size: 1.25rem; | 971 font-size: 1rem; |
| 956 border: 2px solid #099CD0; | 972 border: 2px solid #077CA6; |
| 957 } | 973 } |
| 958 | 974 |
| 959 #content-whitelist form button | 975 #content-whitelist form button |
| 960 { | 976 { |
| 961 -moz-margin-start: 0.7rem; | 977 -moz-margin-start: 0.7rem; |
| 962 -webkit-margin-start: 0.7rem; | 978 -webkit-margin-start: 0.7rem; |
| 963 } | 979 } |
| 964 | 980 |
| 965 #whitelisting-table li | 981 #whitelisting-table li |
| 966 { | 982 { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1007 #custom-filters-raw | 1023 #custom-filters-raw |
| 1008 { | 1024 { |
| 1009 width: 100%; | 1025 width: 100%; |
| 1010 height: 23.6rem; | 1026 height: 23.6rem; |
| 1011 padding: 0.8rem 1.3rem; | 1027 padding: 0.8rem 1.3rem; |
| 1012 } | 1028 } |
| 1013 | 1029 |
| 1014 #custom-filters-raw:focus | 1030 #custom-filters-raw:focus |
| 1015 { | 1031 { |
| 1016 outline: none; | 1032 outline: none; |
| 1017 border: 2px solid #099CD0; | 1033 border: 2px solid #077CA6; |
| 1018 } | 1034 } |
| 1019 | 1035 |
| 1020 #empty-custom-filters | 1036 #empty-custom-filters |
| 1021 { | 1037 { |
| 1022 padding: 1.5rem; | 1038 padding: 1.5rem; |
| 1023 border: 1px solid #CDCDCD; | 1039 border: 1px solid #CDCDCD; |
| 1024 } | 1040 } |
| 1025 | 1041 |
| 1026 /* | 1042 /* |
| 1027 Context menu | 1043 Context menu |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 1050 | 1066 |
| 1051 html[dir="rtl"] [role="tooltip"] | 1067 html[dir="rtl"] [role="tooltip"] |
| 1052 { | 1068 { |
| 1053 right: auto; | 1069 right: auto; |
| 1054 left: -1rem; | 1070 left: -1rem; |
| 1055 } | 1071 } |
| 1056 | 1072 |
| 1057 [role="tooltip"], | 1073 [role="tooltip"], |
| 1058 .context-menu .content | 1074 .context-menu .content |
| 1059 { | 1075 { |
| 1060 border: 1px solid #099CD0; | 1076 border: 1px solid #077CA6; |
| 1061 border-radius: 3px; | 1077 border-radius: 3px; |
| 1062 background-color: #FFFFFF; | 1078 background-color: #FFFFFF; |
| 1063 } | 1079 } |
| 1064 | 1080 |
| 1065 | 1081 |
| 1066 .tooltip:not(:hover) > [role="tooltip"], | 1082 .tooltip:not(:hover) > [role="tooltip"], |
| 1067 [role="tooltip"]:hover | 1083 [role="tooltip"]:hover |
| 1068 { | 1084 { |
| 1069 visibility: hidden; | 1085 visibility: hidden; |
| 1070 opacity: 0; | 1086 opacity: 0; |
| 1071 -webkit-transition-delay: 0ms; | 1087 -webkit-transition-delay: 0ms; |
| 1072 transition-delay: 0ms; | 1088 transition-delay: 0ms; |
| 1073 } | 1089 } |
| 1074 | 1090 |
| 1075 .context-menu | 1091 .context-menu |
| 1076 { | 1092 { |
| 1077 position: absolute; | 1093 position: absolute; |
| 1078 right: 3rem; | 1094 right: 2.5rem; |
| 1079 top: -3rem; | 1095 top: -2.7rem; |
| 1080 z-index: 1; | 1096 z-index: 1; |
| 1081 visibility: hidden; | 1097 visibility: hidden; |
| 1082 } | 1098 } |
| 1083 | 1099 |
| 1084 html[dir="rtl"] .context-menu | 1100 html[dir="rtl"] .context-menu |
| 1085 { | 1101 { |
| 1086 right: auto; | 1102 right: auto; |
| 1087 left: 3rem; | 1103 left: 2.5rem; |
| 1088 } | 1104 } |
| 1089 | 1105 |
| 1090 .context-menu .content | 1106 .context-menu .content |
| 1091 { | 1107 { |
| 1092 padding: 0rem; | 1108 padding: 0rem; |
| 1093 position: relative; | 1109 position: relative; |
| 1094 cursor: default; | 1110 cursor: default; |
| 1095 } | 1111 } |
| 1096 | 1112 |
| 1097 li.show-context-menu .context-menu | 1113 li.show-context-menu .context-menu |
| 1098 { | 1114 { |
| 1099 visibility: visible; | 1115 visibility: visible; |
| 1100 } | 1116 } |
| 1101 | 1117 |
| 1102 [role="tooltip"]::before, | 1118 [role="tooltip"]::before, |
| 1103 .context-menu::before | 1119 .context-menu::before |
| 1104 { | 1120 { |
| 1105 content: ""; | 1121 content: ""; |
| 1106 width: 0rem; | 1122 width: 0rem; |
| 1107 height: 0rem; | 1123 height: 0rem; |
| 1108 position: absolute; | 1124 position: absolute; |
| 1109 } | 1125 } |
| 1110 | 1126 |
| 1111 [role="tooltip"]::before | 1127 [role="tooltip"]::before |
| 1112 { | 1128 { |
| 1113 border-left: 10px solid transparent; | 1129 border-left: 10px solid transparent; |
| 1114 border-right: 10px solid transparent; | 1130 border-right: 10px solid transparent; |
| 1115 border-bottom: 10px solid #099CD0; | 1131 border-bottom: 10px solid #077CA6; |
| 1116 top: -10px; | 1132 top: -10px; |
| 1117 right: 15px; | 1133 right: 15px; |
| 1118 } | 1134 } |
| 1119 | 1135 |
| 1120 html[dir="rtl"] [role="tooltip"]::before | 1136 html[dir="rtl"] [role="tooltip"]::before |
| 1121 { | 1137 { |
| 1122 right: auto; | 1138 right: auto; |
| 1123 left: 15px; | 1139 left: 15px; |
| 1124 } | 1140 } |
| 1125 | 1141 |
| 1126 .context-menu::before | 1142 .context-menu::before |
| 1127 { | 1143 { |
| 1128 border-left: 10px solid #099CD0; | 1144 border-left: 10px solid #077CA6; |
| 1129 border-top: 10px solid transparent; | 1145 border-top: 10px solid transparent; |
| 1130 border-bottom: 10px solid transparent; | 1146 border-bottom: 10px solid transparent; |
| 1131 top: 22px; | 1147 top: 22px; |
| 1132 right: -0.5rem; | 1148 right: -0.5rem; |
| 1133 } | 1149 } |
| 1134 | 1150 |
| 1135 html[dir="rtl"] .context-menu::before | 1151 html[dir="rtl"] .context-menu::before |
| 1136 { | 1152 { |
| 1137 border-left: 0rem; | 1153 border-left: 0rem; |
| 1138 border-right: 10px solid #099CD0; | 1154 border-right: 10px solid #077CA6; |
| 1139 right: auto; | 1155 right: auto; |
| 1140 left: -0.5rem; | 1156 left: -0.5rem; |
| 1141 } | 1157 } |
| 1142 | 1158 |
| 1143 .context-menu li[role="menuitem"] | 1159 .context-menu li[role="menuitem"] |
| 1144 { | 1160 { |
| 1145 width: 12.2rem; | 1161 width: 12.2rem; |
| 1146 border: 0rem; | 1162 border: 0rem; |
| 1147 padding: 0rem; | 1163 padding: 0rem; |
| 1148 } | 1164 } |
| 1149 | 1165 |
| 1150 .context-menu li[role="menuitem"] > * | 1166 .context-menu li[role="menuitem"] > * |
| 1151 { | 1167 { |
| 1152 width: 100%; | 1168 width: 100%; |
| 1153 display: flex; | 1169 display: flex; |
| 1154 border: 0rem; | 1170 border: 0rem; |
| 1155 padding: 1rem 0rem; | 1171 padding: 0.7rem 0rem; |
| 1156 color: #099CD0; | 1172 color: #077CA6; |
| 1157 font-size: 1.1rem; | 1173 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 :)
| |
| 1158 font-weight: 700; | 1174 font-weight: 700; |
| 1159 text-transform: none; | 1175 text-transform: none; |
| 1160 } | 1176 } |
| 1161 | 1177 |
| 1162 .context-menu li[role="menuitem"] > *:hover, | 1178 .context-menu li[role="menuitem"] > *:hover, |
| 1163 .context-menu li[role="menuitem"] > *:focus | 1179 .context-menu li[role="menuitem"] > *:focus |
| 1164 { | 1180 { |
| 1165 background-color: #E1F2FA; | 1181 background-color: #E1F2FA; |
| 1166 cursor: pointer; | 1182 cursor: pointer; |
| 1167 } | 1183 } |
| 1168 | 1184 |
| 1169 .context-menu li[role="menuitem"] > *::before | 1185 .context-menu li[role="menuitem"] > *::before |
| 1170 { | 1186 { |
| 1171 content: ""; | 1187 content: ""; |
| 1172 height: 1.5rem; | 1188 height: 1rem; |
| 1173 width: 1.5rem; | 1189 width: 1rem; |
| 1174 margin: 0rem 1.1rem; | 1190 margin: 0rem 1.1rem; |
| 1175 } | 1191 } |
| 1176 | 1192 |
| 1177 .context-menu .update-subscription::before | 1193 .context-menu .update-subscription::before |
| 1178 { | 1194 { |
| 1179 background-image: url(icons/reload.svg); | 1195 background-image: url(icons/reload.svg); |
| 1180 } | 1196 } |
| 1181 | 1197 |
| 1182 .context-menu .website::before | 1198 .context-menu .website::before |
| 1183 { | 1199 { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1279 width: 50vw; | 1295 width: 50vw; |
| 1280 margin: auto; | 1296 margin: auto; |
| 1281 border-radius: 3px; | 1297 border-radius: 3px; |
| 1282 background-color: #FFFFFF; | 1298 background-color: #FFFFFF; |
| 1283 } | 1299 } |
| 1284 | 1300 |
| 1285 #dialog header | 1301 #dialog header |
| 1286 { | 1302 { |
| 1287 display: flex; | 1303 display: flex; |
| 1288 padding: 0.7rem 1.5rem; | 1304 padding: 0.7rem 1.5rem; |
| 1289 background-color: #099CD0; | 1305 background-color: #077CA6; |
| 1290 } | 1306 } |
| 1291 | 1307 |
| 1292 #dialog header h3 | 1308 #dialog header h3 |
| 1293 { | 1309 { |
| 1294 margin: 0rem; | 1310 margin: 0rem; |
| 1295 font-size: 1.375rem; | 1311 font-size: 1rem; |
| 1296 font-weight: 700; | 1312 font-weight: 700; |
| 1297 } | 1313 } |
| 1298 | 1314 |
| 1299 #dialog-close, | 1315 #dialog-close, |
| 1300 #hide-notification | 1316 #hide-notification |
| 1301 { | 1317 { |
| 1302 border: 0rem; | 1318 border: 0rem; |
| 1303 padding: 0rem; | 1319 padding: 0rem; |
| 1304 margin: 0rem; | 1320 margin: 0rem; |
| 1305 background-color: transparent; | 1321 background-color: transparent; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1417 { | 1433 { |
| 1418 position: fixed; | 1434 position: fixed; |
| 1419 top: 0rem; | 1435 top: 0rem; |
| 1420 left: 0rem; | 1436 left: 0rem; |
| 1421 display: flex; | 1437 display: flex; |
| 1422 padding: 1rem 1.9rem; | 1438 padding: 1rem 1.9rem; |
| 1423 width: 100%; | 1439 width: 100%; |
| 1424 box-sizing: border-box; | 1440 box-sizing: border-box; |
| 1425 opacity: 0.8; | 1441 opacity: 0.8; |
| 1426 font-size: 1rem; | 1442 font-size: 1rem; |
| 1427 color: #099CD0; | 1443 color: #077CA6; |
| 1428 background-color: #E1F2FA; | 1444 background-color: #E1F2FA; |
| 1429 } | 1445 } |
| 1430 | 1446 |
| 1431 #notification strong | 1447 #notification strong |
| 1432 { | 1448 { |
| 1433 flex: 1; | 1449 flex: 1; |
| 1434 text-align: center; | 1450 text-align: center; |
| 1435 } | 1451 } |
| 1436 | 1452 |
| 1437 #hide-notification | 1453 #hide-notification |
| 1438 { | 1454 { |
| 1439 margin: 0rem 1rem; | 1455 margin: 0rem 1rem; |
| 1440 } | 1456 } |
| 1441 | 1457 |
| 1442 #hide-notification::after | 1458 #hide-notification::after |
| 1443 { | 1459 { |
| 1444 background-image: url(icons/delete.svg#secondary); | 1460 background-image: url(icons/delete.svg#secondary); |
| 1445 } | 1461 } |
| 1446 | 1462 |
| 1447 #hide-notification:hover::after | 1463 #hide-notification:hover::after |
| 1448 { | 1464 { |
| 1449 background-image: url(icons/delete.svg#secondary-hover); | 1465 background-image: url(icons/delete.svg#secondary-hover); |
| 1450 } | 1466 } |
| OLD | NEW |