 Issue 29333819:
  Issue 2375 - Implement "Blocking lists" section in new options page  (Closed)
    
  
    Issue 29333819:
  Issue 2375 - Implement "Blocking lists" section in new options page  (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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2016 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 85 display: none; | 85 display: none; | 
| 86 } | 86 } | 
| 87 | 87 | 
| 88 input[type="text"], input[type="search"] | 88 input[type="text"], input[type="search"] | 
| 89 { | 89 { | 
| 90 -webkit-box-sizing: border-box; | 90 -webkit-box-sizing: border-box; | 
| 91 -moz-box-sizing: border-box; | 91 -moz-box-sizing: border-box; | 
| 92 box-sizing: border-box; | 92 box-sizing: border-box; | 
| 93 } | 93 } | 
| 94 | 94 | 
| 95 button[role="checkbox"] | |
| 96 { | |
| 97 vertical-align: top; | |
| 98 width: 18px; | |
| 99 height: 18px; | |
| 100 margin-top: 0px; | |
| 101 -moz-margin-end: 20px; | |
| 102 -webkit-margin-end: 20px; | |
| 103 padding: 0px; | |
| 104 border: none; | |
| 105 background-color: transparent; | |
| 106 background-position: -51px 0px; | |
| 107 } | |
| 108 | |
| 109 button[role="checkbox"][aria-checked="true"] | |
| 110 { | |
| 111 background-position: -68px 0px; | |
| 112 } | |
| 113 | |
| 95 .option-name | 114 .option-name | 
| 96 { | 115 { | 
| 97 display: flex; | 116 display: flex; | 
| 98 margin-bottom: 16px; | 117 margin-bottom: 16px; | 
| 99 margin-top: 24px; | 118 margin-top: 24px; | 
| 100 } | 119 } | 
| 101 | 120 | 
| 102 .option-name > :first-child | 121 .option-name > :first-child | 
| 103 { | 122 { | 
| 104 flex: 1; | 123 flex: 1; | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 139 } | 158 } | 
| 140 | 159 | 
| 141 .hbox | 160 .hbox | 
| 142 { | 161 { | 
| 143 display: flex; | 162 display: flex; | 
| 144 flex-direction: row; | 163 flex-direction: row; | 
| 145 } | 164 } | 
| 146 | 165 | 
| 147 .hbox > div | 166 .hbox > div | 
| 148 { | 167 { | 
| 149 flex: 1; | 168 width: 400px; | 
| 150 } | 169 } | 
| 151 | 170 | 
| 152 .tabs li | 171 .tabs li | 
| 153 { | 172 { | 
| 154 cursor: pointer; | 173 cursor: pointer; | 
| 155 display: flex; | 174 display: flex; | 
| 156 } | 175 } | 
| 157 | 176 | 
| 158 .tabs li a | 177 .tabs li a | 
| 159 { | 178 { | 
| (...skipping 16 matching lines...) Expand all Loading... | |
| 176 border-color: #CDCDCD transparent; | 195 border-color: #CDCDCD transparent; | 
| 177 border-style: solid; | 196 border-style: solid; | 
| 178 border-width: 1px; | 197 border-width: 1px; | 
| 179 font-size: 16px; | 198 font-size: 16px; | 
| 180 font-weight: 300; | 199 font-weight: 300; | 
| 181 line-height: 1em; | 200 line-height: 1em; | 
| 182 margin-top: -1px; | 201 margin-top: -1px; | 
| 183 padding: 14px 20px; | 202 padding: 14px 20px; | 
| 184 } | 203 } | 
| 185 | 204 | 
| 186 body[data-tab*="general"] #tab-general, | 205 body[data-tab|="general"] #tab-general, | 
| 187 body[data-tab*="advanced"] #tab-advanced, | 206 body[data-tab|="advanced"] #tab-advanced, | 
| 
Thomas Greiner
2016/01/19 11:27:31
We don't expect this to be positioned anywhere ins
 
saroyanm
2016/01/22 09:55:10
It depends on other comment regarding showing the
 | |
| 188 body[data-tab*="help"] #tab-help | 207 body[data-tab|="help"] #tab-help | 
| 189 { | 208 { | 
| 190 background-color: #FFFFFF; | 209 background-color: #FFFFFF; | 
| 191 border-radius: 3px 0px 0px 3px; | 210 border-radius: 3px 0px 0px 3px; | 
| 192 border-width: 1px; | 211 border-width: 1px; | 
| 193 font-weight: 600; | 212 font-weight: 600; | 
| 194 -moz-border-start-color: #CDCDCD; | 213 -moz-border-start-color: #CDCDCD; | 
| 195 -webkit-border-start-color: #CDCDCD; | 214 -webkit-border-start-color: #CDCDCD; | 
| 196 -moz-margin-end: -1px; | 215 -moz-margin-end: -1px; | 
| 197 -webkit-margin-end: -1px; | 216 -webkit-margin-end: -1px; | 
| 198 -moz-margin-start: -1px; | 217 -moz-margin-start: -1px; | 
| 199 -webkit-margin-start: -1px; | 218 -webkit-margin-start: -1px; | 
| 200 -moz-padding-end: 21px; | 219 -moz-padding-end: 21px; | 
| 201 -webkit-padding-end: 21px; | 220 -webkit-padding-end: 21px; | 
| 202 -moz-padding-start: 21px; | 221 -moz-padding-start: 21px; | 
| 203 -webkit-padding-start: 21px; | 222 -webkit-padding-start: 21px; | 
| 204 } | 223 } | 
| 205 | 224 | 
| 206 html[dir="rtl"] body[data-tab*="general"] #tab-general, | 225 html[dir="rtl"] body[data-tab|="general"] #tab-general, | 
| 207 html[dir="rtl"] body[data-tab*="advanced"] #tab-advanced, | 226 html[dir="rtl"] body[data-tab|="advanced"] #tab-advanced, | 
| 208 html[dir="rtl"] body[data-tab*="help"] #tab-help | 227 html[dir="rtl"] body[data-tab|="help"] #tab-help | 
| 209 { | 228 { | 
| 210 border-radius: 0px 3px 3px 0px; | 229 border-radius: 0px 3px 3px 0px; | 
| 211 } | 230 } | 
| 212 | 231 | 
| 213 .tabs.vertical.bottom | 232 .tabs.vertical.bottom | 
| 214 { | 233 { | 
| 215 bottom: 0px; | 234 bottom: 0px; | 
| 216 position: absolute; | 235 position: absolute; | 
| 217 } | 236 } | 
| 218 | 237 | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 262 { | 281 { | 
| 263 display: none; | 282 display: none; | 
| 264 } | 283 } | 
| 265 | 284 | 
| 266 #tab-share:lang(zh) + li, | 285 #tab-share:lang(zh) + li, | 
| 267 #tab-share[hidden] + li | 286 #tab-share[hidden] + li | 
| 268 { | 287 { | 
| 269 border-top: none; | 288 border-top: none; | 
| 270 } | 289 } | 
| 271 | 290 | 
| 272 #tab-content | 291 #content | 
| 273 { | 292 { | 
| 274 background-color: #FFFFFF; | 293 background-color: #FFFFFF; | 
| 275 border: 1px solid #CDCDCD; | 294 border: 1px solid #CDCDCD; | 
| 276 border-radius: 8px; | 295 border-radius: 8px; | 
| 277 box-sizing: border-box; | 296 box-sizing: border-box; | 
| 278 min-width: 960px; | 297 min-width: 960px; | 
| 279 padding: 0px 60px 40px 60px; | 298 padding: 0px 60px 40px 60px; | 
| 280 } | 299 } | 
| 281 | 300 | 
| 282 #tab-content h1 | 301 #content h1 | 
| 283 { | 302 { | 
| 284 border-bottom: 1px solid #CDCDCD; | 303 border-bottom: 1px solid #CDCDCD; | 
| 285 margin: 0px; | 304 margin: 0px; | 
| 286 padding: 40px 0px 16px 0px; | 305 padding: 40px 0px 16px 0px; | 
| 287 } | 306 } | 
| 288 | 307 | 
| 289 #link-version | 308 #link-version | 
| 290 { | 309 { | 
| 291 display: flex; | 310 display: flex; | 
| 292 margin: 12px 20px; | 311 margin: 12px 20px; | 
| (...skipping 10 matching lines...) Expand all Loading... | |
| 303 #content-wrapper | 322 #content-wrapper | 
| 304 { | 323 { | 
| 305 position: relative; | 324 position: relative; | 
| 306 } | 325 } | 
| 307 | 326 | 
| 308 #content-wrapper > div | 327 #content-wrapper > div | 
| 309 { | 328 { | 
| 310 display: none; | 329 display: none; | 
| 311 } | 330 } | 
| 312 | 331 | 
| 313 body[data-tab*="general"] #content-general, | 332 body[data-tab|="general"] #content-general, | 
| 314 body[data-tab*="advanced"] #content-advanced, | 333 body[data-tab|="advanced"] #content-advanced, | 
| 315 body[data-tab*="help"] #content-help | 334 body[data-tab|="help"] #content-help | 
| 316 { | 335 { | 
| 317 display: block; | 336 display: block; | 
| 318 } | 337 } | 
| 319 | 338 | 
| 320 div.button | 339 div.button | 
| 321 { | 340 { | 
| 322 cursor: pointer; | 341 cursor: pointer; | 
| 323 display: flex; | 342 display: flex; | 
| 324 } | 343 } | 
| 325 | 344 | 
| 326 .table | 345 .table | 
| 327 { | 346 { | 
| 328 list-style: none; | 347 list-style: none; | 
| 329 margin: 0px; | 348 margin: 0px; | 
| 330 padding: 0px; | 349 padding: 0px; | 
| 331 position: relative; | 350 position: relative; | 
| 332 } | 351 } | 
| 333 | 352 | 
| 334 .table li | 353 .table li | 
| 335 { | 354 { | 
| 336 display: flex; | 355 display: flex; | 
| 337 padding: 14px 0px; | 356 padding: 12px 0px; | 
| 338 -webkit-padding-start: 16px; | 357 -webkit-padding-start: 16px; | 
| 339 -moz-padding-start: 16px; | 358 -moz-padding-start: 16px; | 
| 359 border-radius: 3px; | |
| 340 } | 360 } | 
| 341 | 361 | 
| 342 .table.list li .display | 362 .table.list li .display | 
| 343 { | 363 { | 
| 344 flex: 1; | 364 flex: 1; | 
| 345 } | 365 line-height: 16px; | 
| 346 | 366 overflow: hidden; | 
| 347 .table.list li:nth-child(odd), | 367 text-overflow: ellipsis; | 
| 348 .table.cols li:nth-child(even), | 368 white-space: nowrap; | 
| 369 } | |
| 370 | |
| 371 .table.list li:nth-of-type(odd), | |
| 372 .table.cols li:nth-of-type(odd), | |
| 349 .table li.empty-placeholder | 373 .table li.empty-placeholder | 
| 350 { | 374 { | 
| 351 background-color: #F5F5F5; | 375 background-color: #F5F5F5; | 
| 352 } | 376 } | 
| 353 | 377 | 
| 354 .table label | 378 .table label | 
| 355 { | 379 { | 
| 356 vertical-align: top; | 380 vertical-align: top; | 
| 357 } | 381 } | 
| 358 | 382 | 
| 359 .table.cols .col-name | 383 .table.cols | 
| 360 { | 384 { | 
| 361 border-bottom: 1px solid #CDCDCD; | 385 border-bottom: 1px solid #CDCDCD; | 
| 362 } | 386 border-top: 1px solid #CDCDCD; | 
| 363 | 387 } | 
| 364 .table.cols .col-name span | 388 | 
| 365 { | 389 button[disabled="true"] | 
| 366 display: inline-block; | 390 { | 
| 367 width: 30%; | 391 border-radius: 2px; | 
| 368 } | 392 background-color: #ccc; | 
| 369 | |
| 370 .table.cols li:first-child | |
| 371 { | |
| 372 border-bottom: 1px solid #CDCDCD; | |
| 373 } | |
| 374 | |
| 375 .table.cols li:last-child | |
| 376 { | |
| 377 border-bottom: 1px solid #CDCDCD; | |
| 378 } | |
| 
Thomas Greiner
2016/01/19 11:27:30
You can merge those two rules above.
 
saroyanm
2016/01/22 09:55:11
Done.
 | |
| 379 | |
| 380 .table::-webkit-scrollbar, | |
| 381 #custom-wrapper::-webkit-scrollbar | |
| 382 { | |
| 383 -webkit-padding-end: 10px; | |
| 384 width: 5px; | |
| 385 } | |
| 386 | |
| 387 .table::-webkit-scrollbar-thumb, | |
| 388 #custom-wrapper::-webkit-scrollbar-thumb | |
| 389 { | |
| 390 background-color: #CDCDCD; | |
| 391 border-radius: 5px; | |
| 392 padding: 0px 40px; | |
| 393 } | |
| 394 | |
| 395 .table::-webkit-scrollbar-thumb:hover, | |
| 396 #custom-wrapper::-webkit-scrollbar-thumb:hover | |
| 397 { | |
| 398 background-color: #A1A1A1; | |
| 399 } | |
| 400 | |
| 401 .table input[type="checkbox"] | |
| 402 { | |
| 403 margin-top: 0px; | |
| 404 -moz-margin-end: 20px; | |
| 405 -webkit-margin-end: 20px; | |
| 406 padding: 0px 0px 0px 0px; | |
| 407 visibility: hidden; | |
| 408 } | |
| 409 | |
| 410 .table input[type="checkbox"]::before | |
| 411 { | |
| 412 content: ""; | |
| 413 background-position: -51px 0px; | |
| 414 height: 18px; | |
| 415 width: 18px; | |
| 416 visibility: visible; | |
| 417 } | |
| 418 | |
| 419 .table input[type="checkbox"]:checked::before | |
| 420 { | |
| 421 content: ""; | |
| 422 background-position: -68px 0px; | |
| 423 height: 18px; | |
| 424 padding: 0px; | |
| 425 width: 18px; | |
| 426 visibility: visible; | |
| 427 } | 393 } | 
| 428 | 394 | 
| 429 .table button.delete | 395 .table button.delete | 
| 430 { | 396 { | 
| 431 background-color: transparent; | 397 background-color: transparent; | 
| 432 background-position: -9px -32px; | 398 background-position: -9px -32px; | 
| 433 border: 0px; | 399 border: 0px; | 
| 434 height: 10px; | 400 height: 10px; | 
| 435 margin-top: 5px; | 401 margin-top: 5px; | 
| 436 -moz-margin-end: 20px; | 402 -moz-margin-end: 20px; | 
| (...skipping 15 matching lines...) Expand all Loading... | |
| 452 { | 418 { | 
| 453 display: flex; | 419 display: flex; | 
| 454 margin-bottom: 0px; | 420 margin-bottom: 0px; | 
| 455 padding: 0px; | 421 padding: 0px; | 
| 456 } | 422 } | 
| 457 | 423 | 
| 458 .tabs.horizontal li | 424 .tabs.horizontal li | 
| 459 { | 425 { | 
| 460 display: inline-block; | 426 display: inline-block; | 
| 461 border-bottom: 1px solid #A1A1A1; | 427 border-bottom: 1px solid #A1A1A1; | 
| 428 padding: 10px 46px; | |
| 462 color: #3A7BA6; | 429 color: #3A7BA6; | 
| 463 padding: 10px 46px; | |
| 464 text-align: center; | 430 text-align: center; | 
| 465 } | 431 } | 
| 466 | 432 | 
| 467 .icon, | 433 .icon, | 
| 468 .table input[type="checkbox"]::before, | 434 button[role="checkbox"], | 
| 469 .table button.delete, | 435 .table button.delete, | 
| 470 #content-help a::before, | 436 #content-help a::before, | 
| 471 #dialog-close::before, | 437 #dialog-close::before, | 
| 472 #custom-filters-add button::after, | 438 #custom-filters-add button::after, | 
| 473 #dialog-body button::before, | 439 #dialog-body button::before, | 
| 474 .date::before, | 440 .date::before, | 
| 475 .time::before, | 441 .time::before, | 
| 476 #filter-lists .arrow, | 442 #all-filter-lists .arrow, | 
| 477 .context-menu .content a::before | 443 .context-menu .content a::before | 
| 478 { | 444 { | 
| 479 background-image: url(options-sprite.png); | 445 background-image: url(options-sprite.png); | 
| 480 display: inline-block; | 446 display: inline-block; | 
| 481 } | 447 } | 
| 482 | 448 | 
| 483 .icon-add | 449 .icon-add | 
| 484 { | 450 { | 
| 485 background-position: -0px -0px; | 451 background-position: -0px -0px; | 
| 486 cursor: pointer; | 452 cursor: pointer; | 
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 551 vertical-align: top; | 517 vertical-align: top; | 
| 552 } | 518 } | 
| 553 | 519 | 
| 554 /* | 520 /* | 
| 555 General tab content | 521 General tab content | 
| 556 */ | 522 */ | 
| 557 | 523 | 
| 558 #blocking-languages, | 524 #blocking-languages, | 
| 559 #acceptable-ads | 525 #acceptable-ads | 
| 560 { | 526 { | 
| 561 -moz-padding-end: 40px; | 527 -moz-margin-end: 40px; | 
| 562 -webkit-padding-end: 40px; | 528 -webkit-margin-end: 40px; | 
| 563 } | 529 } | 
| 564 | 530 | 
| 565 #custom-wrapper | 531 #custom-wrapper | 
| 566 { | 532 { | 
| 567 height: 290px; | 533 height: 290px; | 
| 568 overflow: auto; | 534 overflow: auto; | 
| 569 } | 535 } | 
| 570 | 536 | 
| 571 #custom-wrapper .table | 537 #custom-wrapper .table | 
| 572 { | 538 { | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 633 background-color: transparent; | 599 background-color: transparent; | 
| 634 border: 0px; | 600 border: 0px; | 
| 635 color: #3A7BA6; | 601 color: #3A7BA6; | 
| 636 cursor: pointer; | 602 cursor: pointer; | 
| 637 } | 603 } | 
| 638 | 604 | 
| 639 /* | 605 /* | 
| 640 Advanced tab content | 606 Advanced tab content | 
| 641 */ | 607 */ | 
| 642 | 608 | 
| 643 #blocking-lists > div | 609 #filter-lists > div | 
| 644 { | 610 { | 
| 645 display: none; | 611 display: none; | 
| 646 } | 612 } | 
| 647 | 613 | 
| 648 body[data-tab*="filter-lists"] #filter-lists, | 614 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 
| 649 body[data-tab*="custom-filters"] #custom-filters | 615 body[data-tab="advanced-customFilters"] #custom-filters | 
| 650 { | 616 { | 
| 651 display: block; | 617 display: block; | 
| 652 } | 618 } | 
| 653 | 619 | 
| 654 body[data-tab*="filter-lists"] #content-advanced [data-tab="advanced,filter-list s"], | 620 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], | 
| 655 body[data-tab*="custom-filters"] #content-advanced [data-tab="advanced,custom-fi lters"] | 621 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] | 
| 656 { | 622 { | 
| 657 border-bottom: 2px solid #1E8728; | 623 border-bottom: 2px solid #1E8728; | 
| 624 padding-bottom: 10px; | |
| 658 color: black; | 625 color: black; | 
| 659 font-weight: 600; | 626 font-weight: 600; | 
| 660 padding-bottom: 10px; | 627 } | 
| 661 } | 628 | 
| 662 | 629 #all-filter-lists .table | 
| 663 #filter-lists .table | |
| 664 { | 630 { | 
| 665 display: inline-block; | 631 display: inline-block; | 
| 666 } | 632 } | 
| 667 | 633 | 
| 668 #filter-lists .table li | 634 #all-filter-lists .table li | 
| 
Thomas Greiner
2016/01/19 11:27:30
I noticed that long filter list titles cause the l
 
Thomas Greiner
2016/01/19 11:27:30
According to the style guide the padding above and
 
saroyanm
2016/01/22 09:55:12
Done.
 
saroyanm
2016/01/22 09:55:12
Currently it's consistent with other list elements
 
Thomas Greiner
2016/01/25 15:40:28
Note that the behavior changes with https://codere
 
saroyanm
2016/01/26 18:36:16
Acknowledged.
 | |
| 669 { | 635 { | 
| 670 padding-left: 16px; | 636 padding-left: 16px; | 
| 671 padding-right: 16px; | 637 padding-right: 16px; | 
| 672 } | 638 } | 
| 673 | 639 | 
| 674 #filter-lists .table li > span:first-of-type | 640 #all-filter-lists .table li > div | 
| 641 { | |
| 642 display: flex; | |
| 643 width: 330px; | |
| 644 } | |
| 645 | |
| 646 .table-header | |
| 647 { | |
| 648 display: flex; | |
| 649 } | |
| 650 | |
| 651 #filter-lists h3 | |
| 675 { | 652 { | 
| 676 display: inline-block; | 653 display: inline-block; | 
| 654 margin-bottom: 7px; | |
| 655 font-size: 14px; | |
| 656 } | |
| 657 | |
| 658 .table-header h3:first-child | |
| 659 { | |
| 677 width: 330px; | 660 width: 330px; | 
| 678 } | 661 -webkit-padding-start: 54px; | 
| 679 | 662 -moz-padding-start: 54px; | 
| 680 #filter-lists .table li span.display | 663 } | 
| 681 { | 664 | 
| 682 cursor: pointer; | 665 #all-filter-lists .table li span.display | 
| 683 } | 666 { | 
| 684 | 667 cursor: pointer; | 
| 685 #filter-lists .table .head span:first-child | 668 } | 
| 669 | |
| 670 #all-filter-lists .table .head span:first-child | |
| 686 { | 671 { | 
| 687 -webkit-padding-start: 38px; | 672 -webkit-padding-start: 38px; | 
| 688 -moz-padding-start: 38px; | 673 -moz-padding-start: 38px; | 
| 689 } | 674 } | 
| 690 | 675 | 
| 691 #filter-lists .controls | 676 #all-filter-lists .controls | 
| 
Thomas Greiner
2016/01/19 11:27:31
Detail: The margins for the buttons are not accord
 
saroyanm
2016/01/22 09:55:11
Done.
 | |
| 692 { | 677 { | 
| 678 padding-top: 0px; | |
| 693 border-top: none; | 679 border-top: none; | 
| 694 } | 680 } | 
| 695 | 681 | 
| 696 #filter-lists .arrow | 682 #all-filter-lists .controls button | 
| 
Thomas Greiner
2016/01/19 11:27:30
I understand that we might not want to reorder the
 
saroyanm
2016/01/22 09:55:12
Done.
 | |
| 697 { | 683 { | 
| 684 margin-top: 14px; | |
| 685 } | |
| 686 | |
| 687 #all-filter-lists .arrow | |
| 688 { | |
| 689 position: relative; | |
| 690 margin: auto 6px; | |
| 698 border-style: none; | 691 border-style: none; | 
| 699 padding: 0px; | 692 padding: 0px; | 
| 700 background-color: transparent; | |
| 701 background-position: -1px -54px; | |
| 702 -webkit-margin-start: 6px; | |
| 703 -moz-margin-start: 6px; | |
| 704 width: 6px; | 693 width: 6px; | 
| 705 height: 4px; | 694 height: 4px; | 
| 706 margin: 0px; | 695 background-position: -1px -54px; | 
| 
Thomas Greiner
2016/01/19 11:27:31
You're overriding the margin you've set above so i
 
saroyanm
2016/01/22 09:55:12
Done.
 | |
| 707 } | 696 cursor: pointer; | 
| 708 | 697 } | 
| 709 #filter-lists .table li:last-of-type a | 698 | 
| 
Thomas Greiner
2016/01/19 11:27:30
Detail: According to the style guide this element
 
saroyanm
2016/01/22 09:55:11
Done.
 | |
| 699 #all-filter-lists .table li:last-of-type a | |
| 710 { | 700 { | 
| 711 color: #3A7BA6; | 701 color: #3A7BA6; | 
| 712 text-decoration: none; | 702 text-decoration: none; | 
| 703 cursor: pointer; | |
| 704 } | |
| 705 | |
| 706 #all-filter-lists .table li:last-of-type > span:last-child | |
| 707 { | |
| 708 -webkit-margin-start: auto; | |
| 709 -moz-margin-start: auto; | |
| 710 } | |
| 711 | |
| 712 #all-filter-lists li.show-message .date, | |
| 713 #all-filter-lists li.show-message .time, | |
| 714 #all-filter-lists li:not(.show-message) .message | |
| 715 { | |
| 716 display: none; | |
| 713 } | 717 } | 
| 714 | 718 | 
| 715 .date::before | 719 .date::before | 
| 716 { | 720 { | 
| 717 content: ""; | 721 content: ""; | 
| 718 -webkit-margin-end: 6px; | 722 -webkit-margin-end: 6px; | 
| 719 -moz-margin-end: 6px; | 723 -moz-margin-end: 6px; | 
| 720 background-position: -7px -49px; | |
| 721 height: 12px; | 724 height: 12px; | 
| 722 width: 12px; | 725 width: 12px; | 
| 723 | 726 background-position: -7px -49px; | 
| 724 } | 727 } | 
| 725 | 728 | 
| 726 .time::before | 729 .time::before | 
| 727 { | 730 { | 
| 728 content: ""; | 731 content: ""; | 
| 729 -webkit-margin-end: 6px; | 732 -webkit-margin-end: 6px; | 
| 730 -moz-margin-end: 6px; | 733 -moz-margin-end: 6px; | 
| 731 -webkit-margin-start: 12px; | 734 -webkit-margin-start: 12px; | 
| 732 -moz-margin-start: 12px; | 735 -moz-margin-start: 12px; | 
| 733 background-position: -20px -49px; | |
| 734 height: 12px; | 736 height: 12px; | 
| 735 width: 12px; | 737 width: 12px; | 
| 738 background-position: -20px -49px; | |
| 736 } | 739 } | 
| 737 | 740 | 
| 738 #custom-filters-header | 741 #custom-filters-header | 
| 739 { | 742 { | 
| 740 padding: 0px 20px; | 743 padding: 0px 20px; | 
| 741 margin-bottom: 10px; | 744 margin-bottom: 10px; | 
| 742 } | 745 } | 
| 743 | 746 | 
| 744 #custom-filters-raw-controls | 747 #custom-filters-raw-controls | 
| 745 { | 748 { | 
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 878 height: 15px; | 881 height: 15px; | 
| 879 line-height: 19px; | 882 line-height: 19px; | 
| 880 margin: 0px 4px; | 883 margin: 0px 4px; | 
| 881 position: relative; | 884 position: relative; | 
| 882 text-decoration: none; | 885 text-decoration: none; | 
| 883 } | 886 } | 
| 884 | 887 | 
| 885 .context-menu | 888 .context-menu | 
| 886 { | 889 { | 
| 887 display: inline-block; | 890 display: inline-block; | 
| 888 border-bottom:none; | |
| 
Thomas Greiner
2016/01/19 11:27:31
Detail: Missing whitespace after colon.
 
saroyanm
2016/01/22 09:55:12
Done.
 | |
| 889 position: relative; | 891 position: relative; | 
| 892 border-bottom: none; | |
| 890 } | 893 } | 
| 891 | 894 | 
| 892 .context-menu a | 895 .context-menu a | 
| 893 { | 896 { | 
| 897 vertical-align: middle; | |
| 894 white-space: nowrap; | 898 white-space: nowrap; | 
| 895 color: #FFF; | 899 color: #FFF; | 
| 896 vertical-align: middle; | |
| 897 } | 900 } | 
| 898 | 901 | 
| 899 #content-advanced .tooltip | 902 #content-advanced .tooltip | 
| 900 { | 903 { | 
| 901 -moz-margin-start: 8px; | 904 -moz-margin-start: 8px; | 
| 902 -webkit-margin-start: 8px; | 905 -webkit-margin-start: 8px; | 
| 903 } | 906 } | 
| 904 | 907 | 
| 905 #block-element-explanation a | 908 #block-element-explanation a | 
| 906 { | 909 { | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 943 .tooltip:not(:hover) > div[role="tooltip"], | 946 .tooltip:not(:hover) > div[role="tooltip"], | 
| 944 div[role="tooltip"]:hover | 947 div[role="tooltip"]:hover | 
| 945 { | 948 { | 
| 946 visibility: hidden; | 949 visibility: hidden; | 
| 947 opacity: 0; | 950 opacity: 0; | 
| 948 -webkit-transition-delay: 0ms; | 951 -webkit-transition-delay: 0ms; | 
| 949 transition-delay: 0ms; | 952 transition-delay: 0ms; | 
| 950 } | 953 } | 
| 951 | 954 | 
| 952 div[role="tooltip"]::before, | 955 div[role="tooltip"]::before, | 
| 953 div[role="context-menu"]::before | 956 div.context-menu::before | 
| 954 { | 957 { | 
| 955 background-image: url(options-sprite.png); | 958 background-image: url(options-sprite.png); | 
| 956 background-position: -8px -42px; | 959 background-position: -8px -42px; | 
| 957 content: ""; | 960 content: ""; | 
| 958 height: 6px; | 961 height: 6px; | 
| 959 position: absolute; | 962 position: absolute; | 
| 960 top: -6px; | 963 top: -6px; | 
| 961 width: 14px; | 964 width: 14px; | 
| 962 left: 30px; | 965 left: 30px; | 
| 963 } | 966 } | 
| 964 | 967 | 
| 965 div[role="context-menu"] | 968 div.context-menu | 
| 966 { | 969 { | 
| 967 position: absolute; | 970 position: absolute; | 
| 968 top: 21px; | 971 top: 16px; | 
| 969 z-index: 1; | 972 z-index: 1; | 
| 970 visibility: hidden; | 973 visibility: hidden; | 
| 971 } | 974 } | 
| 972 | 975 | 
| 973 li.context div[role="context-menu"] | 976 div.context-menu::before | 
| 974 { | |
| 975 visibility: visible; | |
| 976 } | |
| 977 | |
| 978 div[role="context-menu"]::before | |
| 979 { | 977 { | 
| 980 left: -4px; | 978 left: -4px; | 
| 981 } | 979 } | 
| 982 | 980 | 
| 983 html[dir="rtl"] div[role="context-menu"]::before | 981 html[dir="rtl"] div.context-menu::before | 
| 984 { | 982 { | 
| 985 left: inherit; | 983 left: inherit; | 
| 986 right: -4px; | 984 right: -4px; | 
| 987 } | 985 } | 
| 988 | 986 | 
| 989 div[role="context-menu"] > div | 987 div.context-menu .content | 
| 990 { | 988 { | 
| 991 position: relative; | 989 position: relative; | 
| 992 left: calc(-100%/2); | 990 left: calc(-50% + 2px); | 
| 
Thomas Greiner
2016/01/19 11:27:30
That's the same as writing `left: -50%`. Anyway, d
 
saroyanm
2016/01/22 09:55:12
Done.
 | |
| 991 border-radius: 3px; | |
| 992 padding: 4px 10px; | |
| 993 background-color: rgba(45, 45, 45, 0.95); | 993 background-color: rgba(45, 45, 45, 0.95); | 
| 994 padding: 10px; | 994 cursor: default; | 
| 
Thomas Greiner
2016/01/19 11:27:30
According to the style guide each menu item should
 
saroyanm
2016/01/22 09:55:12
Done.
 | |
| 995 border-radius: 3px; | 995 } | 
| 996 } | 996 | 
| 997 | 997 html[dir="rtl"] div.context-menu .content | 
| 998 html[dir="rtl"] div[role="context-menu"] > div | |
| 999 { | 998 { | 
| 1000 left: inherit; | 999 left: inherit; | 
| 1001 right: calc(-100%/2); | 1000 right: -50%; | 
| 1002 } | 1001 } | 
| 1003 | 1002 | 
| 1004 div[role="context-menu"] > div a::before | 1003 li.show-context-menu div.context-menu | 
| 1004 { | |
| 1005 visibility: visible; | |
| 1006 } | |
| 1007 | |
| 1008 div.context-menu > div a::before | |
| 1005 { | 1009 { | 
| 1006 content: ""; | 1010 content: ""; | 
| 1007 -moz-margin-end: 8px; | 1011 -moz-margin-end: 8px; | 
| 1008 -webkit-margin-end: 8px; | 1012 -webkit-margin-end: 8px; | 
| 1009 } | 1013 } | 
| 1010 | 1014 | 
| 1011 div[role="context-menu"] > div a | 1015 div.context-menu > div a | 
| 1012 { | 1016 { | 
| 1013 display: block; | 1017 display: block; | 
| 1018 padding: 7px 4px; | |
| 1019 border-bottom: 1px solid #CDCDCD; | |
| 1014 text-decoration: none; | 1020 text-decoration: none; | 
| 1015 padding: 6px 0px; | 1021 cursor: pointer; | 
| 1016 border-bottom: 1px solid #CDCDCD; | 1022 vertical-align: middle; | 
| 1017 } | 1023 } | 
| 1018 | 1024 | 
| 1019 div[role="context-menu"] > div a:last-child | 1025 div.context-menu > div a::before | 
| 1026 { | |
| 1027 vertical-align: middle; | |
| 1028 height: 16px; | |
| 1029 width: 16px; | |
| 1030 } | |
| 1031 | |
| 1032 div.context-menu > div a:last-child | |
| 1020 { | 1033 { | 
| 1021 border: none; | 1034 border: none; | 
| 1022 } | 1035 } | 
| 1023 | 1036 | 
| 1024 div[role="context-menu"] [data-action="update-now"]::before | 1037 .context-menu .update-subscription::before | 
| 1025 { | 1038 { | 
| 1026 background-position: -38px -33px; | 1039 background-position: -38px -31px; | 
| 1027 height: 10px; | 1040 } | 
| 1028 width: 14px; | 1041 | 
| 
Thomas Greiner
2016/01/19 11:27:31
Why does each of those icons have its own width an
 
saroyanm
2016/01/22 09:55:11
Done.
 | |
| 1029 } | 1042 .context-menu .website::before | 
| 1030 | |
| 1031 div[role="context-menu"] [data-action="website"]::before | |
| 1032 { | 1043 { | 
| 1033 background-position: -33px -47px; | 1044 background-position: -33px -47px; | 
| 1034 height: 14px; | 1045 } | 
| 1035 width: 16px; | 1046 | 
| 1036 } | 1047 .context-menu .source::before | 
| 1037 | 1048 { | 
| 1038 div[role="context-menu"] [data-action="source"]::before | 1049 background-position: -53px -34px; | 
| 1039 { | 1050 } | 
| 1040 background-position: -53px -32px; | 1051 | 
| 1041 height: 18px; | 1052 .context-menu .delete::before | 
| 1042 width: 14px; | 1053 { | 
| 1043 } | 1054 background-position: -71px -34px; | 
| 1044 | |
| 1045 div[role="context-menu"] [data-action="delete"]::before | |
| 1046 { | |
| 1047 background-position: -71px -32px; | |
| 1048 height: 16px; | |
| 1049 width: 12px; | |
| 1050 } | 1055 } | 
| 1051 | 1056 | 
| 1052 html[dir="ltr"] div[role="tooltip"].flip-vertical::before, | 1057 html[dir="ltr"] div[role="tooltip"].flip-vertical::before, | 
| 1053 html[dir="rtl"] div[role="tooltip"]:not(.flip-vertical)::before | 1058 html[dir="rtl"] div[role="tooltip"]:not(.flip-vertical)::before | 
| 1054 { | 1059 { | 
| 1055 left: inherit; | 1060 left: inherit; | 
| 1056 right: 30px; | 1061 right: 30px; | 
| 1057 } | 1062 } | 
| 1058 | 1063 | 
| 1059 div[role="tooltip"] img | 1064 div[role="tooltip"] img | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1127 -webkit-margin-end: 6px; | 1132 -webkit-margin-end: 6px; | 
| 1128 } | 1133 } | 
| 1129 | 1134 | 
| 1130 /* | 1135 /* | 
| 1131 Dialog | 1136 Dialog | 
| 1132 */ | 1137 */ | 
| 1133 | 1138 | 
| 1134 #dialog-background | 1139 #dialog-background | 
| 1135 { | 1140 { | 
| 1136 display: none; | 1141 display: none; | 
| 1137 background-color: white; | 1142 position: fixed; | 
| 1138 position: absolute; | |
| 1139 opacity: 0.7; | |
| 1140 top: 0px; | 1143 top: 0px; | 
| 1141 right: 0px; | 1144 right: 0px; | 
| 1142 bottom: 0px; | 1145 bottom: 0px; | 
| 1143 left: 0px; | 1146 left: 0px; | 
| 1144 z-index: 2; | 1147 z-index: 2; | 
| 1148 background-color: white; | |
| 1149 opacity: 0.7; | |
| 1145 } | 1150 } | 
| 1146 | 1151 | 
| 1147 body[data-dialog] #dialog-background | 1152 body[data-dialog] #dialog-background | 
| 1148 { | 1153 { | 
| 1149 display: block; | 1154 display: block; | 
| 1150 } | 1155 } | 
| 1151 | 1156 | 
| 1152 #dialog | 1157 #dialog | 
| 1153 { | 1158 { | 
| 1154 background-color: #FFFFFF; | 1159 position: fixed; | 
| 1155 border: 2px solid #4D9D4B; | 1160 top: 100px; | 
| 1156 border-radius: 3px; | |
| 1157 margin: auto; | |
| 1158 position:absolute; | |
| 1159 top:100px; | |
| 1160 left: 0px; | 1161 left: 0px; | 
| 1161 right: 0px; | 1162 right: 0px; | 
| 1162 z-index: 2; | 1163 z-index: 2; | 
| 1163 width: 400px; | 1164 width: 400px; | 
| 1165 margin: auto; | |
| 1166 border-radius: 3px; | |
| 1167 border: 2px solid #4D9D4B; | |
| 1168 background-color: #FFFFFF; | |
| 1164 } | 1169 } | 
| 1165 | 1170 | 
| 1166 #dialog header | 1171 #dialog header | 
| 1167 { | 1172 { | 
| 1173 display: flex; | |
| 1174 min-height: 25px; | |
| 1175 padding: 10px; | |
| 1168 background-color: #4D9D4B; | 1176 background-color: #4D9D4B; | 
| 1169 display: flex; | |
| 1170 height: 25px; | |
| 1171 padding: 10px; | |
| 1172 } | 1177 } | 
| 1173 | 1178 | 
| 1174 #dialog-close | 1179 #dialog-close | 
| 1175 { | 1180 { | 
| 1176 -moz-border-start: 1px solid #25612B; | 1181 -moz-border-start: 1px solid #25612B; | 
| 1177 -webkit-border-start: 1px solid #25612B; | 1182 -webkit-border-start: 1px solid #25612B; | 
| 1178 color: #0F660F; | 1183 color: #0F660F; | 
| 1179 display: inline-block; | 1184 display: inline-block; | 
| 1180 height: 20px; | 1185 height: 20px; | 
| 1181 font-size: 15px; | 1186 font-size: 15px; | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1215 margin-top: 10px; | 1220 margin-top: 10px; | 
| 1216 padding: 5px; | 1221 padding: 5px; | 
| 1217 width: 100%; | 1222 width: 100%; | 
| 1218 } | 1223 } | 
| 1219 | 1224 | 
| 1220 #dialog .table | 1225 #dialog .table | 
| 1221 { | 1226 { | 
| 1222 width: 100%; | 1227 width: 100%; | 
| 1223 } | 1228 } | 
| 1224 | 1229 | 
| 1225 #dialog #other-language .table | 1230 #dialog #dialog-content-language .table | 
| 1226 { | 1231 { | 
| 1227 height: 200px; | |
| 1228 overflow: auto; | 1232 overflow: auto; | 
| 1229 } | 1233 } | 
| 1230 | 1234 | 
| 1231 #dialog .section:not(:first-child) | 1235 #dialog .section:not(:first-child) | 
| 1232 { | 1236 { | 
| 1233 margin-top: 24px; | 1237 margin-top: 24px; | 
| 1234 } | 1238 } | 
| 1235 | 1239 | 
| 1236 #dialog-title | 1240 #dialog-title | 
| 1237 { | 1241 { | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1270 | 1274 | 
| 1271 body:not([data-dialog="custom"]) #dialog-title-custom, | 1275 body:not([data-dialog="custom"]) #dialog-title-custom, | 
| 1272 body:not([data-dialog="custom"]) #dialog-content-custom, | 1276 body:not([data-dialog="custom"]) #dialog-content-custom, | 
| 1273 body:not([data-dialog="language"]) #dialog-title-language, | 1277 body:not([data-dialog="language"]) #dialog-title-language, | 
| 1274 body:not([data-dialog="language"]) #dialog-content-language, | 1278 body:not([data-dialog="language"]) #dialog-content-language, | 
| 1275 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1279 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 
| 1276 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1280 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 
| 1277 body:not([data-dialog]) #dialog | 1281 body:not([data-dialog]) #dialog | 
| 1278 { | 1282 { | 
| 1279 display: none; | 1283 display: none; | 
| 1284 } | |
| 1285 | |
| 1286 #dialog-content-language .dialog-content-block | |
| 1287 { | |
| 1288 display: flex; | |
| 1289 flex-direction: column; | |
| 1290 height: 120px; | |
| 1291 } | |
| 1292 | |
| 1293 #dialog-content-language #other-language | |
| 1294 { | |
| 1295 height: 200px; | |
| 1280 } | 1296 } | 
| 1281 | 1297 | 
| 1282 #other-language .button-add | 1298 #other-language .button-add | 
| 1283 { | 1299 { | 
| 1284 background-color: transparent; | 1300 background-color: transparent; | 
| 1285 margin: 0px; | 1301 margin: 0px; | 
| 1286 padding: 0px; | 1302 padding: 0px; | 
| 1287 width: auto; | 1303 width: auto; | 
| 1288 -webkit-border-end: 1px solid #CDCDCD; | 1304 -webkit-border-end: 1px solid #CDCDCD; | 
| 1289 -moz-border-end: 1px solid #CDCDCD; | 1305 -moz-border-end: 1px solid #CDCDCD; | 
| 1290 -webkit-padding-end: 10px; | 1306 -webkit-padding-end: 10px; | 
| 1291 -moz-padding-end: 10px; | 1307 -moz-padding-end: 10px; | 
| 1292 -webkit-padding-start: 0px; | 1308 -webkit-padding-start: 0px; | 
| 1293 -moz-padding-start: 0px; | 1309 -moz-padding-start: 0px; | 
| 1294 } | 1310 } | 
| 1295 | 1311 | 
| 1296 #other-language .button-add::before | 1312 #other-language .button-add::before | 
| 1297 { | 1313 { | 
| 1298 display: none; | 1314 display: none; | 
| 1299 } | 1315 } | 
| 1300 | 1316 | 
| 1301 #other-language .display | 1317 #other-language .display | 
| 1302 { | 1318 { | 
| 1303 -webkit-margin-start: 10px; | 1319 -webkit-margin-start: 10px; | 
| 1304 -moz-margin-start: 10px; | 1320 -moz-margin-start: 10px; | 
| 1305 } | 1321 } | 
| LEFT | RIGHT |