Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/new-options.css

Issue 29519636: Issue 5538 - Implement "Help" tab for new options page (Closed)
Patch Set: Created Aug. 23, 2017, 5:28 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 .table button.delete:hover 419 .table button.delete:hover
420 { 420 {
421 background-position: -61px -51px; 421 background-position: -61px -51px;
422 } 422 }
423 423
424 .icon, 424 .icon,
425 button[role="checkbox"], 425 button[role="checkbox"],
426 #dialog-body .table button[role="checkbox"], 426 #dialog-body .table button[role="checkbox"],
427 .table button.delete, 427 .table button.delete,
428 #content-help a::before,
429 #dialog-close::before, 428 #dialog-close::before,
430 #all-filter-lists-table .arrow, 429 #all-filter-lists-table .arrow,
431 .context-menu .content a::before 430 .context-menu .content a::before
432 { 431 {
433 background-image: url(options-sprite.png); 432 background-image: url(options-sprite.png);
434 display: inline-block; 433 display: inline-block;
435 } 434 }
436 435
437 .icon-add, 436 .icon-add,
438 .icon-update 437 .icon-update
(...skipping 20 matching lines...) Expand all
459 cursor: pointer; 458 cursor: pointer;
460 } 459 }
461 460
462 #dialog-close::before 461 #dialog-close::before
463 { 462 {
464 content: ""; 463 content: "";
465 height: 12px; 464 height: 12px;
466 width: 12px; 465 width: 12px;
467 } 466 }
468 467
469 #content-help a::before 468 #dialog-body button::before
470 { 469 {
471 background-position: 0px -42px; 470 background-position: 0px -42px;
472 content: ""; 471 content: "";
473 cursor: pointer; 472 cursor: pointer;
474 height: 11px; 473 height: 11px;
475 vertical-align: middle; 474 vertical-align: middle;
476 width: 7px; 475 width: 7px;
477 -moz-margin-end: 12px; 476 -moz-margin-end: 12px;
478 -webkit-margin-end: 12px; 477 -webkit-margin-end: 12px;
479 } 478 }
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 890
892 div[role="tooltip"] .notes p 891 div[role="tooltip"] .notes p
893 { 892 {
894 font-weight: 300; 893 font-weight: 300;
895 } 894 }
896 895
897 /* 896 /*
898 Help tab content 897 Help tab content
899 */ 898 */
900 899
901 #content-help 900 html:not([lang="zh"]) #social-chinese,
902 { 901 html[lang="zh"] #social-general
903 counter-reset: section;
904 }
905
906 #content-help h1::before
907 {
908 counter-increment: section;
909 content: counter(section) ". ";
910 }
911
912 #content-help a
913 {
914 color: #3A7BA6;
915 display: inline-block;
916 text-decoration: none;
917 -moz-margin-end: 16px;
918 -webkit-margin-end: 16px;
919 vertical-align: top;
920 }
921
922 #content-help a::before
923 {
924 -moz-margin-end: 6px;
925 -webkit-margin-end: 6px;
926 }
927
928 #share-general:lang(zh),
929 #share-chinese:not(zh)
930 { 902 {
931 display: none; 903 display: none;
932 } 904 }
933 905
906 #social ul
ire 2017/08/24 09:17:47 Should there be the default padding-left on this e
saroyanm 2017/08/24 13:22:28 I think no, but this will be fixed with the sectio
ire 2017/08/25 08:52:49 Acknowledged.
907 {
908 list-style: none;
909 }
910
911 #social ul li
ire 2017/08/24 09:17:47 The spacing between each list item is off/inexiste
saroyanm 2017/08/24 13:22:28 Same here, I'm planing to touch this styles when s
ire 2017/08/25 08:52:50 Acknowledged.
912 {
913 display: inline-block;
914 }
915
916 #social ul li a
ire 2017/08/24 09:17:47 The text isn't centered below the icon. Adding `te
ire 2017/08/24 09:17:48 I'm not sure that the styling of these links will
saroyanm 2017/08/24 13:22:28 I don't have strong opinion, as this styles are mi
saroyanm 2017/08/24 13:22:28 I'll update.
ire 2017/08/25 08:52:50 Acknowledged.
917 {
918 display: block;
919 }
920
921 #social ul li a::before
922 {
923 display: block;
924 margin: 0em auto;
925 width: 50px;
ire 2017/08/24 09:17:47 Should this size be an em size instead? Feels like
saroyanm 2017/08/24 13:22:28 Yes, it should I'll update this.
saroyanm 2017/08/24 18:19:42 done. Root item font-size = 20px;
ire 2017/08/25 08:52:50 Acknowledged.
926 height: 50px;
927 content: "";
928 background-color: #099DD1;
929 }
930
931 #twitter::before
932 {
933 -webkit-mask: url(social/twitter.svg);
934 mask: url(social/twitter.svg);
ire 2017/08/24 09:17:47 Would using a plain background-image (or better ye
ire 2017/08/24 09:17:47 NIT: quotes (") around the url
saroyanm 2017/08/24 13:22:28 Yes, I did it this way as the images are missing c
saroyanm 2017/08/24 13:22:28 Well spotted I'll change.
saroyanm 2017/08/24 18:19:42 Done.
ire 2017/08/25 08:52:50 Acknowledged.
935 }
936
937 #facebook::before
938 {
939 -webkit-mask: url(social/facebook.svg);
940 mask: url(social/facebook.svg);
941 }
942
943 #google-plus::before
944 {
945 -webkit-mask: url(social/googleplus.svg);
946 mask: url(social/googleplus.svg);
947 }
948
934 /* 949 /*
935 Dialog 950 Dialog
936 */ 951 */
937 952
938 #dialog-background 953 #dialog-background
939 { 954 {
940 display: none; 955 display: none;
941 position: fixed; 956 position: fixed;
942 top: 0px; 957 top: 0px;
943 right: 0px; 958 right: 0px;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 body:not([data-dialog="language-change"]) #dialog-title-language-change, 1086 body:not([data-dialog="language-change"]) #dialog-title-language-change,
1072 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add, 1087 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add,
1073 body:not([data-dialog="language-add"]) #dialog-body button.add, 1088 body:not([data-dialog="language-add"]) #dialog-body button.add,
1074 body:not([data-dialog="language-change"]) #dialog-body button.change, 1089 body:not([data-dialog="language-change"]) #dialog-body button.change,
1075 body:not([data-dialog="predefined"]) #dialog-title-predefined, 1090 body:not([data-dialog="predefined"]) #dialog-title-predefined,
1076 body:not([data-dialog="predefined"]) #dialog-content-predefined, 1091 body:not([data-dialog="predefined"]) #dialog-content-predefined,
1077 body:not([data-dialog]) #dialog 1092 body:not([data-dialog]) #dialog
1078 { 1093 {
1079 display: none; 1094 display: none;
1080 } 1095 }
OLDNEW
« new-options.html ('K') | « new-options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld