RetroZilla/themes/modern/navigator/navigator.css
2015-10-20 23:03:22 -04:00

599 lines
14 KiB
CSS

/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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>
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@import url("chrome://navigator/content/navigator.css");
@import url("chrome://communicator/skin/");
@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: primary toolbar buttons ::::: */
.toolbarbutton-1 {
list-style-image: url("chrome://navigator/skin/icons/btn1.gif");
min-width: 0px;
}
toolbox {
border-bottom: none;
}
#appcontent {
border-top: 1px solid #494F5D;
}
#back-button {
-moz-image-region: rect(0 41px 38px 0);
}
#back-button:hover {
-moz-image-region: rect(0 83px 38px 42px);
}
#back-button:hover:active {
-moz-image-region: rect(0 125px 38px 84px);
}
#back-button[disabled="true"] {
-moz-image-region: rect(0 167px 38px 126px) !important;
}
#forward-button {
-moz-image-region: rect(39px 41px 77px 0);
}
#forward-button:hover {
-moz-image-region: rect(39px 83px 77px 42px);
}
#forward-button:hover:active {
-moz-image-region: rect(39px 125px 77px 84px);
}
#forward-button[disabled="true"] {
-moz-image-region: rect(39px 167px 77px 126px) !important;
}
#reload-button {
-moz-image-region: rect(78px 41px 116px 0);
}
#reload-button:hover {
-moz-image-region: rect(78px 83px 116px 42px);
}
#reload-button:hover:active {
-moz-image-region: rect(78px 125px 116px 84px);
}
#reload-button[disabled="true"] {
-moz-image-region: rect(78px 167px 116px 126px) !important;
}
#stop-button {
-moz-image-region: rect(117px 41px 155px 0);
}
#stop-button:hover {
-moz-image-region: rect(117px 83px 155px 42px);
}
#stop-button:hover:active {
-moz-image-region: rect(117px 125px 155px 84px);
}
#stop-button[disabled="true"] {
-moz-image-region: rect(117px 167px 155px 126px) !important;
}
#print-button {
list-style-image: url("chrome://communicator/skin/icons/btn1.gif");
-moz-image-region: rect(0 49px 33px 0);
}
#print-button:hover {
-moz-image-region: rect(0 99px 33px 50px);
}
#print-button:hover:active {
-moz-image-region: rect(0 149px 33px 100px);
}
#print-button[disabled="true"] {
-moz-image-region: rect(0 199px 33px 150px) !important;
}
#fullscreen-exit-button {
list-style-image: none;
}
#fullscreen-exit-button > .toolbarbutton-text {
display: -moz-box;
}
.toolbarbutton-1 > stack > .toolbarbutton-menubutton-button
> .toolbarbutton-text,
.toolbarbutton-1 > .toolbarbutton-text {
display: none !important;
}
.toolbarbutton-1 > stack > .toolbarbutton-menubutton-button
> .toolbarbutton-icon,
.toolbarbutton-1 > .toolbarbutton-icon {
display: inline !important;
}
#forward-button[buttonstyle="text"] > stack > .toolbarbutton-menubutton-dropmarker {
margin: 0px 2px 0px 56px !important;
}
.toolbarbutton-1[buttonstyle="text"] > stack > .toolbarbutton-menubutton-button
> .toolbarbutton-text,
.toolbarbutton-1[buttonstyle="text"] > .toolbarbutton-text {
display: -moz-box !important;
margin-top: 10px !important;
}
.toolbarbutton-1[buttonstyle="text"] > stack > .toolbarbutton-menubutton-button
> .toolbarbutton-icon,
.toolbarbutton-1[buttonstyle="text"] > .toolbarbutton-icon {
display: none !important;
}
/* ::::: small primary toolbar buttons ::::: */
.toolbarbutton-1[toolbarmode="small"] {
margin-top: 4px;
list-style-image: url("chrome://navigator/skin/icons/btn1-small.gif");
}
#back-button[toolbarmode="small"] {
-moz-image-region: rect(0 19px 19px 0);
}
#back-button[toolbarmode="small"]:hover {
-moz-image-region: rect(0 38px 19px 19px);
}
#back-button[toolbarmode="small"]:hover:active {
-moz-image-region: rect(0 57px 19px 38px);
}
#back-button[disabled="true"][toolbarmode="small"] {
-moz-image-region: rect(0 76px 19px 57px) !important;
}
#forward-button[toolbarmode="small"] {
-moz-image-region: rect(19px 19px 38px 0);
}
#forward-button[toolbarmode="small"]:hover {
-moz-image-region: rect(19px 38px 38px 19px);
}
#forward-button[toolbarmode="small"]:hover:active {
-moz-image-region: rect(19px 57px 38px 38px);
}
#forward-button[disabled="true"][toolbarmode="small"] {
-moz-image-region: rect(19px 76px 38px 57px) !important;
}
#reload-button[toolbarmode="small"] {
-moz-image-region: rect(38px 19px 57px 0);
}
#reload-button[toolbarmode="small"]:hover {
-moz-image-region: rect(38px 38px 57px 19px);
}
#reload-button[toolbarmode="small"]:hover:active {
-moz-image-region: rect(38px 57px 57px 38px);
}
#reload-button[disabled="true"][toolbarmode="small"] {
-moz-image-region: rect(38px 76px 57px 57px) !important;
}
#stop-button[toolbarmode="small"] {
-moz-image-region: rect(57px 19px 76px 0);
}
#stop-button[toolbarmode="small"]:hover {
-moz-image-region: rect(57px 38px 76px 19px);
}
#stop-button[toolbarmode="small"]:hover:active {
-moz-image-region: rect(57px 57px 76px 38px);
}
#stop-button[disabled="true"][toolbarmode="small"] {
-moz-image-region: rect(57px 76px 76px 57px) !important;
}
.toolbarbutton-menubutton-dropmarker[toolbarmode="small"] {
margin: 8px 0px 0px 14px !important;
}
/* temporary - still don't have small print icons */
#print-button[toolbarmode="small"] {
display: none;
}
#search-button[toolbarmode="small"] > .button-box > .button-text {
display: none;
}
#nav-bar[toolbarmode="small"] {
min-height: 0;
}
#nav-bar[toolbarmode="small"] > #nav-bar-inner {
margin: 0;
border: none;
}
#nav-bar[toolbarmode="small"] > #nav-bar-buttons {
-moz-box-align: center;
}
#nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
display: none;
}
#nav-bar[toolbarmode="small"] > .toolbar-primary-holder {
background: #D0D7DF;
}
/* ::::: fullscreen window controls ::::: */
#window-controls {
-moz-box-align: center;
padding: 0 2px 0 4px;
background-color: #A9B2BD;
border-left: 2px solid;
-moz-border-left-colors: #B6BEC5 #DDE3E8;
}
#minimize-button {
-moz-image-region: rect(92px 15px 108px 0);
}
#minimize-button:hover {
-moz-image-region: rect(92px 30px 108px 15px);
}
#minimize-button:hover:active {
-moz-image-region: rect(92px 45px 108px 30px);
}
#minimize-button[disabled="true"] {
-moz-image-region: rect(92px 60px 108px 45px) !important;
}
#restore-button {
-moz-image-region: rect(76px 15px 92px 0);
}
#restore-button:hover {
-moz-image-region: rect(76px 30px 92px 15px);
}
#restore-button:hover:active {
-moz-image-region: rect(76px 45px 92px 30px);
}
#restore-button[disabled="true"] {
-moz-image-region: rect(76px 60px 92px 45px) !important;
}
#close-button {
-moz-image-region: rect(108px 15px 124px 0);
}
#close-button:hover {
-moz-image-region: rect(108px 30px 124px 15px);
}
#close-button:hover:active {
-moz-image-region: rect(108px 45px 124px 30px);
}
#close-button[disabled="true"] {
-moz-image-region: rect(108px 60px 124px 45px) !important;
}
/* ::::: special menubutton dropmarkers ::::: */
/* ..... dropmarker box ..... */
#back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
#forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker
{
margin: 30px 0px 0px 34px;
}
#print-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker
{
margin: 20px 0px 0px 40px;
}
#reload-button {
margin-right: 3px; /* balance out extra dropmarker space */
}
/* ::::: nav-bar - the navigator primary toolbar ::::: */
.toolbar-primary-icon {
display: none;
}
.toolbar-primary-holder {
-moz-box-align: start;
background-image: url("chrome://communicator/skin/toolbar/prtb-bg-noline.gif");
}
#nav-bar-buttons {
margin: 0px 0px 3px 3px;
}
/* ::::: navbar-inner - the grooved area around the urlbar ::::: */
#nav-bar-inner {
-moz-box-align: center;
margin: 7px 0px 3px 5px;
border: 2px solid;
-moz-border-top-colors: #A2AFBD #EBF4FF;
-moz-border-right-colors: #D1D9E0 #A2AFBD;
-moz-border-bottom-colors: #CFD7DE #939EAA;
-moz-border-left-colors: #9FABB9 #D2DAE1;
-moz-border-radius: 3px;
padding: 0px 3px;
min-width: 0px;
}
#nav-bar-inner[buttonstyle="text"] {
margin: 2px 0px 2px 5px;
border: 0px;
}
#search-button[buttonstyle="text"] {
margin-right: 0px;
}
#search-button[buttonstyle="text"] > .button-box > .button-icon {
display: none;
}
#search-button[buttonstyle="pictures"] > .button-box > .button-text {
display: none;
}
/* ::::: urlbar - the url textbox ::::: */
#urlbar {
margin: 2px 6px 2px 3px;
border: 3px solid;
-moz-border-top-colors: #A2AFBD #000000 #A7BACA;
-moz-border-right-colors: #D2DAE1 #000000 #768C9F;
-moz-border-bottom-colors: #D2DAE1 #000000 #768C9F;
-moz-border-left-colors: #A5ACB5 #000000 #A7BACA;
background: url("chrome://navigator/skin/toolbar/urlbar-mid.gif") #EDF5F7 bottom repeat-x;
}
#urlbar[level="high"] ,
#urlbar[level="low"] {
background: #E8DB99;
}
/* ::::: page proxy icon ::::: */
#page-proxy-deck,
#page-proxy-button,
#page-proxy-favicon {
width: 16px;
height: 16px;
}
#page-proxy-deck {
cursor: -moz-grab;
margin-right: 4px;
}
#page-proxy-button {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
#page-proxy-favicon {
list-style-image: none;
}
#page-proxy-button[pageproxystate="invalid"] {
cursor: default;
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-dis.gif");
}
/* ::::: autocomplete ::::: */
.autocomplete-treebody::-moz-tree-cell-text(value) {
padding-left: 15px;
}
.autocomplete-treebody::-moz-tree-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-dropmarker {
margin: 0px 3px 0px 0px;
list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow.gif");
}
.autocomplete-history-dropmarker[open="true"] {
list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow-act.gif");
}
/* ::::: go and searchbuttons ::::: */
#go-button,
#search-button {
margin: 0px 4px 0px 0px;
min-width: 0px;
font: message-box;
font-weight: bold;
}
#search-button {
list-style-image: url("chrome://communicator/skin/icons/search.gif");
}
/* ::::: navigator throbber ::::: */
#throbber-box {
background: none; /* override bg used to cover toolbar line */
margin: 0px 0px 2px 0px;
}
/* ::::: personal toolbar ::::: */
#PersonalToolbar {
background: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
}
#PersonalToolbar > .toolbar-prefix {
border-top: 1px solid #CED6DD;
border-left: 1px solid #DAE3ED;
}
#PersonalToolbar > toolbargrippy,
#PersonalToolbar > .toolbar-holder {
border-top: 1px solid #CED6DD;
border-right: 1px solid #95A0AD;
border-bottom: 1px solid #95A0AD;
border-left: 1px solid #DAE3ED;
}
#PersonalToolbar > toolbargrippy:hover:active {
border-color: #67737E;
}
#home-button {
list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
}
#home-button > .toolbarbutton-icon {
width: 22px;
height: 17px;
}
toolbarbutton.chevron {
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
}
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
display: none;
}
/* ::::: content area ::::: */
#content {
border-bottom: 1px solid #494F5D;
}
#status-bar {
border-top: none;
min-width: 1px;
}
#security-button {
list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
}
/* |high| and |low| styles could be different, to better reflect the secure level... */
#security-button[level="high"],
#security-button[level="low"] {
list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
}
#security-button[level="broken"] {
list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
}
#privacy-button {
list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
}
#popupIcon {
list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png");
}
#popupImage {
list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
margin: 6px 0px;
}
/* For multi-line tooltips, we need our own style */
.htmltooltip-label {
max-width: 40em;
margin: 0;
white-space: -moz-pre-wrap;
}