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/. */
|
|
|
|
|
|
|
|
%filter substitution
|
|
|
|
%include defines.inc
|
|
|
|
|
2013-06-14 16:29:12 -07:00
|
|
|
%define forward_transition_length 200ms
|
|
|
|
%define forward_spacing 50px
|
2013-02-12 12:51:25 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Tab/StartUI tray ======================================================== */
|
2013-05-16 08:53:28 -07:00
|
|
|
|
|
|
|
#tray {
|
|
|
|
transition: transform @metro_animation_duration@ @metro_animation_easing@;
|
|
|
|
transform: translateY(-@tabs_height@);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2013-05-16 17:43:57 -07:00
|
|
|
#tray {
|
2013-02-12 12:51:25 -08:00
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
2013-06-10 11:33:06 -07:00
|
|
|
#tray[expanded]:not([viewstate="snapped"]) {
|
2013-02-12 12:51:25 -08:00
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Tabs -------------------------------------------------------------------- */
|
2013-02-12 12:51:25 -08:00
|
|
|
|
|
|
|
#tabs-container {
|
|
|
|
background: @panel_dark_color@ @panel_dark_background@;
|
|
|
|
padding: 0;
|
|
|
|
-moz-padding-start: @metro_spacing_xnormal@;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs {
|
|
|
|
-moz-padding-start: @metro_spacing_large@;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs .tabs-list {
|
|
|
|
display: block;
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs > .tabs-scrollbox > .arrowscrollbox-scrollbox {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs[input="imprecise"] > .tabs-scrollbox > .scrollbutton-up,
|
|
|
|
#tabs[input="imprecise"] > .tabs-scrollbox > .scrollbutton-down {
|
|
|
|
visibility: collapse !important;
|
|
|
|
}
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-up {
|
|
|
|
list-style-image: url("images/tab-arrows.png") !important;
|
|
|
|
-moz-image-region: rect(15px 58px 63px 14px) !important;
|
|
|
|
}
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-up:hover {
|
|
|
|
-moz-image-region: rect(14px 102px 62px 58px) !important;
|
|
|
|
}
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-up:active {
|
|
|
|
-moz-image-region: rect(14px 152px 62px 108px) !important;
|
|
|
|
}
|
2013-03-18 15:34:23 -07:00
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-up[disabled] {
|
2013-02-12 12:51:25 -08:00
|
|
|
-moz-image-region: rect(15px 196px 63px 152px) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-down {
|
|
|
|
list-style-image: url("images/tab-arrows.png") !important;
|
|
|
|
-moz-image-region: rect(73px 58px 121px 14px) !important;
|
|
|
|
}
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-down:hover {
|
|
|
|
-moz-image-region: rect(72px 102px 120px 58px) !important;
|
|
|
|
}
|
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-down:active {
|
|
|
|
-moz-image-region: rect(72px 152px 120px 108px) !important;
|
|
|
|
}
|
2013-03-18 15:34:23 -07:00
|
|
|
#tabs > .tabs-scrollbox > .scrollbutton-down[disabled] {
|
2013-02-12 12:51:25 -08:00
|
|
|
-moz-image-region: rect(73px 196px 121px 152px) !important;
|
|
|
|
}
|
|
|
|
|
2013-04-30 14:45:22 -07:00
|
|
|
#tabs-container[viewstate="snapped"] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
|
|
|
|
@-moz-keyframes open-documenttab {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0, 0);
|
|
|
|
}
|
2013-06-26 21:54:06 -07:00
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-03 09:34:55 -07:00
|
|
|
@-moz-keyframes close-documenttab {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-16 17:43:57 -07:00
|
|
|
.documenttab-container {
|
2013-04-03 09:34:55 -07:00
|
|
|
animation: open-documenttab 0.4s ease-out;
|
|
|
|
}
|
|
|
|
|
2013-05-16 17:43:57 -07:00
|
|
|
documenttab[closing] > .documenttab-container {
|
2013-04-03 09:34:55 -07:00
|
|
|
animation: close-documenttab 0.4s ease-out;
|
|
|
|
animation-fill-mode: forwards;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-05-16 17:43:57 -07:00
|
|
|
.documenttab-favicon {
|
2013-02-12 12:51:25 -08:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-thumbnail {
|
|
|
|
margin: @metro_spacing_normal@ @metro_spacing_snormal@;
|
|
|
|
background: white none center top no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
width: @thumbnail_width@;
|
|
|
|
height: @thumbnail_height@;
|
|
|
|
}
|
2013-07-11 14:53:56 -07:00
|
|
|
#tray:not([expanded]) .documenttab-thumbnail {
|
|
|
|
background-image: none!important;
|
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
|
|
|
|
.documenttab-title {
|
|
|
|
margin: @metro_spacing_normal@ @metro_spacing_snormal@;
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
width: @thumbnail_width@;
|
|
|
|
padding: 4px @metro_spacing_snormal@ 8px;
|
2013-06-26 21:54:06 -07:00
|
|
|
|
2013-02-12 12:51:25 -08:00
|
|
|
background: #000;
|
|
|
|
opacity: 0.95;
|
|
|
|
color: #fff;
|
|
|
|
box-shadow: 0 0 @metro_spacing_snormal@ rgba(0, 0, 0, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-crop {
|
|
|
|
background: transparent url("chrome://browser/skin/images/tab-crop.png") 50% 50% no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-selection {
|
|
|
|
background: transparent -moz-image-rect(url("chrome://browser/skin/images/tab-overlay.png"), 0%, 100%, 50%, 0%) 50% 50% no-repeat;
|
|
|
|
}
|
|
|
|
|
2013-03-18 15:34:23 -07:00
|
|
|
documenttab[selected] .documenttab-selection {
|
2013-02-12 12:51:25 -08:00
|
|
|
background: transparent -moz-image-rect(url("chrome://browser/skin/images/tab-overlay.png"), 50%, 100%, 100%, 0%) 50% 50% no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-close {
|
|
|
|
background: none !important;
|
|
|
|
padding: @metro_spacing_small@ !important;
|
|
|
|
margin-top: @metro_spacing_snormal@;
|
|
|
|
-moz-margin-end: @metro_spacing_xsmall@;
|
|
|
|
border-color: transparent !important;
|
|
|
|
list-style-image: url("chrome://browser/skin/images/closetab-default.png");
|
|
|
|
}
|
|
|
|
|
2013-03-18 13:55:49 -07:00
|
|
|
.documenttab-close > .button-box > .button-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-06-17 05:46:51 -07:00
|
|
|
#tabs-controls {
|
|
|
|
-moz-box-align: start;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
#newtab-button {
|
2013-06-14 16:29:12 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/newtab-default.png);
|
2013-07-16 15:42:59 -07:00
|
|
|
|
|
|
|
/* Add some extra padding for a larger target */
|
|
|
|
padding: 18px 25px 30px;
|
2013-06-17 05:46:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Start UI ----------------------------------------------------------------- */
|
2013-06-17 05:46:51 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-container {
|
|
|
|
display: none;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-container[startpage],
|
|
|
|
#start-container[filtering] {
|
|
|
|
display: -moz-box;
|
2013-04-05 03:33:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-scrollbox[input="precise"] {
|
|
|
|
overflow-x: scroll;
|
|
|
|
/* Move scrollbar above toolbar,
|
|
|
|
* discount padding added by .meta in #start-container */
|
|
|
|
margin-bottom: calc(@toolbar_height@ - @metro_spacing_normal@);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* if autocomplete is set, hide both start pages,
|
|
|
|
* else hide the autocomplete screen */
|
|
|
|
#start-container[filtering] > .start-page,
|
|
|
|
#start-container:not([filtering]) > #start-autocomplete {
|
|
|
|
visibility: collapse;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* startUI sections, grids */
|
|
|
|
#start-container .meta-section {
|
|
|
|
/* allot space for at least a single column */
|
|
|
|
min-width: @grid_double_column_width@;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-topsites {
|
|
|
|
/* allot space for 3 tile columns for the topsites grid */
|
|
|
|
min-width: calc(3 * @grid_double_column_width@);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* if snapped, hide the fullscreen awesome screen, if viewstate is anything
|
|
|
|
* other than snapped, hide the snapped awesome screen */
|
|
|
|
#start[viewstate="snapped"],
|
|
|
|
#snapped-start:not([viewstate="snapped"]) {
|
|
|
|
visibility: collapse;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/*Formatting for the limited horizontal space of snapped*/
|
|
|
|
#start-autocomplete[viewstate="snapped"] .richgrid-item-content {
|
|
|
|
-moz-box-orient: horizontal;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-container,
|
|
|
|
#start-autocomplete {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#start-container[viewstate="snapped"] .meta-section {
|
|
|
|
margin: 0px;
|
|
|
|
min-width: @grid_double_column_width@;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Browser Content Areas ==================================================== */
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Hide the browser while the start UI is visible */
|
|
|
|
#content-viewport[startpage],
|
|
|
|
#content-viewport[filtering] {
|
|
|
|
visibility: collapse;
|
2013-06-14 16:29:12 -07:00
|
|
|
}
|
2013-06-24 13:58:08 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* a 'margin-top' is applied dynamically in ContentAreaObserver */
|
|
|
|
#browsers {
|
|
|
|
background: white;
|
|
|
|
transition-property: margin-top;
|
|
|
|
transition-duration: .3s;
|
|
|
|
transition-timing-function: ease-in-out;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#browsers browser {
|
|
|
|
transition: padding-bottom @metro_animation_duration@ @metro_animation_easing@;
|
2013-06-18 18:15:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#browsers[findbar] browser {
|
|
|
|
padding-bottom: @findbar_height@;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Selection overlay and monocles */
|
|
|
|
|
|
|
|
#page,
|
|
|
|
.selection-overlay {
|
|
|
|
-moz-stack-sizing: ignore;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
2013-05-16 11:57:26 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.selection-overlay {
|
|
|
|
pointer-events: none;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.selection-overlay:-moz-focusring {
|
|
|
|
outline: 0 !important;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.selection-overlay-hidden {
|
|
|
|
display: none;
|
2013-06-18 18:15:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.selectionhandle {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/selection-monocle.png");
|
|
|
|
border: 0px solid gray;
|
|
|
|
padding: 0px;
|
|
|
|
margin-top: -30px;
|
|
|
|
margin-left: -18px;
|
|
|
|
pointer-events: auto;
|
2013-06-14 16:05:09 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* content scrollbars */
|
|
|
|
.scroller {
|
|
|
|
opacity: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
|
|
-moz-border-top-colors: none !important;
|
|
|
|
-moz-border-bottom-colors: none !important;
|
|
|
|
-moz-border-right-colors: none !important;
|
|
|
|
-moz-border-left-colors: none !important;
|
|
|
|
border-radius: @border_radius_tiny@;
|
|
|
|
border: @border_width_tiny@ solid rgba(255, 255, 255, 0.4) !important;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.scroller[panning] {
|
|
|
|
opacity: 1;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.scroller[orient="vertical"] {
|
|
|
|
min-width: @scroller_thickness@;
|
|
|
|
width: @scroller_thickness@;
|
|
|
|
min-height: @scroller_minimum@;
|
2013-05-14 00:27:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.scroller[orient="horizontal"] {
|
|
|
|
min-height: @scroller_thickness@;
|
|
|
|
height: @scroller_thickness@;
|
|
|
|
min-width: @scroller_minimum@;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#browsers[input="imprecise"] browser {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* overlay buttons */
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.overlay-button {
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -65px;
|
|
|
|
width: 118px;
|
|
|
|
height: 118px;
|
|
|
|
background-color: hsla(210,30%,10%,.2);
|
|
|
|
background-size: 60px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-origin: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border: 6px solid hsla(0,0%,100%,.7);
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 0 0 1px hsla(0,0%,0%,.04),
|
|
|
|
0 0 9px 0 hsla(0,0%,0%,.1);
|
|
|
|
transition-property: left, right, transform, background-position,
|
|
|
|
background-color, background-size, border-color,
|
|
|
|
visibility, box-shadow, top;
|
|
|
|
transition-duration: 550ms;
|
|
|
|
transition-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#overlay-back {
|
|
|
|
background-image: url(chrome://browser/skin/images/overlay-back.png);
|
|
|
|
}
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#overlay-plus {
|
|
|
|
background-image: url(chrome://browser/skin/images/overlay-plus.png);
|
|
|
|
}
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#overlay-back:-moz-locale-dir(ltr),
|
|
|
|
#overlay-plus:-moz-locale-dir(rtl) {
|
|
|
|
left: -70px;
|
|
|
|
background-position: right 6px center;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
2013-04-09 04:04:47 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#overlay-plus:-moz-locale-dir(ltr),
|
|
|
|
#overlay-back:-moz-locale-dir(rtl) {
|
|
|
|
right: -70px;
|
|
|
|
background-position: left 6px center;
|
|
|
|
}
|
2013-06-25 12:20:17 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#stack[keyboardVisible] > .overlay-button,
|
|
|
|
#stack[fullscreen] > .overlay-button,
|
|
|
|
#appbar[visible] ~ .overlay-button,
|
|
|
|
.overlay-button[disabled] {
|
|
|
|
box-shadow: none;
|
|
|
|
visibility: collapse;
|
2013-06-25 12:20:17 -07:00
|
|
|
}
|
2013-06-14 16:29:12 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#stack[keyboardVisible] > #overlay-back:-moz-locale-dir(ltr),
|
|
|
|
#stack[keyboardVisible] > #overlay-plus:-moz-locale-dir(rtl),
|
|
|
|
#stack[fullscreen] > #overlay-back:-moz-locale-dir(ltr),
|
|
|
|
#stack[fullscreen] > #overlay-plus:-moz-locale-dir(rtl),
|
|
|
|
#appbar[visible] ~ #overlay-back:-moz-locale-dir(ltr),
|
|
|
|
#appbar[visible] ~ #overlay-plus:-moz-locale-dir(rtl),
|
|
|
|
#overlay-back[disabled]:-moz-locale-dir(ltr),
|
|
|
|
#overlay-plus[disabled]:-moz-locale-dir(rtl) {
|
|
|
|
transform: translateX(-60px);
|
2013-05-14 00:27:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#stack[keyboardVisible] > #overlay-plus:-moz-locale-dir(ltr),
|
|
|
|
#stack[keyboardVisible] > #overlay-back:-moz-locale-dir(rtl),
|
|
|
|
#stack[fullscreen] > #overlay-plus:-moz-locale-dir(ltr),
|
|
|
|
#stack[fullscreen] > #overlay-back:-moz-locale-dir(rtl),
|
|
|
|
#appbar[visible] ~ #overlay-plus:-moz-locale-dir(ltr),
|
|
|
|
#appbar[visible] ~ #overlay-back:-moz-locale-dir(rtl),
|
|
|
|
#overlay-plus[disabled]:-moz-locale-dir(ltr),
|
|
|
|
#overlay-back[disabled]:-moz-locale-dir(rtl) {
|
|
|
|
transform: translateX(60px);
|
2013-07-16 13:38:05 -07:00
|
|
|
}
|
2013-04-09 04:04:47 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.overlay-button:hover {
|
|
|
|
background-color: hsla(210,30%,10%,.4);
|
|
|
|
background-size: 90px;
|
|
|
|
border-color: hsla(0,0%,100%,.9);
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#overlay-back:-moz-locale-dir(ltr):hover,
|
|
|
|
#overlay-plus:-moz-locale-dir(rtl):hover {
|
|
|
|
background-position: right 12px center;
|
|
|
|
transform: translateX(40px) scale(1.2);
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#overlay-plus:-moz-locale-dir(ltr):hover,
|
|
|
|
#overlay-back:-moz-locale-dir(rtl):hover {
|
|
|
|
background-position: left 12px center;
|
|
|
|
transform: translateX(-40px) scale(1.2);
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#overlay-back[mousedrag],
|
|
|
|
#overlay-plus[mousedrag] {
|
|
|
|
transition-property: left, right, transform, background-position,
|
|
|
|
background-color, background-size, border-color,
|
|
|
|
visibility, box-shadow;
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
/* Navigation bar ========================================================== */
|
|
|
|
|
|
|
|
#navbar[startpage] {
|
|
|
|
transform: none;
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
/* Progress meter ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
#progress-container {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: -@progress_height@;
|
|
|
|
height: @progress_height@;
|
|
|
|
width: 100%;
|
|
|
|
background-color: hsla(210,5%,80%,1);
|
|
|
|
box-shadow: 0 1px 0 hsla(210,5%,50%,.1) inset;
|
|
|
|
-moz-user-focus: ignore;
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#progress-control {
|
|
|
|
display: block;
|
|
|
|
height: @progress_height@;
|
|
|
|
background-image: -moz-linear-gradient(left, hsla(200,100%,83%,.5),
|
|
|
|
hsla(200,100%,83%,0)),
|
|
|
|
-moz-linear-gradient(top, #1ab2ff, #0091ff);
|
|
|
|
border-right: 1px solid #0082e5;
|
|
|
|
transition: width .3s ease-in;
|
|
|
|
-moz-user-focus: ignore;
|
2013-03-27 08:34:52 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#progress-control:-moz-dir(rtl) {
|
|
|
|
transform: scaleX(-1);
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
#progress-control[fade] {
|
|
|
|
opacity: 0;
|
|
|
|
transition: width .3s ease-in, .5s opacity ease-in;
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
|
|
|
/* Toolbar ----------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#toolbar-autocomplete {
|
|
|
|
background-color: @panel_light_color@;
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
#back-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-back.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
transition: opacity @forward_transition_length@ ease-out;
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
#back-button[disabled] {
|
2013-07-17 23:03:36 -07:00
|
|
|
visibility: visible;
|
|
|
|
opacity: 0.5;
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
#forward-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-forward.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
transition: margin @forward_transition_length@ ease-out,
|
|
|
|
visibility @forward_transition_length@ ease-out,
|
|
|
|
opacity @forward_transition_length@ ease-out;
|
2013-04-09 04:04:47 -07:00
|
|
|
}
|
2013-03-27 08:34:52 -07:00
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
#forward-button[disabled] {
|
2013-07-17 23:03:36 -07:00
|
|
|
-moz-margin-start: -@forward_spacing@;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
@media (min-resolution: @min_res_140pc@) {
|
|
|
|
#back-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-back@1.4x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#forward-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-forward@1.4x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: @min_res_180pc@) {
|
|
|
|
#back-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-back@1.8x.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
}
|
2013-02-27 08:18:12 -08:00
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
#forward-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-forward@1.8x.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
}
|
2013-02-27 08:18:12 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* URL bar */
|
2013-07-17 23:05:40 -07:00
|
|
|
#urlbar {
|
2013-07-17 23:03:36 -07:00
|
|
|
border: @metro_border_thick@ solid @urlbar_border_color@;
|
|
|
|
margin: 0 @toolbar_horizontal_spacing@;
|
|
|
|
padding: 0;
|
|
|
|
background-color: @field_background_color@;
|
|
|
|
overflow: hidden;
|
2013-05-07 13:55:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:05:40 -07:00
|
|
|
#urlbar[mode="edit"] {
|
2013-07-17 23:03:36 -07:00
|
|
|
border-color: @metro_orange@;
|
2013-05-07 13:55:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Identity widget */
|
|
|
|
#identity-icon {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 @metro_spacing_snormal@;
|
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-icons-generic.png");
|
2013-05-07 13:55:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:05:40 -07:00
|
|
|
#identity-box.verifiedDomain > #identity-icon {
|
2013-07-17 23:03:36 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-icons-https.png");
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:05:40 -07:00
|
|
|
#identity-box.verifiedIdentity > #identity-icon {
|
2013-07-17 23:03:36 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-icons-https-ev.png");
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Main URL textbox */
|
|
|
|
#urlbar-edit {
|
|
|
|
margin: 0 !important;
|
|
|
|
min-height: @urlbar_edit_height@;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0 none !important;
|
|
|
|
padding: 0 !important;
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#urlbar-edit > hbox > .textbox-input-box > .textbox-input::-moz-selection {
|
|
|
|
color: white;
|
|
|
|
background-color: @metro_orange@;
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#urlbar-edit > hbox > .textbox-input-box > .textbox-input:invalid {
|
|
|
|
/* Hide error glow around the address bar that shows by default
|
|
|
|
* when URLs are made invalid by trmming. */
|
|
|
|
box-shadow: none !important;
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Combined stop-reload button */
|
|
|
|
#reload-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/appbar-reload.png);
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#stop-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/appbar-stop.png);
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:05:40 -07:00
|
|
|
#urlbar[mode="loading"] > #reload-button,
|
|
|
|
#urlbar:-moz-any([mode="edit"], [mode="view"]) > #stop-button,
|
|
|
|
#toolbar[viewstate="snapped"] > #urlbar ~ toolbarbutton {
|
2013-07-17 23:03:36 -07:00
|
|
|
visibility: collapse;
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Page-Specific */
|
|
|
|
|
|
|
|
#pin-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-pin.png);
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#star-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-star.png);
|
2013-07-10 19:30:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#menu-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-menu.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: @min_res_140pc@) {
|
|
|
|
#pin-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-pin@1.4x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#star-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-star@1.4x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-menu@1.4x.png);
|
|
|
|
}
|
2013-05-07 13:55:51 -07:00
|
|
|
}
|
|
|
|
|
2013-07-18 00:16:59 -07:00
|
|
|
@media (min-resolution: @min_res_180pc@) {
|
2013-07-17 23:03:36 -07:00
|
|
|
#pin-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-pin@1.8x.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#star-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-star@1.8x.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu-button {
|
2013-07-18 00:16:59 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/images/navbar-menu@1.8x.png);
|
2013-07-17 23:03:36 -07:00
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Application-Specific */
|
|
|
|
|
|
|
|
#download-button {
|
|
|
|
-moz-image-region: rect(0px, 40px, 40px, 0px) !important;
|
|
|
|
}
|
|
|
|
#download-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 40px, 80px, 0px) !important;
|
|
|
|
}
|
|
|
|
#download-button:active {
|
|
|
|
-moz-image-region: rect(80px, 40px, 120px, 0px) !important;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Panel UI ================================================================ */
|
|
|
|
|
|
|
|
#panel-container {
|
|
|
|
padding: 60px 40px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-container[viewstate="snapped"] .canSnapTiles .richgrid-item-content {
|
|
|
|
-moz-box-orient: horizontal;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-close-button {
|
|
|
|
background: transparent;
|
|
|
|
border: 0 none;
|
|
|
|
-moz-appearance: none;
|
2013-05-29 09:51:52 -07:00
|
|
|
margin: 0;
|
2013-07-17 23:03:36 -07:00
|
|
|
-moz-margin-end: 40px;
|
|
|
|
list-style-image: url(chrome://browser/skin/images/appbar-back.png);
|
|
|
|
-moz-image-region: rect(0 40px 40px 0);
|
2013-05-29 09:51:52 -07:00
|
|
|
padding: 0;
|
2013-07-17 23:03:36 -07:00
|
|
|
min-height: 40px;
|
|
|
|
max-height: 40px;
|
|
|
|
-moz-box-pack: center;
|
2013-05-29 09:51:52 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
@media (min-resolution: 130dpi) {
|
|
|
|
#panel-close-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/appbar-back@1.4x.png);
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-close-button[disabled] {
|
|
|
|
opacity: .5;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-view-switcher {
|
|
|
|
border: 0 none !important;
|
|
|
|
color: #000 !important;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
font-size: @metro_font_xlarge@;
|
|
|
|
font-weight: 100;
|
|
|
|
margin: 0;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-container[viewstate="snapped"] #panel-view-switcher {
|
|
|
|
font-size: @metro_font_large@;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-items {
|
|
|
|
padding-top: 20px;
|
|
|
|
-moz-padding-start: 88px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#panel-container[viewstate="snapped"] #panel-items {
|
|
|
|
padding-left: 0px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Console Section - Panel UI ---------------------------------------------- */
|
|
|
|
|
|
|
|
#console-filter-warnings,
|
|
|
|
#console-filter-messages {
|
|
|
|
visibility: visible;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
@media (max-width: 499px) {
|
|
|
|
#console-filter-warnings,
|
|
|
|
#console-filter-messages {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
2013-02-27 08:18:12 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.console-error-msg,
|
|
|
|
.console-msg-text {
|
|
|
|
white-space: pre-wrap;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Find bar ================================================================ */
|
|
|
|
|
|
|
|
#findbar {
|
|
|
|
background-color: @metro_orange@;
|
|
|
|
padding: 0;
|
|
|
|
pointer-events: none;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > toolbar {
|
|
|
|
min-height: @findbar_height@ !important;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .previous-button,
|
|
|
|
#findbar > .next-button,
|
|
|
|
#findbar > .close-button {
|
|
|
|
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-04-13 18:21:27 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .close-button {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-image-region: rect(0px, 480px, 40px, 440px);
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .close-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 480px, 80px, 440px);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .close-button:active {
|
|
|
|
-moz-image-region: rect(80px, 480px, 120px, 440px);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .previous-button {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
-moz-image-region: rect(0px, 400px, 40px, 360px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#findbar > .previous-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 400px, 80px, 360px);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .previous-button:active{
|
|
|
|
-moz-image-region: rect(80px, 400px, 120px, 360px);
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .next-button {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-image-region: rect(0px, 440px, 40px, 400px);
|
|
|
|
}
|
2013-03-25 11:11:11 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .next-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 440px, 80px, 400px);
|
2013-03-25 11:11:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar > .next-button:active {
|
|
|
|
-moz-image-region: rect(80px, 440px, 120px, 400px);
|
2013-03-25 11:11:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar-textbox {
|
|
|
|
pointer-events: auto;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
border: none !important;
|
|
|
|
width: 20em;
|
2013-03-25 11:11:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.textbox-search-icon {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/search-glass-30.png");
|
|
|
|
-moz-image-region: auto;
|
2013-07-08 13:45:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Override the default box ordering and make the find textbox appear to the
|
|
|
|
right of the icon */
|
|
|
|
#findbar-textbox input {
|
|
|
|
-moz-box-ordinal-group: 2
|
2013-07-09 18:10:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar-textbox deck {
|
|
|
|
margin-right: @margin_normal@;
|
2013-07-08 13:45:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */
|
|
|
|
background: rgb(255,200,200);
|
2013-07-08 13:45:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#findbar-textbox:hover:active {
|
|
|
|
background: #8db8d8;
|
2013-03-25 11:11:11 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Contextual appbar ======================================================= */
|
2013-02-26 15:09:42 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#contextualactions-tray {
|
|
|
|
background-color: @metro_orange@;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#contextualactions-tray > toolbarbutton {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#contextualactions-tray > toolbarbutton[fade] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
#contextualactions-tray > toolbarbutton:not([immediate]) {
|
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: .3s;
|
|
|
|
transition-timing-function: ease-in;
|
|
|
|
transition-delay: 80ms;
|
|
|
|
}
|
|
|
|
#contextualactions-tray > toolbarbutton > .toolbarbutton-text {
|
|
|
|
color: white;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#pin-selected-button {
|
|
|
|
-moz-image-region: rect(0px, 240px, 40px, 200px) !important;
|
|
|
|
}
|
|
|
|
#pin-selected-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 240px, 80px, 200px) !important;
|
|
|
|
}
|
|
|
|
#pin-selected-button:active {
|
|
|
|
-moz-image-region: rect(80px, 240px, 120px, 200px) !important;
|
|
|
|
}
|
|
|
|
#unpin-selected-button {
|
|
|
|
-moz-image-region: rect(0px, 280px, 40px, 240px) !important;
|
|
|
|
}
|
|
|
|
#unpin-selected-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 280px, 80px, 240px) !important;
|
|
|
|
}
|
|
|
|
#unpin-selected-button:active {
|
|
|
|
-moz-image-region: rect(80px, 280px, 120px, 240px) !important;
|
|
|
|
}
|
|
|
|
#delete-selected-button {
|
|
|
|
-moz-image-region: rect(0px, 480px, 40px, 440px) !important;
|
|
|
|
}
|
|
|
|
#delete-selected-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 480px, 80px, 440px) !important;
|
|
|
|
}
|
|
|
|
#delete-selected-button:active {
|
|
|
|
-moz-image-region: rect(80px, 480px, 120px, 440px) !important;
|
|
|
|
}
|
|
|
|
#clear-selected-button {
|
|
|
|
-moz-image-region: rect(0px, 520px, 40px, 480px) !important;
|
|
|
|
}
|
|
|
|
#clear-selected-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 520px, 80px, 480px) !important;
|
|
|
|
}
|
|
|
|
#clear-selected-button:active {
|
|
|
|
-moz-image-region: rect(80px, 520px, 120px, 480px) !important;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#restore-selected-button {
|
|
|
|
-moz-image-region: rect(0px, 560px, 40px, 520px) !important;
|
|
|
|
}
|
|
|
|
#restore-selected-button:hover {
|
|
|
|
-moz-image-region: rect(40px, 560px, 80px, 520px) !important;
|
|
|
|
}
|
|
|
|
#restore-selected-button:active {
|
|
|
|
-moz-image-region: rect(80px, 560px, 120px, 520px) !important;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Autoscroll popup ======================================================== */
|
|
|
|
|
|
|
|
.autoscroller {
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
border: none;
|
|
|
|
margin: -14px;
|
|
|
|
padding: 0;
|
|
|
|
background-image: url("chrome://browser/skin/images/autoscroll.png");
|
|
|
|
background-color: transparent;
|
|
|
|
position: fixed;
|
|
|
|
visibility: hidden;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-origin: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-position: right top;
|
|
|
|
-moz-appearance: none;
|
2013-04-11 11:17:04 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.autoscroller[scrolldir="NS"] {
|
|
|
|
background-position: right center;
|
2013-05-07 11:50:28 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.autoscroller[scrolldir="EW"] {
|
|
|
|
background-position: right bottom;
|
2013-07-19 16:59:53 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Flyouts ================================================================= */
|
|
|
|
|
|
|
|
/* don't add a margin to the very top settings entry in flyouts */
|
|
|
|
flyoutpanel > settings:first-child {
|
|
|
|
margin-top: 0px;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Sync flyout pane -------------------------------------------------------- */
|
|
|
|
|
|
|
|
#sync-flyoutpanel {
|
|
|
|
width: 346px;
|
|
|
|
font-size: @metro_font_normal@;
|
|
|
|
font-weight: 400;
|
2013-04-17 13:34:42 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel button {
|
|
|
|
font-weight: 700;
|
2013-04-17 13:34:42 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel .syncHeader {
|
|
|
|
font-weight: 600;
|
2013-07-19 20:07:14 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel .syncSecondaryText {
|
|
|
|
font-weight: 100;
|
|
|
|
font-size: @metro_font_snormal@;
|
2013-07-19 20:07:14 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel .syncInstructionText {
|
|
|
|
font-style: italic;
|
2013-04-17 13:34:42 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.syncThrobber .progressBall {
|
|
|
|
margin: 2px;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
2013-02-26 15:09:42 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.syncThrobber .progressBallInner {
|
|
|
|
width: 5px;
|
|
|
|
height: 5px;
|
|
|
|
border-radius: 3px;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel .syncErrorText {
|
|
|
|
color: red;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel textbox {
|
|
|
|
margin: @metro_spacing_small@;
|
|
|
|
padding: @metro_spacing_xsmall@ @metro_spacing_snormal@;
|
|
|
|
background: @field_background_color@;
|
|
|
|
border: @metro_border_thick@ solid @field_mid_foreground_color@ !important;
|
|
|
|
color: @field_foreground_color@;
|
2013-05-21 22:32:53 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-setup-throbber {
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-left: 25px;
|
2013-05-21 22:32:53 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-connected-device {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2013-02-26 15:09:42 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-manualsetup-failure {
|
|
|
|
width: 200px;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-flyoutpanel .syncJPAKECode {
|
|
|
|
margin: @metro_spacing_small@;
|
|
|
|
padding: @metro_spacing_xsmall@ @metro_spacing_snormal@;
|
|
|
|
background: @field_background_color@;
|
|
|
|
border: @metro_border_thick@ solid @field_mid_foreground_color@ !important;
|
|
|
|
color: @field_foreground_color@;
|
|
|
|
display: block !important;
|
|
|
|
font-size: @metro_font_large@ !important;
|
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0.4em;
|
|
|
|
text-align: center;
|
|
|
|
width: 175px;
|
2013-04-22 13:21:37 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-connected-device {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding-bottom: 0px;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-connected-lastSynced {
|
|
|
|
margin-top: 0px;
|
|
|
|
padding-top: 0px;
|
2013-06-14 16:29:12 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#sync-connected-throbber {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-left: 15px;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* About flyout pane ------------------------------------------------------- */
|
|
|
|
|
|
|
|
#about-flyoutpanel {
|
|
|
|
width: 350px;
|
|
|
|
background-image:url('chrome://browser/skin/images/about-footer.png');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-position: right bottom;
|
2013-02-26 15:09:42 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#about-product-label {
|
|
|
|
font-weight: bold;
|
2013-04-22 13:21:37 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#about-version-label {
|
|
|
|
margin-top: 11pt;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#about-policy-label {
|
|
|
|
margin-top: 24pt;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#currentChannel {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Preferences flyout pane ------------------------------------------------- */
|
2013-02-12 12:51:25 -08:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#prefs-flyoutpanel {
|
|
|
|
width: 400px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Lay out each <setting> in a single row */
|
|
|
|
setting {
|
|
|
|
min-height: @touch_row@; /* row size */
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-orient: horizontal;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* ...except for some exceptions */
|
|
|
|
.setting-expanded {
|
|
|
|
-moz-box-align: start;
|
|
|
|
-moz-box-orient: vertical;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
setting > vbox {
|
|
|
|
-moz-box-flex: 1;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
settings {
|
|
|
|
margin-top: 32px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.settings-title {
|
|
|
|
font-weight: bold;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* <setting> elements that are not in a <settings> group get special treatment */
|
|
|
|
#prefs-flyoutpanel > setting,
|
|
|
|
#sync-flyoutpanel > setting {
|
|
|
|
margin-top: 16px;
|
2013-04-09 13:51:01 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#prefs-flyoutpanel > setting .preferences-title {
|
|
|
|
font-weight: bold;
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
setting[type="integer"] > .preferences-alignment,
|
|
|
|
setting[type="string"] > .preferences-alignment {
|
|
|
|
-moz-box-flex: 3;
|
2013-04-10 16:40:32 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
setting[type="file"] > .preferences-alignment,
|
|
|
|
setting[type="directory"] > .preferences-alignment {
|
|
|
|
-moz-box-align: center;
|
2013-04-10 16:40:32 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Removes the left side title vbox on radio setting */
|
|
|
|
setting[type="radio"] > vbox {
|
|
|
|
display: none;
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#prefs-homepage-options, #prefs-homepage-popup {
|
|
|
|
min-width: 200px;
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.options-box {
|
|
|
|
-moz-margin-start: 28px; /* sized based on the 32px addon image */
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.options-box > setting:last-child {
|
|
|
|
border-bottom: 0;
|
2013-04-09 13:51:01 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.preferences-description {
|
|
|
|
font-size: @font_small@ !important;
|
|
|
|
color: grey;
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
.preferences-description:empty {
|
|
|
|
display: none;
|
2013-04-09 13:51:01 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Clear private data prefs */
|
|
|
|
|
|
|
|
/* hide subitems when other data checkbox is not checked */
|
|
|
|
#prefs-privdata-other:not([checked]) + #prefs-privdata-subitems {
|
|
|
|
display: none;
|
2013-04-09 14:14:43 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#prefs-privdata-subitems {
|
|
|
|
display: block;
|
|
|
|
padding-left: @metro_spacing_xnormal@;
|
|
|
|
font-size: @metro_font_snormal@;
|
2013-06-19 12:35:41 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* arrange sub-items in two columns */
|
|
|
|
.privdata-subitem-item {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 0;
|
|
|
|
width: 50%;
|
|
|
|
}
|
2013-06-19 12:35:41 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#clear-notification {
|
|
|
|
max-height: 25px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#clearprivacythrobber {
|
|
|
|
max-width: 25px;
|
|
|
|
max-height: 25px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#clearprivacythrobber .progressContainer {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#clearprivacythrobber .progressBall {
|
|
|
|
margin: 2px;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#clear-notification-done {
|
|
|
|
font-weight: bold;
|
2013-02-12 12:51:25 -08:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
/* Alert Popup ============================================================= */
|
|
|
|
|
|
|
|
#alerts-container {
|
|
|
|
color: white;
|
|
|
|
background-color: #5e6166;
|
|
|
|
border: @border_width_small@ solid #767973;
|
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
|
|
|
|
padding: @padding_normal@; /* core spacing on top/bottom */
|
|
|
|
margin-bottom: @margin_large@;
|
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: 0.5s;
|
|
|
|
opacity: 0;
|
2013-05-30 15:26:25 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#alerts-container.showing {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2013-06-11 14:46:36 -07:00
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#alerts-title {
|
|
|
|
font-size: @font_small@ !important;
|
2013-06-11 14:46:36 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#alerts-text {
|
|
|
|
font-size: @font_xsmall@ !important;
|
|
|
|
white-space: pre;
|
2013-06-11 14:46:36 -07:00
|
|
|
}
|
|
|
|
|
2013-07-17 23:03:36 -07:00
|
|
|
#alerts-container {
|
|
|
|
-moz-margin-end: @margin_large@;
|
2013-06-14 16:29:12 -07:00
|
|
|
}
|
2013-07-17 23:03:36 -07:00
|
|
|
|