gecko/mobile/themes/wince/platform.css

530 lines
15 KiB
CSS
Raw Normal View History

/* ***** 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.
*
Bug 473992: Create separate theme folders for hildon and wince, r=gavin --HG-- rename : mobile/chrome/skin/browser.css => mobile/themes/wince/browser.css rename : mobile/chrome/skin/extensions.css => mobile/themes/wince/extensions.css rename : mobile/chrome/skin/firstrun/firstrun.css => mobile/themes/wince/firstrun/firstrun.css rename : mobile/chrome/content/firstrun/firstrun.xhtml => mobile/themes/wince/firstrun/firstrun.xhtml rename : mobile/chrome/skin/firstrun/firstrun_arrow_l.png => mobile/themes/wince/firstrun/firstrun_arrow_l.png rename : mobile/chrome/skin/firstrun/firstrun_arrow_r.png => mobile/themes/wince/firstrun/firstrun_arrow_r.png rename : mobile/chrome/skin/firstrun/firstrun_background.jpg => mobile/themes/wince/firstrun/firstrun_background.jpg rename : mobile/chrome/skin/firstrun/firstrun_splash.png => mobile/themes/wince/firstrun/firstrun_splash.png rename : mobile/chrome/skin/images/addressbar_endcap_l_off.png => mobile/themes/wince/images/addressbar_endcap_l_off.png rename : mobile/chrome/skin/images/addressbar_endcap_l_on.png => mobile/themes/wince/images/addressbar_endcap_l_on.png rename : mobile/chrome/skin/images/addressbar_endcap_r_off.png => mobile/themes/wince/images/addressbar_endcap_r_off.png rename : mobile/chrome/skin/images/addressbar_endcap_r_on.png => mobile/themes/wince/images/addressbar_endcap_r_on.png rename : mobile/chrome/skin/images/addressbar_middle.png => mobile/themes/wince/images/addressbar_middle.png rename : mobile/chrome/skin/images/close-small.png => mobile/themes/wince/images/close-small.png rename : mobile/chrome/skin/images/default-favicon.png => mobile/themes/wince/images/default-favicon.png rename : mobile/chrome/skin/images/identity.png => mobile/themes/wince/images/identity.png rename : mobile/chrome/skin/images/left_buttons.png => mobile/themes/wince/images/left_buttons.png rename : mobile/chrome/skin/images/left_sidebar_middle.png => mobile/themes/wince/images/left_sidebar_middle.png rename : mobile/chrome/skin/images/navigation_background.png => mobile/themes/wince/images/navigation_background.png rename : mobile/chrome/skin/images/navigation_magnifier.gif => mobile/themes/wince/images/navigation_magnifier.gif rename : mobile/chrome/skin/images/navigation_search_caps.png => mobile/themes/wince/images/navigation_search_caps.png rename : mobile/chrome/skin/images/navigation_url_caps.png => mobile/themes/wince/images/navigation_url_caps.png rename : mobile/chrome/skin/images/page-starred.png => mobile/themes/wince/images/page-starred.png rename : mobile/chrome/skin/images/page_buttons.png => mobile/themes/wince/images/page_buttons.png rename : mobile/chrome/skin/images/panel_background.png => mobile/themes/wince/images/panel_background.png rename : mobile/chrome/skin/images/panel_buttons.png => mobile/themes/wince/images/panel_buttons.png rename : mobile/chrome/skin/images/right_buttons.png => mobile/themes/wince/images/right_buttons.png rename : mobile/chrome/skin/images/right_sidebar_middle.png => mobile/themes/wince/images/right_sidebar_middle.png rename : mobile/chrome/skin/images/starred48.png => mobile/themes/wince/images/starred48.png rename : mobile/chrome/skin/images/tab_close.png => mobile/themes/wince/images/tab_close.png rename : mobile/chrome/skin/images/tag.png => mobile/themes/wince/images/tag.png rename : mobile/chrome/skin/images/throbber.png => mobile/themes/wince/images/throbber.png rename : mobile/chrome/skin/images/toolbar.png => mobile/themes/wince/images/toolbar.png rename : mobile/chrome/skin/images/toolbar_background.png => mobile/themes/wince/images/toolbar_background.png rename : mobile/chrome/skin/notification.css => mobile/themes/wince/notification.css
2009-01-21 14:16:28 -08:00
* 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):
Bug 473992: Create separate theme folders for hildon and wince, r=gavin --HG-- rename : mobile/chrome/skin/browser.css => mobile/themes/wince/browser.css rename : mobile/chrome/skin/extensions.css => mobile/themes/wince/extensions.css rename : mobile/chrome/skin/firstrun/firstrun.css => mobile/themes/wince/firstrun/firstrun.css rename : mobile/chrome/content/firstrun/firstrun.xhtml => mobile/themes/wince/firstrun/firstrun.xhtml rename : mobile/chrome/skin/firstrun/firstrun_arrow_l.png => mobile/themes/wince/firstrun/firstrun_arrow_l.png rename : mobile/chrome/skin/firstrun/firstrun_arrow_r.png => mobile/themes/wince/firstrun/firstrun_arrow_r.png rename : mobile/chrome/skin/firstrun/firstrun_background.jpg => mobile/themes/wince/firstrun/firstrun_background.jpg rename : mobile/chrome/skin/firstrun/firstrun_splash.png => mobile/themes/wince/firstrun/firstrun_splash.png rename : mobile/chrome/skin/images/addressbar_endcap_l_off.png => mobile/themes/wince/images/addressbar_endcap_l_off.png rename : mobile/chrome/skin/images/addressbar_endcap_l_on.png => mobile/themes/wince/images/addressbar_endcap_l_on.png rename : mobile/chrome/skin/images/addressbar_endcap_r_off.png => mobile/themes/wince/images/addressbar_endcap_r_off.png rename : mobile/chrome/skin/images/addressbar_endcap_r_on.png => mobile/themes/wince/images/addressbar_endcap_r_on.png rename : mobile/chrome/skin/images/addressbar_middle.png => mobile/themes/wince/images/addressbar_middle.png rename : mobile/chrome/skin/images/close-small.png => mobile/themes/wince/images/close-small.png rename : mobile/chrome/skin/images/default-favicon.png => mobile/themes/wince/images/default-favicon.png rename : mobile/chrome/skin/images/identity.png => mobile/themes/wince/images/identity.png rename : mobile/chrome/skin/images/left_buttons.png => mobile/themes/wince/images/left_buttons.png rename : mobile/chrome/skin/images/left_sidebar_middle.png => mobile/themes/wince/images/left_sidebar_middle.png rename : mobile/chrome/skin/images/navigation_background.png => mobile/themes/wince/images/navigation_background.png rename : mobile/chrome/skin/images/navigation_magnifier.gif => mobile/themes/wince/images/navigation_magnifier.gif rename : mobile/chrome/skin/images/navigation_search_caps.png => mobile/themes/wince/images/navigation_search_caps.png rename : mobile/chrome/skin/images/navigation_url_caps.png => mobile/themes/wince/images/navigation_url_caps.png rename : mobile/chrome/skin/images/page-starred.png => mobile/themes/wince/images/page-starred.png rename : mobile/chrome/skin/images/page_buttons.png => mobile/themes/wince/images/page_buttons.png rename : mobile/chrome/skin/images/panel_background.png => mobile/themes/wince/images/panel_background.png rename : mobile/chrome/skin/images/panel_buttons.png => mobile/themes/wince/images/panel_buttons.png rename : mobile/chrome/skin/images/right_buttons.png => mobile/themes/wince/images/right_buttons.png rename : mobile/chrome/skin/images/right_sidebar_middle.png => mobile/themes/wince/images/right_sidebar_middle.png rename : mobile/chrome/skin/images/starred48.png => mobile/themes/wince/images/starred48.png rename : mobile/chrome/skin/images/tab_close.png => mobile/themes/wince/images/tab_close.png rename : mobile/chrome/skin/images/tag.png => mobile/themes/wince/images/tag.png rename : mobile/chrome/skin/images/throbber.png => mobile/themes/wince/images/throbber.png rename : mobile/chrome/skin/images/toolbar.png => mobile/themes/wince/images/toolbar.png rename : mobile/chrome/skin/images/toolbar_background.png => mobile/themes/wince/images/toolbar_background.png rename : mobile/chrome/skin/notification.css => mobile/themes/wince/notification.css
2009-01-21 14:16:28 -08:00
* 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 ***** */
Bug 473992: Create separate theme folders for hildon and wince, r=gavin --HG-- rename : mobile/chrome/skin/browser.css => mobile/themes/wince/browser.css rename : mobile/chrome/skin/extensions.css => mobile/themes/wince/extensions.css rename : mobile/chrome/skin/firstrun/firstrun.css => mobile/themes/wince/firstrun/firstrun.css rename : mobile/chrome/content/firstrun/firstrun.xhtml => mobile/themes/wince/firstrun/firstrun.xhtml rename : mobile/chrome/skin/firstrun/firstrun_arrow_l.png => mobile/themes/wince/firstrun/firstrun_arrow_l.png rename : mobile/chrome/skin/firstrun/firstrun_arrow_r.png => mobile/themes/wince/firstrun/firstrun_arrow_r.png rename : mobile/chrome/skin/firstrun/firstrun_background.jpg => mobile/themes/wince/firstrun/firstrun_background.jpg rename : mobile/chrome/skin/firstrun/firstrun_splash.png => mobile/themes/wince/firstrun/firstrun_splash.png rename : mobile/chrome/skin/images/addressbar_endcap_l_off.png => mobile/themes/wince/images/addressbar_endcap_l_off.png rename : mobile/chrome/skin/images/addressbar_endcap_l_on.png => mobile/themes/wince/images/addressbar_endcap_l_on.png rename : mobile/chrome/skin/images/addressbar_endcap_r_off.png => mobile/themes/wince/images/addressbar_endcap_r_off.png rename : mobile/chrome/skin/images/addressbar_endcap_r_on.png => mobile/themes/wince/images/addressbar_endcap_r_on.png rename : mobile/chrome/skin/images/addressbar_middle.png => mobile/themes/wince/images/addressbar_middle.png rename : mobile/chrome/skin/images/close-small.png => mobile/themes/wince/images/close-small.png rename : mobile/chrome/skin/images/default-favicon.png => mobile/themes/wince/images/default-favicon.png rename : mobile/chrome/skin/images/identity.png => mobile/themes/wince/images/identity.png rename : mobile/chrome/skin/images/left_buttons.png => mobile/themes/wince/images/left_buttons.png rename : mobile/chrome/skin/images/left_sidebar_middle.png => mobile/themes/wince/images/left_sidebar_middle.png rename : mobile/chrome/skin/images/navigation_background.png => mobile/themes/wince/images/navigation_background.png rename : mobile/chrome/skin/images/navigation_magnifier.gif => mobile/themes/wince/images/navigation_magnifier.gif rename : mobile/chrome/skin/images/navigation_search_caps.png => mobile/themes/wince/images/navigation_search_caps.png rename : mobile/chrome/skin/images/navigation_url_caps.png => mobile/themes/wince/images/navigation_url_caps.png rename : mobile/chrome/skin/images/page-starred.png => mobile/themes/wince/images/page-starred.png rename : mobile/chrome/skin/images/page_buttons.png => mobile/themes/wince/images/page_buttons.png rename : mobile/chrome/skin/images/panel_background.png => mobile/themes/wince/images/panel_background.png rename : mobile/chrome/skin/images/panel_buttons.png => mobile/themes/wince/images/panel_buttons.png rename : mobile/chrome/skin/images/right_buttons.png => mobile/themes/wince/images/right_buttons.png rename : mobile/chrome/skin/images/right_sidebar_middle.png => mobile/themes/wince/images/right_sidebar_middle.png rename : mobile/chrome/skin/images/starred48.png => mobile/themes/wince/images/starred48.png rename : mobile/chrome/skin/images/tab_close.png => mobile/themes/wince/images/tab_close.png rename : mobile/chrome/skin/images/tag.png => mobile/themes/wince/images/tag.png rename : mobile/chrome/skin/images/throbber.png => mobile/themes/wince/images/throbber.png rename : mobile/chrome/skin/images/toolbar.png => mobile/themes/wince/images/toolbar.png rename : mobile/chrome/skin/images/toolbar_background.png => mobile/themes/wince/images/toolbar_background.png rename : mobile/chrome/skin/notification.css => mobile/themes/wince/notification.css
2009-01-21 14:16:28 -08:00
/* global skin ------------------------------------------------------------- */
@import url(chrome://global/skin/);
/* general stuff ------------------------------------------------------------ */
/* Override any OS inverse themes */
richlistbox,
textbox {
color: black;
background-color: white;
}
textbox[isempty="true"] {
color: gray;
}
/* panels ------------------------------------------------------------------ */
.panel-dark {
color: white;
background-color: #36373b;
}
/* dialog popups ----------------------------------------------------------- */
.dialog-dark {
color: #fff;
background-color: #36373b;
-moz-border-radius: 0 0 1mm 1mm;
padding: 8px;
-moz-box-shadow: black 0 0.25mm 0.25mm;
}
/* buttons ----------------------------------------------------------------- */
.button-text,
.toolbarbutton-text {
font-weight: bold !important;
font-size: 8pt !important;
}
button {
min-width: 6mm !important; /* button size */
min-height: 6mm !important; /* button size */
color: #000;
padding: 0.25mm 0.5mm;
-moz-appearance: none !important;
}
button[disabled="true"] {
color: #aaa !important;
}
/* hi-res screens */
@media all and (min-device-width: 401px) {
button {
border-width: 8px !important;
-moz-border-image: url("chrome://browser/skin/images/button-default-64.png") 8 repeat repeat;
}
button:not([disabled="true"]):active:hover {
-moz-border-image: url("chrome://browser/skin/images/button-active-64.png") 8 repeat repeat;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
button {
border-width: 4px !important;
-moz-border-image: url("chrome://browser/skin/images/button-default-36.png") 4 repeat repeat;
}
button:not([disabled="true"]):active:hover {
-moz-border-image: url("chrome://browser/skin/images/button-active-36.png") 4 repeat repeat;
}
}
/* 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: transparent !important;
}
button.button-dark[disabled="true"] {
color: #ddd !important;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
button.button-dark,
notification button {
-moz-border-image: url("chrome://browser/skin/images/buttondark-default-64.png") 8 repeat repeat;
}
button.button-dark:not([disabled="true"]):active:hover,
notification button:not([disabled="true"]):active:hover {
-moz-border-image: url("chrome://browser/skin/images/buttondark-active-64.png") 8 repeat repeat;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
button.button-dark,
notification button {
-moz-border-image: url("chrome://browser/skin/images/buttondark-default-36.png") 4 repeat repeat;
}
button.button-dark:not([disabled="true"]):active:hover,
notification button:not([disabled="true"]):active:hover {
-moz-border-image: url("chrome://browser/skin/images/buttondark-active-36.png") 4 repeat repeat;
}
}
/* toolbar buttons --------------------------------------------------------- */
toolbarbutton {
-moz-appearance: none !important;
margin: 0;
padding: 0.25mm;
}
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;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
toolbarbutton {
min-width: 64px !important; /* primary button size (match image pixels)*/
min-height: 64px !important; /* primary button size (match image pixels) */
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
toolbarbutton {
min-width: 36px !important; /* primary button size (match image pixels) */
min-height: 36px !important; /* primary button size (match image pixels) */
}
}
/* dark buttons ------------------------------------------------------------ */
toolbarbutton.button-dark {
color: #fff;
padding: 0.25mm 0.5mm;
}
toolbarbutton.button-dark[disabled="true"] {
color: #ddd;
}
toolbarbutton.button-dark[checked="true"] {
/* checked overrides */
border: 0.05mm solid #202020 !important;
background: #303030 !important;
padding: 0.25mm 0.5mm !important;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
toolbarbutton.button-dark {
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:hover {
-moz-border-image: url("chrome://browser/skin/images/toolbarbutton-active-64.png") 10 repeat repeat;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
toolbarbutton.button-dark {
border-width: 6px;
-moz-border-image: url("chrome://browser/skin/images/toolbarbutton-default-36.png") 6 repeat repeat;
}
toolbarbutton.button-dark:not([disabled="true"]):active:hover {
-moz-border-image: url("chrome://browser/skin/images/toolbarbutton-active-36.png") 6 repeat repeat;
}
}
/* 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: 8pt !important;
}
radio {
color: #36373b;
min-width: 6mm !important; /* button size */
min-height: 6mm !important; /* button size */
padding: 0.5mm 1.1mm 0.1mm 0.5mm !important;
margin: 0;
-moz-box-align: center;
-moz-appearance: none;
}
radio .radio-icon, radio .radio-check {
display: none;
}
radio[selected] {
color: #000;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
radio {
border-width: 8px;
-moz-border-image: url("chrome://browser/skin/images/togglemiddle-inactive-64.png") 8 repeat repeat;
}
radio[selected] {
-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;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
radio {
border-width: 4px;
-moz-border-image: url("chrome://browser/skin/images/togglemiddle-inactive-36.png") 4 repeat repeat;
}
radio[selected] {
-moz-border-image: url("chrome://browser/skin/images/togglemiddle-active-36.png") 4 repeat repeat;
}
radio:first-child {
-moz-border-image: url("chrome://browser/skin/images/toggleleft-inactive-36.png") 4 repeat repeat;
}
radio:first-child[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggleleft-active-36.png") 4 repeat repeat;
}
radio:last-child {
-moz-border-image: url("chrome://browser/skin/images/toggleright-inactive-36.png") 4 repeat repeat;
}
radio:last-child[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggleright-active-36.png") 4 repeat repeat;
}
}
/* checkbox radios --------------------------------------------------------- */
checkbox {
margin: 1px 5px 2px 5px; /* match platform style for buttons */
}
radio.checkbox-radio-on[selected] {
color: #fff;
}
radio.checkbox-radio-on:not([selected]) .radio-label-box,
radio.checkbox-radio-off:not([selected]) .radio-label-box {
visibility: hidden;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
radio.checkbox-radio-on {
-moz-border-image: url("chrome://browser/skin/images/toggleon-inactive-64.png") 8 repeat repeat;
}
radio.checkbox-radio-on[selected] {
-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;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
radio.checkbox-radio-on {
-moz-border-image: url("chrome://browser/skin/images/toggleon-inactive-36.png") 4 repeat repeat;
}
radio.checkbox-radio-on[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggleon-active-36.png") 4 repeat repeat;
}
radio.checkbox-radio-off {
-moz-border-image: url("chrome://browser/skin/images/toggleoff-inactive-36.png") 4 repeat repeat;
}
radio.checkbox-radio-off[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggleoff-active-36.png") 4 repeat repeat;
}
}
/* dark radios ------------------------------------------------------------- */
.toggle-dark radio {
color: #fff;
}
/* high-res screens */
@media all and (min-device-width: 401px) {
.toggle-dark radio {
-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;
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
.toggle-dark radio {
-moz-border-image: url("chrome://browser/skin/images/toggledarkmiddle-inactive-36.png") 4 repeat repeat;
}
.toggle-dark radio[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggledarkmiddle-active-36.png") 4 repeat repeat;
}
.toggle-dark radio:first-child {
-moz-border-image: url("chrome://browser/skin/images/toggledarkleft-inactive-36.png") 4 repeat repeat;
}
.toggle-dark radio:first-child[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggledarkleft-active-36.png") 4 repeat repeat;
}
.toggle-dark radio:last-child {
-moz-border-image: url("chrome://browser/skin/images/toggledarkright-inactive-36.png") 4 repeat repeat;
}
.toggle-dark radio:last-child[selected] {
-moz-border-image: url("chrome://browser/skin/images/toggledarkright-active-36.png") 4 repeat repeat;
}
}
/* richlistbox ------------------------------------------------------------- */
richlistbox {
margin: 0;
}
richlistitem {
min-height: 7.2mm; /* row size */
padding: 5px;
border-bottom: 1px solid rgb(207,207,207);
}
richlistitem label.title,
richlistitem description.title {
font-size: 9pt !important;
}
richlistitem label.normal,
richlistitem description.normal {
color: gray;
font-size: 8pt !important;
white-space: pre-wrap;
}
richlistitem label.normal-bold,
richlistitem description.normal-bold {
font-weight: bold;
font-size: 60% !important;
white-space: pre-wrap;
}
richlistitem[selected="true"] {
color: black;
background-color: white;
}
richlistitem.section-header,
richlistitem[selected="true"].section-header {
font-weight: bold;
color: #000;
background-color: lightgray;
}
richlistitem .show-on-select {
visibility: collapse;
}
richlistitem[selected="true"] .show-on-select {
visibility: visible;
}
richlistitem .hide-on-select {
visibility: visible;
}
richlistitem[selected="true"] .hide-on-select {
visibility: collapse;
}
richlistitem[typeName="message"] {
border-bottom: 0px;
}
/* colorpicker ------------------------------------------------------------- */
colorpicker > panel {
background-color: #36373b;
}
colorpicker > vbox {
background-color: #36373b;
}
/* textbox ----------------------------------------------------------------- */
/* high-res screens */
@media all and (min-device-width: 401px) {
.textbox-search-icon {
list-style-image: url("chrome://browser/skin/images/search-glass-30.png");
}
.textbox-search-clear {
list-style-image: url("chrome://browser/skin/images/search-clear-30.png");
}
}
/* low-res screens */
@media all and (max-device-width: 400px) {
.textbox-search-icon {
list-style-image: url("chrome://browser/skin/images/search-glass-16.png");
}
.textbox-search-clear {
list-style-image: url("chrome://browser/skin/images/search-clear-16.png");
}
}