Left: | ||
Right: |
OLD | NEW |
---|---|
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 color: #494949; |
56 } | 56 } |
57 | 57 |
58 h1 | 58 h1 |
59 { | 59 { |
60 font-size: 24px; | 60 font-size: 24px; |
61 line-height: 1em; | 61 line-height: 1em; |
62 font-weight: 300; | 62 font-weight: 300; |
63 } | 63 } |
64 | 64 |
65 h2 | 65 h2 |
66 { | 66 { |
67 font-size: 16px; | 67 font-size: 16px; |
68 font-weight: 600; | 68 font-weight: 600; |
(...skipping 15 matching lines...) Expand all Loading... | |
84 [aria-hidden="true"] | 84 [aria-hidden="true"] |
85 { | 85 { |
86 display: none !important; | 86 display: none !important; |
87 } | 87 } |
88 | 88 |
89 input[type="search"]::-webkit-search-cancel-button | 89 input[type="search"]::-webkit-search-cancel-button |
90 { | 90 { |
91 display: none; | 91 display: none; |
92 } | 92 } |
93 | 93 |
94 input[type="text"], input[type="search"] | 94 input[type="text"], |
95 input[type="search"], | |
96 textarea | |
95 { | 97 { |
96 -webkit-box-sizing: border-box; | 98 -webkit-box-sizing: border-box; |
97 -moz-box-sizing: border-box; | 99 -moz-box-sizing: border-box; |
98 box-sizing: border-box; | 100 box-sizing: border-box; |
99 } | 101 } |
100 | 102 |
101 button[role="checkbox"] | 103 button[role="checkbox"] |
102 { | 104 { |
103 vertical-align: top; | 105 vertical-align: top; |
104 width: 18px; | 106 width: 18px; |
105 height: 18px; | 107 height: 18px; |
106 margin-top: 0px; | 108 margin-top: 0px; |
107 -moz-margin-end: 20px; | 109 -moz-margin-end: 20px; |
108 -webkit-margin-end: 20px; | 110 -webkit-margin-end: 20px; |
109 padding: 0px; | 111 padding: 0px; |
110 border: none; | 112 border: none; |
111 background-color: transparent; | 113 background-color: transparent; |
112 background-position: -51px 0px; | 114 background-position: -51px 0px; |
113 } | 115 } |
114 | 116 |
115 button[role="checkbox"][aria-checked="true"] | 117 button[role="checkbox"][aria-checked="true"] |
116 { | 118 { |
117 background-position: -68px 0px; | 119 background-position: -68px 0px; |
118 } | 120 } |
119 | 121 |
120 .option-name | 122 .option-name |
121 { | 123 { |
122 display: flex; | 124 display: flex; |
123 margin-bottom: 16px; | 125 margin-bottom: 16px; |
124 margin-top: 24px; | |
125 } | 126 } |
126 | 127 |
127 .option-name > :first-child | 128 .option-name > :first-child |
128 { | 129 { |
129 flex: 1; | 130 flex: 1; |
130 overflow: hidden; | 131 overflow: hidden; |
131 text-overflow: ellipsis; | 132 text-overflow: ellipsis; |
132 white-space: nowrap; | 133 white-space: nowrap; |
133 } | 134 } |
134 | 135 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
300 border: 1px solid #CDCDCD; | 301 border: 1px solid #CDCDCD; |
301 border-radius: 8px; | 302 border-radius: 8px; |
302 box-sizing: border-box; | 303 box-sizing: border-box; |
303 min-width: 960px; | 304 min-width: 960px; |
304 padding: 0px 60px 40px 60px; | 305 padding: 0px 60px 40px 60px; |
305 } | 306 } |
306 | 307 |
307 #content h1 | 308 #content h1 |
308 { | 309 { |
309 border-bottom: 1px solid #CDCDCD; | 310 border-bottom: 1px solid #CDCDCD; |
310 margin: 0px; | 311 margin: 0px 0px 24px 0px; |
311 padding: 40px 0px 16px 0px; | 312 padding: 40px 0px 16px 0px; |
312 } | 313 } |
313 | 314 |
314 #link-version | 315 #link-version |
315 { | 316 { |
316 display: flex; | 317 display: flex; |
317 margin: 12px 20px; | 318 margin: 12px 20px; |
318 color: #3A7BA6; | 319 color: #3A7BA6; |
319 text-decoration: none; | 320 text-decoration: none; |
320 } | 321 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
358 | 359 |
359 .table li | 360 .table li |
360 { | 361 { |
361 display: flex; | 362 display: flex; |
362 padding: 12px 0px; | 363 padding: 12px 0px; |
363 -webkit-padding-start: 16px; | 364 -webkit-padding-start: 16px; |
364 -moz-padding-start: 16px; | 365 -moz-padding-start: 16px; |
365 border-radius: 3px; | 366 border-radius: 3px; |
366 } | 367 } |
367 | 368 |
369 .table.list, | |
370 #custom-wrapper | |
371 { | |
372 border-bottom: 1px solid #CDCDCD; | |
373 } | |
374 | |
368 .table.list li .display | 375 .table.list li .display |
369 { | 376 { |
370 flex: 1; | 377 flex: 1; |
371 line-height: 16px; | 378 line-height: 16px; |
372 overflow: hidden; | 379 overflow: hidden; |
373 text-overflow: ellipsis; | 380 text-overflow: ellipsis; |
374 white-space: nowrap; | 381 white-space: nowrap; |
375 } | 382 } |
376 | 383 |
384 .table:not(.list):not(.cols) li | |
385 { | |
386 padding-top: 0px; | |
387 padding-bottom: 6px; | |
388 } | |
389 | |
377 .table.list li:nth-of-type(odd), | 390 .table.list li:nth-of-type(odd), |
378 .table.cols li:nth-of-type(odd), | 391 .table.cols li:nth-of-type(odd), |
379 .table li.empty-placeholder | 392 .table li.empty-placeholder |
380 { | 393 { |
381 background-color: #F5F5F5; | 394 background-color: #F5F5F5; |
382 } | 395 } |
383 | 396 |
384 .table label | 397 .table label |
385 { | 398 { |
386 vertical-align: top; | 399 vertical-align: top; |
387 } | 400 } |
388 | 401 |
389 .table.cols | 402 .table.cols |
390 { | 403 { |
391 border-bottom: 1px solid #CDCDCD; | 404 border-bottom: 1px solid #CDCDCD; |
392 border-top: 1px solid #CDCDCD; | 405 border-top: 1px solid #CDCDCD; |
393 } | 406 } |
394 | 407 |
395 button[disabled="true"] | 408 button[disabled="true"] |
396 { | 409 { |
397 border-radius: 2px; | 410 border-radius: 2px; |
398 background-color: #ccc; | 411 background-color: #ccc; |
399 } | 412 } |
400 | 413 |
401 .table button.delete | 414 .table button.delete |
402 { | 415 { |
403 background-color: transparent; | 416 background-color: transparent; |
404 background-position: -9px -32px; | 417 background-position: -9px -32px; |
405 border: 0px; | 418 border: 0px; |
406 height: 10px; | |
407 margin-top: 5px; | 419 margin-top: 5px; |
408 -moz-margin-end: 20px; | 420 -moz-margin-end: 20px; |
409 -webkit-margin-end: 20px; | 421 -webkit-margin-end: 20px; |
410 padding: 0px; | 422 padding: 0px; |
411 cursor: pointer; | |
412 width: 10px; | |
413 } | 423 } |
414 | 424 |
415 .table .popular | 425 .table .popular |
416 { | 426 { |
417 color: #1E8728; | 427 color: #1E8728; |
418 font-size: 12px; | 428 font-size: 12px; |
419 -moz-padding-end: 12px; | 429 -moz-padding-end: 12px; |
420 -webkit-padding-end: 12px; | 430 -webkit-padding-end: 12px; |
421 } | 431 } |
422 | 432 |
423 .tabs.horizontal | 433 .tabs.horizontal |
424 { | 434 { |
425 display: flex; | 435 display: flex; |
436 margin-top: 0px; | |
426 margin-bottom: 0px; | 437 margin-bottom: 0px; |
427 padding: 0px; | 438 padding: 0px; |
439 border-bottom: 1px solid #A1A1A1; | |
Thomas Greiner
2016/04/18 18:32:53
Detail: Should this be #CDCDCD instead?
see https
saroyanm
2016/04/20 14:28:59
true, Done.
| |
428 } | 440 } |
429 | 441 |
430 .tabs.horizontal li | 442 .tabs.horizontal li |
431 { | 443 { |
432 display: inline-block; | 444 display: inline-block; |
433 border-bottom: 1px solid #A1A1A1; | 445 padding: 0px 46px 10px 46px; |
434 padding: 10px 46px; | |
435 color: #3A7BA6; | 446 color: #3A7BA6; |
436 text-align: center; | 447 text-align: center; |
437 } | 448 } |
438 | 449 |
439 .icon, | 450 .icon, |
440 button[role="checkbox"], | 451 button[role="checkbox"], |
441 .table button.delete, | 452 .table button.delete, |
442 #content-help a::before, | 453 #content-help a::before, |
443 #dialog-close::before, | 454 #dialog-close::before, |
444 #custom-filters-add button::after, | 455 #custom-filters-add button::after, |
445 #dialog-body button::before, | 456 #dialog-body button::before, |
446 .date::before, | 457 .date::before, |
447 .time::before, | 458 .time::before, |
448 #all-filter-lists .arrow, | 459 #all-filter-lists .arrow, |
449 .context-menu .content a::before | 460 .context-menu .content a::before |
450 { | 461 { |
451 background-image: url(options-sprite.png); | 462 background-image: url(options-sprite.png); |
452 display: inline-block; | 463 display: inline-block; |
453 } | 464 } |
454 | 465 |
466 .icon-add, | |
467 .icon-update, | |
468 .icon-edit | |
469 { | |
470 height: 18px; | |
Thomas Greiner
2016/04/18 18:32:53
According to https://issues.adblockplus.org/attach
saroyanm
2016/04/20 14:28:58
Done.
| |
471 min-width: 18px; | |
472 cursor: pointer; | |
473 } | |
474 | |
455 .icon-add | 475 .icon-add |
456 { | 476 { |
457 background-position: -0px -0px; | 477 background-position: -0px -0px; |
458 cursor: pointer; | |
459 height: 18px; | |
460 min-width: 18px; | |
461 } | 478 } |
462 | 479 |
463 .icon-update | 480 .icon-update |
464 { | 481 { |
465 background-position: -34px -0px; | 482 background-position: -34px -0px; |
466 cursor: pointer; | |
467 height: 18px; | |
468 width: 18px; | |
469 } | 483 } |
470 | 484 |
471 .icon-edit | 485 .icon-edit |
472 { | 486 { |
473 background-position: -17px -0px; | 487 background-position: -17px -0px; |
488 } | |
489 | |
490 .icon-save, | |
491 .icon-cancel, | |
492 .icon-enter, | |
493 #custom-filters-add button::after, | |
494 .table button.delete | |
495 { | |
496 height: 10px; | |
Thomas Greiner
2016/04/18 18:32:53
Detail: Based on the sprite it looks like this sho
saroyanm
2016/04/20 14:28:59
Yes you are right, part of them.
| |
497 width: 10px; | |
474 cursor: pointer; | 498 cursor: pointer; |
475 height: 18px; | 499 } |
476 width: 18px; | 500 |
501 .icon-save | |
502 { | |
503 background-position: -1px -62px; | |
504 } | |
505 | |
506 .icon-cancel | |
507 { | |
508 background-position: -12px -62px; | |
509 } | |
510 | |
511 #dialog-close::before, | |
512 .date::before, | |
513 .time::before | |
514 { | |
515 content: ""; | |
516 height: 12px; | |
Thomas Greiner
2016/04/18 18:32:53
Detail: Based on the sprite it looks like this sho
saroyanm
2016/04/20 14:29:00
Date and time looks to be 12px.
So I think the onl
Thomas Greiner
2016/04/22 16:36:23
Correct, it doesn't apply to the "date" and "time"
saroyanm
2016/04/25 08:53:42
True, but doesn't make sense I assume to separate
| |
517 width: 12px; | |
477 } | 518 } |
478 | 519 |
479 #content-help a::before, | 520 #content-help a::before, |
480 #dialog-body button::before | 521 #dialog-body button::before |
481 { | 522 { |
482 background-position: 0px -42px; | 523 background-position: 0px -42px; |
483 content: ""; | 524 content: ""; |
484 cursor: pointer; | 525 cursor: pointer; |
485 height: 11px; | 526 height: 11px; |
486 vertical-align: middle; | 527 vertical-align: middle; |
487 width: 7px; | 528 width: 7px; |
488 -moz-margin-end: 12px; | 529 -moz-margin-end: 12px; |
489 -webkit-margin-end: 12px; | 530 -webkit-margin-end: 12px; |
490 } | 531 } |
491 | 532 |
492 .controls | 533 .controls |
493 { | 534 { |
494 border-top: 1px solid #CDCDCD; | 535 padding-top: 14px; |
495 padding-top: 8px; | 536 margin-left: 16px; |
496 -moz-padding-start: 16px; | 537 margin-right: 16px; |
Thomas Greiner
2016/04/18 18:32:53
Regression: The "+" icon below the "Whitelisted we
saroyanm
2016/04/20 14:28:58
Done.
| |
497 -webkit-padding-start: 16px; | 538 } |
498 position: relative; | 539 |
540 .controls.mode-edit | |
541 { | |
542 -moz-margin-end: 0px; | |
543 -webkit-margin-end: 0px; | |
499 } | 544 } |
500 | 545 |
501 .controls > div | 546 .controls > div |
502 { | 547 { |
503 display: flex; | 548 display: flex; |
504 } | 549 } |
505 | 550 |
506 .controls button, | 551 .controls button, |
507 #dialog-close | 552 #dialog-close |
508 { | 553 { |
554 display: flex; | |
555 border: none; | |
556 padding: 0; | |
Thomas Greiner
2016/04/18 18:32:52
Coding style: "CSS number values should specify un
saroyanm
2016/04/20 14:28:59
Done.
| |
557 align-items: center; | |
509 background: none; | 558 background: none; |
510 border: none; | |
511 cursor: pointer; | 559 cursor: pointer; |
512 display: block; | |
513 padding: 0; | |
514 } | 560 } |
515 | 561 |
516 .controls button span:not(.icon) | 562 .controls button span:not(.icon) |
517 { | 563 { |
564 display: inline-block; | |
565 -moz-margin-start: 16px; | |
566 -webkit-margin-start: 16px; | |
567 padding-top: 1px; | |
Thomas Greiner
2016/04/18 18:32:53
Detail: Why is that necessary?
I know that you in
saroyanm
2016/04/20 14:28:59
Seems like it was here before, I just rearranged t
| |
518 color: #3A7BA6; | 568 color: #3A7BA6; |
519 display: inline-block; | |
520 -moz-margin-start: 15px; | |
521 -webkit-margin-start: 15px; | |
522 padding-top: 1px; | |
523 vertical-align: top; | 569 vertical-align: top; |
524 } | 570 } |
525 | 571 |
526 /* | 572 /* |
527 General tab content | 573 General tab content |
528 */ | 574 */ |
529 | 575 |
576 #acceptableads-table, | |
577 #recommend-list-table, | |
578 #blocking-languages-dialog-table, | |
579 #custom-wrapper .table, | |
580 #all-lang-table | |
581 { | |
582 border-bottom: none; | |
583 } | |
584 | |
530 #blocking-languages, | 585 #blocking-languages, |
531 #acceptable-ads | 586 #acceptable-ads |
532 { | 587 { |
533 -moz-margin-end: 40px; | 588 -moz-margin-end: 40px; |
534 -webkit-margin-end: 40px; | 589 -webkit-margin-end: 40px; |
535 } | 590 } |
536 | 591 |
537 #custom-wrapper | 592 #custom-wrapper |
538 { | 593 { |
539 height: 290px; | 594 height: 290px; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
584 } | 639 } |
585 | 640 |
586 #whitelisting-add-button + span | 641 #whitelisting-add-button + span |
587 { | 642 { |
588 flex: 1; | 643 flex: 1; |
589 } | 644 } |
590 | 645 |
591 .icon-enter | 646 .icon-enter |
592 { | 647 { |
593 background-position: -18px -32px; | 648 background-position: -18px -32px; |
594 cursor: pointer; | |
595 height: 10px; | |
596 position: absolute; | 649 position: absolute; |
Thomas Greiner
2016/04/18 18:32:52
Regression: The "enter" icon is no longer in the c
saroyanm
2016/04/20 14:29:00
Done.
| |
597 top: 10px; | 650 top: 10px; |
598 -moz-margin-start: -20px; | 651 -moz-margin-start: -20px; |
599 -webkit-margin-start: -20px; | 652 -webkit-margin-start: -20px; |
600 width: 10px; | |
601 } | 653 } |
602 | 654 |
603 .button-add, .cancel-button | 655 .button-add, .cancel-button |
604 { | 656 { |
605 background-color: transparent; | 657 background-color: transparent; |
606 border: 0px; | 658 border: 0px; |
607 color: #3A7BA6; | 659 color: #3A7BA6; |
608 cursor: pointer; | 660 cursor: pointer; |
609 } | 661 } |
610 | 662 |
611 /* | 663 /* |
612 Advanced tab content | 664 Advanced tab content |
613 */ | 665 */ |
614 | 666 |
615 #tweaks.table li | 667 #filter-lists > div, |
616 { | 668 #all-filter-lists li.show-message .date, |
617 padding-bottom: 0px; | 669 #all-filter-lists li.show-message .time, |
618 } | 670 #all-filter-lists li:not(.show-message) .message, |
619 | 671 #custom-filters:not(.mode-edit) #custom-filters-raw, |
620 #restart-safari | 672 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, |
Thomas Greiner
2016/04/18 18:32:53
Why did you remove that?
saroyanm
2016/04/20 14:28:59
I think by accident, restored.
| |
621 { | 673 #custom-filters.mode-edit #custom-filters-show-edit, |
622 -moz-margin-start: 20px; | 674 #custom-filters.mode-edit #custom-filters-list-wrapper |
623 -webkit-margin-start: 20px; | |
624 color: red; | |
625 font-weight: 600; | |
626 } | |
627 | |
628 #filter-lists > div | |
629 { | 675 { |
630 display: none; | 676 display: none; |
631 } | 677 } |
632 | 678 |
633 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 679 body[data-tab="advanced-allFilterLists"] #all-filter-lists, |
634 body[data-tab="advanced-customFilters"] #custom-filters | 680 body[data-tab="advanced-customFilters"] #custom-filters |
635 { | 681 { |
636 display: block; | 682 display: block; |
637 } | 683 } |
638 | 684 |
685 .with-description .tooltip, | |
686 #all-filter-lists .table | |
687 { | |
688 display: inline-block; | |
689 } | |
690 | |
639 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], | 691 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], |
640 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] | 692 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] |
641 { | 693 { |
642 border-bottom: 2px solid #1E8728; | 694 border-bottom: 2px solid #1E8728; |
643 padding-bottom: 10px; | 695 padding-bottom: 10px; |
644 color: black; | 696 color: black; |
645 font-weight: 600; | 697 font-weight: 600; |
646 } | 698 } |
647 | 699 |
648 #all-filter-lists .table | |
649 { | |
650 display: inline-block; | |
651 } | |
652 | |
653 #all-filter-lists .table li | 700 #all-filter-lists .table li |
654 { | 701 { |
655 padding-left: 16px; | 702 padding-left: 16px; |
656 padding-right: 16px; | 703 padding-right: 16px; |
657 } | 704 } |
658 | 705 |
659 #all-filter-lists .table li > div | 706 #all-filter-lists .table li > div |
660 { | 707 { |
661 display: flex; | 708 display: flex; |
662 width: 330px; | 709 width: 330px; |
663 } | 710 } |
664 | 711 |
665 .table-header | 712 .table-header |
666 { | 713 { |
667 display: flex; | 714 display: flex; |
668 } | 715 } |
669 | 716 |
670 #filter-lists h3 | 717 #filter-lists h2 |
671 { | 718 { |
672 display: inline-block; | |
673 margin-bottom: 7px; | 719 margin-bottom: 7px; |
674 font-size: 14px; | |
Thomas Greiner
2016/04/18 18:32:53
Regression: Removing this causes the font size to
saroyanm
2016/04/20 14:28:59
Done.
| |
675 } | 720 } |
676 | 721 |
677 .table-header h3:first-child | 722 .table-header h2:first-child |
678 { | 723 { |
679 width: 330px; | 724 width: 330px; |
680 -webkit-padding-start: 54px; | 725 -webkit-padding-start: 54px; |
681 -moz-padding-start: 54px; | 726 -moz-padding-start: 54px; |
682 } | 727 } |
683 | 728 |
684 #all-filter-lists .table li span.display | 729 #all-filter-lists .table li span.display |
685 { | 730 { |
686 cursor: pointer; | 731 cursor: pointer; |
687 } | 732 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
721 text-decoration: none; | 766 text-decoration: none; |
722 cursor: pointer; | 767 cursor: pointer; |
723 } | 768 } |
724 | 769 |
725 #all-filter-lists .table li:last-of-type > span:last-child | 770 #all-filter-lists .table li:last-of-type > span:last-child |
726 { | 771 { |
727 -webkit-margin-start: auto; | 772 -webkit-margin-start: auto; |
728 -moz-margin-start: auto; | 773 -moz-margin-start: auto; |
729 } | 774 } |
730 | 775 |
731 #all-filter-lists li.show-message .date, | |
732 #all-filter-lists li.show-message .time, | |
733 #all-filter-lists li:not(.show-message) .message | |
734 { | |
735 display: none; | |
736 } | |
737 | |
738 .date::before | 776 .date::before |
739 { | 777 { |
740 content: ""; | |
741 -webkit-margin-end: 6px; | 778 -webkit-margin-end: 6px; |
742 -moz-margin-end: 6px; | 779 -moz-margin-end: 6px; |
743 height: 12px; | |
744 width: 12px; | |
745 background-position: -7px -49px; | 780 background-position: -7px -49px; |
746 } | 781 } |
747 | 782 |
748 .time::before | 783 .time::before |
749 { | 784 { |
750 content: ""; | |
751 -webkit-margin-end: 6px; | 785 -webkit-margin-end: 6px; |
752 -moz-margin-end: 6px; | 786 -moz-margin-end: 6px; |
753 -webkit-margin-start: 12px; | 787 -webkit-margin-start: 12px; |
754 -moz-margin-start: 12px; | 788 -moz-margin-start: 12px; |
755 height: 12px; | |
756 width: 12px; | |
757 background-position: -20px -49px; | 789 background-position: -20px -49px; |
758 } | 790 } |
759 | 791 |
760 #custom-filters-header | 792 #custom-filters-header |
761 { | 793 { |
762 padding: 0px 20px; | 794 padding: 0px 16px; |
763 margin-bottom: 10px; | 795 margin-bottom: 10px; |
764 } | 796 } |
765 | 797 |
766 #custom-filters-raw-controls | 798 #custom-filters-raw-controls |
767 { | 799 { |
768 display: flex; | 800 justify-content: space-between; |
769 } | |
770 | |
771 #custom-filters:not(.mode-edit) #custom-filters-raw, | |
772 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | |
773 #custom-filters.mode-edit #custom-filters-show-edit, | |
774 #custom-filters.mode-edit #custom-filters-list-wrapper | |
775 { | |
776 display: none; | |
777 } | |
778 | |
779 #custom-filters-raw-save | |
780 { | |
781 padding: 0px 16px; | |
782 } | |
783 | |
784 #custom-filters .table | |
785 { | |
786 height: 290px; | |
787 overflow: auto; | |
788 width: auto; | |
789 } | |
790 | |
791 #custom-filters-add | |
792 { | |
793 display: flex; | |
794 padding: 0px; | |
795 border: none; | |
796 } | |
797 | |
798 #custom-filters .controls | |
799 { | |
800 border-top: none; | |
801 } | 801 } |
802 | 802 |
803 #custom-filters-raw | 803 #custom-filters-raw |
804 { | 804 { |
805 width: 100%; | 805 width: 100%; |
806 height: 100%; | 806 height: 100%; |
807 padding: 2px 16px; | |
807 } | 808 } |
808 | 809 |
809 #custom-filters-wrapper | 810 #custom-filters-wrapper |
810 { | 811 { |
811 height: 330px; | 812 height: 330px; |
812 } | 813 } |
813 | 814 |
814 #custom-filters input[type="text"] | 815 #custom-filters-add |
815 { | 816 { |
817 display: flex; | |
816 border-width: 1px 0px 1px 0px; | 818 border-width: 1px 0px 1px 0px; |
817 border-bottom-style: solid; | 819 border-bottom-style: solid; |
818 border-top-style: solid; | 820 border-top-style: solid; |
819 border-color: #1E8728; | 821 border-color: #1E8728; |
820 height: 25px; | 822 padding: 0px; |
821 -moz-padding-start: 10px; | 823 margin: 0px; |
822 -webkit-padding-start: 10px; | 824 background-color: #F5F5F5; |
823 -moz-padding-end: 60px; | |
824 -webkit-padding-end: 60px; | |
825 padding-top: 18px; | |
826 padding-bottom: 18px; | |
827 width: 100%; | |
828 } | 825 } |
829 | 826 |
830 #custom-filters input[type="text"]:focus | 827 #custom-filters-add input[type="text"] |
828 { | |
829 -moz-padding-start: 16px; | |
830 -webkit-padding-start: 16px; | |
831 padding-top: 10px; | |
832 padding-bottom: 10px; | |
833 border: none; | |
834 font-size: 13px; | |
Thomas Greiner
2016/04/18 18:32:53
Detail: There's no mention of `13px` in the style
saroyanm
2016/04/20 14:29:00
Not sure if we have Style guide for this element,
Thomas Greiner
2016/04/22 16:36:23
It's not specifically mentioned but it mentions th
| |
835 background-color: transparent; | |
836 flex-grow: 1; | |
Thomas Greiner
2016/04/18 18:32:51
Detail: That's the same as `width: 100%` or not?
saroyanm
2016/04/20 14:29:00
Yes the effect in this case will be same, but I th
Thomas Greiner
2016/04/22 16:36:24
I'm torn on this one but I'd say we should minimiz
saroyanm
2016/04/25 08:53:42
ack, done.
| |
837 } | |
838 | |
839 #custom-filters-add input[type="text"]:focus | |
831 { | 840 { |
832 outline: 0px; | 841 outline: 0px; |
833 } | 842 } |
834 | 843 |
835 #custom-filters-add input | 844 #custom-filters-add input::-webkit-input-placeholder, |
836 { | |
837 font-size: 13px; | |
838 background-color: #F5F5F5; | |
839 } | |
840 | |
841 #custom-filters-add input::-webkit-input-placeholder | |
842 { | |
843 font-weight: 600; | |
844 } | |
845 #custom-filters-add input::-moz-placeholder | 845 #custom-filters-add input::-moz-placeholder |
846 { | 846 { |
847 font-weight: 600; | 847 font-weight: 600; |
Thomas Greiner
2016/04/18 18:32:52
Detail: That doesn't appear to work.
saroyanm
2016/04/20 14:29:00
In the end it's not standardized, so I think we ca
| |
848 } | 848 } |
849 | 849 |
850 #custom-filters-table | 850 #custom-filters-table |
851 { | 851 { |
852 height: 290px; | |
Thomas Greiner
2016/04/18 18:32:52
Detail: Shouldn't this be `240px`? (i.e. 6 * 40px)
saroyanm
2016/04/20 14:28:59
Why you think this should be 240px ? I make it so
Thomas Greiner
2016/04/22 16:36:23
It's based on two pieces of information from the s
saroyanm
2016/04/25 08:53:42
well spotted! Done.
| |
853 width: auto; | |
Thomas Greiner
2016/04/18 18:32:51
Regression: This will cause longer filters to expa
saroyanm
2016/04/20 14:28:59
We are using overflow: hidden, but while it's the
Thomas Greiner
2016/04/22 16:36:23
`overflow: hidden` doesn't do anything if you don'
saroyanm
2016/04/25 08:53:42
Done, but not really sure if I understood your poi
Thomas Greiner
2016/04/27 17:16:20
Hm, setting `width: 100%` doesn't seem to have fix
saroyanm
2016/04/28 09:03:40
Now I see the problem, thanks for the reproduction
| |
852 border-top: 1px solid #CDCDCD; | 854 border-top: 1px solid #CDCDCD; |
855 overflow: auto; | |
853 } | 856 } |
854 | 857 |
855 #custom-filters-add button | 858 #custom-filters-add button |
856 { | 859 { |
857 font-size: 14px; | 860 font-size: 14px; |
858 -webkit-margin-start: -60px; | |
859 -moz-margin-start: -60px; | |
860 -webkit-padding-end: 6px; | 861 -webkit-padding-end: 6px; |
861 -moz-padding-end: 6px; | 862 -moz-padding-end: 6px; |
862 cursor: pointer; | 863 cursor: pointer; |
863 color: #3A7BA6; | 864 color: #3A7BA6; |
865 flex-grow: 0; | |
Thomas Greiner
2016/04/18 18:32:52
Detail: Why is this necessary? Removing it doesn't
saroyanm
2016/04/20 14:29:00
True not necessary, it's initial value is 0, so sh
| |
864 } | 866 } |
865 | 867 |
866 #custom-filters-add button::before | 868 #custom-filters-add button::before |
867 { | 869 { |
868 content: ""; | 870 content: ""; |
869 display: inline-block; | 871 display: inline-block; |
870 -moz-border-end: 1px solid #CDCDCD; | 872 -moz-border-end: 1px solid #CDCDCD; |
871 -webkit-border-end: 1px solid #CDCDCD; | 873 -webkit-border-end: 1px solid #CDCDCD; |
872 height: 15px; | 874 height: 15px; |
873 -webkit-margin-end: 10px; | 875 -webkit-margin-end: 10px; |
874 -moz-margin-end: 10px; | 876 -moz-margin-end: 10px; |
875 margin-bottom: -2px; | 877 margin-bottom: -2px; |
876 width: 1px; | 878 width: 1px; |
877 } | 879 } |
878 | 880 |
879 #custom-filters-add button::after | 881 #custom-filters-add button::after |
880 { | 882 { |
881 content: ""; | 883 content: ""; |
882 background-position: -28px -32px; | 884 background-position: -28px -32px; |
883 cursor: pointer; | |
884 height: 10px; | |
885 -webkit-margin-start: 6px; | 885 -webkit-margin-start: 6px; |
886 -moz-margin-start: 6px; | 886 -moz-margin-start: 6px; |
887 width: 10px; | |
888 } | 887 } |
889 | 888 |
890 /* | 889 /* |
891 Tooltips | 890 Tooltips |
892 */ | 891 */ |
893 | 892 |
894 .tooltip | 893 .tooltip |
895 { | 894 { |
895 position: relative; | |
896 margin: 0px 4px; | |
896 border-bottom: dashed 1px; | 897 border-bottom: dashed 1px; |
898 height: 15px; | |
897 color: #3A7BA6; | 899 color: #3A7BA6; |
900 font-size: 12px; | |
901 line-height: 19px; | |
902 text-decoration: none; | |
903 font-weight: 400; | |
898 cursor: default; | 904 cursor: default; |
899 font-size: 12px; | |
900 height: 15px; | |
901 line-height: 19px; | |
902 margin: 0px 4px; | |
903 position: relative; | |
904 text-decoration: none; | |
905 } | 905 } |
906 | 906 |
907 .context-menu | 907 .context-menu |
908 { | 908 { |
909 display: inline-block; | 909 display: inline-block; |
910 position: relative; | 910 position: relative; |
911 border-bottom: none; | 911 border-bottom: none; |
912 } | 912 } |
913 | 913 |
914 .context-menu a | 914 .context-menu a |
915 { | 915 { |
916 vertical-align: middle; | 916 vertical-align: middle; |
917 white-space: nowrap; | 917 white-space: nowrap; |
918 color: #FFF; | 918 color: #FFF; |
919 } | 919 } |
920 | 920 |
921 #content-advanced .tooltip | 921 #content-advanced .tooltip |
922 { | 922 { |
923 -moz-margin-start: 8px; | 923 -moz-margin-start: 8px; |
924 -webkit-margin-start: 8px; | 924 -webkit-margin-start: 8px; |
925 } | 925 } |
926 | 926 |
927 #block-element-explanation a | |
Thomas Greiner
2016/04/18 18:32:54
This is not matching any elements.
saroyanm
2016/04/20 14:28:58
true, removed.
| |
928 { | |
929 color: black; | |
930 border-bottom-color: #3A7BA6; | |
931 font-weight: 600; | |
932 -moz-padding-start: 0px; | |
933 -webkit-padding-start: 0px; | |
934 } | |
935 | |
927 div[role="tooltip"] | 936 div[role="tooltip"] |
928 { | 937 { |
929 background-color: rgba(45, 45, 45, 0.95); | 938 background-color: rgba(45, 45, 45, 0.95); |
930 border-radius: 3px; | 939 border-radius: 3px; |
931 color: #FFF; | 940 color: #FFF; |
932 font-size: 14px; | 941 font-size: 14px; |
933 font-weight: 400; | 942 font-weight: 400; |
934 left: -20px; | 943 left: -20px; |
935 line-height: 18px; | 944 line-height: 18px; |
936 margin-top: 14px; | 945 margin-top: 14px; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1194 display: inline-block; | 1203 display: inline-block; |
1195 height: 20px; | 1204 height: 20px; |
1196 font-size: 15px; | 1205 font-size: 15px; |
1197 -moz-padding-start: 10px; | 1206 -moz-padding-start: 10px; |
1198 -webkit-padding-start: 10px; | 1207 -webkit-padding-start: 10px; |
1199 } | 1208 } |
1200 | 1209 |
1201 #dialog-close::before | 1210 #dialog-close::before |
1202 { | 1211 { |
1203 background-position: -9px -32px; | 1212 background-position: -9px -32px; |
1204 content: ""; | |
1205 cursor: pointer; | 1213 cursor: pointer; |
1206 height: 12px; | |
1207 width: 12px; | |
1208 vertical-align: middle; | 1214 vertical-align: middle; |
1209 -moz-margin-end: 6px; | 1215 -moz-margin-end: 6px; |
1210 -webkit-margin-end: 6px; | 1216 -webkit-margin-end: 6px; |
1211 } | 1217 } |
1212 | 1218 |
1213 #dialog #dialog-body | 1219 #dialog #dialog-body |
1214 { | 1220 { |
1215 margin: 4px 24px; | 1221 margin: 4px 24px; |
1216 } | 1222 } |
1217 | 1223 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1322 #other-language .button-add::before | 1328 #other-language .button-add::before |
1323 { | 1329 { |
1324 display: none; | 1330 display: none; |
1325 } | 1331 } |
1326 | 1332 |
1327 #other-language .display | 1333 #other-language .display |
1328 { | 1334 { |
1329 -webkit-margin-start: 10px; | 1335 -webkit-margin-start: 10px; |
1330 -moz-margin-start: 10px; | 1336 -moz-margin-start: 10px; |
1331 } | 1337 } |
OLD | NEW |