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

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

Issue 29592569: Issue 5943 - Implement Updates Page for Adblock Plus extension (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Addressed second round of feedback Created Nov. 6, 2017, 4:02 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 | « locale/en_US/updates.json ('k') | skin/icons/attention.svg » ('j') | 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 height: 1.3rem; 203 height: 1.3rem;
204 } 204 }
205 205
206 button[role="checkbox"][disabled].toggle 206 button[role="checkbox"][disabled].toggle
207 { 207 {
208 background-image: none; 208 background-image: none;
209 } 209 }
210 210
211 button.delete::before 211 button.delete::before
212 { 212 {
213 background-image: url(icons/trash.svg#default); 213 -webkit-mask: url(icons/trash.svg);
214 } 214 mask: url(icons/trash.svg);
215
216 button.delete:hover::before
217 {
218 background-image: url(icons/trash.svg#hover);
219 } 215 }
220 216
221 button.gear::before 217 button.gear::before
222 { 218 {
223 background-image: url(icons/gear.svg#default); 219 -webkit-mask: url(icons/gear.svg);
224 } 220 mask: url(icons/gear.svg);
225
226 button.gear:hover::before
227 {
228 background-image: url(icons/gear.svg#hover);
229 } 221 }
230 222
231 button.gear, 223 button.gear,
232 button.delete 224 button.delete
233 { 225 {
234 border: 0px; 226 border: 0px;
235 padding: 0px; 227 padding: 0px;
236 background-color: transparent; 228 background-color: transparent;
237 } 229 }
238 230
239 button.gear::before, 231 button.gear::before,
240 button.delete::before 232 button.delete::before
241 { 233 {
242 content: ""; 234 content: "";
243 display: block; 235 display: block;
244 height: 1.9rem; 236 height: 1.9rem;
245 width: 1.9rem; 237 width: 1.9rem;
238 background-color: #099DD1;
239 }
240
241 button.gear:hover::before,
242 button.delete:hover::before
243 {
244 background-color: #5CBCE1;
246 } 245 }
247 246
248 button.link, 247 button.link,
249 button.list 248 button.list
250 { 249 {
251 color: #099CD0; 250 color: #099CD0;
252 } 251 }
253 252
254 button.link 253 button.link
255 { 254 {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 369
371 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, 370 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before,
372 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re 371 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re
373 { 372 {
374 left: 0rem; 373 left: 0rem;
375 right: auto; 374 right: auto;
376 } 375 }
377 376
378 [data-validation] .floating-input input:focus:invalid ~ .attention::before 377 [data-validation] .floating-input input:focus:invalid ~ .attention::before
379 { 378 {
380 background-image: url(icons/attention.svg); 379 background-color: #C11D27;
380 -webkit-mask: url(icons/attention.svg);
381 mask: url(icons/attention.svg);
381 } 382 }
382 383
383 [data-validation] .floating-input input:valid ~ .attention::before 384 [data-validation] .floating-input input:valid ~ .attention::before
384 { 385 {
385 top: 0.8rem; 386 top: 0.8rem;
386 background-image: url(icons/checkmark.svg#approved); 387 background-color: green;
388 -webkit-mask: url(icons/checkmark.svg);
389 mask: url(icons/checkmark.svg);
387 } 390 }
388 391
389 [data-validation] .floating-input input ~ .error-msg 392 [data-validation] .floating-input input ~ .error-msg
390 { 393 {
391 margin-top: 0.5rem; 394 margin-top: 0.5rem;
392 color: #C11D27; 395 color: #C11D27;
393 display: block; 396 display: block;
394 visibility: hidden; 397 visibility: hidden;
395 } 398 }
396 399
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 #dialog .table.list li button[aria-checked="true"] 866 #dialog .table.list li button[aria-checked="true"]
864 { 867 {
865 color: #BBB; 868 color: #BBB;
866 } 869 }
867 870
868 #dialog .table.list li button[aria-checked="true"]::before 871 #dialog .table.list li button[aria-checked="true"]::before
869 { 872 {
870 content: ""; 873 content: "";
871 width: 1.3rem; 874 width: 1.3rem;
872 height: 1.3rem; 875 height: 1.3rem;
873 background-image: url(icons/checkmark.svg#default); 876 background-color: #BBB;
877 -webkit-mask: url(icons/checkmark.svg);
878 mask: url(icons/checkmark.svg);
874 margin: 0rem; 879 margin: 0rem;
875 } 880 }
876 881
877 #dialog .table.list li button .display 882 #dialog .table.list li button .display
878 { 883 {
879 flex: none; 884 flex: none;
880 margin: 0rem 0.8rem; 885 margin: 0rem 0.8rem;
881 text-transform: none; 886 text-transform: none;
882 } 887 }
883 888
(...skipping 12 matching lines...) Expand all
896 text-decoration: none; 901 text-decoration: none;
897 cursor: help; 902 cursor: help;
898 } 903 }
899 904
900 .tooltip::before 905 .tooltip::before
901 { 906 {
902 content: ""; 907 content: "";
903 width: 1.3rem; 908 width: 1.3rem;
904 height: 1.3rem; 909 height: 1.3rem;
905 display: block; 910 display: block;
906 background-image: url(icons/tooltip.svg); 911 background-color: #099DD1;
912 -webkit-mask: url(icons/tooltip.svg);
913 mask: url(icons/tooltip.svg);
907 } 914 }
908 915
909 /* 916 /*
910 Used for translatable screen reader only conten. 917 Used for translatable screen reader only conten.
911 e.g.: Use instead of aria-label to avoid complex attribute value translation 918 e.g.: Use instead of aria-label to avoid complex attribute value translation
912 */ 919 */
913 .sr-only 920 .sr-only
914 { 921 {
915 position: absolute; 922 position: absolute;
916 overflow: hidden; 923 overflow: hidden;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 { 1171 {
1165 background-color: #E1F2FA; 1172 background-color: #E1F2FA;
1166 cursor: pointer; 1173 cursor: pointer;
1167 } 1174 }
1168 1175
1169 .context-menu li[role="menuitem"] > *::before 1176 .context-menu li[role="menuitem"] > *::before
1170 { 1177 {
1171 content: ""; 1178 content: "";
1172 height: 1.5rem; 1179 height: 1.5rem;
1173 width: 1.5rem; 1180 width: 1.5rem;
1181 background-color: #099DD1;
1174 margin: 0rem 1.1rem; 1182 margin: 0rem 1.1rem;
1175 } 1183 }
1176 1184
1177 .context-menu .update-subscription::before 1185 .context-menu .update-subscription::before
1178 { 1186 {
1179 background-image: url(icons/reload.svg); 1187 -webkit-mask: url(icons/reload.svg);
1188 mask: url(icons/reload.svg);
1180 } 1189 }
1181 1190
1182 .context-menu .website::before 1191 .context-menu .website::before
1183 { 1192 {
1184 background-image: url(icons/globe.svg); 1193 -webkit-mask: url(icons/globe.svg);
1194 mask: url(icons/globe.svg);
1185 } 1195 }
1186 1196
1187 .context-menu .source::before 1197 .context-menu .source::before
1188 { 1198 {
1189 background-image: url(icons/code.svg); 1199 -webkit-mask: url(icons/code.svg);
1200 mask: url(icons/code.svg);
1190 } 1201 }
1191 1202
1192 .context-menu .delete::before 1203 .context-menu .delete::before
1193 { 1204 {
1194 background-image: url(icons/trash.svg#default); 1205 -webkit-mask: url(icons/trash.svg);
1206 mask: url(icons/trash.svg);
1195 } 1207 }
1196 1208
1197 /* 1209 /*
1198 Help tab content 1210 Help tab content
1199 */ 1211 */
1200 1212
1201 html:not([lang="zh"]) #social-chinese, 1213 html:not([lang="zh"]) #social-chinese,
1202 html[lang="zh"] #social-general 1214 html[lang="zh"] #social-general
1203 { 1215 {
1204 display: none; 1216 display: none;
(...skipping 18 matching lines...) Expand all
1223 text-align: center; 1235 text-align: center;
1224 } 1236 }
1225 1237
1226 #social ul li a::before 1238 #social ul li a::before
1227 { 1239 {
1228 display: block; 1240 display: block;
1229 margin: 0em auto; 1241 margin: 0em auto;
1230 width: 2.5rem; 1242 width: 2.5rem;
1231 height: 2.5rem; 1243 height: 2.5rem;
1232 content: ""; 1244 content: "";
1245 background-color: #099DD1;
1233 } 1246 }
1234 1247
1235 #twitter::before 1248 #twitter::before
1236 { 1249 {
1237 background-image: url("social/twitter.svg"); 1250 -webkit-mask: url("social/twitter.svg");
1251 mask: url("social/twitter.svg");
1238 } 1252 }
1239 1253
1240 #facebook::before 1254 #facebook::before
1241 { 1255 {
1242 background-image: url("social/facebook.svg"); 1256 -webkit-mask: url("social/facebook.svg");
1257 mask: url("social/facebook.svg");
1243 } 1258 }
1244 1259
1245 #google-plus::before 1260 #google-plus::before
1246 { 1261 {
1247 background-image: url("social/googleplus.svg"); 1262 -webkit-mask: url("social/googleplus.svg");
1263 mask: url("social/googleplus.svg");
1248 } 1264 }
1249 1265
1250 /* 1266 /*
1251 Dialog 1267 Dialog
1252 */ 1268 */
1253 1269
1254 #dialog-background 1270 #dialog-background
1255 { 1271 {
1256 display: none; 1272 display: none;
1257 position: fixed; 1273 position: fixed;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 } 1323 }
1308 1324
1309 #dialog-close::before, 1325 #dialog-close::before,
1310 #hide-notification::after 1326 #hide-notification::after
1311 { 1327 {
1312 content: ""; 1328 content: "";
1313 display: block; 1329 display: block;
1314 height: 1rem; 1330 height: 1rem;
1315 width: 1rem; 1331 width: 1rem;
1316 border: 0rem; 1332 border: 0rem;
1317 background-image: url(icons/delete.svg#primary); 1333 background-color: #FFF;
1334 -webkit-mask: url(icons/delete.svg);
1335 mask: url(icons/delete.svg);
1318 } 1336 }
1319 1337
1320 #dialog-close:hover::before 1338 #dialog-close:hover::before
1321 { 1339 {
1322 background-image: url(icons/delete.svg#primary-hover); 1340 background-color: #000;
1323 } 1341 }
1324 1342
1325 #dialog #dialog-body 1343 #dialog #dialog-body
1326 { 1344 {
1327 max-height: 60vh; 1345 max-height: 60vh;
1328 overflow: auto; 1346 overflow: auto;
1329 } 1347 }
1330 1348
1331 .dialog-content 1349 .dialog-content
1332 { 1350 {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 text-align: center; 1452 text-align: center;
1435 } 1453 }
1436 1454
1437 #hide-notification 1455 #hide-notification
1438 { 1456 {
1439 margin: 0rem 1rem; 1457 margin: 0rem 1rem;
1440 } 1458 }
1441 1459
1442 #hide-notification::after 1460 #hide-notification::after
1443 { 1461 {
1444 background-image: url(icons/delete.svg#secondary); 1462 background-color: #099DD1;
1445 } 1463 }
1446 1464
1447 #hide-notification:hover::after 1465 #hide-notification:hover::after
1448 { 1466 {
1449 background-image: url(icons/delete.svg#secondary-hover); 1467 background-color: #5CBCE1;
1450 } 1468 }
OLDNEW
« no previous file with comments | « locale/en_US/updates.json ('k') | skin/icons/attention.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld