/* ***** 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 * * 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/); /* hildon stuff ------------------------------------------------------------ */ menu, menuitem { padding: 0px !important; margin: 0px !important; font-family: "Nokia Sans", Tahoma, sans-serif !important; font-size: 16.75pt !important; } label, description, textbox { font-family: "Nokia Sans", Tahoma, sans-serif !important; font-size: 16.75pt !important; } richlistitem { font-family: "Nokia Sans", Tahoma, sans-serif !important; font-size: 16.75pt !important; } /* panels ------------------------------------------------------------------ */ .panel-dark { color: white; background-color: #36373b; } /* dialog popups ----------------------------------------------------------- */ .dialog-dark { color: #fff; background-color: #36373b; -moz-border-radius: 0 0 2mm 2mm; padding: 8px; -moz-box-shadow: black 0 0.5mm 0.5mm; } /* buttons ----------------------------------------------------------------- */ .button-text, .toolbarbutton-text { font-weight: bold !important; font-size: 9pt !important; } button { min-width: 12mm !important; /* button size */ min-height: 12mm !important; /* button size */ color: #000; padding: 0.5mm 1mm; border-width: 8px !important; -moz-border-image: url("chrome://browser/skin/images/button-default-64.png") 8 repeat repeat; -moz-appearance: none !important; } button:not([disabled="true"]):active { -moz-border-image: url("chrome://browser/skin/images/button-active-64.png") 8 repeat repeat; } button[disabled="true"] { color: #aaa !important; } /* dark buttons ------------------------------------------------------------ */ /* we set notification buttons here as well, since the style can't be set in scoped CSS file, like notification.css, when the buttons are added later */ button.button-dark, notification button { color: #fff !important; background-color: transparent !important; -moz-border-image: url("chrome://browser/skin/images/buttondark-default-64.png") 8 repeat repeat; } button.button-dark:not([disabled="true"]):active, notification button:not([disabled="true"]):active { -moz-border-image: url("chrome://browser/skin/images/buttondark-active-64.png") 8 repeat repeat; } button.button-dark[disabled="true"] { color: #ddd !important; } /* toolbar buttons --------------------------------------------------------- */ toolbarbutton { min-width: 17mm !important; /* primary button size */ min-height: 17mm !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, toolbarbutton:not([image]) .toolbarbutton-icon, toolbarbutton[image=''] .toolbarbutton-icon { -moz-margin-end: 0; } toolbarbutton:hover, toolbarbutton:hover:active, toolbarbutton[open="true"] { border-color: transparent; } /* dark buttons ------------------------------------------------------------ */ toolbarbutton.button-dark { color: #fff; padding: 0.5mm 1mm; border-width: 10px; -moz-border-image: url("chrome://browser/skin/images/toolbarbutton-default-64.png") 10 repeat repeat; } toolbarbutton.button-dark:not([disabled="true"]):active { -moz-border-image: url("chrome://browser/skin/images/toolbarbutton-active-64.png") 10 repeat repeat; } toolbarbutton.button-dark[disabled="true"] { color: #ddd; } toolbarbutton.button-dark[checked="true"] { /* checked overrides */ border: 8px solid transparent !important; background: #303030 !important; padding: 0.5mm 1mm !important; } /* image buttons ----------------------------------------------------------- */ .button-image { padding: 0 !important; background: #36373b !important; border: none !important; } /* radio buttons ----------------------------------------------------------- */ radiogroup { -moz-box-orient: horizontal; } .radio-label { font-weight: bold !important; font-size: 9pt !important; } radio { color: #36373b; min-width: 12mm !important; /* button size */ min-height: 6mm !important; padding: 1mm !important; margin: 0; border-width: 8px; -moz-box-align: center; -moz-appearance: none; -moz-border-image: url("chrome://browser/skin/images/togglemiddle-inactive-64.png") 8 repeat repeat; } radio .radio-icon, radio .radio-check { display: none; } radio[selected] { color: #000; -moz-border-image: url("chrome://browser/skin/images/togglemiddle-active-64.png") 8 repeat repeat; } radio:first-child { -moz-border-image: url("chrome://browser/skin/images/toggleleft-inactive-64.png") 8 repeat repeat; } radio:first-child[selected] { -moz-border-image: url("chrome://browser/skin/images/toggleleft-active-64.png") 8 repeat repeat; } radio:last-child { -moz-border-image: url("chrome://browser/skin/images/toggleright-inactive-64.png") 8 repeat repeat; } radio:last-child[selected] { -moz-border-image: url("chrome://browser/skin/images/toggleright-active-64.png") 8 repeat repeat; } /* checkbox radios --------------------------------------------------------- */ checkbox { margin: 1px 5px 2px 5px; /* match platform style for buttons */ } radio.checkbox-radio-on { -moz-border-image: url("chrome://browser/skin/images/toggleon-inactive-64.png") 8 repeat repeat; } radio.checkbox-radio-on[selected] { color: #fff; -moz-border-image: url("chrome://browser/skin/images/toggleon-active-64.png") 8 repeat repeat; } radio.checkbox-radio-off { -moz-border-image: url("chrome://browser/skin/images/toggleoff-inactive-64.png") 8 repeat repeat; } radio.checkbox-radio-off[selected] { -moz-border-image: url("chrome://browser/skin/images/toggleoff-active-64.png") 8 repeat repeat; } radio.checkbox-radio-on:not([selected]) .radio-label-box, radio.checkbox-radio-off:not([selected]) .radio-label-box { visibility: hidden; } /* dark radios ------------------------------------------------------------- */ .toggle-dark radio { color: #fff; -moz-border-image: url("chrome://browser/skin/images/toggledarkmiddle-inactive-64.png") 8 repeat repeat; } .toggle-dark radio[selected] { -moz-border-image: url("chrome://browser/skin/images/toggledarkmiddle-active-64.png") 8 repeat repeat; } .toggle-dark radio:first-child { -moz-border-image: url("chrome://browser/skin/images/toggledarkleft-inactive-64.png") 8 repeat repeat; } .toggle-dark radio:first-child[selected] { -moz-border-image: url("chrome://browser/skin/images/toggledarkleft-active-64.png") 8 repeat repeat; } .toggle-dark radio:last-child { -moz-border-image: url("chrome://browser/skin/images/toggledarkright-inactive-64.png") 8 repeat repeat; } .toggle-dark radio:last-child[selected] { -moz-border-image: url("chrome://browser/skin/images/toggledarkright-active-64.png") 8 repeat repeat; } /* richlistbox ------------------------------------------------------------- */ richlistbox { margin: 0; } richlistitem { min-height: 14.4mm; /* row size */ } /* colorpicker ------------------------------------------------------------- */ colorpicker > panel { background-color: #36373b; } colorpicker > vbox { background-color: #36373b; }