2008-10-02 14:33:29 -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.
|
|
|
|
*
|
2009-01-21 14:16:28 -08:00
|
|
|
* The Original Code is Mozilla Mobile Browser.
|
2008-10-02 14:33:29 -07:00
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Mozilla Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2008
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
2009-01-21 14:16:28 -08:00
|
|
|
* Mark Finkle <mfinkle@mozilla.com>
|
2008-10-02 14:33:29 -07:00
|
|
|
*
|
|
|
|
* 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 ***** */
|
|
|
|
|
2009-01-21 14:16:28 -08:00
|
|
|
/* global skin ------------------------------------------------------------- */
|
|
|
|
@import url(chrome://global/skin/);
|
|
|
|
|
2009-05-05 19:30:43 -07:00
|
|
|
/* panels ------------------------------------------------------------------ */
|
|
|
|
.panel-dark {
|
2009-05-11 14:17:31 -07:00
|
|
|
color: white;
|
2009-06-10 20:52:45 -07:00
|
|
|
background-color: #36373b;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* dialog popups ----------------------------------------------------------- */
|
|
|
|
.dialog-dark {
|
|
|
|
color: #fff;
|
2009-06-10 20:52:45 -07:00
|
|
|
background-color: #36373b;
|
|
|
|
-moz-border-radius: 0 0 2mm 2mm;
|
2009-05-05 19:30:43 -07:00
|
|
|
padding: 8px;
|
2009-06-10 20:52:45 -07:00
|
|
|
-moz-box-shadow: black 0 0.5mm 0.5mm;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* buttons ----------------------------------------------------------------- */
|
|
|
|
.button-text,
|
|
|
|
.toolbarbutton-text {
|
|
|
|
font-weight: bold !important;
|
|
|
|
font-size: 9pt !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
2009-06-10 20:52:45 -07:00
|
|
|
min-width: 12mm !important; /* button size */
|
|
|
|
min-height: 12mm !important; /* button size */
|
|
|
|
color: #36373b;
|
|
|
|
padding: 0.5mm 1mm;
|
|
|
|
-moz-border-radius: 2mm;
|
2009-05-06 21:46:08 -07:00
|
|
|
-moz-border-top-colors: -moz-initial;
|
|
|
|
-moz-border-right-colors: -moz-initial;
|
|
|
|
-moz-border-left-colors: -moz-initial;
|
|
|
|
-moz-border-bottom-colors: -moz-initial;
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #36373b;
|
2009-05-06 21:46:08 -07:00
|
|
|
background: #efefef;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
button[disabled="true"] {
|
|
|
|
color: #ccc;
|
2009-05-06 21:46:08 -07:00
|
|
|
-moz-border-top-colors: -moz-initial !important;
|
|
|
|
-moz-border-right-colors: -moz-initial !important;
|
|
|
|
-moz-border-left-colors: -moz-initial !important;
|
|
|
|
-moz-border-bottom-colors: -moz-initial !important;
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #ccc;
|
2009-05-06 21:46:08 -07:00
|
|
|
background: #fff;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* XXX needs to be updated */
|
|
|
|
button:active {
|
2009-05-06 21:46:08 -07:00
|
|
|
-moz-border-top-colors: -moz-initial;
|
|
|
|
-moz-border-right-colors: -moz-initial;
|
|
|
|
-moz-border-left-colors: -moz-initial;
|
|
|
|
-moz-border-bottom-colors: -moz-initial;
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #aaa;
|
2009-05-06 21:46:08 -07:00
|
|
|
background: #ddd;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
2009-06-10 20:52:45 -07:00
|
|
|
toolbarbutton {
|
|
|
|
min-width: 14.4mm !important; /* primary button size */
|
|
|
|
min-height: 14.4mm !important; /* primary button size */
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5mm;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:not(.show-text) .toolbarbutton-text {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:not(.show-text) .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:hover,
|
|
|
|
toolbarbutton:hover:active,
|
|
|
|
toolbarbutton[open="true"] {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2009-05-05 19:30:43 -07:00
|
|
|
/* dark buttons ------------------------------------------------------------ */
|
|
|
|
.button-dark {
|
|
|
|
color: #fff;
|
2009-06-10 20:52:45 -07:00
|
|
|
padding: 0.5mm 1mm;
|
|
|
|
-moz-border-radius: 2mm;
|
2009-05-06 21:46:08 -07:00
|
|
|
border: 1px solid #777 !important;
|
|
|
|
background: #525252;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-dark:active {
|
2009-05-06 21:46:08 -07:00
|
|
|
border: 1px solid #202020 !important;
|
|
|
|
background: #303030;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-dark[disabled="true"],
|
|
|
|
.button-dark[disabled="true"]:active {
|
2009-05-06 21:46:08 -07:00
|
|
|
border: 1px solid #515151;
|
2009-06-10 20:52:45 -07:00
|
|
|
background: #36373b;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-dark[checked="true"] {
|
|
|
|
/* checked overrides */
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #202020 !important;
|
2009-05-06 21:46:08 -07:00
|
|
|
background: #303030 !important;
|
2009-06-10 20:52:45 -07:00
|
|
|
padding: 0.5mm 1mm !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* image buttons ----------------------------------------------------------- */
|
|
|
|
.button-image {
|
|
|
|
padding: 0 !important;
|
|
|
|
background: #36373b !important;
|
|
|
|
border: none !important;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
2009-06-10 20:52:45 -07:00
|
|
|
/* radio buttons ----------------------------------------------------------- */
|
2009-03-25 07:22:08 -07:00
|
|
|
radiogroup {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
2009-05-05 19:30:43 -07:00
|
|
|
.radio-label {
|
|
|
|
font-weight: bold !important;
|
|
|
|
font-size: 9pt !important;
|
|
|
|
}
|
|
|
|
|
2009-03-25 07:22:08 -07:00
|
|
|
radio {
|
2009-06-10 20:52:45 -07:00
|
|
|
min-width: 12mm !important; /* button size */
|
|
|
|
min-height: 12mm !important; /* button size */
|
|
|
|
color: #36373b;
|
|
|
|
padding: 0.2mm 2.2mm 0.2mm 1mm !important;
|
|
|
|
margin: 0;
|
|
|
|
border: 0.1mm solid #36373b;
|
2009-03-25 07:22:08 -07:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-appearance: none;
|
2009-05-06 21:46:08 -07:00
|
|
|
background: #fff;
|
2009-05-05 19:30:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
radio[selected] {
|
2009-05-07 21:43:08 -07:00
|
|
|
color: #fff;
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #91875a;
|
2009-05-08 10:51:23 -07:00
|
|
|
background-color: #DDC763;
|
2009-03-25 07:22:08 -07:00
|
|
|
}
|
|
|
|
|
2009-06-10 20:52:45 -07:00
|
|
|
radio .radio-check-box1, radio .radio-icon, radio .radio-check {
|
2009-03-25 07:22:08 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
radio:first-child {
|
2009-06-10 20:52:45 -07:00
|
|
|
-moz-border-radius-topleft: 2mm;
|
|
|
|
-moz-border-radius-bottomleft: 2mm;
|
2009-03-25 07:22:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
radio:last-child {
|
2009-06-10 20:52:45 -07:00
|
|
|
-moz-border-radius-topright: 2mm;
|
|
|
|
-moz-border-radius-bottomright: 2mm;
|
2009-03-25 07:22:08 -07:00
|
|
|
}
|
2009-05-07 21:43:08 -07:00
|
|
|
|
2009-06-11 10:05:13 -07:00
|
|
|
radiogroup[orient=vertical] radio:first-child {
|
|
|
|
-moz-border-radius-topright: 2mm;
|
|
|
|
-moz-border-radius-bottomleft: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
radiogroup[orient=vertical] radio:last-child {
|
|
|
|
-moz-border-radius-bottomleft: 2mm;
|
|
|
|
-moz-border-radius-topright: 0;
|
|
|
|
}
|
|
|
|
|
2009-05-07 21:43:08 -07:00
|
|
|
/* dark radios ------------------------------------------------------------- */
|
|
|
|
.toggle-dark radio {
|
|
|
|
color: #fff;
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #777;
|
2009-05-08 10:51:23 -07:00
|
|
|
background-color: #525252;
|
2009-05-07 21:43:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-dark radio[selected] {
|
2009-06-10 20:52:45 -07:00
|
|
|
border: 0.1mm solid #202020;
|
2009-05-08 10:51:23 -07:00
|
|
|
background-color: #303030;
|
2009-05-07 21:43:08 -07:00
|
|
|
}
|
2009-06-10 20:52:45 -07:00
|
|
|
|
|
|
|
/* richlistbox ------------------------------------------------------------- */
|
|
|
|
richlistbox {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem {
|
|
|
|
min-height: 14.4mm; /* row size */
|
|
|
|
}
|
2009-06-10 21:54:05 -07:00
|
|
|
|
|
|
|
/* colorpicker ------------------------------------------------------------- */
|
|
|
|
colorpicker > panel {
|
|
|
|
background-color: #36373b;
|
|
|
|
}
|
|
|
|
|
|
|
|
colorpicker > vbox {
|
|
|
|
background-color: #36373b;
|
|
|
|
}
|