2013-02-12 12:51:25 -08:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
/* Global Skin ------------------------------------------------------------- */
|
|
|
|
|
|
|
|
@import url(chrome://global/skin/);
|
|
|
|
|
|
|
|
%filter substitution
|
|
|
|
%include defines.inc
|
|
|
|
|
|
|
|
/* Typography & General Styling -------------------------------------------- */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
font-family: "Segoe UI", sans-serif !important;
|
|
|
|
font-size: @font_normal@;
|
|
|
|
}
|
|
|
|
|
2013-03-11 16:48:54 -07:00
|
|
|
.text-link {
|
2013-07-01 15:09:26 -07:00
|
|
|
color: @metro_orange@;
|
2013-03-11 16:48:54 -07:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
textbox,
|
|
|
|
menulist {
|
|
|
|
-moz-appearance: none;
|
|
|
|
min-width: @field_sizing@; /* button size */
|
|
|
|
min-height: @field_sizing@; /* button size */
|
|
|
|
margin: @metro_spacing_small@;
|
|
|
|
padding: @metro_spacing_xsmall@ @metro_spacing_small@;
|
|
|
|
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
font-weight: normal !important;
|
|
|
|
|
|
|
|
color: @field_foreground_color@;
|
|
|
|
background: @field_background_color@;
|
|
|
|
border: @metro_border_thick@ solid @field_foreground_color@ !important;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
textbox[disabled],
|
|
|
|
menulist[disabled] {
|
2013-02-12 12:51:25 -08:00
|
|
|
border-color: @field_disabled_foreground_color@ !important;
|
|
|
|
color: @field_disabled_foreground_color@;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist:not([disabled]):hover:active {
|
|
|
|
color: @field_background_color@;
|
|
|
|
background: @field_foreground_color@;
|
|
|
|
}
|
|
|
|
|
2013-03-06 18:31:28 -08:00
|
|
|
/* Button ------------------------------------------------------------------ */
|
|
|
|
|
|
|
|
button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: 1px solid;
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: @metro_spacing_small@;
|
|
|
|
min-width: @field_sizing@;
|
|
|
|
min-height: 32px;
|
|
|
|
padding: 3px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Non-default button colors */
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: linear-gradient(to bottom, hsl(210, 5%, 89%), hsl(210, 5%, 87%));
|
|
|
|
border-color: hsl(220, 5%, 86%);
|
|
|
|
color: hsl(0, 0%, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
button:not([disabled]):hover {
|
|
|
|
background: linear-gradient(to bottom, hsl(210, 5%, 75%), hsl(210, 5%, 73%));
|
|
|
|
border-color: hsl(210, 5%, 71%);
|
|
|
|
color: hsl(0, 0%, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Default button colors */
|
|
|
|
|
|
|
|
.button-default,
|
|
|
|
.notification-button-default {
|
|
|
|
background: linear-gradient(to bottom, hsl(35, 100%, 50%), hsl(30, 100%, 50%));
|
|
|
|
border-color: hsl(30, 100%, 48%);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-default:not([disabled]):hover,
|
|
|
|
.notification-button-default:not([disabled]):hover {
|
|
|
|
background: linear-gradient(to bottom, hsl(25, 100%, 47%), hsl(25, 100%, 45%));
|
|
|
|
border-color: hsl(25, 100%, 43%);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pushed button colors (both default and non-default */
|
|
|
|
|
|
|
|
/* Note: these need enough specificity to override all the :hover rules above. */
|
|
|
|
button:not([disabled]):hover:active,
|
|
|
|
button:not([disabled])[checked="true"],
|
|
|
|
.button-default:not([disabled])[checked="true"],
|
|
|
|
.notification-button-default:not([disabled])[checked="true"] {
|
|
|
|
background: linear-gradient(to bottom, hsl(210, 5%, 28%), hsl(210, 5%, 25%));
|
|
|
|
border-color: hsl(216, 4%, 27%);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Disabled button colors (both default and non-default */
|
|
|
|
|
|
|
|
button[disabled] {
|
|
|
|
background: linear-gradient(to bottom, hsl(210, 3%, 93%), hsl(210, 3%, 92%));
|
|
|
|
border-color: hsl(210, 3%, 91%);
|
|
|
|
color: hsl(0, 0%, 60%);
|
|
|
|
}
|
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
/* Textbox ----------------------------------------------------------------- */
|
|
|
|
|
|
|
|
textbox[isempty="true"] {
|
|
|
|
color: @field_mid_foreground_color@;
|
|
|
|
}
|
|
|
|
|
|
|
|
spinbuttons {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinbuttons-box {
|
|
|
|
border: none;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-direction: reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinbuttons-down,
|
|
|
|
.spinbuttons-up {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinbuttons-down {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowdown-16.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinbuttons-up {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowup-16.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Menu List --------------------------------------------------------------- */
|
|
|
|
|
|
|
|
menulist {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
padding: @metro_spacing_xsmall@ 0;
|
|
|
|
-moz-padding-start: @metro_spacing_small@;
|
|
|
|
border-color: @field_disabled_foreground_color@ !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Popup Menus ------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.menu-container {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-container[showingfrom="below"] {
|
|
|
|
transform: translateY(@metro_spacing_normal@);
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-container[showingfrom="above"] {
|
|
|
|
transform: translateY(-@metro_spacing_normal@);
|
|
|
|
}
|
|
|
|
|
2013-04-10 23:06:19 -07:00
|
|
|
.menu-container[hiding],
|
|
|
|
.menu-container[showing] {
|
|
|
|
transition: opacity ease-out 0.2s,
|
|
|
|
transform ease-out 0.2s;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
.menu-container[showing] {
|
2013-02-12 12:51:25 -08:00
|
|
|
opacity: 1;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-popup > richlistbox {
|
|
|
|
padding: 3px 0;
|
|
|
|
border: #000 solid @metro_border_thick@;
|
|
|
|
-moz-appearance: none;
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-popup > richlistbox > scrollbox {
|
|
|
|
width: 100%;
|
2013-07-02 16:59:40 -07:00
|
|
|
overflow-x: hidden !important;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-popup richlistitem {
|
|
|
|
width: 100%;
|
|
|
|
min-height: @touch_button_small@;
|
|
|
|
min-width: @touch_action_minwidth@; /* keep the button from being too narrow */
|
|
|
|
border: 0 none;
|
|
|
|
-moz-box-align: center;
|
2013-07-15 10:57:59 -07:00
|
|
|
font-weight: 600;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-popup richlistitem:not([disabled]):hover {
|
2013-07-15 10:57:59 -07:00
|
|
|
background-color: #ccc;
|
2013-02-12 12:51:25 -08:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-popup richlistitem:not([disabled]):active {
|
2013-07-15 10:57:59 -07:00
|
|
|
background-color: black;
|
|
|
|
color: white;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-04-07 05:42:18 -07:00
|
|
|
.menu-popup > richlistbox[left-hand="true"] > richlistitem {
|
2013-02-12 12:51:25 -08:00
|
|
|
padding-left: 50px;
|
|
|
|
}
|
|
|
|
|
2013-04-07 05:42:18 -07:00
|
|
|
.menu-popup > richlistbox[left-hand="false"] > richlistitem {
|
2013-02-12 12:51:25 -08:00
|
|
|
padding-right: 50px;
|
|
|
|
}
|
|
|
|
|
2013-07-15 10:57:59 -07:00
|
|
|
/* Additional styles applied to popups for form <select> elements. */
|
2013-07-11 09:53:10 -07:00
|
|
|
|
|
|
|
#select-container {
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#select-commands {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: white;
|
|
|
|
border: #000 solid @metro_border_thick@;
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
-moz-box-align: stretch;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* listcell element doesn't have flex="1" so we need to force it */
|
2013-07-15 10:57:59 -07:00
|
|
|
.option-command > listcell {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-box-flex: 1 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-command {
|
|
|
|
min-height: @touch_button_small@;
|
|
|
|
min-width: @touch_action_minwidth@; /* keep the button from being too narrow */
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-command.selected {
|
2013-07-15 10:57:59 -07:00
|
|
|
background-color: #ff8000;
|
|
|
|
color: white;
|
2013-07-11 09:53:10 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.option-command.optgroup {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-command:not([disabled]):hover {
|
2013-07-15 10:57:59 -07:00
|
|
|
background-color: #f0f0f0;
|
2013-07-11 09:53:10 -07:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-command:not([disabled]):active {
|
2013-07-15 10:57:59 -07:00
|
|
|
background-color: #d3d3d3;
|
2013-07-11 09:53:10 -07:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-popup > richlistbox > scrollbox {
|
|
|
|
width: 100%;
|
|
|
|
overflow-x: hidden !important;
|
|
|
|
}
|
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
/* Toolbar Button --------------------------------------------------------- */
|
|
|
|
|
|
|
|
toolbarbutton {
|
|
|
|
min-width: @metro_spacing_large@; /* primary button size */
|
|
|
|
min-height: @metro_spacing_large@; /* primary button size */
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: @metro_spacing_xsmall@;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:not(.show-text) .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-icon[label]:not([label=""]),
|
|
|
|
.toolbarbutton-icon[type="menu"] {
|
|
|
|
-moz-margin-end: @metro_spacing_xsmall@;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggleswitch ------------------------------------------------------------ */
|
|
|
|
|
|
|
|
checkbox.toggleswitch {
|
|
|
|
margin: @metro_spacing_small@;
|
|
|
|
min-height: @metro_spacing_normal@;
|
2013-02-26 15:09:42 -08:00
|
|
|
font-weight: bold;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch hbox {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch:not([checked]) .onlabel,
|
|
|
|
checkbox.toggleswitch[checked] .offlabel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch radiogroup {
|
|
|
|
border: @metro_border_thick@ solid @field_disabled_foreground_color@;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch radio {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
border: 0 none;
|
|
|
|
border-radius: 0;
|
|
|
|
background: 0 none;
|
|
|
|
padding: 0;
|
|
|
|
min-height: @metro_spacing_normal@;
|
|
|
|
height: @metro_spacing_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch[checked] radio.checkbox-radio-on,
|
|
|
|
checkbox.toggleswitch:not([checked]) radio.checkbox-radio-off {
|
|
|
|
width: @metro_spacing_normal@;
|
|
|
|
min-width: @metro_spacing_normal@;
|
|
|
|
background: #000;
|
|
|
|
margin: -@metro_border_thick@;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch[checked] radio.checkbox-radio-off,
|
|
|
|
checkbox.toggleswitch:not([checked]) radio.checkbox-radio-on {
|
|
|
|
width: @metro_spacing_xxxnormal@;
|
|
|
|
min-width: @metro_spacing_xxxnormal@;
|
|
|
|
margin: @metro_border_thin@;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch:not([checked]) radio.checkbox-radio-on {
|
|
|
|
background: @field_disabled_foreground_color@;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch[checked] radio.checkbox-radio-off {
|
|
|
|
background: @selected_color@;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch[checked] radio:last-child {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox.toggleswitch[checked] radio:first-child {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Color Picker ------------------------------------------------------------ */
|
|
|
|
|
|
|
|
colorpicker > panel {
|
|
|
|
background-color: #767973;
|
|
|
|
}
|
|
|
|
|
|
|
|
colorpicker > vbox {
|
|
|
|
background-color: #767973;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Rich List Box ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
richlistbox {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
min-height: @metro_spacing_normal@; /* row size */
|
|
|
|
padding: @metro_spacing_small@;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem label.normal,
|
|
|
|
richlistitem description.normal,
|
|
|
|
richlistitem label.normal-black,
|
|
|
|
richlistitem description.normal-black,
|
|
|
|
richlistitem label.normal-bold,
|
|
|
|
richlistitem description.normal-bold{
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem label.normal,
|
|
|
|
richlistitem description.normal {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem label.normal-bold,
|
|
|
|
richlistitem description.normal-bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
richlistitem[selected] {
|
2013-02-12 12:51:25 -08:00
|
|
|
color: black;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
richlistitem:hover:active:not([selected]) {
|
2013-02-12 12:51:25 -08:00
|
|
|
background-color: #8db8d8;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem.section-header,
|
2013-03-18 15:34:23 -07:00
|
|
|
richlistitem[selected].section-header {
|
2013-02-12 12:51:25 -08:00
|
|
|
font-weight: bold;
|
|
|
|
color: #000;
|
|
|
|
background-color: lightgray;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
richlistitem[selected] .hide-on-select,
|
2013-02-12 12:51:25 -08:00
|
|
|
richlistitem .show-on-select {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
richlistitem[selected] .show-on-select,
|
2013-02-12 12:51:25 -08:00
|
|
|
richlistitem .hide-on-select {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[typeName="message"] {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2013-03-06 18:31:28 -08:00
|
|
|
/* Notification box ("info app bar") ---------------------------------------- */
|
|
|
|
|
|
|
|
notification {
|
|
|
|
background: hsl(0, 0%, 98%);
|
|
|
|
border-bottom: 1px solid hsla(0, 0%, 0%, .07);
|
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, .1);
|
|
|
|
min-height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-inner {
|
|
|
|
border-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-button {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
-moz-margin-start: 40px;
|
|
|
|
-moz-margin-end: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* If there is no image set, collapse the image but keep the starting margin */
|
|
|
|
.messageImage:not([src]) {
|
|
|
|
width: 0;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageText {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/infobar-close.png");
|
|
|
|
padding: 0;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 40px;
|
|
|
|
-moz-image-region: rect(0, 40px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton > .toolbarbutton-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton:hover {
|
|
|
|
-moz-image-region: rect(0, 80px, 40px, 40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 120px, 40px, 80px);
|
|
|
|
}
|
|
|
|
|
2013-03-11 16:48:54 -07:00
|
|
|
.notification-link {
|
|
|
|
/* Make the link take up all the space before the buttons. */
|
|
|
|
-moz-box-flex: 9999;
|
|
|
|
}
|
|
|
|
|
2013-03-06 18:31:28 -08:00
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
/* Dialogs ----------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.modal-block,
|
|
|
|
.perm-modal-block {
|
|
|
|
background-color: rgba(0,0,0,.6);
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog-dark,
|
|
|
|
.panel-arrowcontent {
|
|
|
|
background: url("chrome://browser/skin/images/popup-bg-hdpi.png") left bottom repeat-x;
|
|
|
|
background-color: white;
|
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@,
|
|
|
|
black 0 -@border_radius_tiny@ @border_radius_tiny@;
|
|
|
|
padding: @padding_normal@ 0; /* core spacing on top/bottom */
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog > .prompt-inner {
|
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-header > .prompt-message {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-header > .button-checkbox {
|
|
|
|
margin-left: @margin_large@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-title {
|
|
|
|
padding-top: @metro_spacing_normal@;
|
|
|
|
text-align: start;
|
|
|
|
font-size: @metro_font_large@;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Authentication dialogs do not have a title */
|
|
|
|
.prompt-title:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-message {
|
2013-07-01 15:09:26 -07:00
|
|
|
padding-top: @metro_spacing_normal@;
|
2013-02-12 12:51:25 -08:00
|
|
|
text-align: start;
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-buttons {
|
|
|
|
-moz-box-pack: end;
|
|
|
|
text-align: end;
|
|
|
|
padding: @metro_spacing_normal@ 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-edit {
|
|
|
|
margin: @margin_xnormal@;
|
|
|
|
font-size: @font_normal@;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2013-07-01 15:09:26 -07:00
|
|
|
/* additional styles for crash prompt dialog */
|
|
|
|
|
|
|
|
/* specific height and wider for the long privacy statement */
|
|
|
|
.prompt-inner-statement {
|
|
|
|
margin-top: @metro_spacing_xnormal@;
|
|
|
|
margin-bottom: @metro_spacing_xnormal@;
|
|
|
|
height: 450px;
|
|
|
|
width: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.crash-message {
|
|
|
|
text-align: justify;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: @metro_spacing_small@;
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.crash-link {
|
|
|
|
margin-top: @metro_spacing_small@;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* temp - bug 887176 */
|
|
|
|
.crash-privacy-back-button {
|
|
|
|
width: 26px;
|
|
|
|
margin-top: 22px; /* align with title text */
|
|
|
|
-moz-margin-end: 15px;
|
|
|
|
background-image: url(chrome://browser/skin/images/appbar-stop.png);
|
|
|
|
background-origin: border-box;
|
|
|
|
background-position: right 0 top 0;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.crash-privacy-statement-scroller {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
/* Arrowbox ---------------------------------------------------------------- */
|
|
|
|
|
|
|
|
arrowbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrowbox-dark .panel-arrowcontent {
|
|
|
|
color: white;
|
|
|
|
background: @panel_dark_color@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrowbox-dark .panel-arrowcontent {
|
|
|
|
border: @border_width_large@ solid white;
|
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
box-shadow: black 0 @shadow_width_small@ @shadow_width_small@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-arrow[side="top"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowbox-up.png");
|
|
|
|
margin-bottom: -@margin_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-arrow[side="bottom"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowbox-down.png");
|
|
|
|
margin-top: -@margin_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-arrow[side="left"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowbox-horiz.png");
|
|
|
|
margin-right: -@margin_normal@;
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-arrow[side="right"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowbox-horiz.png");
|
|
|
|
margin-left: -@margin_normal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*.meta -------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
background-color: @panel_light_color@;
|
2013-05-15 09:50:14 -07:00
|
|
|
background-image: url("chrome://browser/skin/images/firefox-watermark.png");
|
|
|
|
background-repeat: no-repeat;
|
2013-02-12 12:51:25 -08:00
|
|
|
background-position: center center;
|
|
|
|
padding: @metro_spacing_normal@ @metro_spacing_xxnormal@;
|
|
|
|
overflow: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta-section {
|
|
|
|
margin: 0 @metro_spacing_large@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta-section-title {
|
|
|
|
font-size: @metro_font_large@;
|
|
|
|
font-weight: 100;
|
|
|
|
}
|
2013-07-11 09:53:10 -07:00
|
|
|
|
|
|
|
/* Find bar ------------------------------------------------------------- */
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar {
|
2013-07-11 09:53:10 -07:00
|
|
|
background-color: @metro_orange@;
|
|
|
|
padding: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > toolbar {
|
2013-07-11 09:53:10 -07:00
|
|
|
min-height: @findbar_height@ !important;
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .previous-button,
|
|
|
|
#findbar > .next-button,
|
|
|
|
#findbar > .close-button {
|
2013-07-11 09:53:10 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/appbar-icons.png);
|
|
|
|
min-width: @touch_button_small@ !important; /* button size */
|
|
|
|
min-height: @touch_button_small@ !important; /* button size */
|
|
|
|
border: none !important;
|
|
|
|
background-image: none !important;
|
|
|
|
background-color: inherit !important;
|
|
|
|
pointer-events: auto;
|
|
|
|
-moz-user-focus: ignore !important;
|
|
|
|
margin: 0 @margin_normal@ !important;
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .close-button {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-image-region: rect(0px, 480px, 40px, 440px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .close-button:hover {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(40px, 480px, 80px, 440px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .close-button:active {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(80px, 480px, 120px, 440px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .previous-button {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-margin-end: 0;
|
|
|
|
-moz-image-region: rect(0px, 400px, 40px, 360px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .previous-button:hover {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(40px, 400px, 80px, 360px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .previous-button:active{
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(80px, 400px, 120px, 360px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .next-button {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-image-region: rect(0px, 440px, 40px, 400px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .next-button:hover {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(40px, 440px, 80px, 400px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar > .next-button:active {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-image-region: rect(80px, 440px, 120px, 400px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar-textbox {
|
2013-07-11 09:53:10 -07:00
|
|
|
pointer-events: auto;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
border: none !important;
|
|
|
|
width: 20em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textbox-search-icon {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/search-glass-30.png");
|
|
|
|
-moz-image-region: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Override the default box ordering and make the find textbox appear to the
|
|
|
|
right of the icon */
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar-textbox input {
|
2013-07-11 09:53:10 -07:00
|
|
|
-moz-box-ordinal-group: 2
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar-textbox deck {
|
2013-07-11 09:53:10 -07:00
|
|
|
margin-right: @margin_normal@;
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */
|
2013-07-11 09:53:10 -07:00
|
|
|
background: rgb(255,200,200);
|
|
|
|
}
|
|
|
|
|
2013-07-12 12:02:29 -07:00
|
|
|
#findbar-textbox:hover:active {
|
2013-07-11 09:53:10 -07:00
|
|
|
background: #8db8d8;
|
|
|
|
}
|