diff options
Diffstat (limited to 'data/extensions/spyblock@gnu.org/chrome/skin/overlay.css')
-rw-r--r-- | data/extensions/spyblock@gnu.org/chrome/skin/overlay.css | 226 |
1 files changed, 226 insertions, 0 deletions
diff --git a/data/extensions/spyblock@gnu.org/chrome/skin/overlay.css b/data/extensions/spyblock@gnu.org/chrome/skin/overlay.css new file mode 100644 index 0000000..0f58a15 --- /dev/null +++ b/data/extensions/spyblock@gnu.org/chrome/skin/overlay.css @@ -0,0 +1,226 @@ +/* + * This file is part of Adblock Plus <http://adblockplus.org/>, + * Copyright (C) 2006-2014 Eyeo GmbH + * + * Adblock Plus is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3 as + * published by the Free Software Foundation. + * + * Adblock Plus is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. + */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +#abp-status +{ + cursor: pointer; +} + +toolbar[iconsize="small"] #abp-toolbarbutton, +#PersonalToolbar #abp-toolbarbutton, +#header-view-toolbar > #abp-toolbarbutton, +#abp-status { + list-style-image: url("abp-status-16.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="disabled"], +#PersonalToolbar #abp-toolbarbutton[abpstate="disabled"], +#header-view-toolbar > #abp-toolbarbutton[abpstate="disabled"], +#abp-status[abpstate="disabled"], +toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="whitelisted"], +#PersonalToolbar #abp-toolbarbutton[abpstate="whitelisted"], +#header-view-toolbar > #abp-toolbarbutton[abpstate="whitelisted"], +#abp-status[abpstate="whitelisted"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +#abp-toolbarbutton[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #abp-toolbarbutton +{ + list-style-image: url("abp-status-32.png"); + -moz-image-region: rect(0px, 32px, 32px, 0px); +} + +#abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"], +toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"], +#abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"], +toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"] +{ + -moz-image-region: rect(32px, 32px, 64px, 0px); +} + +#abp-toolbar-popup { + list-style-image: none; + -moz-image-region: rect(0px, 0px, 0px, 0px); +} + +toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker { + display: none !important; +} + +menuitem[default="true"] { + font-weight: bold; +} + +#abp-toolbarbutton, +#abp-site-info { + list-style-image: url("abp-status.png"); + -moz-image-region: rect(0px, 24px, 24px, 0px); +} +#abp-toolbarbutton[abpstate="disabled"], +#abp-toolbarbutton[abpstate="whitelisted"], +#abp-site-info[abpaction="enable"], +#abp-site-info[abpaction="enable_site"] { + -moz-image-region: rect(24px, 24px, 48px, 0px); +} + +/* Hack: force the label to be displayed below icon for type="menu" */ +#abp-toolbarbutton[type="menu"]:not([cui-areatype="menu-panel"]) +{ + -moz-box-orient: horizontal; +} +toolbar[mode="full"] #abp-toolbarbutton[type="menu"] +{ + -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical"); +} + +/* Thunderbird-specific toolbar icon styles */ +#header-view-toolbar > #abp-toolbarbutton +{ + -moz-appearance: dualbutton; + padding: 0px !important; +} + +/* Hide toolbar icon text in Thunderbird to save space */ +#header-view-toolbar > #abp-toolbarbutton .toolbarbutton-text +{ + display: none; +} + +/* SeaMonkey expects the icon to be rather large, add margin */ +#mail-toolbox #abp-toolbarbutton .toolbarbutton-icon +{ + margin-top: 5px; +} + +#abp-status-image { + margin-left: 10px; + margin-right: 10px; +} + +#abp-site-info .pageaction-image { + width: 32px; + height: 32px; + padding: 4px; +} + +#abp-toolbarbutton > toolbarbutton { + /* Argh, Songbird defines image region directly on the anonymous toolbarbutton element */ + -moz-image-region: inherit !important; +} + +#abp-tooltip { + max-width: none; +} + +#abp-tooltip label { + font-weight: bold; + margin-bottom: 0px; +} + +#abp-tooltip description:not([hidden="true"])+label { + margin-top: 10px; +} + +#abp-bottombar-title { + padding-left: 4px; +} + +#abp-bottombar-toolbar { + display: -moz-box !important; + visibility: visible !important; +} + +#abp-bottombar-close { + padding: 4px 2px; + border-style: none !important; + -moz-user-focus: normal; + list-style-image: url("close.png"); + -moz-appearance: none; + -moz-image-region: rect(0px, 14px, 14px, 0px); +} + +#abp-bottombar-close:hover { + -moz-image-region: rect(0px, 28px, 14px, 14px); +} + +#abp-bottombar-close:hover:active { + -moz-image-region: rect(0px, 42px, 14px, 28px); +} + +.abp-contributebutton +{ + margin-top: 20px; +} + +.abp-contributebutton-btn +{ + font: -moz-info; + margin-left: 40px; + margin-right: 40px; +} + +.abp-contributebutton-close +{ + border-style: none !important; + -moz-user-focus: normal; + list-style-image: url("close.png"); + -moz-appearance: none; + -moz-image-region: rect(0px, 14px, 14px, 0px); + + /* Firefox Australis theme defines some width for all toolbaritem tags inside + * UIPanel element, the properties have to be reset to default values. */ + min-width: 0px !important; + min-height: 0px !important; + width: auto !important; + height: auto !important; +} + +.abp-contributebutton-close:hover +{ + -moz-image-region: rect(0px, 28px, 14px, 14px); +} + +#abp-notification +{ + width: 300px; +} + +#abp-notification-question +{ + display: none; + white-space: nowrap; +} + +.abp-question #abp-notification-question +{ + display: block; +} + +#abp-notification html|a +{ + cursor: pointer; + color: #0000f0; +} + +#abp-notification html|a:hover +{ + text-decoration: underline; +} |