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

Side by Side Diff: skin/options.css

Issue 29339527: Issue 3892 - Disable button if input is invalid when adding subscriptions or filters (Closed)
Patch Set: Created April 6, 2016, 10:43 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-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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"], input[type="search"], input[type="url"]
95 { 95 {
96 -webkit-box-sizing: border-box; 96 -webkit-box-sizing: border-box;
97 -moz-box-sizing: border-box; 97 -moz-box-sizing: border-box;
98 box-sizing: border-box; 98 box-sizing: border-box;
99 } 99 }
100 100
101 button[role="checkbox"] 101 button[role="checkbox"]
102 { 102 {
103 vertical-align: top; 103 vertical-align: top;
104 width: 18px; 104 width: 18px;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 { 385 {
386 vertical-align: top; 386 vertical-align: top;
387 } 387 }
388 388
389 .table.cols 389 .table.cols
390 { 390 {
391 border-bottom: 1px solid #CDCDCD; 391 border-bottom: 1px solid #CDCDCD;
392 border-top: 1px solid #CDCDCD; 392 border-top: 1px solid #CDCDCD;
393 } 393 }
394 394
395 button[disabled="true"] 395 button[role="checkbox"]:disabled
396 { 396 {
397 border-radius: 2px; 397 border-radius: 2px;
398 background-color: #ccc; 398 background-color: #ccc;
399 } 399 }
400 400
401 #dialog-body button:disabled,
402 #custom-filters-add button:disabled
403 {
404 color: #A4A4A4;
405 cursor: default;
406 }
407
408 #dialog-body button:disabled::before
409 {
410 background-position: -49px -51px;
411 }
412
413 #custom-filters-add button:disabled::after
414 {
415 background-position: -18px -32px;
416 }
417
401 .table button.delete 418 .table button.delete
402 { 419 {
403 background-color: transparent; 420 background-color: transparent;
404 background-position: -9px -32px; 421 background-position: -9px -32px;
405 border: 0px; 422 border: 0px;
406 height: 10px; 423 height: 10px;
407 margin-top: 5px; 424 margin-top: 5px;
408 -moz-margin-end: 20px; 425 -moz-margin-end: 20px;
409 -webkit-margin-end: 20px; 426 -webkit-margin-end: 20px;
410 padding: 0px; 427 padding: 0px;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 cursor: pointer; 491 cursor: pointer;
475 height: 18px; 492 height: 18px;
476 width: 18px; 493 width: 18px;
477 } 494 }
478 495
479 #content-help a::before, 496 #content-help a::before,
480 #dialog-body button::before 497 #dialog-body button::before
481 { 498 {
482 background-position: 0px -42px; 499 background-position: 0px -42px;
483 content: ""; 500 content: "";
484 cursor: pointer;
Sebastian Noack 2016/04/06 22:46:01 This was redundant, as we already set "cursor" to
485 height: 11px; 501 height: 11px;
486 vertical-align: middle; 502 vertical-align: middle;
487 width: 7px; 503 width: 7px;
488 -moz-margin-end: 12px; 504 -moz-margin-end: 12px;
489 -webkit-margin-end: 12px; 505 -webkit-margin-end: 12px;
490 } 506 }
491 507
492 .controls 508 .controls
493 { 509 {
494 border-top: 1px solid #CDCDCD; 510 border-top: 1px solid #CDCDCD;
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 height: 15px; 888 height: 15px;
873 -webkit-margin-end: 10px; 889 -webkit-margin-end: 10px;
874 -moz-margin-end: 10px; 890 -moz-margin-end: 10px;
875 margin-bottom: -2px; 891 margin-bottom: -2px;
876 width: 1px; 892 width: 1px;
877 } 893 }
878 894
879 #custom-filters-add button::after 895 #custom-filters-add button::after
880 { 896 {
881 content: ""; 897 content: "";
882 background-position: -28px -32px; 898 background-position: -27px -32px;
Sebastian Noack 2016/04/06 22:46:02 This position was wrong. The icon is actually just
883 cursor: pointer;
884 height: 10px; 899 height: 10px;
885 -webkit-margin-start: 6px; 900 -webkit-margin-start: 6px;
886 -moz-margin-start: 6px; 901 -moz-margin-start: 6px;
887 width: 10px; 902 width: 10px;
888 } 903 }
889 904
890 /* 905 /*
891 Tooltips 906 Tooltips
892 */ 907 */
893 908
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 1232
1218 #dialog h3, 1233 #dialog h3,
1219 #dialog label 1234 #dialog label
1220 { 1235 {
1221 font-size: 14px; 1236 font-size: 14px;
1222 font-weight: 600; 1237 font-weight: 600;
1223 margin: 0px; 1238 margin: 0px;
1224 } 1239 }
1225 1240
1226 #dialog input[type="text"], 1241 #dialog input[type="text"],
1227 #dialog input[type="search"] 1242 #dialog input[type="search"],
1243 #dialog input[type="url"]
1228 { 1244 {
1229 font-size: 16px; 1245 font-size: 16px;
1230 margin-top: 10px; 1246 margin-top: 10px;
1231 padding: 5px; 1247 padding: 5px;
1232 width: 100%; 1248 width: 100%;
1233 } 1249 }
1234 1250
1235 #dialog .table 1251 #dialog .table
1236 { 1252 {
1237 width: 100%; 1253 width: 100%;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 #other-language .button-add::before 1338 #other-language .button-add::before
1323 { 1339 {
1324 display: none; 1340 display: none;
1325 } 1341 }
1326 1342
1327 #other-language .display 1343 #other-language .display
1328 { 1344 {
1329 -webkit-margin-start: 10px; 1345 -webkit-margin-start: 10px;
1330 -moz-margin-start: 10px; 1346 -moz-margin-start: 10px;
1331 } 1347 }
OLDNEW
« options.js ('K') | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld