mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
457 lines
13 KiB
CSS
457 lines
13 KiB
CSS
/*
|
|
* 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 Netscape are
|
|
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Joe Hewitt (hewitt@netscape.com)
|
|
*/
|
|
|
|
@import url("chrome://navigator/content/navigator.css");
|
|
@import url("chrome://communicator/skin/");
|
|
@import url("chrome://navigator/skin/personalToolbar.css");
|
|
@import url("chrome://communicator/skin/sidebar/sidebar.css");
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: primary toolbar buttons ::::: */
|
|
|
|
.menubutton-dual {
|
|
-moz-binding: url("chrome://communicator/skin/widgetBindings.xml#menubutton-dual-1");
|
|
}
|
|
|
|
#back-button {
|
|
margin: 0px;
|
|
list-style-image: url("chrome://navigator/skin/btn1/back.gif");
|
|
}
|
|
|
|
#back-button[disabled="true"],
|
|
#back-button[disabled="true"]:hover,
|
|
#back-button[disabled="true"]:hover:active,
|
|
#back-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button,
|
|
#back-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover,
|
|
#back-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/back-dis.gif");
|
|
}
|
|
|
|
#back-button > .menubutton-dual-stack > .menubutton-dual-button:hover {
|
|
list-style-image: url("chrome://navigator/skin/btn1/back-hov.gif");
|
|
}
|
|
|
|
#back-button > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/back-act.gif");
|
|
}
|
|
|
|
#forward-button {
|
|
margin: 0px;
|
|
list-style-image: url("chrome://navigator/skin/btn1/forward.gif");
|
|
}
|
|
|
|
#forward-button[disabled="true"],
|
|
#forward-button[disabled="true"]:hover,
|
|
#forward-button[disabled="true"]:hover:active,
|
|
#forward-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button,
|
|
#forward-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover,
|
|
#forward-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/forward-dis.gif");
|
|
}
|
|
|
|
#forward-button > .menubutton-dual-stack > .menubutton-dual-button:hover {
|
|
list-style-image: url("chrome://navigator/skin/btn1/forward-hov.gif");
|
|
}
|
|
|
|
#forward-button > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/forward-act.gif");
|
|
}
|
|
|
|
#reload-button {
|
|
margin: 0px;
|
|
list-style-image: url("chrome://navigator/skin/btn1/reload.gif");
|
|
}
|
|
|
|
#reload-button[disabled="true"],
|
|
#reload-button[disabled="true"]:hover,
|
|
#reload-button[disabled="true"]:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/reload-dis.gif");
|
|
}
|
|
|
|
#reload-button:hover {
|
|
list-style-image: url("chrome://navigator/skin/btn1/reload-hov.gif");
|
|
}
|
|
|
|
#reload-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/reload-act.gif");
|
|
}
|
|
|
|
#stop-button {
|
|
margin: 0px;
|
|
list-style-image: url("chrome://navigator/skin/btn1/stop.gif");
|
|
}
|
|
|
|
#stop-button[disabled="true"],
|
|
#stop-button[disabled="true"]:hover,
|
|
#stop-button[disabled="true"]:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/stop-dis.gif");
|
|
}
|
|
|
|
#stop-button:hover {
|
|
list-style-image: url("chrome://navigator/skin/btn1/stop-hov.gif");
|
|
}
|
|
|
|
#stop-button:hover:active {
|
|
list-style-image: url("chrome://navigator/skin/btn1/stop-act.gif");
|
|
}
|
|
|
|
#print-button {
|
|
list-style-image: url("chrome://communicator/skin/btn1/print.gif");
|
|
}
|
|
|
|
#print-button[disabled="true"],
|
|
#print-button[disabled="true"]:hover,
|
|
#print-button[disabled="true"]:hover:active,
|
|
#print-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button,
|
|
#print-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover,
|
|
#print-button[disabled="true"] > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://communicator/skin/btn1/print-dis.gif");
|
|
}
|
|
|
|
#print-button > .menubutton-dual-stack > .menubutton-dual-button:hover {
|
|
list-style-image: url("chrome://communicator/skin/btn1/print-hov.gif");
|
|
}
|
|
|
|
#print-button > .menubutton-dual-stack > .menubutton-dual-button:hover:active {
|
|
list-style-image: url("chrome://communicator/skin/btn1/print-act.gif");
|
|
}
|
|
|
|
/* Hides text below the above buttons */
|
|
.button-toolbar-1 > .button-internal-box > .button-text-container {
|
|
display: none;
|
|
}
|
|
|
|
/* ::::: nav-bar - the navigator primary toolbar ::::: */
|
|
|
|
.toolbar-primary-icon {
|
|
width: 0px;
|
|
height: 0px;
|
|
}
|
|
|
|
.toolbar-primary-mid-fg {
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#autostretch-never");
|
|
vertical-align: top;
|
|
}
|
|
|
|
.toolbar-primary-mid-top {
|
|
background-image: url("chrome://navigator/skin/toolbar/navbar-mid-top.gif");
|
|
}
|
|
|
|
#nav-bar-buttons {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* ::::: special menubutton dropmarkers ::::: */
|
|
|
|
/* ..... dropmarker box ..... */
|
|
|
|
#back-button > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box,
|
|
#forward-button > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box
|
|
{
|
|
margin: 30px 0px 0px 25px;
|
|
}
|
|
|
|
/* ..... dropmarker ..... */
|
|
|
|
#back-button > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker
|
|
{
|
|
list-style-image: url("chrome://navigator/skin/toolbar/mbtn1-arrow.gif");
|
|
}
|
|
|
|
#back-button:hover > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button:hover > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker
|
|
{
|
|
list-style-image: url("chrome://navigator/skin/toolbar/mbtn1-arrow-hov.gif");
|
|
}
|
|
|
|
#back-button:hover:active > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button:hover:active > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker
|
|
{
|
|
list-style-image: url("chrome://navigator/skin/toolbar/mbtn1-arrow-act.gif");
|
|
}
|
|
|
|
#back-button[disabled="true"] > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#back-button:hover[disabled="true"] > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#back-button:hover:active[disabled="true"]
|
|
> .menubutton-dual-stack > .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button[disabled="true"] > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button:hover[disabled="true"] > .menubutton-dual-stack
|
|
> .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker,
|
|
#forward-button:hover:active[disabled="true"]
|
|
> .menubutton-dual-stack > .menubutton-dual-dropmarker-box > .menubutton-dual-dropmarker
|
|
{
|
|
list-style-image: url("chrome://navigator/skin/toolbar/mbtn1-arrow-dis.gif");
|
|
}
|
|
|
|
/* ::::: navbar-inner - the grooved area around the urlbar ::::: */
|
|
|
|
#nav-bar-inner {
|
|
-moz-binding: url("chrome://navigator/skin/navigatorBindings.xml#nav-bar-inner");
|
|
margin: 6px 0px 0px 5px;
|
|
min-width: 0px;
|
|
}
|
|
|
|
.navbar-inner-groove-lft {
|
|
width: 6px;
|
|
}
|
|
|
|
.navbar-inner-groove-lft-top {
|
|
height: 24px;
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-lft-top.gif") no-repeat;
|
|
}
|
|
|
|
.navbar-inner-groove-lft-mid {
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-lft-mid.gif") repeat-y left;
|
|
}
|
|
|
|
.navbar-inner-groove-lft-btm {
|
|
height: 5px;
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-lft-btm.gif") no-repeat;
|
|
}
|
|
|
|
.navbar-inner-border-outer {
|
|
border-top: 1px solid #A2AFBD;
|
|
border-bottom: 1px solid #CFD7DE;
|
|
}
|
|
|
|
.navbar-inner-border-middle {
|
|
border-top: 1px solid #EBF4FF;
|
|
border-bottom: 1px solid #87929E;
|
|
}
|
|
|
|
.navbar-inner-border-inner {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.navbar-inner-groove-rit {
|
|
width: 6px;
|
|
}
|
|
|
|
.navbar-inner-groove-rit-top {
|
|
height: 24px;
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-rit-top.gif") no-repeat;
|
|
}
|
|
|
|
.navbar-inner-groove-rit-mid {
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-rit-mid.gif") repeat-y right;
|
|
}
|
|
|
|
.navbar-inner-groove-rit-btm {
|
|
height: 5px;
|
|
background: url("chrome://navigator/skin/toolbar/nav-groove-rit-btm.gif") no-repeat;
|
|
}
|
|
|
|
/* ::::: urlbar - the box that contains the url textbox ::::: */
|
|
|
|
#urlbar-group {
|
|
-moz-binding: url("chrome://navigator/skin/navigatorBindings.xml#urlbar-group");
|
|
margin: 2px 6px 2px 3px;
|
|
}
|
|
|
|
.urlbar-lft {
|
|
width: 3px;
|
|
}
|
|
|
|
.urlbar-lft-top {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-lft-top.gif") no-repeat;
|
|
height: 4px;
|
|
}
|
|
|
|
.urlbar-lft-mid {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-lft-mid.gif") repeat-y;
|
|
}
|
|
|
|
.urlbar-lft-btm {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-lft-btm.gif") no-repeat;
|
|
height: 3px;
|
|
}
|
|
|
|
.urlbar-mid-top {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-mid-top.gif") repeat-x;
|
|
height: 4px;
|
|
}
|
|
|
|
.urlbar-mid-mid {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-mid-mid.gif") bottom repeat-x;
|
|
background-color: #EDF5F7;
|
|
}
|
|
|
|
.urlbar-mid-btm {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-mid-btm.gif") repeat-x;
|
|
height: 3px;
|
|
}
|
|
|
|
.urlbar-rit {
|
|
width: 3px;
|
|
}
|
|
|
|
.urlbar-rit-top {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-rit-top.gif") no-repeat;
|
|
height: 4px;
|
|
}
|
|
|
|
.urlbar-rit-mid {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-rit-mid.gif") repeat-y;
|
|
}
|
|
|
|
.urlbar-rit-btm {
|
|
background: url("chrome://navigator/skin/toolbar/urlbar-rit-btm.gif") no-repeat;
|
|
height: 3px;
|
|
}
|
|
|
|
/* let the textbox background show through to the shiny image */
|
|
#urlbar,
|
|
#urlbar > .textbox-internal-box {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* ::::: more toolbar buttons ::::: */
|
|
|
|
#page-proxy-button {
|
|
cursor: grab;
|
|
margin-left: 0px 4px 0px 0px;
|
|
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
|
|
}
|
|
|
|
#page-proxy-button[pageproxystate="invalid"] {
|
|
cursor: default;
|
|
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-dis.gif");
|
|
}
|
|
|
|
#home-button {
|
|
list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
|
|
}
|
|
|
|
#go-button {
|
|
margin-right: 6px;
|
|
margin-left: 0px;
|
|
min-width: 0px;
|
|
}
|
|
|
|
#search-button {
|
|
margin-right: 4px;
|
|
margin-left: 0px;
|
|
min-width: 0px;
|
|
list-style-image: url("chrome://navigator/skin/toolbar/search.gif");
|
|
font: message-box;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#search-button > .button-stack > .button-text-box {
|
|
padding: 2px 0px;
|
|
}
|
|
|
|
#search-button > .button-stack > .button-text-box > .button-text-mid {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
/* ::::: navigator throbber ::::: */
|
|
|
|
#navigator-throbber {
|
|
margin: 5px 15px 0px 8px;
|
|
list-style-image: url("chrome://communicator/skin/brand/throbber-single.gif");
|
|
}
|
|
|
|
#navigator-throbber[busy="true"] {
|
|
list-style-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
|
|
}
|
|
|
|
/* ::::: autocomplete ::::: */
|
|
|
|
.autocomplete-outlinerbody:-moz-outliner-cell-text(value) {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.autocomplete-outlinerbody:-moz-outliner-cell-text(comment) {
|
|
color: #555566;
|
|
}
|
|
|
|
.autocomplete-search-box {
|
|
border-top: 2px groove #DDE3EB;
|
|
background-color: #DDE3EB;
|
|
}
|
|
|
|
.autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box {
|
|
border-top: 1px solid #E4EAEF;
|
|
}
|
|
|
|
.autocomplete-search-engine {
|
|
padding: 2px;
|
|
}
|
|
|
|
.autocomplete-search-engine[menuactive="true"] {
|
|
background-color: #9499AC;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.autocomplete-search-engine-img {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.autocomplete-history-button {
|
|
margin: 0px 3px 0px 0px;
|
|
list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow.gif");
|
|
}
|
|
|
|
.autocomplete-history-button[open="true"] {
|
|
list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow-act.gif");
|
|
}
|
|
|
|
/* ::::: sidebar splitter ::::: */
|
|
|
|
#sidebar-splitter {
|
|
background-color: #B1BDC9;
|
|
border-left: 1px solid #95A0AD;
|
|
}
|
|
|
|
#sidebar-splitter > .splitter-internal-box {
|
|
border-top: 1px solid #DEE7EE;
|
|
border-right: 1px solid #95A0AD;
|
|
border-bottom: 1px solid #95A0AD;
|
|
border-left: 1px solid #DEE7EE;
|
|
}
|
|
|
|
#sidebar-splitter > grippy {
|
|
width: 6px;
|
|
height: 54px;
|
|
background-image: url("chrome://communicator/skin/sidebar/grip-sidebar-before.gif");
|
|
}
|
|
|
|
#sidebar-splitter[state="collapsed"] > grippy {
|
|
background-image: url("chrome://communicator/skin/sidebar/grip-sidebar-after.gif");
|
|
}
|
|
|
|
|