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");
|
|
|
|
|
2009-08-30 17:26:43 -07:00
|
|
|
%include shared.inc
|
2007-03-22 10:30:00 -07:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: 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");
|
|
|
|
}
|
|
|
|
|
2008-10-18 02:57:46 -07:00
|
|
|
/* ::::: draggable elements ::::: */
|
|
|
|
|
|
|
|
toolbar:not([nowindowdrag="true"]) {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbar:not([nowindowdrag="true"]) {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbar-drag");
|
|
|
|
}
|
|
|
|
|
|
|
|
windowdragbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
|
|
|
}
|
|
|
|
|
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[type="child"] {
|
2008-10-12 06:25:51 -07:00
|
|
|
padding-top: 18px;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
-moz-padding-start: 18px;
|
|
|
|
-moz-padding-end: 20px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* deprecated */
|
2008-10-12 06:25:51 -07:00
|
|
|
window.dialog {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
-moz-padding-start: 8px;
|
|
|
|
-moz-padding-end: 10px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: alert icons :::::*/
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
.message-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.alert-icon,
|
|
|
|
.error-icon,
|
|
|
|
.question-icon {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
2008-10-12 06:25:51 -07:00
|
|
|
margin: 6px;
|
|
|
|
-moz-margin-end: 20px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
min-width: 1px; /* DON'T DELETE!
|
|
|
|
Prevents hiding of scrollbars in browser when window is made smaller.*/
|
|
|
|
min-height: 15px !important;
|
|
|
|
margin: 0px !important;
|
|
|
|
padding: 0px 16px 1px 1px;
|
2009-01-06 07:47:14 -08:00
|
|
|
-moz-appearance: statusbar;
|
2008-10-13 02:07:00 -07:00
|
|
|
text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
statusbarpanel {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-iconic {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
/* ::::: miscellaneous formatting ::::: */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-09-04 03:58:18 -07:00
|
|
|
:root[lwtheme="true"],
|
|
|
|
[lwthemefooter="true"], {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwthemetextcolor="dark"] {
|
|
|
|
text-shadow: 1px 1px 2px white;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwthemetextcolor="bright"] {
|
|
|
|
text-shadow: 1px 1px 2px black;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwtheme="true"] toolbar,
|
|
|
|
:root[lwtheme="true"] findbar,
|
|
|
|
:root[lwtheme="true"] statusbar {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: none;
|
|
|
|
border-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwtheme="true"] splitter {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwtheme="true"] statusbar {
|
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[lwtheme="true"] .findbar-container > label,
|
|
|
|
:root[lwtheme="true"] .findbar-find-status {
|
|
|
|
color: inherit;
|
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
.inset {
|
|
|
|
border: 1px solid ThreeDShadow;
|
|
|
|
border-right-color: ThreeDHighlight;
|
|
|
|
border-bottom-color: ThreeDHighlight;
|
|
|
|
margin: 0 5px 5px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-10-12 06:25:51 -07:00
|
|
|
|
|
|
|
.outset {
|
|
|
|
border: 1px solid ThreeDShadow;
|
|
|
|
border-left-color: ThreeDHighlight;
|
|
|
|
border-top-color: ThreeDHighlight;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
separator:not([orient="vertical"]) {
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
separator[orient="vertical"] {
|
|
|
|
width: 1.5em;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
separator.thin:not([orient="vertical"]) {
|
|
|
|
height: 0.5em;
|
|
|
|
}
|
|
|
|
separator.thin[orient="vertical"] {
|
|
|
|
width: 0.5em;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
separator.groove:not([orient="vertical"]) {
|
|
|
|
border-top: 1px solid #A3A3A3;
|
|
|
|
height: 0;
|
|
|
|
margin-top: 0.4em;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
|
|
|
separator.groove[orient="vertical"] {
|
|
|
|
border-left: 1px solid #A3A3A3;
|
|
|
|
width: 0;
|
|
|
|
margin-left: 0.4em;
|
|
|
|
margin-right: 0.4em;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-10-12 06:25:51 -07:00
|
|
|
|
|
|
|
.plain {
|
2009-08-03 15:14:02 -07:00
|
|
|
-moz-appearance: none;
|
2008-10-12 06:25:51 -07:00
|
|
|
margin: 0 !important;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
description,
|
|
|
|
label {
|
|
|
|
cursor: default;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
label {
|
2009-08-17 19:34:20 -07:00
|
|
|
margin: 2px 6px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
label[disabled="true"] {
|
|
|
|
color: GrayText;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-22 10:15:25 -07:00
|
|
|
.tooltip-label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
description {
|
2008-10-12 06:25:51 -07:00
|
|
|
margin-bottom: 4px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
.header {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-weight: bold;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
.monospace {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-10-12 06:25:51 -07:00
|
|
|
.indent {
|
|
|
|
-moz-margin-start: 23px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-padded {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spaced {
|
|
|
|
margin: 3px 5px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-box {
|
|
|
|
padding: 20px 44px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-link {
|
|
|
|
color: -moz-nativehyperlinktext;
|
|
|
|
text-decoration: underline;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-link:focus {
|
|
|
|
border: 1px dotted -moz-DialogText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-focustarget {
|
|
|
|
-moz-user-focus: ignore !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-11-27 14:14:35 -08:00
|
|
|
notification > button {
|
|
|
|
margin: 0 3px;
|
2009-08-10 14:25:56 -07:00
|
|
|
padding: 1px 10px;
|
|
|
|
min-width: 60px;
|
2008-11-27 14:14:35 -08:00
|
|
|
min-height: 16px;
|
2009-08-10 14:25:56 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-border-radius: 100%;
|
2009-08-30 17:26:43 -07:00
|
|
|
border: @roundButtonBorder@;
|
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
background: @roundButtonBackground@;
|
|
|
|
-moz-box-shadow: @roundButtonShadow@;
|
2008-11-27 14:14:35 -08:00
|
|
|
}
|
|
|
|
|
2009-08-10 14:25:56 -07:00
|
|
|
notification > button:active:hover {
|
2009-08-30 17:26:43 -07:00
|
|
|
background: @roundButtonPressedBackground@;
|
|
|
|
-moz-box-shadow: @roundButtonPressedShadow@;
|
2008-11-27 14:14:35 -08:00
|
|
|
}
|
|
|
|
|
2009-03-14 01:10:08 -07:00
|
|
|
notification > button:focus {
|
2009-08-30 17:26:43 -07:00
|
|
|
-moz-box-shadow: @focusRingShadow@, @roundButtonShadow@;
|
2009-08-10 14:25:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification > button:active:hover:focus {
|
2009-08-30 17:26:43 -07:00
|
|
|
-moz-box-shadow: @focusRingShadow@, @roundButtonPressedShadow@;
|
2009-03-14 01:10:08 -07:00
|
|
|
}
|
|
|
|
|
2009-06-14 03:46:41 -07:00
|
|
|
notification > button > .button-box > .button-text {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2007-06-14 19:36:38 -07:00
|
|
|
/* :::::: autoscroll popup ::::: */
|
|
|
|
|
2009-03-08 12:05:53 -07:00
|
|
|
.autoscroller {
|
2007-06-14 19:36:38 -07:00
|
|
|
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;
|
2008-10-14 08:36:38 -07:00
|
|
|
-moz-window-shadow: none;
|
2007-06-14 19:36:38 -07:00
|
|
|
}
|
|
|
|
|
2009-03-08 12:05:53 -07:00
|
|
|
.autoscroller[scrolldir="NS"] {
|
2007-12-25 06:01:44 -08:00
|
|
|
background-position: right center;
|
2007-06-14 19:36:38 -07:00
|
|
|
}
|
|
|
|
|
2009-03-08 12:05:53 -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
|
|
|
}
|