home *** CD-ROM | disk | FTP | other *** search
- /* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-1999
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- * Jason Kersey (kerz@netscape.com)
- * Pierre Chanial (chanial@noos.fr)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
- @import url("chrome://global/skin/");
- @import url("chrome://browser/skin/extensions/extensions.css"); /*extensions*/
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- #PersonalToolbar {
- min-height: 22px;
- }
-
- /* ::::: bookmark buttons ::::: */
-
- toolbarbutton.bookmark-item {
- margin: 0;
- min-width: 0;
- max-width: 13em;
- padding: 2px 3px;
- }
-
- toolbarbutton.bookmark-item:hover:active,
- toolbarbutton.bookmark-item[open="true"] {
- padding: 3px 2px 1px 4px;
- }
-
- toolbarbutton.bookmark-item .toolbarbutton-text{
- padding-left: 3px;
- }
-
- .bookmark-item > .toolbarbutton-icon {
- width: 16px;
- height: 16px;
- }
-
- /* Prevent [mode="icons"] from hiding the label */
- .bookmark-item > .toolbarbutton-text {
- display: -moz-box !important;
- }
-
- /*
- in IE, no dropmarkers.
- in Opera, got dropmarkers.
- in Firefox, should have dropmarkers, in my opinion.
- *
- .bookmark-item > .toolbarbutton-menu-dropmarker {
- display: none;
- }
- */
-
- #wrapper-personal-bookmarks[place="palette"]{
- -moz-box-orient: horizontal !important;
- /*horizontal is better because looks more like a 'bar'*/
- }
- #wrapper-personal-bookmarks .toolbarpaletteitem-box[place="palette"]{
- width: 16px;
- height: 16px;
- /*24x24px is not intuitive because there are no large icons on the Bookmarks Toolbar!*/
- background: url("chrome://global/skin/icons/bookmark_item.png") no-repeat -32px 0 !important;
- }
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize > .toolbarbutton-text{
- margin: 0 !important;
- /*just a trivial code to remove the spaces, but won't work*/
- }
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize > .toolbarbutton-icon{
- margin-left: 2px !important;
- /*look nicer?*/
- }
-
- .bookmarks-toolbar-customize {
- display: none;
- max-width: 15em !important;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
- display: -moz-box;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize .toolbarbutton-text{
- margin: 0 !important;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
- visibility: hidden;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
- visibility: hidden;
- }
-
- /* ::::: bookmark menus ::::: (fixed bug) */
-
- menu.bookmark-item,
- menuitem.bookmark-item {
- /*min-width: 0;*/
- max-width: 26em;
- /*border-top: 1px solid transparent !important;*/
- border-bottom: 1px solid transparent !important;
- /*padding: 1px 3px 1px 2px;*/
- padding: 1px 2px;
- /*margin-top: -1px; * this is a BAD hack, dude! */
- }
-
- menupopup > .bookmark-item:first-child,
- popup > .bookmark-item:first-child,
- /* we can drag bookmarks to the top! */
- menupopup menuseparator+.bookmark-item,
- popup menuseparator+.bookmark-item
- /* we can also drag them to the bottom of a menuseparator! */{
- border-top: 1px solid transparent !important;
- }
-
- .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
- width: 16px;
- height: 16px;
- }
-
- /* ..... drag and drop styles ..... */
-
- .bookmark-item[dragover-left="true"] {
- -moz-border-left-colors: -moz-DialogText;
- }
- .bookmark-item[dragover-right="true"] {
- -moz-border-right-colors: -moz-DialogText;
- }
- .bookmark-item[dragover-top="true"] {
- -moz-border-top-colors: -moz-DialogText;
- }
- .bookmark-item[dragover-bottom="true"] {
- -moz-border-bottom-colors: -moz-DialogText;
- }
-
- /*different drag-on colors for menus*/
-
- menu.bookmark-item[dragover-top="true"],
- menuitem.bookmark-item[dragover-top="true"] {
- -moz-border-top-colors: MenuText;
- }
- menu.bookmark-item[dragover-bottom="true"],
- menuitem.bookmark-item[dragover-bottom="true"] {
- -moz-border-bottom-colors: MenuText;
- }
-
- /* ::::: bookmark items ::::: */
-
- .bookmark-item:not([livemark]){
- list-style-image: url("chrome://global/skin/icons/bookmark_item.png") !important;
- -moz-image-region: rect(0 48px 16px 32px);
- }
- toolbarbutton.bookmark-item:not([livemark]):hover{
- -moz-image-region: rect(16px 32px 32px 16px);
- }
-
- .bookmark-item[container="true"]:not([livemark]) {
- -moz-image-region: rect(0 16px 16px 0);
- }
- toolbarbutton.bookmark-item[container="true"]:not([livemark]):hover{
- -moz-image-region: rect(16px 16px 32px 0);
- }
-
- .bookmark-item[open="true"]:not([livemark]),
- .bookmark-item[container="true"][open="true"]:not([livemark]),
- menu.bookmark-item[container="true"]:hover{
- -moz-image-region: rect(0 32px 16px 16px);
- }
-
- /*bookmarklets - inspired by the Noia theme*/
- .bookmark-item[statustext^="javascript:"]{
- list-style-image: url("chrome://browser/skin/bookmarklet.png") !important;
- -moz-image-region: rect(0 16px 16px 0);
- }
- toolbarbutton.bookmark-item[statustext^="javascript:"]:hover{
- -moz-image-region: rect(0 32px 16px 16px);
- }
-
- /* livemarks */
-
- #livemark-button > menupopup > menuitem[data]{
- -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic") !important;
- /* let people recognise icons better! */
- }
-
- .bookmark-item[livemark="true"][container="true"],
- #livemark-button > menupopup > menuitem[data] {
- list-style-image: url("chrome://global/skin/icons/livemark_item.png");
- -moz-image-region: rect(0 16px 16px 0);
- }
-
- .bookmark-item[livemark="true"][open="true"],
- .bookmark-item[livemark="true"][container="true"][open="true"],
- .bookmark-item[livemark="true"][container="true"]:hover{
- -moz-image-region: rect(16px 16px 32px 0);
- }
-
- .bookmark-item[livemark="true"] > menupopup > .bookmark-item {
- list-style-image: url("chrome://global/skin/icons/livemark_item.png") !important;
- -moz-image-region: rect(0 32px 16px 16px) !important;
- }
-
- /* ::::: primary toolbar buttons ::::: */
-
- .toolbarbutton-1 {
- min-width: 0;
- list-style-image: url("chrome://browser/skin/tbar.png");
- -moz-box-orient: vertical;
- }
-
- .toolbarbutton-1[type="menu-button"],
- .toolbarbutton-1[type="menu"] {
- -moz-box-orient: horizontal;
- }
-
- toolbar[mode="icons"] toolbarbutton .toolbarbutton-text,
- toolbar[mode="text"] toolbarbutton .toolbarbutton-icon {
- display: none;
- }
-
- /*bug fix: make the text middle-align vertically in text-mode*/
- toolbar[mode="text"] toolbarbutton:not([type|="menu"]){
- -moz-box-orient: horizontal !important;
- }
-
- /* buttons */
-
- #back-button {
- -moz-image-region: rect(0 24px 24px 0);
- }
- #back-button[buttonover="true"],
- #back-button:hover {
- -moz-image-region: rect(24px 24px 48px 0);
- }
- #back-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0) !important;
- }
-
- #forward-button {
- -moz-image-region: rect(0 48px 24px 24px);
- }
- #forward-button[buttonover="true"],
- #forward-button:hover {
- -moz-image-region: rect(24px 48px 48px 24px);
- }
- #forward-button[disabled="true"] {
- -moz-image-region: rect(48px 48px 72px 24px) !important;
- }
-
- #reload-button {
- -moz-image-region: rect(0 144px 24px 120px);
- }
- #reload-button:hover {
- -moz-image-region: rect(24px 144px 48px 120px);
- }
- #reload-button[disabled="true"] {
- -moz-image-region: rect(48px 72px 72px 48px) !important;
- }
-
- #stop-button {
- -moz-image-region: rect(0 168px 24px 144px);
- }
- #stop-button:hover {
- -moz-image-region: rect(24px 168px 48px 144px);
- }
- #stop-button[disabled="true"] {
- -moz-image-region: rect(48px 96px 72px 72px) !important;
- }
-
- #home-button {
- -moz-image-region: rect(0 264px 24px 240px);
- }
- #home-button:hover {
- -moz-image-region: rect(24px 264px 48px 240px);
- }
-
- #print-button {
- -moz-image-region: rect(0 240px 24px 216px);
- }
- #print-button:hover {
- -moz-image-region: rect(24px 240px 48px 216px);
- }
-
- #new-tab-button {
- -moz-image-region: rect(0 192px 24px 168px);
- }
- #new-tab-button:hover,
- #new-tab-button[checked="true"] {
- -moz-image-region: rect(24px 192px 48px 168px);
- }
-
- #new-window-button {
- -moz-image-region: rect(0 216px 24px 192px);
- }
- #new-window-button:hover,
- #new-window-button[checked="true"]{
- -moz-image-region: rect(24px 216px 48px 192px);
- }
-
- #downloads-button {
- -moz-image-region: rect(0 96px 24px 72px);
- }
- #downloads-button:hover,
- #downloads-button[checked="true"] {
- -moz-image-region: rect(24px 96px 48px 72px);
- }
-
- #bookmarks-button {
- -moz-image-region: rect(0 72px 24px 48px);
- }
- #bookmarks-button:hover,
- #bookmarks-button[checked="true"] {
- -moz-image-region: rect(24px 72px 48px 48px);
- }
-
- #history-button {
- -moz-image-region: rect(0 120px 24px 96px);
- }
- #history-button:hover,
- #history-button[checked="true"] {
- -moz-image-region: rect(24px 120px 48px 96px);
- }
-
- #cut-button {
- -moz-image-region: rect(0 288px 24px 264px);
- }
- #cut-button:hover,
- #cut-button[checked="true"] {
- -moz-image-region: rect(24px 288px 48px 264px);
- }
- #cut-button[disabled="true"] {
- -moz-image-region: rect(48px 120px 72px 96px);
- }
-
- #copy-button {
- -moz-image-region: rect(0 312px 24px 288px);
- }
- #copy-button:hover,
- #copy-button[checked="true"] {
- -moz-image-region: rect(24px 312px 48px 288px);
- }
- #copy-button[disabled="true"] {
- -moz-image-region: rect(48px 144px 72px 120px);
- }
-
- #paste-button {
- -moz-image-region: rect(0 336px 24px 312px);
- }
- #paste-button:hover,
- #paste-button[checked="true"] {
- -moz-image-region: rect(24px 336px 48px 312px);
- }
- #paste-button[disabled="true"] {
- -moz-image-region: rect(48px 168px 72px 144px);
- }
-
- #mail-button {
- -moz-image-region: rect(0 360px 24px 336px);
- }
- #mail-button:hover,
- #mail-button[checked="true"] {
- -moz-image-region: rect(24px 360px 48px 336px);
- }
- #mail-button[disabled="true"] {
- -moz-image-region: rect(48px 192px 72px 168px);
- }
-
-
- /* ::::: small primary toolbar buttons ::::: */
-
- toolbar[iconsize="small"] .toolbarbutton-1 {
- list-style-image: url("chrome://browser/skin/tbar_small.png");
- }
-
- toolbar[iconsize="small"] #back-button {
- -moz-image-region: rect(0 16px 16px 0);
- }
- toolbar[iconsize="small"] #back-button[buttonover="true"],
- toolbar[iconsize="small"] #back-button:hover {
- -moz-image-region: rect(16px 16px 32px 0);
- }
- toolbar[iconsize="small"] #back-button[disabled="true"] {
- -moz-image-region: rect(32px 16px 48px 0) !important;
- }
-
- toolbar[iconsize="small"] #forward-button {
- -moz-image-region: rect(0 32px 16px 16px);
- }
- toolbar[iconsize="small"] #forward-button[buttonover="true"],
- toolbar[iconsize="small"] #forward-button:hover {
- -moz-image-region: rect(16px 32px 32px 16px);
- }
- toolbar[iconsize="small"] #forward-button[disabled="true"] {
- -moz-image-region: rect(32px 32px 48px 16px) !important;
- }
-
- toolbar[iconsize="small"] #reload-button {
- -moz-image-region: rect(0 96px 16px 80px);
- }
- toolbar[iconsize="small"] #reload-button:hover {
- -moz-image-region: rect(16px 96px 32px 80px);
- }
- toolbar[iconsize="small"] #reload-button[disabled="true"] {
- -moz-image-region: rect(32px 48px 48px 32px) !important;
- }
-
- toolbar[iconsize="small"] #stop-button {
- -moz-image-region: rect(0 112px 16px 96px);
- }
- toolbar[iconsize="small"] #stop-button:hover {
- -moz-image-region: rect(16px 112px 32px 96px);
- }
- toolbar[iconsize="small"] #stop-button[disabled="true"] {
- -moz-image-region: rect(32px 64px 48px 48px) !important;
- }
-
- toolbar[iconsize="small"] #home-button {
- -moz-image-region: rect(0 176px 16px 160px);
- }
- toolbar[iconsize="small"] #home-button:hover {
- -moz-image-region: rect(16px 176px 32px 160px);
- }
-
- toolbar[iconsize="small"] #print-button {
- -moz-image-region: rect(0 160px 16px 144px);
- }
- toolbar[iconsize="small"] #print-button:hover {
- -moz-image-region: rect(16px 160px 32px 144px);
- }
-
- toolbar[iconsize="small"] #downloads-button {
- -moz-image-region: rect(0 64px 16px 48px);
- }
- toolbar[iconsize="small"] #downloads-button:hover,
- toolbar[iconsize="small"] #downloads-button[checked="true"] {
- -moz-image-region: rect(16px 64px 32px 48px);
- }
-
- toolbar[iconsize="small"] #new-tab-button {
- -moz-image-region: rect(0 128px 16px 112px);
- }
- toolbar[iconsize="small"] #new-tab-button:hover,
- toolbar[iconsize="small"] #new-tab-button[checked="true"] {
- -moz-image-region: rect(16px 128px 32px 112px);
- }
-
- toolbar[iconsize="small"] #new-window-button {
- -moz-image-region: rect(0 144px 16px 128px);
- }
- toolbar[iconsize="small"] #new-window-button:hover,
- toolbar[iconsize="small"] #new-window-button[checked="true"] {
- -moz-image-region: rect(16px 144px 32px 128px);
- }
-
- toolbar[iconsize="small"] #bookmarks-button {
- -moz-image-region: rect(0 48px 16px 32px);
- }
- toolbar[iconsize="small"] #bookmarks-button:hover,
- toolbar[iconsize="small"] #bookmarks-button[checked="true"] {
- -moz-image-region: rect(16px 48px 32px 32px);
- }
-
- toolbar[iconsize="small"] #history-button {
- -moz-image-region: rect(0 80px 16px 64px);
- }
- toolbar[iconsize="small"] #history-button:hover,
- toolbar[iconsize="small"] #history-button[checked="true"] {
- -moz-image-region: rect(16px 80px 32px 64px);
- }
-
- toolbar[iconsize="small"] #cut-button {
- -moz-image-region: rect(0 192px 16px 176px);
- }
- toolbar[iconsize="small"] #cut-button:hover,
- toolbar[iconsize="small"] #cut-button[checked="true"] {
- -moz-image-region: rect(16px 192px 32px 176px);
- }
- toolbar[iconsize="small"] #cut-button[disabled="true"] {
- -moz-image-region: rect(32px 80px 48px 64px) !important;
- }
-
- toolbar[iconsize="small"] #copy-button {
- -moz-image-region: rect(0 208px 16px 192px);
- }
- toolbar[iconsize="small"] #copy-button:hover,
- toolbar[iconsize="small"] #copy-button[checked="true"] {
- -moz-image-region: rect(16px 208px 32px 192px);
- }
- toolbar[iconsize="small"] #copy-button[disabled="true"] {
- -moz-image-region: rect(32px 96px 48px 80px) !important;
- }
-
- toolbar[iconsize="small"] #paste-button {
- -moz-image-region: rect(0 224px 16px 208px);
- }
- toolbar[iconsize="small"] #paste-button:hover,
- toolbar[iconsize="small"] #paste-button[checked="true"] {
- -moz-image-region: rect(16px 224px 32px 208px);
- }
- toolbar[iconsize="small"] #paste-button[disabled="true"] {
- -moz-image-region: rect(32px 112px 48px 96px) !important;
- }
-
- toolbar[iconsize="small"] #mail-button {
- -moz-image-region: rect(0 240px 16px 224px);
- }
- toolbar[iconsize="small"] #mail-button:hover,
- toolbar[iconsize="small"] #mail-button[checked="true"] {
- -moz-image-region: rect(16px 240px 32px 224px);
- }
- toolbar[iconsize="small"] #mail-button[disabled="true"] {
- -moz-image-region: rect(32px 128px 48px 112px) !important;
- }
-
- /*
- this is specially for Mozilla/Netsape users!
- A neat trick by Aaron Spuler, slightly modified.
- http://forums.mozillazine.org/viewtopic.php?t=159454
- */
- #PersonalToolbar[currentset="home-button,personal-bookmarks"] #home-button,
- #PersonalToolbar[currentset="personal-bookmarks,home-button"] #home-button{
- list-style-image: url("chrome://browser/skin/tbar_small.png") !important;
- -moz-image-region: rect(0 176px 16px 160px);
- -moz-box-orient: horizontal;
- }
-
- #PersonalToolbar[currentset="home-button,personal-bookmarks"] #home-button:hover,
- #PersonalToolbar[currentset="personal-bookmarks,home-button"] #home-button:hover {
- -moz-image-region: rect(16px 176px 32px 160px);
- }
-
- #PersonalToolbar[currentset="home-button,personal-bookmarks"] #home-button > .toolbarbutton-text,
- #PersonalToolbar[currentset="personal-bookmarks,home-button"] #home-button > .toolbarbutton-text{
- padding-left: 3px;
- }
-
- #PersonalToolbar[currentset="home-button,personal-bookmarks"] #personal-bookmarks #bookmarks-ptf{
- margin-left: 0 !important; /*override the 'margin-left: 3px'*/
- }
-
- /* ::::: fullscreen window controls ::::: */
-
- #window-controls {
- -moz-box-align: center;
- padding: 0 2px 0 4px;
- border-left: 2px solid;
- -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
- }
-
- #minimize-button {
- list-style-image: url("chrome://global/skin/icons/minimize.gif");
- }
- #restore-button {
- list-style-image: url("chrome://global/skin/icons/restore.gif");
- }
- #close-button {
- list-style-image: url("chrome://global/skin/icons/close.gif");
- }
-
- /*some SMART fullscreen stuff*/
-
- toolbar#nav-bar[currentset*="spring"] #fullscreenflex:not([hidden="true"]){
- visibility: collapse;
- /*when there's already a spring there, this *extra* sping is useless*/
- }
-
- toolbar[moz-collapsed="true"][currentset*="urlbar-container"]:not([fullscreentoolbar="true"]){
- visibility: visible;
- /*in full screen mode, the location bar is very important, dude, at least for me*/
- }
-
- toolbar#toolbar-menubar[moz-collapsed="true"][currentset*="urlbar-container"]:not([fullscreentoolbar="true"]) #menubar-items,
- toolbar#toolbar-menubar[moz-collapsed="true"][currentset*="urlbar-container"]:not([fullscreentoolbar="true"]) #softwareupdate-item{
- visibility: collapse;
- /*the location bar is very important, but I assume the menubar and update toolbarbutton are not?*/
- }
-
- /* ::::: nav-bar-inner ::::: */
-
- #urlbar {
- margin: 0 2px !important;
- font: icon;
- }
-
- /* ::::: page proxy icon ::::: */
-
- #page-proxy-deck,
- #page-proxy-favicon,
- #page-proxy-button {
- width: 16px;
- height: 16px;
- }
-
- #page-proxy-deck {
- cursor: -moz-grab; /*why is this here? It's not working!*/
- margin: 2px;
- }
-
- #page-proxy-favicon {
- list-style-image: none;
- }
-
- #page-proxy-button {
- list-style-image: url("chrome://global/skin/icons/bookmark_item.png");
- -moz-image-region: rect(0 48px 16px 32px);
- }
-
- #page-proxy-button[pageproxystate="invalid"] {
- cursor: default;
- list-style-image: url("chrome://global/skin/icons/bookmark_item.png") !important;
- -moz-image-region: rect(0 64px 16px 48px);
- }
-
- statusbarpanel#statusbar-display {
- padding: 0;
- }
-
- /* ::::: autocomplete ::::: */
-
- .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
- /*color: #556; /*this is not a native OS color*/
- color: GrayText; /*this is a bad choice. just a temporary solution, for now.*/
- }
-
- /* ::::: go button ::::: (enhanced with SMART(tm) CSS detection :-D ) */
-
- #go-button{
- -moz-box-orient: vertical;
- list-style-image: url("chrome://browser/skin/g.png");
- -moz-image-region: rect(0 24px 24px 0);
- }
-
- #go-button:hover{
- -moz-image-region: rect(24px 24px 48px 0);
- }
-
- toolbar[iconsize="small"] #go-button,
- toolbar:not([currentset*="-button"]) #go-container > #go-button{
- -moz-image-region: rect(0 40px 16px 24px);
- }
-
- toolbar[iconsize="small"] #go-button:hover,
- toolbar:not([currentset*="-button"]) #go-container > #go-button:hover{
- -moz-image-region: rect(16px 40px 32px 24px);
- }
-
- toolbar:not([currentset*="-button"]) #go-container > #go-button{
- -moz-box-orient: horizontal;
- }
-
- toolbar:not([currentset*="-button"]) #go-container > #go-button > .toolbarbutton-text{
- padding-left: 3px;
- padding-right: 1px;
- }
-
- /*Note: I've removed codes for disabled-state go button.*/
-
- #sidebar {
- background-color: Window;
- }
-
- /* ::::: content area ::::: */
-
- #status-bar {
- border-top: 0;
- }
-
- #security-button {
- display: none;
- min-width: 20px;
- -moz-box-direction: reverse;
- }
-
- #security-button[level="high"] {
- list-style-image: url("chrome://browser/skin/security_high.png");
- display: -moz-box;
- }
-
- #security-button[level="low"] {
- list-style-image: url("chrome://browser/skin/security_low.png");
- display: -moz-box;
- }
-
- #security-button[level="broken"] {
- list-style-image: url("chrome://browser/skin/security_broken.png");
- display: -moz-box;
- }
-
- /* XXXsw prevent margins of a value-less label from shifting the image */
- #security-button > label:not([value]) {
- display: none;
- }
-
- #page-report-button {
- display: none;
- width: 20px;
- }
-
- #page-report-button[blocked] {
- display: -moz-box;
- list-style-image: url("chrome://browser/skin/page_report.png");
- -moz-image-region: rect(0 16px 16px 0);
- }
- #page-report-button[blocked]:hover {
- -moz-image-region: rect(0 32px 16px 16px);
- }
- /*
- I know, there's a clone image here, named Info.png.
- I suppose to remove it, but unfortunately, Firefox use it for the
- 'browser message' stuff *automatically*, refered from some XUL files
- */
-
- /*I know, this button has been removed, but I still want to keep this.*/
- #page-theme-button {
- display: none;
- width: 20px;
- }
-
- #page-theme-button[themes] {
- display: -moz-box;
- list-style-image: url("chrome://browser/skin/page_themes.png");
- -moz-image-region: rect(0 16px 16px 0);
- }
- #page-theme-button[themes]:hover {
- -moz-image-region: rect(0 32px 16px 16px);
- }
-
- #livemark-button {
- width: 20px;
- display: none;
- }
-
- #livemark-button[livemarks] {
- list-style-image: url("chrome://browser/skin/livemark.png");
- -moz-image-region: rect(0 16px 16px 0);
- display: -moz-box;
- }
- #livemark-button[livemarks]:hover {
- -moz-image-region: rect(16px 16px 32px 0);
- }
-
- /*all statusbar buttons should have hover state!*/
-
- /* ::::: throbber ::::: */
-
- #navigator-throbber {
- -moz-appearance: none !important;
- -moz-user-focus: ignore;
- margin: 1px 3px !important;
- border: 0 !important;
- padding: 0 !important;
- min-width: 0;
- background-color: transparent;
- list-style-image: url("chrome://browser/skin/throbber.gif");
- width: 24px;
- height: 24px;
- /*
- width and height to prevent 'jumping', since it doesn't use -moz-image-region to cache the animated version
- */
- }
-
- #navigator-throbber .button-box{
- border: 0 !important;
- padding: 0 !important;
- }
-
- #navigator-throbber[busy="true"] {
- list-style-image: url("chrome://browser/skin/throbber_loading.gif");
- }
- #navigator-throbber[busy="true"]:hover{
- cursor: wait;
- }
-
- toolbar[iconsize="small"] #navigator-throbber,
- toolbar[mode="text"] #navigator-throbber,
- /*SMART(tm) throbber placement detection! haha!*/
- toolbar:not([currentset*="-button"]) #throbber-box > #navigator-throbber{
- list-style-image: url("chrome://browser/skin/throbber_small.gif");
- width: 16px;
- height: 16px;
- }
- toolbar[iconsize="small"] #navigator-throbber[busy="true"],
- toolbar[mode="text"] #navigator-throbber[busy="true"],
- toolbar:not([currentset*="-button"]) #throbber-box > #navigator-throbber[busy="true"] {
- list-style-image: url("chrome://browser/skin/throbber_small_loading.gif");
- }
-
- /*close buttons*/
- .tabs-closebutton {
- margin-right: 1px;
- list-style-image: url("chrome://global/skin/icons/close.gif");
- min-width: 17px;
- min-height: 17px;
- }
-
- #content .tabbrowser-tabs .tabs-closebutton{
- list-style-image: url("chrome://browser/skin/close.png") !important;
- -moz-image-region: rect(0 16px 16px 0);
- }
- #content .tabbrowser-tabs .tabs-closebutton:hover,
- #content .tabbrowser-tabs .tabs-closebutton:hover:active{
- -moz-image-region: rect(16px 16px 32px 0);
- }
-
- #content browsermessage .tabs-closebutton-box{
- -moz-box-pack: start !important;
- -moz-box-align: start !important;
- }
- #content browsermessage .tabs-closebutton{
- list-style-image: url("chrome://global/skin/icons/another_close.gif");
- margin-right: 1px;
- min-width: 17px;
- min-height: 17px;
- }
- #content browsermessage:hover:active .tabs-closebutton,
- #content browsermessage:focus .tabs-closebutton{ /*trivial*/
- list-style-image: url("chrome://global/skin/icons/another_close_focus.gif");
- }
-
- /*chevrons*/
- toolbarbutton.chevron {
- list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
- }
- toolbarbutton.chevron > .toolbarbutton-icon{
- padding-bottom: 6px;
- }
-
- toolbarbutton.chevron > .toolbarbutton-text {
- display: none; /* hide chevron label */
- }
-
- toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
- display: none;
- }
-
- toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
- display: -moz-box; /* display chevron icon in text mode */
- }
-
- toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
- display: -moz-box;
- }
-
- toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
- display: none;
- }
-
- #sidebar-throbber[loading="true"] {
- list-style-image: url(chrome://global/skin/icons/loading.gif);
- margin-right: 4px;
- }
-
- /* Security URL bar*/
-
- /* I hate this! All non-native colors! Arrgh! *
- #urlbar[level="high"] > .autocomplete-textbox-container,
- #urlbar[level="low"] > .autocomplete-textbox-container,
- #urlbar[level="broken"] > .autocomplete-textbox-container {
- background-color: #F5F6BE;
- color: #000000;
- }
- */
-
- /*Ahha.. this is better...*/
- #urlbar[level="high"] > .autocomplete-textbox-container,
- #urlbar[level="low"] > .autocomplete-textbox-container{
- background: transparent url(chrome://browser/skin/bar_yellow.png);
- }
- #urlbar[level="broken"] > .autocomplete-textbox-container {
- /*broken security means more business!!*/
- background: transparent url(chrome://browser/skin/bar_red.png);
- }
-
- #urlbar[level] > .autocomplete-textbox-container > .info-icon {
- /*width: 16px;*/
- margin-right: 2px;
- /*background-repeat: no-repeat;
- background-position: center;*/
- }
- #urlbar[level="high"] > .autocomplete-textbox-container > .info-icon {
- /*background-image: url("chrome://browser/skin/security_high.png");*/
- list-style-image: url("chrome://browser/skin/security_high.png");
- }
- #urlbar[level="low"] > .autocomplete-textbox-container > .info-icon {
- /*background-image: url("chrome://browser/skin/security_low.png");*/
- list-style-image: url("chrome://browser/skin/security_low.png");
- }
- #urlbar[level="broken"] > .autocomplete-textbox-container > .info-icon {
- /*background-image: url("chrome://browser/skin/security_broken.png");*/
- list-style-image: url("chrome://browser/skin/security_broken.png");
- }