 Issue 29336364:
  issue 2377 - Finish design of Advanced tab of new options page  (Closed)
    
  
    Issue 29336364:
  issue 2377 - Finish design of Advanced tab of 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-2016 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 | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 font-style: normal; | 45 font-style: normal; | 
| 46 } | 46 } | 
| 47 | 47 | 
| 48 body | 48 body | 
| 49 { | 49 { | 
| 50 background-color: #F5F5F5; | 50 background-color: #F5F5F5; | 
| 51 display: flex; | 51 display: flex; | 
| 52 margin: 20px 10px; | 52 margin: 20px 10px; | 
| 53 font-family: "Source Sans Pro", sans-serif; | 53 font-family: "Source Sans Pro", sans-serif; | 
| 54 font-size: 14px; | 54 font-size: 14px; | 
| 55 color: #494949; | |
| 55 } | 56 } | 
| 56 | 57 | 
| 57 h1 | 58 h1 | 
| 58 { | 59 { | 
| 59 font-size: 24px; | 60 font-size: 24px; | 
| 60 line-height: 1em; | 61 line-height: 1em; | 
| 61 font-weight: 300; | 62 font-weight: 300; | 
| 62 } | 63 } | 
| 63 | 64 | 
| 64 h2 | 65 h2 | 
| 65 { | 66 { | 
| 66 font-size: 16px; | 67 font-size: 16px; | 
| 67 font-weight: 600; | 68 font-weight: 600; | 
| 68 } | 69 } | 
| 69 | 70 | 
| 70 p | 71 p | 
| 71 { | 72 { | 
| 72 font-weight: 300; | 73 font-weight: 300; | 
| 73 } | 74 } | 
| 74 | 75 | 
| 75 hr | 76 hr | 
| 76 { | 77 { | 
| 77 background-color: #CDCDCD; | 78 background-color: #CDCDCD; | 
| 78 border: 0px; | 79 border: 0px; | 
| 79 height: 1px; | 80 height: 1px; | 
| 80 margin: 0px; | 81 margin: 0px; | 
| 82 } | |
| 83 | |
| 84 [aria-hidden="true"] | |
| 85 { | |
| 86 display: none !important; | |
| 81 } | 87 } | 
| 82 | 88 | 
| 83 input[type="search"]::-webkit-search-cancel-button | 89 input[type="search"]::-webkit-search-cancel-button | 
| 84 { | 90 { | 
| 85 display: none; | 91 display: none; | 
| 86 } | 92 } | 
| 87 | 93 | 
| 88 input[type="text"], | 94 input[type="text"], | 
| 89 input[type="search"], | 95 input[type="search"], | 
| 90 textarea | 96 textarea | 
| (...skipping 19 matching lines...) Expand all Loading... | |
| 110 | 116 | 
| 111 button[role="checkbox"][aria-checked="true"] | 117 button[role="checkbox"][aria-checked="true"] | 
| 112 { | 118 { | 
| 113 background-position: -68px 0px; | 119 background-position: -68px 0px; | 
| 114 } | 120 } | 
| 115 | 121 | 
| 116 .option-name | 122 .option-name | 
| 117 { | 123 { | 
| 118 display: flex; | 124 display: flex; | 
| 119 margin-bottom: 16px; | 125 margin-bottom: 16px; | 
| 120 margin-top: 24px; | |
| 121 } | 126 } | 
| 122 | 127 | 
| 123 .option-name > :first-child | 128 .option-name > :first-child | 
| 124 { | 129 { | 
| 125 flex: 1; | 130 flex: 1; | 
| 126 overflow: hidden; | 131 overflow: hidden; | 
| 127 text-overflow: ellipsis; | 132 text-overflow: ellipsis; | 
| 128 white-space: nowrap; | 133 white-space: nowrap; | 
| 129 } | 134 } | 
| 130 | 135 | 
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 #tab-share[hidden] + li | 293 #tab-share[hidden] + li | 
| 289 { | 294 { | 
| 290 border-top: none; | 295 border-top: none; | 
| 291 } | 296 } | 
| 292 | 297 | 
| 293 #content | 298 #content | 
| 294 { | 299 { | 
| 295 background-color: #FFFFFF; | 300 background-color: #FFFFFF; | 
| 296 border: 1px solid #CDCDCD; | 301 border: 1px solid #CDCDCD; | 
| 297 border-radius: 8px; | 302 border-radius: 8px; | 
| 298 box-sizing: border-box; | 303 width: 840px; | 
| 299 min-width: 960px; | |
| 300 padding: 0px 60px 40px 60px; | 304 padding: 0px 60px 40px 60px; | 
| 301 } | 305 } | 
| 302 | 306 | 
| 303 #content h1 | 307 #content h1 | 
| 304 { | 308 { | 
| 305 border-bottom: 1px solid #CDCDCD; | 309 border-bottom: 1px solid #CDCDCD; | 
| 306 margin: 0px; | 310 margin: 0px 0px 24px 0px; | 
| 307 padding: 40px 0px 16px 0px; | 311 padding: 40px 0px 16px 0px; | 
| 308 } | 312 } | 
| 309 | 313 | 
| 310 #link-version | 314 #link-version | 
| 311 { | 315 { | 
| 312 display: flex; | 316 display: flex; | 
| 313 margin: 12px 20px; | 317 margin: 12px 20px; | 
| 314 color: #3A7BA6; | 318 color: #3A7BA6; | 
| 315 text-decoration: none; | 319 text-decoration: none; | 
| 316 } | 320 } | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 position: relative; | 356 position: relative; | 
| 353 } | 357 } | 
| 354 | 358 | 
| 355 .table li | 359 .table li | 
| 356 { | 360 { | 
| 357 display: flex; | 361 display: flex; | 
| 358 padding: 12px 0px; | 362 padding: 12px 0px; | 
| 359 -webkit-padding-start: 16px; | 363 -webkit-padding-start: 16px; | 
| 360 -moz-padding-start: 16px; | 364 -moz-padding-start: 16px; | 
| 361 border-radius: 3px; | 365 border-radius: 3px; | 
| 366 } | |
| 367 | |
| 368 .table.list, | |
| 369 #custom-wrapper | |
| 370 { | |
| 371 border-bottom: 1px solid #CDCDCD; | |
| 362 } | 372 } | 
| 363 | 373 | 
| 364 .table.list li .display | 374 .table.list li .display | 
| 365 { | 375 { | 
| 366 flex: 1; | 376 flex: 1; | 
| 367 line-height: 16px; | 377 line-height: 16px; | 
| 368 overflow: hidden; | 378 overflow: hidden; | 
| 369 text-overflow: ellipsis; | 379 text-overflow: ellipsis; | 
| 370 white-space: nowrap; | 380 white-space: nowrap; | 
| 371 } | 381 } | 
| 372 | 382 | 
| 383 .table:not(.list):not(.cols) li | |
| 384 { | |
| 385 padding-top: 0px; | |
| 386 padding-bottom: 6px; | |
| 387 } | |
| 388 | |
| 373 .table.list li:nth-of-type(odd), | 389 .table.list li:nth-of-type(odd), | 
| 374 .table.cols li:nth-of-type(odd), | 390 .table.cols li:nth-of-type(odd), | 
| 375 .table li.empty-placeholder | 391 .table li.empty-placeholder | 
| 376 { | 392 { | 
| 377 background-color: #F5F5F5; | 393 background-color: #F5F5F5; | 
| 378 } | 394 } | 
| 379 | 395 | 
| 380 .table label | 396 .table label | 
| 381 { | 397 { | 
| 382 vertical-align: top; | 398 vertical-align: top; | 
| 383 } | 399 } | 
| 384 | 400 | 
| 385 .table.cols | 401 .table.cols | 
| 386 { | 402 { | 
| 387 border-bottom: 1px solid #CDCDCD; | 403 border-bottom: 1px solid #CDCDCD; | 
| 388 border-top: 1px solid #CDCDCD; | 404 border-top: 1px solid #CDCDCD; | 
| 389 } | 405 } | 
| 390 | 406 | 
| 391 button[disabled="true"] | 407 button[disabled="true"] | 
| 392 { | 408 { | 
| 393 border-radius: 2px; | 409 border-radius: 2px; | 
| 394 background-color: #ccc; | 410 background-color: #ccc; | 
| 395 } | 411 } | 
| 396 | 412 | 
| 397 .table button.delete | 413 .table button.delete | 
| 398 { | 414 { | 
| 399 background-color: transparent; | 415 background-color: transparent; | 
| 400 background-position: -9px -32px; | 416 background-position: -10px -33px; | 
| 401 border: 0px; | 417 border: 0px; | 
| 402 height: 10px; | |
| 403 margin-top: 5px; | 418 margin-top: 5px; | 
| 404 -moz-margin-end: 20px; | 419 -moz-margin-end: 20px; | 
| 405 -webkit-margin-end: 20px; | 420 -webkit-margin-end: 20px; | 
| 406 padding: 0px; | 421 padding: 0px; | 
| 407 cursor: pointer; | |
| 408 width: 10px; | |
| 409 } | 422 } | 
| 410 | 423 | 
| 411 .table .popular | 424 .table .popular | 
| 412 { | 425 { | 
| 413 color: #1E8728; | 426 color: #1E8728; | 
| 414 font-size: 12px; | 427 font-size: 12px; | 
| 415 -moz-padding-end: 12px; | 428 -moz-padding-end: 12px; | 
| 416 -webkit-padding-end: 12px; | 429 -webkit-padding-end: 12px; | 
| 417 } | 430 } | 
| 418 | 431 | 
| 419 .tabs.horizontal | 432 .tabs.horizontal | 
| 420 { | 433 { | 
| 421 display: flex; | 434 display: flex; | 
| 435 margin-top: 0px; | |
| 422 margin-bottom: 0px; | 436 margin-bottom: 0px; | 
| 423 padding: 0px; | 437 padding: 0px; | 
| 424 border-bottom: 1px solid #A1A1A1; | 438 border-bottom: 1px solid #CDCDCD; | 
| 425 } | 439 } | 
| 426 | 440 | 
| 427 .tabs.horizontal li | 441 .tabs.horizontal li | 
| 428 { | 442 { | 
| 429 display: inline-block; | 443 display: inline-block; | 
| 430 padding: 10px 46px; | 444 padding: 0px 46px 10px 46px; | 
| 431 color: #3A7BA6; | 445 color: #3A7BA6; | 
| 432 text-align: center; | 446 text-align: center; | 
| 433 } | 447 } | 
| 434 | 448 | 
| 435 .icon, | 449 .icon, | 
| 436 button[role="checkbox"], | 450 button[role="checkbox"], | 
| 437 .table button.delete, | 451 .table button.delete, | 
| 438 #content-help a::before, | 452 #content-help a::before, | 
| 439 #dialog-close::before, | 453 #dialog-close::before, | 
| 440 #custom-filters-add button::after, | 454 #custom-filters-add button::after, | 
| 441 #dialog-body button::before, | 455 #dialog-body button::before, | 
| 442 .date::before, | 456 .date::before, | 
| 443 .time::before, | 457 .time::before, | 
| 444 #all-filter-lists .arrow, | 458 #all-filter-lists .arrow, | 
| 445 .context-menu .content a::before | 459 .context-menu .content a::before | 
| 446 { | 460 { | 
| 447 background-image: url(options-sprite.png); | 461 background-image: url(options-sprite.png); | 
| 448 display: inline-block; | 462 display: inline-block; | 
| 449 } | 463 } | 
| 450 | 464 | 
| 465 .icon-add, | |
| 466 .icon-update, | |
| 467 .icon-edit | |
| 468 { | |
| 469 height: 16px; | |
| 470 width: 16px; | |
| 471 cursor: pointer; | |
| 472 } | |
| 473 | |
| 451 .icon-add | 474 .icon-add | 
| 452 { | 475 { | 
| 453 background-position: -0px -0px; | 476 background-position: -1px -1px; | 
| 454 cursor: pointer; | 477 } | 
| 455 height: 18px; | 478 | 
| 456 min-width: 18px; | 479 .icon-update | 
| 480 { | |
| 481 background-position: -35px -1px; | |
| 482 } | |
| 483 | |
| 484 .icon-edit | |
| 485 { | |
| 486 background-position: -18px -1px; | |
| 487 } | |
| 488 | |
| 489 .icon-save, | |
| 490 .icon-cancel | |
| 491 { | |
| 492 height: 10px; | |
| 493 width: 10px; | |
| 494 cursor: pointer; | |
| 457 } | 495 } | 
| 458 | 496 | 
| 459 .icon-save | 497 .icon-save | 
| 460 { | 498 { | 
| 461 background-position: 0px -61px; | 499 background-position: -1px -62px; | 
| 462 cursor: pointer; | |
| 463 height: 18px; | |
| 464 width: 18px; | |
| 
Thomas Greiner
2016/02/15 18:09:22
Those two icons are 10x10 pixels so let's not have
 
saroyanm
2016/02/24 11:23:57
Fair enough, done.
 | |
| 465 } | 500 } | 
| 466 | 501 | 
| 467 .icon-cancel | 502 .icon-cancel | 
| 468 { | 503 { | 
| 469 background-position: -18px -61px; | 504 background-position: -12px -62px; | 
| 470 cursor: pointer; | 505 } | 
| 471 height: 18px; | 506 | 
| 472 width: 18px; | 507 .icon-enter, | 
| 
Thomas Greiner
2016/02/15 18:09:21
Would be nice if we could remove all those duplica
 
saroyanm
2016/02/24 11:23:58
Sure, hopefully I could organize the code better.
 | |
| 473 } | 508 #custom-filters-add button::after, | 
| 474 | 509 .table button.delete | 
| 475 .icon-update | 510 { | 
| 476 { | 511 height: 8px; | 
| 477 background-position: -34px -0px; | 512 width: 8px; | 
| 478 cursor: pointer; | 513 cursor: pointer; | 
| 479 height: 18px; | 514 } | 
| 480 width: 18px; | 515 | 
| 481 } | 516 #dialog-close::before, | 
| 482 | 517 .date::before, | 
| 483 .icon-edit | 518 .time::before | 
| 484 { | 519 { | 
| 485 background-position: -17px -0px; | 520 content: ""; | 
| 486 cursor: pointer; | 521 height: 12px; | 
| 487 height: 18px; | 522 width: 12px; | 
| 488 width: 18px; | |
| 489 } | 523 } | 
| 490 | 524 | 
| 491 #content-help a::before, | 525 #content-help a::before, | 
| 492 #dialog-body button::before | 526 #dialog-body button::before | 
| 493 { | 527 { | 
| 494 background-position: 0px -42px; | 528 background-position: 0px -42px; | 
| 495 content: ""; | 529 content: ""; | 
| 496 cursor: pointer; | 530 cursor: pointer; | 
| 497 height: 11px; | 531 height: 11px; | 
| 498 vertical-align: middle; | 532 vertical-align: middle; | 
| 499 width: 7px; | 533 width: 7px; | 
| 500 -moz-margin-end: 12px; | 534 -moz-margin-end: 12px; | 
| 501 -webkit-margin-end: 12px; | 535 -webkit-margin-end: 12px; | 
| 502 } | 536 } | 
| 503 | 537 | 
| 504 .controls | 538 .controls | 
| 505 { | 539 { | 
| 540 padding-top: 14px; | |
| 541 margin-left: 16px; | |
| 542 margin-right: 16px; | |
| 543 } | |
| 544 | |
| 545 .controls.mode-edit | |
| 546 { | |
| 547 -moz-margin-end: 0px; | |
| 548 -webkit-margin-end: 0px; | |
| 549 } | |
| 550 | |
| 551 .controls > div | |
| 552 { | |
| 553 display: flex; | |
| 506 position: relative; | 554 position: relative; | 
| 
Thomas Greiner
2016/02/15 18:09:23
Detail: I know that you merely moved this but I'm
 
saroyanm
2016/02/24 11:23:58
Yes, neither can't see a reason. Done.
 | |
| 507 border-top: 1px solid #CDCDCD; | |
| 508 padding-top: 14px; | |
| 509 -moz-padding-start: 16px; | |
| 510 -webkit-padding-start: 16px; | |
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: According to the style guide there should
 
saroyanm
2016/02/24 11:23:58
Done, I also changed the implementation so we don'
 | |
| 511 } | |
| 512 | |
| 513 .controls > div | |
| 514 { | |
| 515 display: flex; | |
| 516 } | 555 } | 
| 517 | 556 | 
| 518 .controls button, | 557 .controls button, | 
| 519 #dialog-close | 558 #dialog-close | 
| 520 { | 559 { | 
| 560 display: flex; | |
| 561 border: none; | |
| 562 padding: 0px; | |
| 563 align-items: center; | |
| 521 background: none; | 564 background: none; | 
| 522 border: none; | 565 cursor: pointer; | 
| 523 cursor: pointer; | |
| 524 display: block; | |
| 525 padding: 0; | |
| 526 } | 566 } | 
| 527 | 567 | 
| 528 .controls button span:not(.icon) | 568 .controls button span:not(.icon) | 
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: The button text is smaller than `14px`.
 
saroyanm
2016/02/24 11:23:58
Not really sure, 
according to styleguide -> https
 | |
| 529 { | 569 { | 
| 530 display: inline-block; | |
| 531 -moz-margin-start: 16px; | 570 -moz-margin-start: 16px; | 
| 532 -webkit-margin-start: 16px; | 571 -webkit-margin-start: 16px; | 
| 533 padding-top: 1px; | |
| 534 color: #3A7BA6; | 572 color: #3A7BA6; | 
| 535 vertical-align: top; | 573 vertical-align: top; | 
| 536 } | 574 } | 
| 537 | 575 | 
| 538 /* | 576 /* | 
| 539 General tab content | 577 General tab content | 
| 540 */ | 578 */ | 
| 541 | 579 | 
| 580 #acceptableads-table, | |
| 581 #recommend-list-table, | |
| 582 #blocking-languages-dialog-table, | |
| 583 #custom-wrapper .table, | |
| 584 #all-lang-table | |
| 585 { | |
| 586 border-bottom: none; | |
| 587 } | |
| 588 | |
| 542 #blocking-languages, | 589 #blocking-languages, | 
| 543 #acceptable-ads | 590 #acceptable-ads | 
| 544 { | 591 { | 
| 545 -moz-margin-end: 40px; | 592 -moz-margin-end: 40px; | 
| 546 -webkit-margin-end: 40px; | 593 -webkit-margin-end: 40px; | 
| 547 } | 594 } | 
| 548 | 595 | 
| 549 #custom-wrapper | 596 #custom-wrapper | 
| 550 { | 597 { | 
| 551 height: 290px; | 598 height: 290px; | 
| 552 overflow: auto; | 599 overflow: auto; | 
| 553 } | 600 } | 
| 554 | 601 | 
| 555 #custom-wrapper .table | 602 #custom-wrapper .table | 
| 556 { | 603 { | 
| 557 width: 100%; | 604 width: 100%; | 
| 558 } | |
| 559 | |
| 560 #whitelisting .controls | |
| 561 { | |
| 562 -moz-padding-start: 12px; | |
| 563 -webkit-padding-start: 12px; | |
| 564 } | 605 } | 
| 565 | 606 | 
| 566 #whitelisting .controls.mode-edit > button, | 607 #whitelisting .controls.mode-edit > button, | 
| 567 #whitelisting .controls:not(.mode-edit) > div | 608 #whitelisting .controls:not(.mode-edit) > div | 
| 568 { | 609 { | 
| 569 display: none; | 610 display: none; | 
| 570 } | 611 } | 
| 571 | 612 | 
| 572 #whitelisting .controls input[type="text"] | 613 #whitelisting .controls input[type="text"] | 
| 573 { | 614 { | 
| (...skipping 21 matching lines...) Expand all Loading... | |
| 595 -webkit-margin-start: 32px; | 636 -webkit-margin-start: 32px; | 
| 596 } | 637 } | 
| 597 | 638 | 
| 598 #whitelisting-add-button + span | 639 #whitelisting-add-button + span | 
| 599 { | 640 { | 
| 600 flex: 1; | 641 flex: 1; | 
| 601 } | 642 } | 
| 602 | 643 | 
| 603 .icon-enter | 644 .icon-enter | 
| 604 { | 645 { | 
| 605 background-position: -18px -32px; | 646 background-position: -19px -33px; | 
| 606 cursor: pointer; | |
| 607 height: 10px; | |
| 608 position: absolute; | 647 position: absolute; | 
| 609 top: 10px; | 648 bottom: 9px; | 
| 610 -moz-margin-start: -20px; | 649 -moz-margin-start: -20px; | 
| 611 -webkit-margin-start: -20px; | 650 -webkit-margin-start: -20px; | 
| 612 width: 10px; | |
| 613 } | 651 } | 
| 614 | 652 | 
| 615 .button-add, .cancel-button | 653 .button-add, .cancel-button | 
| 616 { | 654 { | 
| 617 background-color: transparent; | 655 background-color: transparent; | 
| 618 border: 0px; | 656 border: 0px; | 
| 619 color: #3A7BA6; | 657 color: #3A7BA6; | 
| 620 cursor: pointer; | 658 cursor: pointer; | 
| 621 } | 659 } | 
| 622 | 660 | 
| 623 /* | 661 /* | 
| 624 Advanced tab content | 662 Advanced tab content | 
| 625 */ | 663 */ | 
| 626 | 664 | 
| 627 h1.with-description, | 665 #restart-safari | 
| 628 h3.with-description | 666 { | 
| 
Thomas Greiner
2016/02/15 18:09:21
Why is this necessary? Seems like you should be ab
 
saroyanm
2016/02/24 11:23:58
I did it for the reason of the RTL positioning in
 | |
| 629 { | 667 -moz-margin-start: 20px; | 
| 630 display: flex; | 668 -webkit-margin-start: 20px; | 
| 631 align-items: baseline; | 669 color: red; | 
| 632 } | 670 font-weight: 600; | 
| 633 | 671 } | 
| 634 #tweaks | 672 | 
| 635 { | 673 #filter-lists > div, | 
| 636 margin-top: 18px; | 674 #all-filter-lists li.show-message .date, | 
| 
Thomas Greiner
2016/02/15 18:09:22
It seems like this margin is the same for each `h1
 
saroyanm
2016/02/24 11:23:58
Done, but not sure does it make sense to remove pa
 | |
| 637 } | 675 #all-filter-lists li.show-message .time, | 
| 638 | 676 #all-filter-lists li:not(.show-message) .message, | 
| 639 #tweaks li | 677 #custom-filters:not(.mode-edit) #custom-filters-raw, | 
| 640 { | 678 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | 
| 641 padding-top: 6px; | 679 #custom-filters.mode-edit #custom-filters-show-edit, | 
| 642 padding-bottom: 6px; | 680 #custom-filters.mode-edit #custom-filters-list-wrapper | 
| 
Thomas Greiner
2016/02/15 18:09:22
Can't you make this a bit more generic? I noticed
 
saroyanm
2016/02/24 11:23:58
Done.
 | |
| 643 } | |
| 644 | |
| 645 #filter-lists > div | |
| 646 { | 681 { | 
| 647 display: none; | 682 display: none; | 
| 648 } | 683 } | 
| 649 | 684 | 
| 650 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 685 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 
| 651 body[data-tab="advanced-customFilters"] #custom-filters | 686 body[data-tab="advanced-customFilters"] #custom-filters | 
| 652 { | 687 { | 
| 653 display: block; | 688 display: block; | 
| 689 } | |
| 690 | |
| 691 #all-filter-lists .table | |
| 692 { | |
| 693 display: inline-block; | |
| 654 } | 694 } | 
| 655 | 695 | 
| 656 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], | 696 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], | 
| 657 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] | 697 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] | 
| 658 { | 698 { | 
| 659 border-bottom: 2px solid #1E8728; | 699 border-bottom: 2px solid #1E8728; | 
| 660 padding-bottom: 10px; | 700 padding-bottom: 10px; | 
| 661 color: black; | 701 color: black; | 
| 662 font-weight: 600; | 702 font-weight: 600; | 
| 663 } | 703 } | 
| 664 | 704 | 
| 665 #all-filter-lists .table | |
| 666 { | |
| 667 display: inline-block; | |
| 668 } | |
| 669 | |
| 670 #all-filter-lists .table li | 705 #all-filter-lists .table li | 
| 671 { | 706 { | 
| 672 padding-left: 16px; | 707 padding-left: 16px; | 
| 673 padding-right: 16px; | 708 padding-right: 16px; | 
| 674 } | 709 } | 
| 675 | 710 | 
| 676 #all-filter-lists .table li > div | 711 #all-filter-lists .table li > div | 
| 677 { | 712 { | 
| 678 display: flex; | 713 display: flex; | 
| 679 width: 330px; | 714 width: 330px; | 
| 680 } | 715 } | 
| 681 | 716 | 
| 682 #own-filter-list span:first-child | |
| 683 { | |
| 684 font-weight: 600; | |
| 685 } | |
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: Wouldn't it be simpler to replace the `<sp
 
saroyanm
2016/02/24 11:23:58
Makes much more sense, done, I removed the ID, but
 | |
| 686 | |
| 687 .table-header | 717 .table-header | 
| 688 { | 718 { | 
| 689 display: flex; | 719 display: flex; | 
| 690 } | 720 } | 
| 691 | 721 | 
| 692 #filter-lists h3 | 722 #filter-lists h2 | 
| 
Thomas Greiner
2016/02/15 18:09:22
I noticed that we decided to move the "read more"
 
saroyanm
2016/02/24 11:23:57
Well there we do have two section next to each oth
 | |
| 693 { | 723 { | 
| 694 margin-bottom: 7px; | 724 margin-bottom: 7px; | 
| 695 font-size: 16px; | 725 font-size: 14px; | 
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: Why not make this apply globally for all `
 
saroyanm
2016/02/24 11:23:58
My fault, according to the styleguid, we do not ha
 | |
| 696 } | 726 } | 
| 697 | 727 | 
| 698 .table-header h3:first-child | 728 .table-header h2:first-child | 
| 699 { | 729 { | 
| 700 width: 330px; | 730 width: 330px; | 
| 701 -webkit-padding-start: 54px; | 731 -webkit-padding-start: 54px; | 
| 702 -moz-padding-start: 54px; | 732 -moz-padding-start: 54px; | 
| 703 } | 733 } | 
| 704 | 734 | 
| 705 #all-filter-lists .table li span.display | 735 #all-filter-lists .table li span.display | 
| 706 { | 736 { | 
| 707 cursor: pointer; | 737 cursor: pointer; | 
| 708 } | 738 } | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 742 text-decoration: none; | 772 text-decoration: none; | 
| 743 cursor: pointer; | 773 cursor: pointer; | 
| 744 } | 774 } | 
| 745 | 775 | 
| 746 #all-filter-lists .table li:last-of-type > span:last-child | 776 #all-filter-lists .table li:last-of-type > span:last-child | 
| 747 { | 777 { | 
| 748 -webkit-margin-start: auto; | 778 -webkit-margin-start: auto; | 
| 749 -moz-margin-start: auto; | 779 -moz-margin-start: auto; | 
| 750 } | 780 } | 
| 751 | 781 | 
| 752 #all-filter-lists li.show-message .date, | |
| 753 #all-filter-lists li.show-message .time, | |
| 754 #all-filter-lists li:not(.show-message) .message | |
| 755 { | |
| 756 display: none; | |
| 757 } | |
| 758 | |
| 759 .date::before | 782 .date::before | 
| 760 { | 783 { | 
| 761 content: ""; | |
| 762 -webkit-margin-end: 6px; | 784 -webkit-margin-end: 6px; | 
| 763 -moz-margin-end: 6px; | 785 -moz-margin-end: 6px; | 
| 764 height: 12px; | |
| 765 width: 12px; | |
| 766 background-position: -7px -49px; | 786 background-position: -7px -49px; | 
| 767 } | 787 } | 
| 768 | 788 | 
| 769 .time::before | 789 .time::before | 
| 770 { | 790 { | 
| 771 content: ""; | |
| 772 -webkit-margin-end: 6px; | 791 -webkit-margin-end: 6px; | 
| 773 -moz-margin-end: 6px; | 792 -moz-margin-end: 6px; | 
| 774 -webkit-margin-start: 12px; | 793 -webkit-margin-start: 12px; | 
| 775 -moz-margin-start: 12px; | 794 -moz-margin-start: 12px; | 
| 776 height: 12px; | |
| 777 width: 12px; | |
| 778 background-position: -20px -49px; | 795 background-position: -20px -49px; | 
| 796 } | |
| 797 | |
| 798 #all-filter-lists-table .static label | |
| 799 { | |
| 800 font-weight: 600; | |
| 779 } | 801 } | 
| 780 | 802 | 
| 781 #custom-filters-header | 803 #custom-filters-header | 
| 782 { | 804 { | 
| 783 padding: 0px 16px; | 805 padding: 0px 16px; | 
| 784 margin-bottom: 10px; | 806 margin-bottom: 10px; | 
| 785 } | 807 } | 
| 786 | 808 | 
| 787 #custom-filters-raw-controls | 809 #custom-filters-raw-controls | 
| 788 { | 810 { | 
| 789 display: flex; | |
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: This seems redundant because `.controls >
 
saroyanm
2016/02/24 11:23:59
Done.
 | |
| 790 justify-content: space-between; | 811 justify-content: space-between; | 
| 791 } | |
| 792 | |
| 793 #custom-filters:not(.mode-edit) #custom-filters-raw, | |
| 794 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | |
| 795 #custom-filters.mode-edit #custom-filters-show-edit, | |
| 796 #custom-filters.mode-edit #custom-filters-list-wrapper | |
| 797 { | |
| 798 display: none; | |
| 799 } | |
| 800 | |
| 801 #custom-filters .table | |
| 802 { | |
| 803 height: 290px; | |
| 804 overflow: auto; | |
| 805 width: auto; | |
| 806 } | |
| 807 | |
| 808 #custom-filters-add | |
| 809 { | |
| 810 display: flex; | |
| 811 padding: 0px; | |
| 812 border: none; | |
| 813 } | |
| 814 | |
| 815 #custom-filters .controls | |
| 816 { | |
| 817 border-top: none; | |
| 818 } | 812 } | 
| 819 | 813 | 
| 820 #custom-filters-raw | 814 #custom-filters-raw | 
| 821 { | 815 { | 
| 822 width: 100%; | 816 width: 100%; | 
| 823 height: 100%; | 817 height: 100%; | 
| 824 -moz-padding-start: 16px; | 818 padding: 2px 16px; | 
| 825 -webkit-padding-start: 16px; | |
| 
Thomas Greiner
2016/02/15 18:09:22
Detail: Any reason why you're only setting the pad
 
saroyanm
2016/02/24 11:23:58
Done.
 | |
| 826 } | 819 } | 
| 827 | 820 | 
| 828 #custom-filters-wrapper | 821 #custom-filters-wrapper | 
| 829 { | 822 { | 
| 830 height: 330px; | 823 height: 280px; | 
| 831 } | 824 } | 
| 832 | 825 | 
| 833 #custom-filters input[type="text"] | 826 #custom-filters-add | 
| 834 { | 827 { | 
| 828 display: flex; | |
| 835 border-width: 1px 0px 1px 0px; | 829 border-width: 1px 0px 1px 0px; | 
| 836 border-bottom-style: solid; | 830 border-bottom-style: solid; | 
| 837 border-top-style: solid; | 831 border-top-style: solid; | 
| 838 border-color: #1E8728; | 832 border-color: #1E8728; | 
| 839 height: 25px; | 833 padding: 0px; | 
| 834 margin: 0px; | |
| 835 background-color: #F5F5F5; | |
| 836 } | |
| 837 | |
| 838 #custom-filters-add input[type="text"] | |
| 839 { | |
| 840 -moz-padding-start: 16px; | 840 -moz-padding-start: 16px; | 
| 841 -webkit-padding-start: 16px; | 841 -webkit-padding-start: 16px; | 
| 842 -moz-padding-end: 60px; | 842 padding-top: 10px; | 
| 843 -webkit-padding-end: 60px; | 843 padding-bottom: 10px; | 
| 844 padding-top: 18px; | 844 border: none; | 
| 845 padding-bottom: 18px; | |
| 
Wladimir Palant
2016/02/23 15:26:04
This makes no sense, it's impossible to have heigh
 
saroyanm
2016/02/24 11:23:59
Yes you are right, but the issue is not about the
 | |
| 846 width: 100%; | 845 width: 100%; | 
| 847 } | 846 background-color: transparent; | 
| 848 | 847 } | 
| 849 #custom-filters input[type="text"]:focus | 848 | 
| 849 #custom-filters-add input[type="text"]:focus | |
| 850 { | 850 { | 
| 851 outline: 0px; | 851 outline: 0px; | 
| 852 } | 852 } | 
| 853 | 853 | 
| 854 #custom-filters-add input | |
| 855 { | |
| 856 font-size: 13px; | |
| 857 background-color: #F5F5F5; | |
| 858 } | |
| 859 | |
| 860 #custom-filters-add input::-webkit-input-placeholder | |
| 861 { | |
| 862 font-weight: 600; | |
| 863 } | |
| 864 #custom-filters-add input::-moz-placeholder | |
| 865 { | |
| 866 font-weight: 600; | |
| 867 } | |
| 868 | |
| 869 #custom-filters-table | 854 #custom-filters-table | 
| 870 { | 855 { | 
| 856 height: 240px; | |
| 857 width: 100%; | |
| 871 border-top: 1px solid #CDCDCD; | 858 border-top: 1px solid #CDCDCD; | 
| 859 overflow: auto; | |
| 872 } | 860 } | 
| 873 | 861 | 
| 874 #custom-filters-add button | 862 #custom-filters-add button | 
| 875 { | 863 { | 
| 876 font-size: 14px; | 864 font-size: 14px; | 
| 877 -webkit-margin-start: -60px; | |
| 878 -moz-margin-start: -60px; | |
| 
Wladimir Palant
2016/02/23 15:16:08
This apparently assumes a particular text size. Op
 
saroyanm
2016/02/24 11:23:58
Thanks for noticing this, totally forgot about thi
 | |
| 879 -webkit-padding-end: 6px; | 865 -webkit-padding-end: 6px; | 
| 880 -moz-padding-end: 6px; | 866 -moz-padding-end: 6px; | 
| 881 cursor: pointer; | 867 cursor: pointer; | 
| 882 color: #3A7BA6; | 868 color: #3A7BA6; | 
| 883 } | 869 } | 
| 884 | 870 | 
| 885 #custom-filters-add button::before | 871 #custom-filters-add button::before | 
| 886 { | 872 { | 
| 887 content: ""; | 873 content: ""; | 
| 888 display: inline-block; | 874 display: inline-block; | 
| 889 -moz-border-end: 1px solid #CDCDCD; | 875 -moz-border-end: 1px solid #CDCDCD; | 
| 890 -webkit-border-end: 1px solid #CDCDCD; | 876 -webkit-border-end: 1px solid #CDCDCD; | 
| 891 height: 15px; | 877 height: 15px; | 
| 892 -webkit-margin-end: 10px; | 878 -webkit-margin-end: 10px; | 
| 893 -moz-margin-end: 10px; | 879 -moz-margin-end: 10px; | 
| 894 margin-bottom: -2px; | 880 margin-bottom: -2px; | 
| 895 width: 1px; | 881 width: 1px; | 
| 896 } | 882 } | 
| 897 | 883 | 
| 898 #custom-filters-add button::after | 884 #custom-filters-add button::after | 
| 899 { | 885 { | 
| 900 content: ""; | 886 content: ""; | 
| 901 background-position: -28px -32px; | 887 background-position: -28px -33px; | 
| 902 cursor: pointer; | |
| 903 height: 10px; | |
| 904 -webkit-margin-start: 6px; | 888 -webkit-margin-start: 6px; | 
| 905 -moz-margin-start: 6px; | 889 -moz-margin-start: 6px; | 
| 906 width: 10px; | |
| 907 } | 890 } | 
| 908 | 891 | 
| 909 /* | 892 /* | 
| 910 Tooltips | 893 Tooltips | 
| 911 */ | 894 */ | 
| 912 | 895 | 
| 913 .tooltip, #block-element-explanation a | 896 .tooltip | 
| 914 { | 897 { | 
| 898 display: inline-block; | |
| 915 position: relative; | 899 position: relative; | 
| 916 margin: 0px 4px; | 900 margin: 0px 4px; | 
| 917 border-bottom: dashed 1px; | 901 border-bottom: dashed 1px; | 
| 918 height: 15px; | 902 height: 15px; | 
| 919 color: #3A7BA6; | 903 color: #3A7BA6; | 
| 920 font-size: 12px; | 904 font-size: 12px; | 
| 921 line-height: 19px; | 905 line-height: 19px; | 
| 922 text-decoration: none; | 906 text-decoration: none; | 
| 923 font-weight: 400; | 907 font-weight: 400; | 
| 924 cursor: default; | 908 cursor: default; | 
| (...skipping 10 matching lines...) Expand all Loading... | |
| 935 { | 919 { | 
| 936 vertical-align: middle; | 920 vertical-align: middle; | 
| 937 white-space: nowrap; | 921 white-space: nowrap; | 
| 938 color: #FFF; | 922 color: #FFF; | 
| 939 } | 923 } | 
| 940 | 924 | 
| 941 #content-advanced .tooltip | 925 #content-advanced .tooltip | 
| 942 { | 926 { | 
| 943 -moz-margin-start: 8px; | 927 -moz-margin-start: 8px; | 
| 944 -webkit-margin-start: 8px; | 928 -webkit-margin-start: 8px; | 
| 945 } | |
| 946 | |
| 947 #block-element-explanation a | |
| 948 { | |
| 949 color: black; | |
| 950 border-bottom-color: #3A7BA6; | |
| 951 font-weight: 600; | |
| 952 -moz-padding-start: 0px; | |
| 953 -webkit-padding-start: 0px; | |
| 954 } | 929 } | 
| 955 | 930 | 
| 956 div[role="tooltip"] | 931 div[role="tooltip"] | 
| 957 { | 932 { | 
| 958 background-color: rgba(45, 45, 45, 0.95); | 933 background-color: rgba(45, 45, 45, 0.95); | 
| 959 border-radius: 3px; | 934 border-radius: 3px; | 
| 960 color: #FFF; | 935 color: #FFF; | 
| 961 font-size: 14px; | 936 font-size: 14px; | 
| 962 font-weight: 400; | 937 font-weight: 400; | 
| 963 left: -20px; | 938 left: -20px; | 
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1222 color: #0F660F; | 1197 color: #0F660F; | 
| 1223 display: inline-block; | 1198 display: inline-block; | 
| 1224 height: 20px; | 1199 height: 20px; | 
| 1225 font-size: 15px; | 1200 font-size: 15px; | 
| 1226 -moz-padding-start: 10px; | 1201 -moz-padding-start: 10px; | 
| 1227 -webkit-padding-start: 10px; | 1202 -webkit-padding-start: 10px; | 
| 1228 } | 1203 } | 
| 1229 | 1204 | 
| 1230 #dialog-close::before | 1205 #dialog-close::before | 
| 1231 { | 1206 { | 
| 1232 background-position: -9px -32px; | 1207 background-position: -10px -33px; | 
| 1233 content: ""; | 1208 cursor: pointer; | 
| 1234 cursor: pointer; | 1209 height: 8px; | 
| 1235 height: 12px; | 1210 width: 8px; | 
| 1236 width: 12px; | |
| 1237 vertical-align: middle; | 1211 vertical-align: middle; | 
| 1238 -moz-margin-end: 6px; | 1212 -moz-margin-end: 6px; | 
| 1239 -webkit-margin-end: 6px; | 1213 -webkit-margin-end: 6px; | 
| 1240 } | 1214 } | 
| 1241 | 1215 | 
| 1242 #dialog #dialog-body | 1216 #dialog #dialog-body | 
| 1243 { | 1217 { | 
| 1244 margin: 4px 24px; | 1218 margin: 4px 24px; | 
| 1245 } | 1219 } | 
| 1246 | 1220 | 
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1351 #other-language .button-add::before | 1325 #other-language .button-add::before | 
| 1352 { | 1326 { | 
| 1353 display: none; | 1327 display: none; | 
| 1354 } | 1328 } | 
| 1355 | 1329 | 
| 1356 #other-language .display | 1330 #other-language .display | 
| 1357 { | 1331 { | 
| 1358 -webkit-margin-start: 10px; | 1332 -webkit-margin-start: 10px; | 
| 1359 -moz-margin-start: 10px; | 1333 -moz-margin-start: 10px; | 
| 1360 } | 1334 } | 
| LEFT | RIGHT |