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

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

Issue 29519650: Issue 5540 - implement notification (Closed)
Patch Set: Created Aug. 25, 2017, 1:20 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
« no previous file with comments | « skin/delete.svg ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 } 509 }
510 510
511 .controls button span:not(.icon) 511 .controls button span:not(.icon)
512 { 512 {
513 -moz-margin-start: 16px; 513 -moz-margin-start: 16px;
514 -webkit-margin-start: 16px; 514 -webkit-margin-start: 16px;
515 color: #3A7BA6; 515 color: #3A7BA6;
516 vertical-align: top; 516 vertical-align: top;
517 } 517 }
518 518
519 /*
520 Used for translatable screen reader only conten.
521 e.g.: Use instead of aria-label to avoid complex attribute value translation
522 */
523 .sr-only
524 {
525 position: absolute;
526 overflow: hidden;
527 clip: rect(0, 0, 0, 0);
528 width: 1px;
529 height: 1px;
530 margin: -1px;
531 padding: 0px;
532 border: 0px;
533 }
534
519 /* 535 /*
520 General tab content 536 General tab content
521 */ 537 */
522 538
523 #blocking-languages-dialog-table 539 #blocking-languages-dialog-table
524 { 540 {
525 border-bottom: none; 541 border-bottom: none;
526 } 542 }
527 543
528 #blocking-languages, 544 #blocking-languages,
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 body:not([data-dialog="language-change"]) #dialog-title-language-change, 1087 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, 1088 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, 1089 body:not([data-dialog="language-add"]) #dialog-body button.add,
1074 body:not([data-dialog="language-change"]) #dialog-body button.change, 1090 body:not([data-dialog="language-change"]) #dialog-body button.change,
1075 body:not([data-dialog="predefined"]) #dialog-title-predefined, 1091 body:not([data-dialog="predefined"]) #dialog-title-predefined,
1076 body:not([data-dialog="predefined"]) #dialog-content-predefined, 1092 body:not([data-dialog="predefined"]) #dialog-content-predefined,
1077 body:not([data-dialog]) #dialog 1093 body:not([data-dialog]) #dialog
1078 { 1094 {
1079 display: none; 1095 display: none;
1080 } 1096 }
1097
1098 /*
1099 Notification
1100 */
1101
1102 #notification
1103 {
1104 position: fixed;
1105 top: 0rem;
1106 left: 0rem;
1107 display: flex;
1108 padding: 1rem 1.9rem;
1109 width: 100%;
1110 box-sizing: border-box;
1111 opacity: 0.8;
1112 font-size: 1rem;
1113 color: #099CD0;
1114 background-color: #E1F2FA;
1115 }
1116
1117 #notification strong
1118 {
1119 flex: 1;
1120 text-align: center;
1121 }
1122
1123 #hide-notification
1124 {
1125 border: 0rem;
1126 padding: 0rem;
1127 margin: 0rem 1rem;
1128 background-color: transparent;
1129 cursor: pointer;
1130 }
1131
1132 #hide-notification::after
1133 {
1134 content: "";
1135 display: block;
1136 height: 1rem;
1137 width: 1rem;
1138 border: 0rem;
1139 background-color: #099DD1;
1140 -webkit-mask: url(delete.svg);
1141 mask: url(delete.svg);
1142 }
1143
1144 #hide-notification:hover::after
1145 {
1146 background-color: #5CBCE1;
1147 }
OLDNEW
« no previous file with comments | « skin/delete.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld