2007-03-22 10:30:00 -07:00
|
|
|
/* ***** 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 Communicator client code, released
|
|
|
|
* March 31, 1998.
|
|
|
|
*
|
|
|
|
* 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):
|
|
|
|
* Kevin Gerich (webmail@kmgerich.com)
|
|
|
|
*
|
|
|
|
* 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 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 ***** */
|
|
|
|
|
|
|
|
/* ===== global.css =====================================================
|
|
|
|
== Styles that apply everywhere.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
/* all localizable skin settings shall live here */
|
|
|
|
@import url("chrome://global/locale/intl.css");
|
|
|
|
|
|
|
|
@import url("chrome://global/skin/formatting.css");
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
button[dlgtype="help"] {
|
|
|
|
min-width: 1px !important;
|
|
|
|
padding: 0px 0px 0px 0px !important;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-box-align: start !important;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[dlgtype="help"][disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[dlgtype="help"]:focus {
|
|
|
|
outline: 2px solid -moz-mac-focusring;
|
|
|
|
outline-offset: -2px;
|
|
|
|
-moz-outline-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[dlgtype="help"] > .button-box > .button-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/question-mark.png");
|
|
|
|
-moz-image-region: rect(0 24px 24px 0);
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[dlgtype="help"]:active > .button-box > .button-icon {
|
|
|
|
-moz-image-region: rect(0 48px 24px 24px);
|
|
|
|
}
|
|
|
|
|
|
|
|
button[dlgtype="help"] > .button-box > .button-text {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
/* ::::: XBL bindings ::::: */
|
|
|
|
|
|
|
|
menulist > menupopup,
|
|
|
|
.menulist-menupopup {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
|
|
|
|
}
|
|
|
|
|
|
|
|
.menulist-compact {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
|
|
|
|
}
|
|
|
|
|
2008-04-07 15:56:43 -07:00
|
|
|
progressmeter[mode="undetermined"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-periodic-redraw");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: root elements ::::: */
|
|
|
|
|
|
|
|
window,
|
|
|
|
page,
|
|
|
|
dialog,
|
|
|
|
wizard,
|
|
|
|
prefwindow {
|
|
|
|
-moz-appearance: dialog;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
font: message-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefwindow {
|
|
|
|
font: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefwindow .paneSelector {
|
|
|
|
font: message-box;
|
|
|
|
}
|
|
|
|
prefwindow[type="child"] {
|
|
|
|
padding: 18px 20px 15px 18px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* deprecated */
|
|
|
|
window.dialog {
|
|
|
|
padding: 8px 10px 10px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
[wait-cursor] {
|
|
|
|
cursor: wait !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: alert icons :::::*/
|
|
|
|
|
|
|
|
.message-icon,
|
|
|
|
.alert-icon,
|
|
|
|
.error-icon,
|
|
|
|
.question-icon {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-10 19:27:29 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/information-64.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
margin: 6px 20px 6px 6px !important;
|
|
|
|
}
|
|
|
|
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-10 19:27:29 -07:00
|
|
|
.alert-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/warning-64.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/error-64.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.question-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/question-64.png");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: iframe ::::: */
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: none;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
min-width: 10px;
|
|
|
|
min-height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: statusbar ::::: */
|
|
|
|
|
|
|
|
statusbar {
|
2008-01-27 16:53:12 -08:00
|
|
|
border-top: 1px solid #505050 !important;
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
min-width: 1px; /* DON'T DELETE!
|
|
|
|
Prevents hiding of scrollbars in browser when window is made smaller.*/
|
|
|
|
min-height: 15px !important;
|
2008-01-27 16:53:12 -08:00
|
|
|
background: url("chrome://global/skin/statusbar-background.gif") #949393 repeat-x top left;
|
2007-03-22 10:30:00 -07:00
|
|
|
margin: 0px !important;
|
|
|
|
padding: 0px 16px 1px 1px;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbarpanel {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-iconic {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: miscellaneous ::::: */
|
|
|
|
|
|
|
|
.toolbar-focustarget {
|
|
|
|
-moz-user-focus: ignore !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#info.icon {
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commonDialog {
|
|
|
|
line-height: 13px;
|
|
|
|
}
|
|
|
|
|
2008-01-29 11:33:26 -08:00
|
|
|
#commonDialog #infoContainer {
|
2007-03-22 10:30:00 -07:00
|
|
|
max-width: 33em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#warn1 {
|
|
|
|
font: menu;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 16pt;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ok, #cancel, #launch, #reveal, #pauseResume {
|
|
|
|
font: menu !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-icon {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#panelFrame {
|
|
|
|
margin-top: 2px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
browser {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* miscellaneous stuff */
|
|
|
|
|
|
|
|
#OCSPDialog {
|
|
|
|
font: message-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#historyTree, #bookmarks-view {
|
|
|
|
border-top: 1px solid #bebebe;
|
|
|
|
}
|
|
|
|
|
2008-04-22 17:00:58 -07:00
|
|
|
/* notification bar buttons */
|
|
|
|
|
|
|
|
notification > button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: url("chrome://global/skin/icons/white-gray-gradient.gif") transparent repeat-x center center;
|
|
|
|
-moz-background-clip: padding;
|
|
|
|
border: 1px solid;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
-moz-border-top-colors: rgba(0,0,0,0.5);
|
|
|
|
-moz-border-right-colors: rgba(0,0,0,0.5);
|
|
|
|
-moz-border-bottom-colors: rgba(255,255,255,0.35) rgba(0,0,0,0.5);
|
|
|
|
-moz-border-left-colors: rgba(0,0,0,0.5);
|
|
|
|
padding: 0 5px;
|
|
|
|
min-width: 79px;
|
|
|
|
min-height: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification > button:hover:active {
|
|
|
|
background-image: url("chrome://global/skin/icons/white-gray-gradient-active.gif");
|
|
|
|
}
|
|
|
|
|
2007-06-14 19:36:38 -07:00
|
|
|
/* :::::: autoscroll popup ::::: */
|
|
|
|
|
|
|
|
#autoscroller {
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
border: none;
|
|
|
|
margin: -14px;
|
|
|
|
padding: 0;
|
|
|
|
background-image: url("chrome://global/skin/icons/autoscroll.png");
|
|
|
|
background-color: transparent;
|
2007-12-25 06:01:44 -08:00
|
|
|
background-position: right top;
|
2007-06-14 19:36:38 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#autoscroller[scrolldir="NS"] {
|
2007-12-25 06:01:44 -08:00
|
|
|
background-position: right center;
|
2007-06-14 19:36:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#autoscroller[scrolldir="EW"] {
|
2007-12-25 06:01:44 -08:00
|
|
|
background-position: right bottom;
|
2007-06-14 19:36:38 -07:00
|
|
|
}
|