gecko-dev/browser/base/skin/browser.css

829 строки
23 KiB
CSS
Исходник Обычный вид История

2002-08-04 06:55:51 +04:00
/* ***** 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.
*
2002-08-07 11:39:50 +04:00
* The Initial Developer of the Original Code is
2002-08-04 06:55:51 +04:00
* 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)
2002-08-04 06:55:51 +04:00
*
* Alternatively, the contents of this file may be used under the terms of
2002-08-07 11:39:50 +04:00
* either the GNU General Public License Version 2 or later (the "GPL"), or
2002-08-04 06:55:51 +04:00
* 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 ***** */
2002-09-26 23:02:34 +04:00
@import url("chrome://global/skin/");
2002-08-04 06:55:51 +04:00
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#PersonalToolbar {
min-height: 26px;
}
2002-08-07 11:39:50 +04:00
/* ::::: bookmark buttons ::::: */
2002-08-07 11:39:50 +04:00
toolbarbutton.bookmark-item {
margin: 0;
2002-08-07 11:39:50 +04:00
min-width: 0;
max-width: 13em;
2002-09-28 15:47:29 +04:00
padding: 2px 3px;
color: black !important;
2002-09-28 15:47:29 +04:00
}
toolbarbutton.bookmark-item:not([container="true"]) {
-moz-appearance: none;
cursor: default;
border: 1px solid transparent !important;
2002-08-07 11:39:50 +04:00
}
toolbarbutton.bookmark-item:not([container="true"]):hover {
-moz-border-top-colors: transparent !important;
-moz-border-right-colors: transparent !important;
-moz-border-bottom-colors: transparent !important;
-moz-border-left-colors: transparent !important;
text-decoration: underline;
cursor: pointer;
}
2002-09-28 15:47:29 +04:00
toolbarbutton.bookmark-item:hover:active,
toolbarbutton.bookmark-item[open="true"] {
padding: 3px 2px 1px 4px;
2002-08-07 11:39:50 +04:00
}
.bookmark-item > .toolbarbutton-icon {
width: 16px;
2002-08-07 11:39:50 +04:00
height: 16px;
}
/* Prevent [mode="icons"] from hiding the label */
.bookmark-item > .toolbarbutton-text {
display: -moz-box !important;
}
2002-08-07 11:39:50 +04:00
.bookmark-item > .toolbarbutton-menu-dropmarker {
display: none;
}
.toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
width: 42px;
height: 42px;
background: url("chrome://browser/skin/bookmarks-large.png") no-repeat;
}
.bookmarks-toolbar-customize {
display: none;
max-width: 15em !important;
}
toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
display: -moz-box;
}
toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
visibility: hidden;
}
toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
visibility: hidden;
}
2002-08-07 11:39:50 +04:00
/* ::::: bookmark menus ::::: */
2002-08-07 11:39:50 +04:00
menu.bookmark-item,
menuitem.bookmark-item {
min-width: 0;
max-width: 26em;
2002-08-07 11:39:50 +04:00
border-top: 1px solid transparent !important;
border-bottom: 1px solid transparent !important;
padding: 1px 3px 1px 2px;
margin-top: -1px;
2002-08-07 11:39:50 +04:00
}
2002-10-10 10:40:31 +04:00
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
width: 16px;
height: 16px;
}
2002-08-07 11:39:50 +04:00
/* ..... drag and drop styles ..... */
2002-09-28 15:47:29 +04:00
.bookmark-item[dragover-left="true"] {
-moz-border-left-colors: #000000;
2002-08-07 11:39:50 +04:00
}
.bookmark-item[dragover-right="true"] {
-moz-border-right-colors: #000000;
2002-08-07 11:39:50 +04:00
}
.bookmark-item[dragover-top="true"] {
-moz-border-top-colors: #000000;
}
.bookmark-item[dragover-bottom="true"] {
-moz-border-bottom-colors: #000000;
2002-08-07 11:39:50 +04:00
}
/* ::::: bookmark items ::::: */
.bookmark-item {
2002-08-07 11:39:50 +04:00
margin: 0px 2px;
2002-10-11 00:34:13 +04:00
list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
-moz-image-region: rect(0px 16px 16px 0px);
2002-08-07 11:39:50 +04:00
}
.bookmark-item:hover {
-moz-image-region: rect(0px 32px 16px 16px);
2002-08-07 11:39:50 +04:00
}
.bookmark-item:active {
-moz-image-region: rect(0px 48px 16px 32px);
2002-08-07 11:39:50 +04:00
}
.bookmark-item[container="true"] {
2002-10-11 00:34:13 +04:00
list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
-moz-image-region: rect(16px 16px 32px 0px);
2002-08-07 11:39:50 +04:00
}
.bookmark-item[container="true"]:hover {
-moz-image-region: rect(16px 32px 32px 16px);
2002-08-07 11:39:50 +04:00
}
.bookmark-item[open="true"],
.bookmark-item[container="true"][open="true"] {
-moz-image-region: rect(16px 48px 32px 32px);
2002-08-07 11:39:50 +04:00
}
.groupmark-item {
width: 16px;
height: 16px;
margin: 0px 2px;
padding: 1px 3px 1px 2px;
list-style-image: url("chrome://browser/skin/bookmarks-menuicons.png") !important;
-moz-image-region: rect(0px 16px 16px 0px);
}
/* ::::: primary toolbar buttons ::::: */
2002-08-07 11:39:50 +04:00
.toolbarbutton-1 {
-moz-appearance: none !important;
-moz-box-orient: vertical;
min-width: 0px;
padding: 2px 0px !important;
margin: 0px !important;
border: 0px !important;
}
2002-08-09 11:08:44 +04:00
toolbarbutton:not([disabled="true"]):hover,
menubutton:not([disabled="true"]):hover,
toolbarbutton:not([disabled="true"]):hover:active,
menubutton:not([disabled="true"]):hover:active {
color: black !important;
2002-08-04 06:55:51 +04:00
}
.toolbarbutton-menubutton-button {
-moz-appearance: none !important;
}
.toolbarbutton-menubutton-stack,
.toolbarbutton-menubutton-button,
.toolbarbutton-menubutton-stack:hover,
.toolbarbutton-menubutton-button:hover,
.toolbarbutton-menubutton-stack:hover:active,
.toolbarbutton-menubutton-button:hover:active {
border: 0px !important;
padding: 0px !important;
margin: 0px !important;
}
.toolbarbutton-menubutton-dropmarker {
list-style-image: url("chrome://browser/skin/dropmarker.png");
-moz-image-region: rect(0 14px 15px 0px) !important;
}
toolbarbutton:hover > stack > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(0 29px 15px 15px) !important;
}
toolbarbutton[disabled="true"] > stack > .toolbarbutton-menubutton-dropmarker,
toolbarbutton[disabled="true"]:hover > stack > .toolbarbutton-menubutton-dropmarker {
list-style-image: url("chrome://browser/skin/dropmarker.png") !important;
-moz-image-region: rect(0px 44px 15px 30px) !important;
}
toolbarbutton[open="true"] > stack > .toolbarbutton-menubutton-dropmarker {
-moz-image-region: rect(0 59px 15px 45px) !important;
}
#back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
#forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker {
margin-left: 38px;
margin-top: 8px;
}
toolbar[mode="icons"] #back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
toolbar[mode="icons"] #forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker {
margin-left: 38px;
margin-top: 22px;
}
toolbar[iconsize="small"] #back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize="small"] #forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker
{
margin-left: 20px;
margin-top: 0px;
}
toolbar[iconsize="small"][mode="icons"] #back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize="small"][mode="icons"] #forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker
{
margin-left: 18px;
margin-top: 12px;
}
toolbar[mode="icons"] .toolbarbutton-text {
display: none;
}
toolbar[mode="icons"] .toolbarbutton-icon {
padding: 0px 0px 2px 0px important;
}
toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
toolbar[mode="text"] .toolbarbutton-icon {
display: none;
}
toolbar[mode="text"] .toolbarbutton-text {
padding: 4px 4px 5px 4px !important;
margin: 5px !important;
}
2002-08-09 11:08:44 +04:00
2002-08-04 06:55:51 +04:00
#back-button {
2002-08-08 08:08:22 +04:00
-moz-binding: url('chrome://browser/skin/browser.xml#toolbar-menu-button');
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/back-large.png");
-moz-image-region: rect(0px 46px 42px 0px);
-moz-box-orient: vertical;
2002-08-04 06:55:51 +04:00
}
#back-button[buttonover="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 100px 42px 54px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#back-button[disabled="true"] {
-moz-image-region: rect(0px 154px 42px 108px);
2002-08-04 06:55:51 +04:00
}
#back-button[buttondown="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 208px 42px 162px);
2002-08-04 06:55:51 +04:00
}
#forward-button {
2002-08-08 08:08:22 +04:00
-moz-binding: url('chrome://browser/skin/browser.xml#toolbar-menu-button');
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/forward-large.png");
-moz-image-region: rect(0px 46px 42px 0px);
-moz-box-orient: vertical;
2002-08-04 06:55:51 +04:00
}
#forward-button[buttonover="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 100px 42px 54px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#forward-button[disabled="true"] {
-moz-image-region: rect(0px 154px 42px 108px) !important;
2002-08-04 06:55:51 +04:00
}
#forward-button[buttondown="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 208px 42px 162px);
2002-08-04 06:55:51 +04:00
}
#reload-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/reload-large.png");
-moz-image-region: rect(0px 40px 42px 0px);
2002-08-07 07:40:39 +04:00
}
2002-08-07 07:51:18 +04:00
#reload-button:hover {
-moz-image-region: rect(0px 81px 42px 41px);
2002-08-07 11:39:50 +04:00
}
#reload-button[disabled="true"] {
-moz-image-region: rect(0px 122px 42px 82px) !important;
2002-08-04 06:55:51 +04:00
}
#reload-button:hover:active {
-moz-image-region: rect(0px 163px 42px 123px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
2002-08-04 06:55:51 +04:00
#stop-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/stop-large.png");
-moz-image-region: rect(0px 40px 42px 0px);
2002-08-07 11:39:50 +04:00
}
#stop-button:hover {
-moz-image-region: rect(0px 81px 42px 41px);
2002-08-07 07:51:18 +04:00
}
2002-08-04 06:55:51 +04:00
#stop-button[disabled="true"] {
-moz-image-region: rect(0px 122px 42px 82px) !important;
2002-08-07 11:39:50 +04:00
}
#stop-button:hover:active {
-moz-image-region: rect(0px 163px 42px 123px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#home-button {
list-style-image: url("chrome://browser/skin/home-large.png") !important;
-moz-image-region: rect(0px 40px 42px 0px);
2002-08-07 11:39:50 +04:00
}
#home-button:hover {
-moz-image-region: rect(0px 94px 42px 54px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#home-button[disabled="true"] {
-moz-image-region: rect(0px 148px 42px 108px) !important;
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#home-button:hover:active {
-moz-image-region: rect(0px 202px 42px 162px);
2002-08-07 11:39:50 +04:00
}
2002-08-04 06:55:51 +04:00
#print-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/print-large.png");
-moz-image-region: rect(0px 46px 42px 0px);
2002-08-04 06:55:51 +04:00
}
#print-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 100px 42px 54px);
2002-08-04 06:55:51 +04:00
}
#print-button:hover:active {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 208px 42px 162px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
#print-button[disabled="true"] {
-moz-image-region: rect(0px 154px 42px 108px) !important;
2002-08-04 06:55:51 +04:00
}
#search-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/search-large.png");
-moz-image-region: rect(0px 32px 32px 0px) !important;
2002-08-04 06:55:51 +04:00
}
#search-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 65px 32px 33px) !important;
}
#search-button[disabled="true"] {
-moz-image-region: rect(0px 98px 32px 66px) !important;
2002-08-04 06:55:51 +04:00
}
2002-08-07 07:40:39 +04:00
#search-button:hover:active {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 131px 32px 99px) !important;
2002-08-07 07:51:18 +04:00
}
#new-tab-button {
list-style-image: url("chrome://browser/skin/newtab-large.png");
-moz-image-region: rect(0px 42px 42px 0px);
}
#new-tab-button:hover {
-moz-image-region: rect(0px 96px 42px 54px);
}
#new-tab-button[disabled="true"] {
-moz-image-region: rect(0px 150px 42px 108px);
}
#new-tab-button:hover:active,
#new-tab-button[checked="true"] {
-moz-image-region: rect(0px 204px 42px 162px);
}
#new-window-button {
list-style-image: url("chrome://browser/skin/newwindow-large.png");
-moz-image-region: rect(0px 42px 42px 0px);
}
#new-window-button:hover {
-moz-image-region: rect(0px 96px 42px 54px);
}
#new-window-button[disabled="true"] {
-moz-image-region: rect(0px 150px 42px 108px);
}
#new-window-button:hover:active,
#new-window-button[checked="true"] {
-moz-image-region: rect(0px 204px 42px 162px);
}
#downloads-button {
list-style-image: url("chrome://browser/skin/downloads-large.png");
-moz-image-region: rect(0px 42px 42px 0px);
}
#downloads-button:hover {
-moz-image-region: rect(0px 96px 42px 54px);
}
#downloads-button[disabled="true"] {
-moz-image-region: rect(0px 150px 42px 108px);
}
#downloads-button:hover:active,
#downloads-button[checked="true"] {
-moz-image-region: rect(0px 204px 42px 162px);
}
#bookmarks-button {
list-style-image: url("chrome://browser/skin/bookmarks-large.png");
-moz-image-region: rect(0px 42px 42px 0px);
}
#bookmarks-button:hover {
-moz-image-region: rect(0px 96px 42px 54px);
}
#bookmarks-button[disabled="true"] {
-moz-image-region: rect(0px 150px 42px 108px);
}
#bookmarks-button:hover:active,
#bookmarks-button[checked="true"] {
-moz-image-region: rect(0px 204px 42px 162px);
}
#history-button {
list-style-image: url("chrome://browser/skin/history-large.png");
-moz-image-region: rect(0px 42px 42px 0px);
}
#history-button:hover {
-moz-image-region: rect(0px 96px 42px 54px);
}
#history-button[disabled="true"] {
-moz-image-region: rect(0px 150px 42px 108px);
}
#history-button:hover:active,
#history-button[checked="true"] {
-moz-image-region: rect(0px 204px 42px 162px);
}
2002-08-07 11:39:50 +04:00
/* ::::: small primary toolbar buttons ::::: */
toolbar[iconsize="small"] #back-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/back-forward-small.png") !important;
-moz-image-region: rect(0px 28px 25px 0px);
2002-08-07 07:51:18 +04:00
}
2002-08-09 11:08:44 +04:00
toolbar[iconsize="small"] #back-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 56px 25px 28px);
2002-08-07 07:51:18 +04:00
}
toolbar[iconsize="small"] #back-button[buttondown="true"] {
-moz-image-region: rect(0px 112px 25px 84px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #back-button[disabled="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 84px 25px 56px);
2002-08-07 07:51:18 +04:00
}
2002-08-07 11:39:50 +04:00
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #forward-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/back-forward-small.png") !important;
-moz-image-region: rect(25px 28px 50px 0px);
2002-08-07 07:51:18 +04:00
}
2002-08-09 11:08:44 +04:00
toolbar[iconsize="small"] #forward-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(25px 56px 50px 28px);
2002-08-04 06:55:51 +04:00
}
toolbar[iconsize="small"] #forward-button[buttondown="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(25px 84px 50px 56px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #forward-button[disabled="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(25px 112px 50px 84px) !important;
2002-08-04 06:55:51 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #reload-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/reload-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
2002-08-04 06:55:51 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #reload-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 48px 25px 24px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #reload-button:hover:active {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 72px 25px 48px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #reload-button[disabled="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #stop-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/stop-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #stop-button:hover {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 48px 25px 24px);
2002-08-04 06:55:51 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #stop-button:hover:active {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 72px 25px 48px);
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #stop-button[disabled="true"] {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #home-button {
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/home-small.png") !important;
-moz-image-region: rect(0px 28px 25px 0px);
2002-08-07 11:39:50 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #home-button:hover {
-moz-image-region: rect(0px 56px 25px 28px);
2002-08-07 11:39:50 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #home-button:hover:active {
-moz-image-region: rect(0px 112px 25px 84px);
2002-08-07 11:39:50 +04:00
}
2002-08-08 12:39:39 +04:00
toolbar[iconsize="small"] #print-button {
2002-08-09 04:10:24 +04:00
list-style-image: url("chrome://browser/skin/print-small.png");
-moz-image-region: rect(0px 28px 25px 0px);
2002-08-07 11:39:50 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #print-button:hover {
-moz-image-region: rect(0px 56px 25px 28px);
2002-08-07 11:39:50 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #print-button:hover:active {
-moz-image-region: rect(0px 84px 25px 56px);
2002-08-07 11:39:50 +04:00
}
2002-08-09 04:10:24 +04:00
toolbar[iconsize="small"] #print-button[disabled="true"] {
-moz-image-region: rect(0px 112px 25px 84px);
2002-08-04 06:55:51 +04:00
}
toolbar[iconsize="small"] #downloads-button {
list-style-image: url("chrome://browser/skin/downloads-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
toolbar[iconsize="small"] #downloads-button:hover {
-moz-image-region: rect(0px 48px 25px 24px);
}
toolbar[iconsize="small"] #downloads-button:hover:active,
toolbar[iconsize="small"] #downloads-button[checked="true"] {
-moz-image-region: rect(0px 72px 25px 48px);
}
toolbar[iconsize="small"] #downloads-button[disabled="true"] {
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
toolbar[iconsize="small"] #new-tab-button {
list-style-image: url("chrome://browser/skin/newtab-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
toolbar[iconsize="small"] #new-tab-button:hover {
-moz-image-region: rect(0px 48px 25px 24px);
}
toolbar[iconsize="small"] #new-tab-button:hover:active,
toolbar[iconsize="small"] #new-tab-button[checked="true"] {
-moz-image-region: rect(0px 72px 25px 48px);
}
toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
toolbar[iconsize="small"] #new-window-button {
list-style-image: url("chrome://browser/skin/newwindow-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
toolbar[iconsize="small"] #new-window-button:hover {
-moz-image-region: rect(0px 48px 25px 24px);
}
toolbar[iconsize="small"] #new-window-button:hover:active,
toolbar[iconsize="small"] #new-window-button[checked="true"] {
-moz-image-region: rect(0px 72px 25px 48px);
}
toolbar[iconsize="small"] #new-window-button[disabled="true"] {
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
toolbar[iconsize="small"] #bookmarks-button {
list-style-image: url("chrome://browser/skin/bookmarks-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
toolbar[iconsize="small"] #bookmarks-button:hover {
-moz-image-region: rect(0px 48px 25px 24px);
}
toolbar[iconsize="small"] #bookmarks-button:hover:active,
toolbar[iconsize="small"] #bookmarks-button[checked="true"] {
-moz-image-region: rect(0px 72px 25px 48px);
}
toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
toolbar[iconsize="small"] #history-button {
list-style-image: url("chrome://browser/skin/history-small.png") !important;
-moz-image-region: rect(0px 24px 25px 0px);
}
toolbar[iconsize="small"] #history-button:hover {
-moz-image-region: rect(0px 48px 25px 24px);
}
toolbar[iconsize="small"] #history-button:hover:active,
toolbar[iconsize="small"] #history-button[checked="true"] {
-moz-image-region: rect(0px 72px 25px 48px);
}
toolbar[iconsize="small"] #history-button[disabled="true"] {
-moz-image-region: rect(0px 96px 25px 72px) !important;
}
2002-08-04 06:55:51 +04:00
/* ::::: 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://navigator/skin/icons/minimize.gif");
2002-08-07 11:39:50 +04:00
}
2002-08-04 06:55:51 +04:00
#restore-button {
list-style-image: url("chrome://navigator/skin/icons/restore.gif");
2002-08-07 11:39:50 +04:00
}
2002-08-04 06:55:51 +04:00
#close-button {
list-style-image: url("chrome://navigator/skin/icons/close.gif");
2002-08-07 11:39:50 +04:00
}
2002-08-04 06:55:51 +04:00
/* ::::: nav-bar-inner ::::: */
2002-08-07 11:39:50 +04:00
2002-08-04 06:55:51 +04:00
#urlbar {
2002-08-09 11:08:44 +04:00
margin: 2px 3px;
2002-08-04 06:55:51 +04:00
}
#search-bar {
width: 12em;
}
2002-08-04 06:55:51 +04:00
/* ::::: page proxy icon ::::: */
#page-proxy-deck,
#page-proxy-favicon,
#page-proxy-button {
width: 16px;
height: 16px;
}
#page-proxy-deck {
2002-09-21 22:09:13 +04:00
cursor: -moz-grab;
2002-08-04 06:55:51 +04:00
margin: 2px 3px;
}
#page-proxy-favicon {
list-style-image: none;
2002-08-07 11:39:50 +04:00
}
2002-08-04 06:55:51 +04:00
2002-09-21 22:09:13 +04:00
#page-proxy-button {
2002-10-11 00:53:06 +04:00
list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
2002-09-21 22:09:13 +04:00
-moz-image-region: rect(0px 16px 16px 0px);
}
2002-08-04 06:55:51 +04:00
#page-proxy-button[pageproxystate="valid"]:hover {
2002-09-21 22:09:13 +04:00
-moz-image-region: rect(0px 32px 16px 16px);
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
2002-08-04 06:55:51 +04:00
#page-proxy-button[pageproxystate="valid"]:hover:active {
2002-09-21 22:09:13 +04:00
-moz-image-region: rect(0px 48px 16px 32px);
2002-08-04 06:55:51 +04:00
}
#page-proxy-button[pageproxystate="invalid"] {
cursor: default;
2002-09-21 22:09:13 +04:00
-moz-image-region: rect(0px 64px 16px 48px);
2002-08-04 06:55:51 +04:00
}
/* ::::: search-bar ::::: */
#search-proxy-button {
margin: 2px;
list-style-image: url("chrome://browser/skin/search-bar.png");
}
2002-08-04 06:55:51 +04:00
/* ::::: autocomplete ::::: */
2002-09-28 10:25:03 +04:00
.autocomplete-treebody:-moz-tree-cell-text(treecolAutoCompleteComment) {
2002-08-07 11:39:50 +04:00
color: #555566;
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
/* ::::: go button ::::: */
#go-button,
#go-container {
2002-08-09 11:08:44 +04:00
-moz-appearance: none !important;
background-color: transparent;
margin: 0px;
border: none;
padding: 0px;
2002-09-28 15:47:29 +04:00
min-width: 0;
2002-08-07 11:39:50 +04:00
list-style-image: url("chrome://browser/skin/go-large.png");
-moz-image-region: rect(0px 26px 27px 0px) !important;
}
2002-09-28 15:47:29 +04:00
2002-08-07 11:39:50 +04:00
#go-button:hover {
-moz-image-region: rect(0px 53px 27px 27px) !important;
}
2002-09-28 15:47:29 +04:00
#sidebar {
border-bottom: 1px solid ThreeDShadow;
background-color: white;
}
2002-08-07 11:39:50 +04:00
#go-button[disabled="true"] {
-moz-image-region: rect(0px 80px 27px 54px) !important;
}
2002-09-28 15:47:29 +04:00
2002-08-04 06:55:51 +04:00
#go-button:hover:active {
2002-08-07 11:39:50 +04:00
-moz-image-region: rect(0px 107px 27px 81px) !important;
2002-08-04 06:55:51 +04:00
}
2002-09-28 15:47:29 +04:00
#go-button > .button-box {
border: none;
}
2002-08-09 11:08:44 +04:00
#go-button > .button-box > .button-text {
display: none !important;
}
2002-08-04 06:55:51 +04:00
/* ::::: content area ::::: */
#content {
border-top: 1px solid ThreeDDarkShadow;
border-bottom: 1px solid ThreeDLightShadow;
border-left: 2px solid;
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
}
#status-bar {
border-top: none;
}
#security-button {
display: none;
2002-08-04 06:55:51 +04:00
}
#security-button[level="high"] {
2002-08-09 11:08:44 +04:00
list-style-image: url("chrome://browser/skin/lock-secure.gif");
display: -moz-box;
2002-08-04 06:55:51 +04:00
}
#security-button[level="low"] {
2002-08-09 11:08:44 +04:00
list-style-image: url("chrome://browser/skin/lock-secure.gif");
display: -moz-box;
2002-08-04 06:55:51 +04:00
}
#security-button[level="broken"] {
2002-08-09 11:08:44 +04:00
list-style-image: url("chrome://browser/skin/lock-broken.gif");
display: -moz-box;
2002-08-04 06:55:51 +04:00
}
2002-08-07 11:39:50 +04:00
2002-10-08 05:54:15 +04:00
#page-report-button {
display: none;
}
#page-report-button[blocked] {
display: -moz-box;
list-style-image: url("chrome://browser/skin/info-small.png");
2002-10-11 02:20:43 +04:00
padding: 0px 3px 0px 3px;
2002-10-08 05:54:15 +04:00
}
2002-08-08 08:55:14 +04:00
/* ::::: throbber ::::: */
#navigator-throbber {
-moz-appearance: none;
2002-08-10 03:03:32 +04:00
-moz-user-focus: ignore;
margin: 2px 4px !important;
border: none !important;
padding: 0px !important;
min-width: 0;
2002-08-08 08:55:14 +04:00
background-color: transparent;
list-style-image: url("chrome://browser/skin/throbber-stopped.gif");
}
2002-08-09 11:08:44 +04:00
#navigator-throbber[busy="true"] {
2002-08-08 08:55:14 +04:00
list-style-image: url("chrome://browser/skin/throbber.gif");
}
2002-09-30 02:50:25 +04:00
toolbar[iconsize="small"] #navigator-throbber {
list-style-image: url("chrome://browser/skin/throbber-small-stopped.gif");
}
toolbar[iconsize="small"] #navigator-throbber[busy="true"] {
list-style-image: url("chrome://browser/skin/throbber-small.gif");
}
2002-09-30 08:04:48 +04:00
.tabs-closebutton {
margin: 0px 4px;
padding: 1px 2px 2px 2px;
border: none;
list-style-image: url("chrome://browser/skin/close.png");
-moz-image-region: rect(0px 20px 20px 0px);
}
.tabs-closebutton:hover {
-moz-image-region: rect(0px 50px 20px 30px);
}
.tabs-closebutton:hover:active {
-moz-image-region: rect(0px 110px 20px 90px);
}
2002-10-06 06:07:35 +04:00
toolbarbutton.chevron {
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
}
2002-10-06 06:07:35 +04:00
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
display: none;
}