 Issue 29502647:
  Issue 5482 - Sidebar and about ABP dialog  (Closed)
    
  
    Issue 29502647:
  Issue 5482 - Sidebar and about ABP dialog  (Closed) 
  | 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-2017 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 | 
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 
| 12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. | 
| 13 * | 13 * | 
| (...skipping 17 matching lines...) Expand all Loading... | |
| 31 src: url(fonts/SourceSansPro-Regular.woff); | 31 src: url(fonts/SourceSansPro-Regular.woff); | 
| 32 /* local("Ø") forces using no local font called Source Sans Pro */ | 32 /* local("Ø") forces using no local font called Source Sans Pro */ | 
| 33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); | 33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); | 
| 34 font-weight: 400; | 34 font-weight: 400; | 
| 35 font-style: normal; | 35 font-style: normal; | 
| 36 } | 36 } | 
| 37 | 37 | 
| 38 @font-face | 38 @font-face | 
| 39 { | 39 { | 
| 40 font-family: "Source Sans Pro"; | 40 font-family: "Source Sans Pro"; | 
| 41 src: url(fonts/SourceSansPro-Semibold.woff); | 41 src: url(fonts/SourceSansPro-bold.woff); | 
| 42 /* local("Ø") forces using no local font called Source Sans Pro */ | 42 /* local("Ø") forces using no local font called Source Sans Pro */ | 
| 43 src: local("Ø"), url(fonts/SourceSansPro-Semibold.woff) format("woff"); | 43 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff"); | 
| 44 font-weight: 600; | 44 font-weight: 700; | 
| 45 font-style: normal; | 45 font-style: normal; | 
| 46 } | |
| 47 | |
| 48 html | |
| 49 { | |
| 50 font-size: 20px; | |
| 46 } | 51 } | 
| 47 | 52 | 
| 48 body | 53 body | 
| 49 { | 54 { | 
| 50 background-color: #F5F5F5; | 55 background-color: #F5F5F5; | 
| 51 display: flex; | 56 display: flex; | 
| 52 margin: 1.2em 0.3em; | 57 margin: 1.2rem 0.3rem; | 
| 53 font-family: "Source Sans Pro", sans-serif; | 58 font-family: "Source Sans Pro", sans-serif; | 
| 54 font-size: 20px; | |
| 55 font-weight: 300; | 59 font-weight: 300; | 
| 
juliandoucette
2017/08/21 14:10:35
This thin body font requires aliasing and is hard
 
saroyanm
2017/08/21 15:20:22
As mentioned, on other file, styleguide enhancemen
 
juliandoucette
2017/08/21 16:07:25
I can't find "300" or "thin" in the styleguide or
 
saroyanm
2017/08/21 16:46:13
Yes, it's using same fonts value assignment as Acc
 
juliandoucette
2017/08/22 10:10:44
Acknowledged.
I think it's worth bringing up.
 | |
| 60 font-size: 1rem; | |
| 56 color: #494949; | 61 color: #494949; | 
| 57 } | 62 } | 
| 58 | 63 | 
| 59 h1 | 64 h1 | 
| 60 { | 65 { | 
| 61 font-size: 3em; | 66 font-size: 3rem; | 
| 62 font-weight: 300; | 67 font-weight: 300; | 
| 63 } | 68 } | 
| 64 | 69 | 
| 65 h2 | 70 h2 | 
| 66 { | 71 { | 
| 67 font-size: 1.375em; | 72 font-size: 1.375rem; | 
| 68 font-weight: 600; | 73 font-weight: 700; | 
| 74 } | |
| 75 | |
| 76 p | |
| 77 { | |
| 78 font-weight: 300; | |
| 69 } | 79 } | 
| 70 | 80 | 
| 71 [aria-hidden="true"] | 81 [aria-hidden="true"] | 
| 72 { | 82 { | 
| 73 display: none !important; | 83 display: none !important; | 
| 74 } | 84 } | 
| 75 | 85 | 
| 76 input[type="text"], | 86 input[type="text"], | 
| 77 textarea, | 87 textarea, | 
| 78 main | 88 main | 
| 79 { | 89 { | 
| 80 -webkit-box-sizing: border-box; | 90 -webkit-box-sizing: border-box; | 
| 81 -moz-box-sizing: border-box; | 91 -moz-box-sizing: border-box; | 
| 82 box-sizing: border-box; | 92 box-sizing: border-box; | 
| 83 } | 93 } | 
| 84 | 94 | 
| 85 /* | 95 /* | 
| 86 Buttons and links | 96 Buttons and links | 
| 87 */ | 97 */ | 
| 88 | 98 | 
| 89 a, | 99 button, | 
| 90 button.link | 100 .button | 
| 91 { | 101 { | 
| 92 text-decoration: none; | 102 padding: 0.8rem 1.2rem; | 
| 93 color: #099CD0; | 103 font-size: 1.125rem; | 
| 94 font-size: 1.25em; | 104 font-weight: 700; | 
| 
juliandoucette
2017/08/21 14:10:34
It seem strange to make anchors slightly larger th
 
saroyanm
2017/08/21 15:20:23
I agree, this is not what styleguide says.
 
juliandoucette
2017/08/21 16:07:25
I can't tell if you are saying that you or the sty
 
saroyanm
2017/08/21 16:46:13
I'm saying that I'll fix that, style guide specify
 
juliandoucette
2017/08/22 10:10:44
Acknowledged.
 
saroyanm
2017/08/23 13:35:45
Neverming I was wrong, I shouldn't style <a> here,
 | |
| 95 cursor: pointer; | |
| 96 } | |
| 97 | |
| 98 button.link | |
| 99 { | |
| 100 border:none; | |
| 
juliandoucette
2017/08/21 14:10:34
NIT: Missing space, + I thought we agreed on borde
 
saroyanm
2017/08/21 15:20:22
Good point.
 
saroyanm
2017/08/23 13:35:45
Done.
 | |
| 101 background-color: transparent; | |
| 102 font-weight: 300; | |
| 103 font-family: inherit; | |
| 104 } | |
| 105 | |
| 106 button.primary, | |
| 
juliandoucette
2017/08/21 14:10:34
These seem like styles that should apply to button
 
saroyanm
2017/08/21 15:20:23
It, can but in that case we should reset some styl
 
juliandoucette
2017/08/21 16:07:25
Do button on other parts of this page or in other
 
saroyanm
2017/08/21 16:46:13
Yes, they look, but if change here will break them
 
juliandoucette
2017/08/22 10:10:44
Acknowledged.
 
saroyanm
2017/08/23 13:35:46
Done.
 | |
| 107 button.secondary, | |
| 108 .button.primary, | |
| 109 .button.secondary | |
| 110 { | |
| 111 padding: 0.8em 1.2em; | |
| 112 font-size: 1.125em; | |
| 113 font-weight: 600; | |
| 114 text-decoration: none; | 105 text-decoration: none; | 
| 115 text-transform: uppercase; | 106 text-transform: uppercase; | 
| 107 cursor: pointer; | |
| 116 } | 108 } | 
| 117 | 109 | 
| 118 button.primary, | 110 button.primary, | 
| 119 .button.primary | 111 .button.primary | 
| 120 { | 112 { | 
| 121 border: none; | 113 border: 0px; | 
| 122 color: #FFF; | 114 color: #FFF; | 
| 123 background-color: #0A9DD1; | 115 background-color: #0A9DD1; | 
| 124 cursor: pointer; | |
| 
juliandoucette
2017/08/21 14:10:34
I think this is redundant?
 
saroyanm
2017/08/21 15:20:22
Why ?
 
juliandoucette
2017/08/21 16:07:25
I was mistaken; sorry. I thought that this style w
 
saroyanm
2017/08/21 16:46:13
Yes, I think it should.
 
saroyanm
2017/08/23 13:35:45
Done.
 | |
| 125 } | 116 } | 
| 126 | 117 | 
| 127 button.primary:hover, | 118 button.primary:hover, | 
| 128 .button.primary:hover | 119 .button.primary:hover | 
| 129 { | 120 { | 
| 130 box-shadow: inset 0 0 0 2px #005D80; | 121 box-shadow: inset 0 0 0 2px #005D80; | 
| 131 } | 122 } | 
| 132 | 123 | 
| 133 button.primary[disabled] | 124 button.primary[disabled] | 
| 134 { | 125 { | 
| 135 background-color: #5CBCE1; | 126 background-color: #5CBCE1; | 
| 136 } | 127 } | 
| 137 | 128 | 
| 138 button.secondary, | 129 button.secondary, | 
| 139 .button.secondary | 130 .button.secondary | 
| 140 { | 131 { | 
| 141 border: 1px solid #0A9DD1; | 132 border: 1px solid #0A9DD1; | 
| 142 color: #099CD0; | 133 color: #099CD0; | 
| 143 } | 134 } | 
| 144 | 135 | 
| 145 button.secondary:hover, | 136 button.secondary:hover, | 
| 146 .button.secondary:hover | 137 .button.secondary:hover | 
| 147 { | 138 { | 
| 148 box-shadow: inset 0 0 0 1px #099CD0; | 139 box-shadow: inset 0 0 0 4px #099CD0; | 
| 149 } | 140 } | 
| 150 | 141 | 
| 151 button[role="checkbox"], | 142 button[role="checkbox"], | 
| 152 #dialog-body .table button[role="checkbox"] | 143 #dialog-body .table button[role="checkbox"] | 
| 153 { | 144 { | 
| 154 width: 18px; | 145 width: 18px; | 
| 155 height: 18px; | 146 height: 18px; | 
| 156 margin-top: 0px; | 147 margin-top: 0px; | 
| 157 -moz-margin-end: 20px; | 148 -moz-margin-end: 20px; | 
| 158 -webkit-margin-end: 20px; | 149 -webkit-margin-end: 20px; | 
| 159 padding: 0px; | 150 padding: 0px; | 
| 160 border: none; | 151 border: 0px; | 
| 161 background-color: transparent; | 152 background-color: transparent; | 
| 162 background-position: -51px 0px; | 153 background-position: -51px 0px; | 
| 163 } | 154 } | 
| 164 | 155 | 
| 165 button[role="checkbox"][aria-checked="true"], | 156 button[role="checkbox"][aria-checked="true"], | 
| 166 #dialog-body .table button[role="checkbox"][aria-checked="true"] | 157 #dialog-body .table button[role="checkbox"][aria-checked="true"] | 
| 167 { | 158 { | 
| 168 background-position: -68px 0px; | 159 background-position: -68px 0px; | 
| 160 } | |
| 161 | |
| 162 button.link | |
| 163 { | |
| 164 border: 0px; | |
| 165 background-color: transparent; | |
| 166 font-weight: 300; | |
| 167 font-family: inherit; | |
| 168 color: #099CD0; | |
| 169 text-transform: none; | |
| 170 padding: 0.2rem; | |
| 169 } | 171 } | 
| 170 | 172 | 
| 171 /* | 173 /* | 
| 172 Sidebar | 174 Sidebar | 
| 173 */ | 175 */ | 
| 174 | 176 | 
| 175 #sidebar, | 177 #sidebar, | 
| 176 #sidebar .fixed, | 178 #sidebar .fixed, | 
| 177 [role="tablist"] | 179 [role="tablist"] | 
| 178 { | 180 { | 
| 179 width: 13.2em; | 181 width: 13.2rem; | 
| 180 } | 182 } | 
| 181 | 183 | 
| 182 #sidebar | 184 #sidebar | 
| 183 { | 185 { | 
| 184 flex-shrink: 0; | 186 flex-shrink: 0; | 
| 185 } | 187 } | 
| 186 | 188 | 
| 187 #sidebar .fixed | 189 #sidebar .fixed | 
| 188 { | 190 { | 
| 189 top: 1.2em; | 191 top: 1.2rem; | 
| 190 bottom: 0em; | 192 bottom: 0rem; | 
| 191 height: auto; | 193 height: auto; | 
| 192 position: fixed; | 194 position: fixed; | 
| 193 } | 195 } | 
| 194 | 196 | 
| 195 #sidebar header | 197 #sidebar header | 
| 196 { | 198 { | 
| 197 text-align: right; | 199 text-align: right; | 
| 198 margin-right: 2em; | 200 margin-right: 2rem; | 
| 199 } | 201 } | 
| 200 | 202 | 
| 201 html[dir="rtl"] #sidebar header | 203 html[dir="rtl"] #sidebar header | 
| 202 { | 204 { | 
| 203 margin-left: 2em; | 205 margin-left: 2rem; | 
| 204 } | 206 } | 
| 205 | 207 | 
| 206 #sidebar header h1 | 208 #sidebar header h1 | 
| 207 { | 209 { | 
| 208 margin: 0em; | 210 margin: 0rem; | 
| 209 font-size: 1.2em; | 211 font-size: 1.5rem; | 
| 210 } | 212 } | 
| 211 | 213 | 
| 212 #sidebar header h2 | 214 #sidebar header h1 strong | 
| 213 { | 215 { | 
| 214 margin: 0em; | 216 font-weight: 700; | 
| 215 font-size: 2.2em; | 217 } | 
| 216 font-weight: 300; | 218 | 
| 219 #sidebar header p | |
| 220 { | |
| 221 margin: 0rem; | |
| 222 font-size: 2.4rem; | |
| 217 } | 223 } | 
| 218 | 224 | 
| 219 html[dir="rtl"] #sidebar header | 225 html[dir="rtl"] #sidebar header | 
| 220 { | 226 { | 
| 221 text-align: left; | 227 text-align: left; | 
| 222 } | 228 } | 
| 223 | 229 | 
| 224 #sidebar-logo | 230 #sidebar-logo | 
| 225 { | 231 { | 
| 226 width: 3em; | 232 width: 3rem; | 
| 227 margin-bottom: 0.9em; | 233 margin-bottom: 0.7rem; | 
| 228 } | 234 } | 
| 229 | 235 | 
| 230 #sidebar nav, | 236 #sidebar nav, | 
| 231 #sidebar footer | 237 #sidebar footer | 
| 232 { | 238 { | 
| 233 margin: 1.4em 0em; | 239 margin: 1.4rem 0rem; | 
| 234 } | 240 } | 
| 235 | 241 | 
| 236 [role="tablist"] | 242 [role="tablist"] | 
| 237 { | 243 { | 
| 238 list-style: none; | 244 list-style: none; | 
| 239 margin: 0px; | 245 margin: 0px; | 
| 240 position: relative; | 246 position: relative; | 
| 241 padding: 0px; | 247 padding: 0px; | 
| 242 } | 248 font-size: 1.25rem; | 
| 243 | 249 } | 
| 244 [role="tablist"] li | 250 | 
| 251 [role="tablist"] li a | |
| 245 { | 252 { | 
| 246 display: flex; | 253 display: flex; | 
| 247 margin-top: -1px; | 254 margin-top: -1px; | 
| 248 padding: 1em 0px; | 255 padding: 1rem 0.8rem; | 
| 249 -moz-margin-end: -1px; | 256 -moz-margin-end: -1px; | 
| 250 -webkit-margin-end: -1px; | 257 -webkit-margin-end: -1px; | 
| 251 -moz-margin-start: -1px; | 258 -moz-margin-start: -1px; | 
| 252 -webkit-margin-start: -1px; | 259 -webkit-margin-start: -1px; | 
| 253 border-color: #CDCDCD transparent; | 260 border-color: #CDCDCD transparent; | 
| 254 border-style: solid; | 261 border-style: solid; | 
| 255 border-width: 1px; | 262 border-width: 1px; | 
| 256 font-weight: 300; | 263 text-decoration: none; | 
| 257 cursor: pointer; | |
| 258 } | |
| 259 | |
| 260 [role="tablist"] li a | |
| 261 { | |
| 262 flex: 1; | |
| 263 color: inherit; | 264 color: inherit; | 
| 264 } | 265 cursor: pointer; | 
| 265 | 266 } | 
| 266 [role="tablist"] li a, | 267 | 
| 267 [role="tablist"] li span, | 268 [role="tablist"] a[role="tab"]:focus | 
| 268 [role="tablist"] li::after | |
| 269 { | |
| 270 margin: 0em 0.8em; | |
| 271 } | |
| 272 | |
| 273 [role="tablist"] li[role="tab"]:focus, | |
| 274 [role="tablist"] li[role="tab"] a:focus | |
| 275 { | 269 { | 
| 276 outline: none; | 270 outline: none; | 
| 277 text-shadow: 0px 0px 1px #888; | 271 text-shadow: 0px 0px 1px #888; | 
| 278 } | 272 } | 
| 279 | 273 | 
| 280 li[role="tab"][aria-selected] | 274 li a[role="tab"][aria-selected] | 
| 281 { | 275 { | 
| 282 -moz-border-start-color: #CDCDCD; | 276 -moz-border-start-color: #CDCDCD; | 
| 283 -webkit-border-start-color: #CDCDCD; | 277 -webkit-border-start-color: #CDCDCD; | 
| 284 font-weight: 600; | 278 font-weight: 700; | 
| 285 background-color: #FFF; | 279 background-color: #FFF; | 
| 286 } | 280 } | 
| 287 | 281 | 
| 288 #sidebar footer | 282 #sidebar footer | 
| 289 { | 283 { | 
| 290 bottom: 0px; | 284 bottom: 0px; | 
| 291 position: absolute; | 285 position: absolute; | 
| 292 width: 100%; | 286 width: 100%; | 
| 293 } | 287 } | 
| 294 | 288 | 
| 295 #sidebar footer p | 289 #sidebar footer p | 
| 296 { | 290 { | 
| 297 display: flex; | 291 display: flex; | 
| 298 justify-content: center; | 292 justify-content: center; | 
| 299 margin: 1.2em 0em; | 293 margin: 1.2rem 0rem; | 
| 300 } | 294 } | 
| 301 | 295 | 
| 302 main | 296 main | 
| 303 { | 297 { | 
| 304 background-color: #FFFFFF; | 298 background-color: #FFFFFF; | 
| 305 border: 1px solid #CDCDCD; | 299 border: 1px solid #CDCDCD; | 
| 306 border-radius: 8px; | 300 max-width: 46.3rem; | 
| 307 max-width: 46.3em; | 301 padding: 0px 2rem 1.4rem 2rem; | 
| 308 padding: 0px 2em 1.4em 2em; | |
| 309 } | 302 } | 
| 310 | 303 | 
| 311 main > div | 304 main > div | 
| 312 { | 305 { | 
| 313 display: none; | 306 display: none; | 
| 314 } | 307 } | 
| 315 | 308 | 
| 316 main h1 | 309 main h1 | 
| 317 { | 310 { | 
| 318 border-bottom: 1px solid #CDCDCD; | 311 border-bottom: 1px solid #CDCDCD; | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 368 { | 361 { | 
| 369 padding-top: 0px; | 362 padding-top: 0px; | 
| 370 padding-bottom: 6px; | 363 padding-bottom: 6px; | 
| 371 } | 364 } | 
| 372 | 365 | 
| 373 .table li.empty-placeholder | 366 .table li.empty-placeholder | 
| 374 { | 367 { | 
| 375 background-color: #F5F5F5; | 368 background-color: #F5F5F5; | 
| 376 } | 369 } | 
| 377 | 370 | 
| 378 .table li [data-single='visible'], | 371 .table li [data-single="visible"], | 
| 379 .table li:first-child:nth-last-child(2) [data-single='hidden'] | 372 .table li:first-of-type:last-of-type [data-single="hidden"] | 
| 380 { | 373 { | 
| 381 display: none; | 374 display: none; | 
| 382 } | 375 } | 
| 383 | 376 | 
| 384 .table li:first-child:nth-last-child(2) [data-single='visible'] | 377 .table li:first-of-type:last-of-type [data-single="visible"] | 
| 385 { | 378 { | 
| 386 display: block; | 379 display: block; | 
| 387 } | 380 } | 
| 388 | 381 | 
| 389 .table label | 382 .table label | 
| 390 { | 383 { | 
| 391 vertical-align: top; | 384 vertical-align: top; | 
| 392 } | 385 } | 
| 393 | 386 | 
| 394 .table.cols | 387 .table.cols | 
| (...skipping 21 matching lines...) Expand all Loading... | |
| 416 | 409 | 
| 417 .table button.delete:hover | 410 .table button.delete:hover | 
| 418 { | 411 { | 
| 419 background-position: -61px -51px; | 412 background-position: -61px -51px; | 
| 420 } | 413 } | 
| 421 | 414 | 
| 422 .icon, | 415 .icon, | 
| 423 button[role="checkbox"], | 416 button[role="checkbox"], | 
| 424 #dialog-body .table button[role="checkbox"], | 417 #dialog-body .table button[role="checkbox"], | 
| 425 .table button.delete, | 418 .table button.delete, | 
| 426 #content-help a::before, | |
| 427 #dialog-close::before, | 419 #dialog-close::before, | 
| 428 #all-filter-lists-table .arrow, | 420 #all-filter-lists-table .arrow, | 
| 429 .context-menu .content a::before | 421 .context-menu .content a::before | 
| 430 { | 422 { | 
| 431 background-image: url(options-sprite.png); | 423 background-image: url(options-sprite.png); | 
| 432 display: inline-block; | 424 display: inline-block; | 
| 433 } | 425 } | 
| 434 | 426 | 
| 435 .icon-add, | 427 .icon-add, | 
| 436 .icon-update | 428 .icon-update | 
| (...skipping 20 matching lines...) Expand all Loading... | |
| 457 cursor: pointer; | 449 cursor: pointer; | 
| 458 } | 450 } | 
| 459 | 451 | 
| 460 #dialog-close::before | 452 #dialog-close::before | 
| 461 { | 453 { | 
| 462 content: ""; | 454 content: ""; | 
| 463 height: 12px; | 455 height: 12px; | 
| 464 width: 12px; | 456 width: 12px; | 
| 465 } | 457 } | 
| 466 | 458 | 
| 467 #content-help a::before | 459 #dialog-body button::before | 
| 468 { | 460 { | 
| 469 background-position: 0px -42px; | 461 background-position: 0px -42px; | 
| 470 content: ""; | 462 content: ""; | 
| 471 cursor: pointer; | 463 cursor: pointer; | 
| 472 height: 11px; | 464 height: 11px; | 
| 473 vertical-align: middle; | 465 vertical-align: middle; | 
| 474 width: 7px; | 466 width: 7px; | 
| 475 -moz-margin-end: 12px; | 467 -moz-margin-end: 12px; | 
| 476 -webkit-margin-end: 12px; | 468 -webkit-margin-end: 12px; | 
| 477 } | 469 } | 
| (...skipping 14 matching lines...) Expand all Loading... | |
| 492 .controls > div | 484 .controls > div | 
| 493 { | 485 { | 
| 494 display: flex; | 486 display: flex; | 
| 495 position: relative; | 487 position: relative; | 
| 496 } | 488 } | 
| 497 | 489 | 
| 498 .controls button, | 490 .controls button, | 
| 499 #dialog-close | 491 #dialog-close | 
| 500 { | 492 { | 
| 501 display: flex; | 493 display: flex; | 
| 502 border: none; | 494 border: 0px; | 
| 503 padding: 0px; | 495 padding: 0px; | 
| 504 align-items: center; | 496 align-items: center; | 
| 505 background: none; | 497 background: none; | 
| 506 cursor: pointer; | 498 cursor: pointer; | 
| 507 } | 499 } | 
| 508 | 500 | 
| 509 .controls button span:not(.icon) | 501 .controls button span:not(.icon) | 
| 510 { | 502 { | 
| 511 -moz-margin-start: 16px; | 503 -moz-margin-start: 16px; | 
| 512 -webkit-margin-start: 16px; | 504 -webkit-margin-start: 16px; | 
| 513 color: #3A7BA6; | 505 color: #3A7BA6; | 
| 514 vertical-align: top; | 506 vertical-align: top; | 
| 507 } | |
| 508 | |
| 509 /* | |
| 510 Used for translatable screen reader only conten. | |
| 511 e.g.: Use instead of aria-label to avoid complex attribute value translation | |
| 512 */ | |
| 513 .sr-only | |
| 514 { | |
| 515 position: absolute; | |
| 516 overflow: hidden; | |
| 517 clip: rect(0, 0, 0, 0); | |
| 518 width: 1px; | |
| 519 height: 1px; | |
| 520 margin: -1px; | |
| 521 padding: 0px; | |
| 522 border: 0px; | |
| 515 } | 523 } | 
| 516 | 524 | 
| 517 /* | 525 /* | 
| 518 General tab content | 526 General tab content | 
| 519 */ | 527 */ | 
| 520 | 528 | 
| 521 #blocking-languages-dialog-table | 529 #blocking-languages-dialog-table | 
| 522 { | 530 { | 
| 523 border-bottom: none; | 531 border-bottom: none; | 
| 524 } | 532 } | 
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 Advanced tab content | 596 Advanced tab content | 
| 589 */ | 597 */ | 
| 590 | 598 | 
| 591 #all-filter-lists-table li.show-message .last-update, | 599 #all-filter-lists-table li.show-message .last-update, | 
| 592 #all-filter-lists-table li:not(.show-message) .message, | 600 #all-filter-lists-table li:not(.show-message) .message, | 
| 593 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, | 601 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, | 
| 594 #custom-filters[data-mode="empty"] #custom-filters-raw, | 602 #custom-filters[data-mode="empty"] #custom-filters-raw, | 
| 595 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, | 603 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, | 
| 596 #custom-filters:not([data-mode="read"]) #custom-filters-edit, | 604 #custom-filters:not([data-mode="read"]) #custom-filters-edit, | 
| 597 .state span, | 605 .state span, | 
| 598 #acceptable-ads:not(.show-dnt-notification) #no-dnt | 606 #acceptable-ads:not(.show-dnt-notification) #dnt | 
| 599 { | 607 { | 
| 600 display: none; | 608 display: none; | 
| 601 } | 609 } | 
| 602 | 610 | 
| 603 #all-filter-lists-table | 611 #all-filter-lists-table | 
| 604 { | 612 { | 
| 605 display: inline-block; | 613 display: inline-block; | 
| 606 } | 614 } | 
| 607 | 615 | 
| 608 #all-filter-lists-table | 616 #all-filter-lists-table | 
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 822 | 830 | 
| 823 div.context-menu > div a::before | 831 div.context-menu > div a::before | 
| 824 { | 832 { | 
| 825 vertical-align: middle; | 833 vertical-align: middle; | 
| 826 height: 16px; | 834 height: 16px; | 
| 827 width: 16px; | 835 width: 16px; | 
| 828 } | 836 } | 
| 829 | 837 | 
| 830 div.context-menu > div a:last-child | 838 div.context-menu > div a:last-child | 
| 831 { | 839 { | 
| 832 border: none; | 840 border: 0px; | 
| 833 } | 841 } | 
| 834 | 842 | 
| 835 .context-menu .update-subscription::before | 843 .context-menu .update-subscription::before | 
| 836 { | 844 { | 
| 837 background-position: -38px -31px; | 845 background-position: -38px -31px; | 
| 838 } | 846 } | 
| 839 | 847 | 
| 840 .context-menu .website::before | 848 .context-menu .website::before | 
| 841 { | 849 { | 
| 842 background-position: -33px -47px; | 850 background-position: -33px -47px; | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 889 | 897 | 
| 890 div[role="tooltip"] .notes p | 898 div[role="tooltip"] .notes p | 
| 891 { | 899 { | 
| 892 font-weight: 300; | 900 font-weight: 300; | 
| 893 } | 901 } | 
| 894 | 902 | 
| 895 /* | 903 /* | 
| 896 Help tab content | 904 Help tab content | 
| 897 */ | 905 */ | 
| 898 | 906 | 
| 899 #content-help | 907 html:not([lang="zh"]) #social-chinese, | 
| 900 { | 908 html[lang="zh"] #social-general | 
| 901 counter-reset: section; | 909 { | 
| 902 } | 910 display: none; | 
| 903 | 911 } | 
| 904 #content-help h1::before | 912 | 
| 905 { | 913 #social ul | 
| 906 counter-increment: section; | 914 { | 
| 907 content: counter(section) ". "; | 915 list-style: none; | 
| 908 } | 916 } | 
| 909 | 917 | 
| 910 #content-help a | 918 #social ul li | 
| 911 { | 919 { | 
| 912 color: #3A7BA6; | |
| 913 display: inline-block; | 920 display: inline-block; | 
| 914 text-decoration: none; | 921 } | 
| 915 -moz-margin-end: 16px; | 922 | 
| 916 -webkit-margin-end: 16px; | 923 #social ul li a | 
| 917 vertical-align: top; | 924 { | 
| 918 } | 925 display: block; | 
| 919 | 926 text-align: center; | 
| 920 #content-help a::before | 927 } | 
| 921 { | 928 | 
| 922 -moz-margin-end: 6px; | 929 #social ul li a::before | 
| 923 -webkit-margin-end: 6px; | 930 { | 
| 924 } | 931 display: block; | 
| 925 | 932 margin: 0em auto; | 
| 926 #share-general:lang(zh), | 933 width: 2.5rem; | 
| 927 #share-chinese:not(zh) | 934 height: 2.5rem; | 
| 928 { | 935 content: ""; | 
| 929 display: none; | 936 background-color: #099DD1; | 
| 937 } | |
| 938 | |
| 939 #twitter::before | |
| 940 { | |
| 941 -webkit-mask: url("social/twitter.svg"); | |
| 942 mask: url("social/twitter.svg"); | |
| 943 } | |
| 944 | |
| 945 #facebook::before | |
| 946 { | |
| 947 -webkit-mask: url("social/facebook.svg"); | |
| 948 mask: url("social/facebook.svg"); | |
| 949 } | |
| 950 | |
| 951 #google-plus::before | |
| 952 { | |
| 953 -webkit-mask: url("social/googleplus.svg"); | |
| 954 mask: url("social/googleplus.svg"); | |
| 930 } | 955 } | 
| 931 | 956 | 
| 932 /* | 957 /* | 
| 933 Dialog | 958 Dialog | 
| 934 */ | 959 */ | 
| 935 | 960 | 
| 936 #dialog-background | 961 #dialog-background | 
| 937 { | 962 { | 
| 938 display: none; | 963 display: none; | 
| 939 position: fixed; | 964 position: fixed; | 
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1046 margin-top: 10px; | 1071 margin-top: 10px; | 
| 1047 margin-bottom: 20px; | 1072 margin-bottom: 20px; | 
| 1048 word-wrap: break-word; | 1073 word-wrap: break-word; | 
| 1049 } | 1074 } | 
| 1050 | 1075 | 
| 1051 body:not([data-dialog="about"]) #dialog-title-about, | 1076 body:not([data-dialog="about"]) #dialog-title-about, | 
| 1052 body:not([data-dialog="about"]) #dialog-content-about, | 1077 body:not([data-dialog="about"]) #dialog-content-about, | 
| 1053 body:not([data-dialog="custom"]) #dialog-title-custom, | 1078 body:not([data-dialog="custom"]) #dialog-title-custom, | 
| 1054 body:not([data-dialog="custom"]) #dialog-content-custom, | 1079 body:not([data-dialog="custom"]) #dialog-content-custom, | 
| 1055 body:not([data-dialog="language-add"]) #dialog-title-language-add, | 1080 body:not([data-dialog="language-add"]) #dialog-title-language-add, | 
| 1056 body:not([data-dialog="language-add"]) #dialog-content-language-add, | |
| 1057 body:not([data-dialog="language-change"]) #dialog-title-language-change, | 1081 body:not([data-dialog="language-change"]) #dialog-title-language-change, | 
| 1058 body:not([data-dialog="language-change"]) #dialog-content-language-change, | 1082 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add, | 
| 1083 body:not([data-dialog="language-add"]) #dialog-body button.add, | |
| 1084 body:not([data-dialog="language-change"]) #dialog-body button.change, | |
| 1059 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1085 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 
| 1060 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1086 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 
| 1061 body:not([data-dialog]) #dialog | 1087 body:not([data-dialog]) #dialog | 
| 1062 { | 1088 { | 
| 1063 display: none; | 1089 display: none; | 
| 1064 } | 1090 } | 
| 1091 | |
| 1092 /* | |
| 1093 Notification | |
| 1094 */ | |
| 1095 | |
| 1096 #notification | |
| 1097 { | |
| 1098 position: fixed; | |
| 1099 top: 0rem; | |
| 1100 left: 0rem; | |
| 1101 display: flex; | |
| 1102 padding: 1rem 1.9rem; | |
| 1103 width: 100%; | |
| 1104 box-sizing: border-box; | |
| 1105 opacity: 0.8; | |
| 1106 font-size: 1rem; | |
| 1107 color: #099CD0; | |
| 1108 background-color: #E1F2FA; | |
| 1109 } | |
| 1110 | |
| 1111 #notification strong | |
| 1112 { | |
| 1113 flex: 1; | |
| 1114 text-align: center; | |
| 1115 } | |
| 1116 | |
| 1117 #hide-notification | |
| 1118 { | |
| 1119 border: 0rem; | |
| 1120 padding: 0rem; | |
| 1121 margin: 0rem 1rem; | |
| 1122 background-color: transparent; | |
| 1123 cursor: pointer; | |
| 1124 } | |
| 1125 | |
| 1126 #hide-notification::after | |
| 1127 { | |
| 1128 content: ""; | |
| 1129 display: block; | |
| 1130 height: 1rem; | |
| 1131 width: 1rem; | |
| 1132 border: 0rem; | |
| 1133 background-color: #099DD1; | |
| 1134 -webkit-mask: url(delete.svg); | |
| 1135 mask: url(delete.svg); | |
| 1136 } | |
| 1137 | |
| 1138 #hide-notification:hover::after | |
| 1139 { | |
| 1140 background-color: #5CBCE1; | |
| 1141 } | |
| LEFT | RIGHT |