gecko/mobile/themes/wince/platform.css

160 lines
4.4 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 Mobile Browser.
*
* 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):
* Mark Finkle <mfinkle@mozilla.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 skin ------------------------------------------------------------- */
@import url(chrome://global/skin/);
/* panels ------------------------------------------------------------------ */
.panel-dark {
background-color: #414141;
}
/* dialog popups ----------------------------------------------------------- */
.dialog-dark {
color: #fff;
background-color: #414141;
-moz-border-radius: 0px 0px 8px 8px;
padding: 8px;
-moz-box-shadow: black 0px 4px 4px;
}
/* buttons ----------------------------------------------------------------- */
.button-text,
.toolbarbutton-text {
font-weight: bold !important;
font-size: 9pt !important;
}
button {
color: #414141;
padding: 4px 8px;
-moz-border-radius: 0.5em;
-moz-border-top-colors: -moz-initial;
-moz-border-right-colors: -moz-initial;
-moz-border-left-colors: -moz-initial;
-moz-border-bottom-colors: -moz-initial;
border: 1px solid #414141;
background: #efefef;
}
button[disabled="true"] {
color: #ccc;
-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;
border: 1px solid #ccc;
background: #fff;
}
/* XXX needs to be updated */
button:active {
-moz-border-top-colors: -moz-initial;
-moz-border-right-colors: -moz-initial;
-moz-border-left-colors: -moz-initial;
-moz-border-bottom-colors: -moz-initial;
border: 1px solid #aaa;
background: #ddd;
}
/* dark buttons ------------------------------------------------------------ */
.button-dark {
color: #fff;
padding: 4px 8px;
-moz-border-radius: 0.5em;
border: 1px solid #777 !important;
background: #525252;
}
.button-dark:active {
border: 1px solid #202020 !important;
background: #303030;
}
.button-dark[disabled="true"],
.button-dark[disabled="true"]:active {
border: 1px solid #515151;
background: #414141;
}
.button-dark[checked="true"] {
/* checked overrides */
border: 1px solid #202020 !important;
background: #303030 !important;
padding: 4px 8px !important;
}
/* re-theme radio buttons */
radiogroup {
-moz-box-orient: horizontal;
}
.radio-label {
font-weight: bold !important;
font-size: 9pt !important;
}
radio {
color: #414141;
padding: 0px 12px 0px 8px;
margin: 0px;
border: 1px solid #414141;
-moz-box-align: center;
-moz-appearance: none;
background: #fff;
}
radio[selected] {
padding: 0px 8px 0px 12px;
border: 1px solid #aaa;
background-color: #ddd;
}
radio .radio-check-box1, .radio-check {
display: none;
}
radio:first-child {
-moz-border-radius-topleft: 0.5em;
-moz-border-radius-bottomleft: 0.5em;
}
radio:last-child {
-moz-border-radius-topright: 0.5em;
-moz-border-radius-bottomright: 0.5em;
}