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

Side by Side Diff: chrome/skin/overlay.css

Issue 5194794401792000: Issue 384 - Wrong image shows up briefly for Adblock Plus icon (Closed)
Patch Set: Created May 9, 2014, 6:47 a.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 | « chrome/content/ui/overlay.xul ('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 <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2014 Eyeo GmbH 3 * Copyright (C) 2006-2014 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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 18 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
19 @namespace html url("http://www.w3.org/1999/xhtml"); 19 @namespace html url("http://www.w3.org/1999/xhtml");
20 20
21 #abp-status 21 #abp-status
22 { 22 {
23 cursor: pointer; 23 cursor: pointer;
24 } 24 }
25 25
26 toolbar[iconsize="small"] #abp-toolbarbutton, 26 toolbar[iconsize="small"] #abp-toolbarbutton,
27 #PersonalToolbar #abp-toolbarbutton, 27 #PersonalToolbar #abp-toolbarbutton,
28 #header-view-toolbar > #abp-toolbarbutton, 28 #header-view-toolbar > #abp-toolbarbutton,
29 #abp-status { 29 #abp-status {
30 list-style-image: url("abp-status-16.png"); 30 list-style-image: url("abp-status-16.png") !important;
31 -moz-image-region: rect(0px, 16px, 16px, 0px); 31 -moz-image-region: rect(0px, 16px, 16px, 0px);
32 } 32 }
33 toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="disabled"], 33 toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="disabled"],
34 #PersonalToolbar #abp-toolbarbutton[abpstate="disabled"], 34 #PersonalToolbar #abp-toolbarbutton[abpstate="disabled"],
35 #header-view-toolbar > #abp-toolbarbutton[abpstate="disabled"], 35 #header-view-toolbar > #abp-toolbarbutton[abpstate="disabled"],
36 #abp-status[abpstate="disabled"], 36 #abp-status[abpstate="disabled"],
37 toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="whitelisted"], 37 toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="whitelisted"],
38 #PersonalToolbar #abp-toolbarbutton[abpstate="whitelisted"], 38 #PersonalToolbar #abp-toolbarbutton[abpstate="whitelisted"],
39 #header-view-toolbar > #abp-toolbarbutton[abpstate="whitelisted"], 39 #header-view-toolbar > #abp-toolbarbutton[abpstate="whitelisted"],
40 #abp-status[abpstate="whitelisted"] { 40 #abp-status[abpstate="whitelisted"] {
41 -moz-image-region: rect(16px, 16px, 32px, 0px); 41 -moz-image-region: rect(16px, 16px, 32px, 0px);
42 } 42 }
43 43
44 #abp-toolbarbutton[cui-areatype="menu-panel"], 44 #abp-toolbarbutton[cui-areatype="menu-panel"],
45 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton 45 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton
46 { 46 {
47 list-style-image: url("abp-status-32.png"); 47 list-style-image: url("abp-status-32.png") !important;
48 -moz-image-region: rect(0px, 32px, 32px, 0px); 48 -moz-image-region: rect(0px, 32px, 32px, 0px);
49 } 49 }
50 50
51 #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"], 51 #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"],
52 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"], 52 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"],
53 #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"], 53 #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"],
54 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"] 54 toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"]
55 { 55 {
56 -moz-image-region: rect(32px, 32px, 64px, 0px); 56 -moz-image-region: rect(32px, 32px, 64px, 0px);
57 } 57 }
58 58
59 #abp-toolbar-popup { 59 #abp-toolbar-popup {
60 list-style-image: none; 60 list-style-image: none;
61 -moz-image-region: rect(0px, 0px, 0px, 0px); 61 -moz-image-region: rect(0px, 0px, 0px, 0px);
62 } 62 }
63 63
64 toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker { 64 toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker {
65 display: none !important; 65 display: none !important;
66 } 66 }
67 67
68 menuitem[default="true"] { 68 menuitem[default="true"] {
69 font-weight: bold; 69 font-weight: bold;
70 } 70 }
71 71
72 #abp-toolbarbutton, 72 #abp-toolbarbutton,
73 #abp-site-info { 73 #abp-site-info {
74 list-style-image: url("abp-status.png"); 74 list-style-image: url("abp-status.png") !important;
75 -moz-image-region: rect(0px, 24px, 24px, 0px); 75 -moz-image-region: rect(0px, 24px, 24px, 0px);
76 } 76 }
77 #abp-toolbarbutton[abpstate="disabled"], 77 #abp-toolbarbutton[abpstate="disabled"],
78 #abp-toolbarbutton[abpstate="whitelisted"], 78 #abp-toolbarbutton[abpstate="whitelisted"],
79 #abp-site-info[abpaction="enable"], 79 #abp-site-info[abpaction="enable"],
80 #abp-site-info[abpaction="enable_site"] { 80 #abp-site-info[abpaction="enable_site"] {
81 -moz-image-region: rect(24px, 24px, 48px, 0px); 81 -moz-image-region: rect(24px, 24px, 48px, 0px);
82 } 82 }
83 83
84 /* Hack: force the label to be displayed below icon for type="menu" */ 84 /* Hack: force the label to be displayed below icon for type="menu" */
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 #abp-notification html|a 217 #abp-notification html|a
218 { 218 {
219 cursor: pointer; 219 cursor: pointer;
220 color: #0000f0; 220 color: #0000f0;
221 } 221 }
222 222
223 #abp-notification html|a:hover 223 #abp-notification html|a:hover
224 { 224 {
225 text-decoration: underline; 225 text-decoration: underline;
226 } 226 }
OLDNEW
« no previous file with comments | « chrome/content/ui/overlay.xul ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld