mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2681 lines
71 KiB
CSS
2681 lines
71 KiB
CSS
/* 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/. */
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
|
|
%include ../shared/browser.inc
|
|
%include windowsShared.inc
|
|
%filter substitution
|
|
%define toolbarShadowColor hsla(209,67%,12%,0.35)
|
|
%define fgTabBackgroundMiddle linear-gradient(transparent, transparent 2px, -moz-dialog 2px, -moz-dialog)
|
|
%define navbarTextboxCustomBorder border-color: rgba(0,0,0,.32);
|
|
%define navbarLargeIcons #navigator-toolbox[iconsize=large] > #nav-bar
|
|
%define forwardTransitionLength 150ms
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #nav-bar-customizationtarget > #unified-back-forward-button
|
|
%define conditionalForwardWithUrlbarWidth 27
|
|
|
|
#menubar-items {
|
|
-moz-box-orient: vertical; /* for flex hack */
|
|
}
|
|
|
|
#main-menubar {
|
|
-moz-box-flex: 1; /* make menu items expand to fill toolbar height */
|
|
}
|
|
|
|
/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
|
|
toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
|
|
of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
|
|
#toolbar-menubar:not([inactive]) {
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
#main-window[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#toolbar-menubar:not([autohide="true"]) {
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
|
}
|
|
|
|
#navigator-toolbox {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
border-top: none;
|
|
}
|
|
|
|
#navigator-toolbox::after {
|
|
content: "";
|
|
display: -moz-box;
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
height: 1px;
|
|
background-color: ThreeDShadow;
|
|
}
|
|
#navigator-toolbox[tabsontop=false]::after {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
|
|
-moz-appearance: none;
|
|
border-style: none;
|
|
background-color: -moz-Dialog;
|
|
}
|
|
|
|
%ifdef WINDOWS_AERO
|
|
@media not all and (-moz-windows-compositor) {
|
|
%endif
|
|
#toolbar-menubar {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px),
|
|
linear-gradient(rgba(50%,50%,50%,0), ActiveCaption 85%);
|
|
color: CaptionText;
|
|
}
|
|
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px),
|
|
linear-gradient(rgba(50%,50%,50%,0), InactiveCaption 85%);
|
|
color: InactiveCaptionText;
|
|
}
|
|
#TabsToolbar:-moz-lwtheme {
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);
|
|
}
|
|
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
|
visibility: hidden;
|
|
}
|
|
#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
|
visibility: visible;
|
|
}
|
|
%ifdef WINDOWS_AERO
|
|
}
|
|
%endif
|
|
|
|
#nav-bar[tabsontop=true],
|
|
#nav-bar[tabsontop=true][collapsed=true] + toolbar,
|
|
#nav-bar[tabsontop=true][collapsed=true] + #customToolbars + #PersonalToolbar {
|
|
background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
|
|
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
|
|
margin-top: -1px; /* Move up 1px into the TabsToolbar */
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
#nav-bar-overflow-button {
|
|
-moz-image-region: rect(-5px, 12px, 11px, -4px);
|
|
}
|
|
|
|
#widget-overflow-list > .overflowedItem {
|
|
width: 100%;
|
|
min-height: 36px;
|
|
background-repeat: no-repeat;
|
|
background-position: 0 center;
|
|
}
|
|
|
|
#widget-overflow-list > .overflowedItem > .toolbarbutton-text {
|
|
-moz-padding-start: 10px;
|
|
text-align: start;
|
|
}
|
|
|
|
#personal-bookmarks {
|
|
min-height: 24px;
|
|
}
|
|
|
|
#print-preview-toolbar:not(:-moz-lwtheme) {
|
|
-moz-appearance: toolbox;
|
|
}
|
|
|
|
#browser-bottombox:not(:-moz-lwtheme) {
|
|
background-color: -moz-dialog;
|
|
}
|
|
|
|
%ifndef WINDOWS_AERO
|
|
@media (-moz-windows-default-theme) {
|
|
#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar {
|
|
margin-top: 4px;
|
|
}
|
|
}
|
|
%endif
|
|
|
|
/* ::::: titlebar ::::: */
|
|
|
|
#main-window[sizemode="normal"] > #titlebar {
|
|
-moz-appearance: -moz-window-titlebar;
|
|
}
|
|
|
|
#main-window[sizemode="maximized"] > #titlebar {
|
|
-moz-appearance: -moz-window-titlebar-maximized;
|
|
}
|
|
|
|
@media (-moz-windows-classic) {
|
|
#main-window[tabsintitlebar][sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
|
|
margin-top: 4px;
|
|
}
|
|
}
|
|
|
|
/* The button box must appear on top of the navigator-toolbox in order for
|
|
* click and hover mouse events to work properly for the button in the restored
|
|
* window state. Otherwise, elements in the navigator-toolbox, like the menubar,
|
|
* can swallow those events. It will also place the buttons above the fog on
|
|
* themes with Aero Glass.
|
|
*/
|
|
#titlebar-buttonbox {
|
|
z-index: 1;
|
|
}
|
|
|
|
.titlebar-placeholder[type="appmenu-button"] {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.titlebar-placeholder[type="caption-buttons"] {
|
|
%ifdef WINDOWS_AERO
|
|
margin-left: 22px; /* additional space for Aero Snap */
|
|
%else
|
|
margin-left: 10px;
|
|
%endif
|
|
}
|
|
|
|
/* titlebar command buttons */
|
|
|
|
#titlebar-min {
|
|
-moz-appearance: -moz-window-button-minimize;
|
|
}
|
|
|
|
#titlebar-max {
|
|
-moz-appearance: -moz-window-button-maximize;
|
|
}
|
|
|
|
#main-window[sizemode="maximized"] #titlebar-max {
|
|
-moz-appearance: -moz-window-button-restore;
|
|
}
|
|
|
|
#titlebar-close {
|
|
-moz-appearance: -moz-window-button-close;
|
|
}
|
|
|
|
@media not all and (-moz-windows-classic) {
|
|
#titlebar-min {
|
|
-moz-margin-end: 2px;
|
|
}
|
|
}
|
|
|
|
/* ::::: bookmark buttons ::::: */
|
|
|
|
toolbarbutton.bookmark-item {
|
|
margin: 0;
|
|
padding: 2px 3px;
|
|
}
|
|
|
|
toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),
|
|
toolbarbutton.bookmark-item[open="true"] {
|
|
padding-top: 3px;
|
|
padding-bottom: 1px;
|
|
-moz-padding-start: 4px;
|
|
-moz-padding-end: 2px;
|
|
}
|
|
|
|
.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
#PlacesToolbarItems > .bookmark-item:not([image]):not([label=""]):not([container]) > .toolbarbutton-icon {
|
|
display: none;
|
|
}
|
|
|
|
/* Force the display of the label for bookmarks */
|
|
.bookmark-item > .toolbarbutton-text {
|
|
display: -moz-box !important;
|
|
}
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
display: none;
|
|
}
|
|
|
|
#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
|
|
background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center;
|
|
}
|
|
|
|
.bookmarks-toolbar-customize {
|
|
max-width: 15em !important;
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
|
}
|
|
|
|
/* ::::: bookmark menus ::::: */
|
|
|
|
menu.bookmark-item,
|
|
menuitem.bookmark-item {
|
|
min-width: 0;
|
|
max-width: 32em;
|
|
}
|
|
|
|
.bookmark-item > .menu-iconic-left {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
-moz-padding-start: 0px;
|
|
}
|
|
|
|
/* ::::: bookmark items ::::: */
|
|
|
|
.bookmark-item {
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
|
}
|
|
|
|
.bookmark-item[container] {
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
}
|
|
|
|
.bookmark-item[container][open] {
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|
|
|
|
.bookmark-item[container][livemark] {
|
|
list-style-image: url("chrome://browser/skin/livemark-folder.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
}
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
}
|
|
|
|
.bookmark-item[container][query] {
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
.bookmark-item[query][tagContainer] {
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
.bookmark-item[query][dayContainer] {
|
|
list-style-image: url("chrome://browser/skin/places/calendar.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
}
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ::::: primary toolbar buttons ::::: */
|
|
|
|
.toolbarbutton-1 {
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
}
|
|
|
|
.toolbarbutton-1:-moz-lwtheme-brighttext {
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
}
|
|
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon {
|
|
opacity: .4;
|
|
}
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png");
|
|
}
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
|
}
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-icon,
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
#nav-bar {
|
|
/* force iconsize="small" on this toolbar */
|
|
counter-reset: smallicons;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1,
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
|
-moz-appearance: none;
|
|
border: none;
|
|
padding: 0;
|
|
background: none;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([type=menu-button]),
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
padding: 5px 2px;
|
|
-moz-box-pack: center;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > menupopup {
|
|
margin-top: -3px;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
|
-moz-padding-end: 0;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
-moz-padding-start: 0;
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-badge-container,
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
padding: 2px 6px;
|
|
background: hsla(210,32%,93%,0) padding-box;
|
|
border-radius: 2px;
|
|
border: 1px solid;
|
|
border-color: hsla(210,54%,20%,0) hsla(210,54%,20%,0) hsla(210,54%,20%,0);
|
|
box-shadow: 0 1px hsla(0,0%,100%,0) inset,
|
|
0 1px hsla(210,54%,20%,0),
|
|
0 0 2px hsla(210,54%,20%,0);
|
|
transition-property: background-color, border-color, box-shadow;
|
|
transition-duration: 150ms;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
padding: 3px 7px;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
|
|
-moz-padding-end: 17px;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
|
|
-moz-margin-start: -15px;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
-moz-border-end: none;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
padding: 8px 5px 7px;
|
|
}
|
|
|
|
@navbarLargeIcons@ #social-toolbar-item {
|
|
margin-left: 2px;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
@navbarLargeIcons@ #social-toolbar-item > .toolbarbutton-1 {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
|
|
@navbarLargeIcons@ #social-toolbar-item > .toolbarbutton-1:not(:hover):not(:active):not([open]) + .toolbarbutton-1:not(:hover):not(:active):not([open])::before {
|
|
content: "";
|
|
display: -moz-box;
|
|
width: 1px;
|
|
height: 18px;
|
|
-moz-margin-end: -1px;
|
|
background-image: linear-gradient(hsla(210,54%,20%,.2) 0, hsla(210,54%,20%,.2) 18px);
|
|
background-clip: padding-box;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1px 18px;
|
|
box-shadow: 0 0 0 1px hsla(0,0%,100%,.2);
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(ltr),
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(rtl) {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(rtl),
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(ltr) {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
|
|
@conditionalForwardWithUrlbar@ > .toolbarbutton-1:-moz-any([disabled],:not([open]):not([disabled]):not(:active)) > .toolbarbutton-icon {
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.2) hsla(210,54%,20%,.25);
|
|
box-shadow: 0 1px hsla(0,0%,100%,.3) inset,
|
|
0 1px hsla(210,54%,20%,.03),
|
|
0 0 2px hsla(210,54%,20%,.1);
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):not([open]):not(:active):hover > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon,
|
|
@conditionalForwardWithUrlbar@ > #forward-button:not([open]):not(:active):not([disabled]):hover > .toolbarbutton-icon {
|
|
border-color: hsla(210,54%,20%,.3) hsla(210,54%,20%,.35) hsla(210,54%,20%,.4);
|
|
background-color: hsla(210,48%,96%,.75);
|
|
box-shadow: 0 0 1px hsla(210,54%,20%,.03),
|
|
0 0 2px hsla(210,54%,20%,.1);
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover:active > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
|
background-color: hsla(210,54%,20%,.15);
|
|
border-color: hsla(210,54%,20%,.3) hsla(210,54%,20%,.35) hsla(210,54%,20%,.4);
|
|
box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset,
|
|
0 0 1px hsla(210,54%,20%,.2) inset,
|
|
/* allows windows-keyhole-forward-clip-path to be used for non-hover as well as hover: */
|
|
0 1px 0 hsla(210,54%,20%,0),
|
|
0 0 2px hsla(210,54%,20%,0);
|
|
text-shadow: none;
|
|
transition: none;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon {
|
|
-moz-border-start-color: hsla(210,54%,20%,.35);
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon {
|
|
background-color: rgba(90%,90%,90%,.4);
|
|
transition: background-color .4s;
|
|
}
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
-moz-appearance: none;
|
|
border-style: none;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
#TabsToolbar .toolbarbutton-1:not([disabled]):hover,
|
|
#TabsToolbar .toolbarbutton-1[open],
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover {
|
|
background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.5)),
|
|
linear-gradient(transparent, rgba(0,0,0,.25) 30%),
|
|
linear-gradient(transparent, rgba(0,0,0,.25) 30%);
|
|
background-position: 1px -1px, 0 -1px, 100% -1px;
|
|
background-size: calc(100% - 2px) 100%, 1px 100%, 1px 100%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#addon-bar .toolbarbutton-1:not([disabled]):hover,
|
|
#addon-bar .toolbarbutton-1[open],
|
|
#addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover {
|
|
background-image: linear-gradient(to top, transparent, rgba(0,0,0,.15)),
|
|
linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%),
|
|
linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%);
|
|
background-position: left, left, right;
|
|
background-size: auto, 1px 100%, 1px 100%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
/* unified back/forward button */
|
|
|
|
#back-button {
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
}
|
|
|
|
#forward-button {
|
|
-moz-image-region: rect(0, 36px, 18px, 18px);
|
|
}
|
|
|
|
#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
|
|
#forward-button:-moz-locale-dir(rtl),
|
|
#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ {
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button {
|
|
padding: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button > menupopup {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button > .toolbarbutton-icon {
|
|
/*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
|
|
clip-path: url(chrome://browser/content/browser.xul#windows-keyhole-forward-clip-path);
|
|
-moz-margin-start: -6px !important;
|
|
border-left-style: none;
|
|
border-radius: 0;
|
|
padding-left: 7px;
|
|
padding-right: 3px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
|
transition: opacity @forwardTransitionLength@ ease-out;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
opacity: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button {
|
|
-moz-image-region: rect(18px, 20px, 38px, 0);
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
-moz-padding-start: 5px;
|
|
-moz-padding-end: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
border-radius: 0 10000px 10000px 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:-moz-locale-dir(rtl) {
|
|
border-radius: 10000px 0 0 10000px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button > menupopup {
|
|
margin-top: -1px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button > .toolbarbutton-icon {
|
|
border-radius: 10000px;
|
|
padding: 5px;
|
|
border: none;
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
|
|
0 0 0 1px hsla(0,0%,100%,.3) inset,
|
|
0 0 0 1px hsla(210,54%,20%,.25),
|
|
0 1px 0 hsla(210,54%,20%,.35);
|
|
transition-property: background-color, box-shadow;
|
|
transition-duration: 250ms;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
|
|
background-color: hsla(210,48%,96%,.75);
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
|
|
0 0 0 1px hsla(0,0%,100%,.3) inset,
|
|
0 0 0 1px hsla(210,54%,20%,.3),
|
|
0 1px 0 hsla(210,54%,20%,.4),
|
|
0 0 4px hsla(210,54%,20%,.2);
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
|
|
@conditionalForwardWithUrlbar@ > #back-button[open="true"] > .toolbarbutton-icon {
|
|
background-color: hsla(210,54%,20%,.15);
|
|
box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset,
|
|
0 0 1px hsla(210,54%,20%,.2) inset,
|
|
0 0 0 1px hsla(210,54%,20%,.4),
|
|
0 1px 0 hsla(210,54%,20%,.2);
|
|
transition: none;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button[disabled] > .toolbarbutton-icon {
|
|
box-shadow: 0 0 0 1px hsla(210,54%,20%,.55),
|
|
0 1px 0 hsla(210,54%,20%,.65);
|
|
transition: none;
|
|
}
|
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
|
}
|
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
|
}
|
|
|
|
#stop-button {
|
|
-moz-image-region: rect(0, 54px, 18px, 36px);
|
|
}
|
|
|
|
#reload-button {
|
|
-moz-image-region: rect(0, 72px, 18px, 54px);
|
|
}
|
|
|
|
#home-button.bookmark-item {
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
}
|
|
#home-button.bookmark-item:-moz-lwtheme-brighttext {
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
}
|
|
#home-button {
|
|
-moz-image-region: rect(0, 90px, 18px, 72px);
|
|
}
|
|
|
|
#downloads-button {
|
|
-moz-image-region: rect(0, 108px, 18px, 90px);
|
|
}
|
|
|
|
toolbar > .customization-target > #history-panelmenu,
|
|
toolbar > .customization-target > toolbarpaletteitem > #history-panelmenu {
|
|
-moz-image-region: rect(0, 126px, 18px, 108px);
|
|
}
|
|
|
|
#bookmarks-menu-button {
|
|
-moz-image-region: rect(0, 144px, 18px, 126px);
|
|
}
|
|
|
|
#bookmarks-menu-button.bookmark-item {
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
}
|
|
|
|
#bookmarks-menu-button.bookmark-item:-moz-lwtheme-brighttext {
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
}
|
|
|
|
#print-button {
|
|
-moz-image-region: rect(0, 162px, 18px, 144px);
|
|
}
|
|
|
|
#new-tab-button {
|
|
-moz-image-region: rect(0, 180px, 18px, 162px);
|
|
}
|
|
|
|
#new-window-button {
|
|
-moz-image-region: rect(0, 198px, 18px, 180px);
|
|
}
|
|
|
|
#cut-button {
|
|
-moz-image-region: rect(0, 216px, 18px, 198px);
|
|
}
|
|
|
|
#copy-button {
|
|
-moz-image-region: rect(0, 234px, 18px, 216px);
|
|
}
|
|
|
|
#paste-button {
|
|
-moz-image-region: rect(0, 252px, 18px, 234px);
|
|
}
|
|
|
|
#fullscreen-button {
|
|
-moz-image-region: rect(0, 270px, 18px, 252px);
|
|
}
|
|
|
|
#zoom-out-button {
|
|
-moz-image-region: rect(0, 288px, 18px, 270px);
|
|
}
|
|
|
|
#zoom-in-button {
|
|
-moz-image-region: rect(0, 306px, 18px, 288px);
|
|
}
|
|
|
|
#sync-button {
|
|
-moz-image-region: rect(0, 324px, 18px, 306px);
|
|
}
|
|
#sync-button[status="active"] {
|
|
list-style-image: url("chrome://browser/skin/sync-throbber.png");
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
}
|
|
|
|
#feed-button {
|
|
-moz-image-region: rect(0, 342px, 18px, 324px);
|
|
}
|
|
|
|
#webrtc-status-button {
|
|
-moz-image-region: rect(0, 360px, 18px, 342px);
|
|
}
|
|
|
|
/* tabview button & menu item */
|
|
|
|
#tabview-button,
|
|
#menu_tabview {
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview.png);
|
|
}
|
|
|
|
#tabview-button:-moz-lwtheme-brighttext {
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview-inverted.png);
|
|
}
|
|
|
|
#tabview-button {
|
|
-moz-image-region: rect(0, 90px, 18px, 72px);
|
|
}
|
|
|
|
#tabview-button[groups="0"] {
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
}
|
|
|
|
#tabview-button[groups="1"] {
|
|
-moz-image-region: rect(0, 36px, 18px, 18px);
|
|
}
|
|
|
|
#tabview-button[groups="2"] {
|
|
-moz-image-region: rect(0, 54px, 18px, 36px);
|
|
}
|
|
|
|
#tabview-button[groups="3"] {
|
|
-moz-image-region: rect(0, 72px, 18px, 54px);
|
|
}
|
|
|
|
#menu_tabview {
|
|
-moz-image-region: rect(1px, 89px, 17px, 73px);
|
|
}
|
|
|
|
#menu_tabview[groups="0"] {
|
|
-moz-image-region: rect(1px, 17px, 17px, 1px);
|
|
}
|
|
|
|
#menu_tabview[groups="1"] {
|
|
-moz-image-region: rect(1px, 35px, 17px, 19px);
|
|
}
|
|
|
|
#menu_tabview[groups="2"] {
|
|
-moz-image-region: rect(1px, 53px, 17px, 37px);
|
|
}
|
|
|
|
#menu_tabview[groups="3"] {
|
|
-moz-image-region: rect(1px, 71px, 17px, 55px);
|
|
}
|
|
|
|
/* ::::: fullscreen window controls ::::: */
|
|
|
|
#window-controls {
|
|
-moz-margin-start: 4px;
|
|
}
|
|
|
|
#minimize-button,
|
|
#restore-button,
|
|
#close-button {
|
|
list-style-image: url("chrome://global/skin/icons/windowControls.png");
|
|
padding: 0;
|
|
}
|
|
|
|
#minimize-button {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
#minimize-button:hover {
|
|
-moz-image-region: rect(16px, 16px, 32px, 0);
|
|
}
|
|
#minimize-button:hover:active {
|
|
-moz-image-region: rect(32px, 16px, 48px, 0);
|
|
}
|
|
#restore-button {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
#restore-button:hover {
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|
|
#restore-button:hover:active {
|
|
-moz-image-region: rect(32px, 32px, 48px, 16px);
|
|
}
|
|
#close-button {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
-moz-appearance: none;
|
|
border-style: none;
|
|
margin: 2px;
|
|
}
|
|
#close-button:hover {
|
|
-moz-image-region: rect(16px, 48px, 32px, 32px);
|
|
}
|
|
#close-button:hover:active {
|
|
-moz-image-region: rect(32px, 48px, 48px, 32px);
|
|
}
|
|
|
|
/* ::::: Location Bar ::::: */
|
|
|
|
#urlbar,
|
|
.searchbar-textbox {
|
|
-moz-appearance: none;
|
|
margin: 1px 3px;
|
|
padding: 0;
|
|
background-clip: padding-box;
|
|
border: 1px solid ThreeDShadow;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#urlbar {
|
|
width: 7em;
|
|
-moz-padding-end: 2px;
|
|
}
|
|
|
|
@media (-moz-windows-default-theme) {
|
|
#urlbar,
|
|
.searchbar-textbox {
|
|
@navbarTextboxCustomBorder@
|
|
}
|
|
}
|
|
|
|
#urlbar:-moz-lwtheme,
|
|
.searchbar-textbox:-moz-lwtheme {
|
|
background-color: rgba(255,255,255,.8);
|
|
@navbarTextboxCustomBorder@
|
|
color: black;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container {
|
|
padding-left: @conditionalForwardWithUrlbarWidth@px;
|
|
-moz-margin-start: -@conditionalForwardWithUrlbarWidth@px;
|
|
position: relative;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar {
|
|
-moz-border-start: none;
|
|
margin-left: 0;
|
|
pointer-events: all;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) + #urlbar-container > #urlbar {
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container {
|
|
clip-path: url("chrome://browser/content/browser.xul#windows-urlbar-back-button-clip-path");
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar {
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
|
transition-delay: 100s;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
|
|
/* when not hovered anymore, trigger a new transition to hide the forward button immediately */
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container:-moz-locale-dir(rtl),
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
|
/* let windows-urlbar-back-button-mask clip the urlbar's right side for RTL */
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
|
|
.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
|
|
opacity: 1.0;
|
|
color: #777;
|
|
}
|
|
|
|
#urlbar:-moz-lwtheme[focused="true"],
|
|
.searchbar-textbox:-moz-lwtheme[focused="true"] {
|
|
background-color: white;
|
|
}
|
|
|
|
#urlbar-container {
|
|
-moz-box-orient: horizontal;
|
|
-moz-box-align: stretch;
|
|
}
|
|
|
|
.urlbar-textbox-container {
|
|
-moz-box-align: stretch;
|
|
}
|
|
|
|
.urlbar-input-box {
|
|
-moz-margin-start: 0;
|
|
min-width: 4em;
|
|
}
|
|
|
|
#urlbar-icons {
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
.urlbar-icon {
|
|
padding: 0 3px;
|
|
}
|
|
|
|
.searchbar-engine-button,
|
|
.search-go-container {
|
|
padding: 2px 2px;
|
|
}
|
|
|
|
.urlbar-icon:hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.3), hsla(200,100%,70%,0));
|
|
}
|
|
|
|
.urlbar-icon[open="true"],
|
|
.urlbar-icon:hover:active {
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.1), hsla(200,100%,70%,0));
|
|
}
|
|
|
|
#urlbar-search-splitter {
|
|
min-width: 6px;
|
|
-moz-margin-start: -3px;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
#urlbar-search-splitter + #urlbar-container > #urlbar ,
|
|
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
|
-moz-margin-start: 0;
|
|
}
|
|
|
|
#urlbar-display-box {
|
|
-moz-border-end: 1px solid #AAA;
|
|
-moz-margin-end: 3px;
|
|
}
|
|
|
|
#urlbar-display {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
-moz-margin-start: 0;
|
|
color: GrayText;
|
|
}
|
|
|
|
/* identity box */
|
|
|
|
#identity-box {
|
|
padding: 2px;
|
|
font-size: .9em;
|
|
}
|
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
border-top-left-radius: 1.5px;
|
|
border-bottom-left-radius: 1.5px;
|
|
}
|
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
border-top-right-radius: 1.5px;
|
|
border-bottom-right-radius: 1.5px;
|
|
}
|
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
-moz-padding-start: 10px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box {
|
|
border-radius: 0;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
padding-left: 5px;
|
|
transition: padding-left;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
padding-right: 5px;
|
|
transition: padding-right;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
|
|
/* forward button hiding is delayed when hovered */
|
|
transition-delay: 100s;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
|
|
padding-left: 5.01px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
|
|
padding-right: 5.01px;
|
|
}
|
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
|
|
color: hsl(92,100%,30%);
|
|
-moz-margin-end: 4px;
|
|
background-image: linear-gradient(hsla(92,81%,16%,0),
|
|
hsla(92,81%,16%,.2) 25%,
|
|
hsla(92,81%,16%,.2) 75%,
|
|
hsla(92,81%,16%,0));
|
|
background-position: right;
|
|
background-size: 1px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
|
|
background-position: left;
|
|
}
|
|
|
|
#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#identity-box:-moz-focusring {
|
|
outline: 1px dotted #000;
|
|
outline-offset: -3px;
|
|
}
|
|
|
|
#identity-icon-labels {
|
|
-moz-padding-start: 2px;
|
|
-moz-padding-end: 5px;
|
|
}
|
|
|
|
/* Location bar dropmarker */
|
|
|
|
.urlbar-history-dropmarker {
|
|
-moz-appearance: none;
|
|
padding: 0 3px;
|
|
background-color: transparent;
|
|
border: none;
|
|
width: auto;
|
|
list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png");
|
|
-moz-image-region: rect(0px, 11px, 14px, 0px);
|
|
}
|
|
|
|
.urlbar-history-dropmarker:hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
|
-moz-image-region: rect(0px, 22px, 14px, 11px);
|
|
}
|
|
|
|
.urlbar-history-dropmarker:hover:active,
|
|
.urlbar-history-dropmarker[open="true"] {
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.1), hsla(205,100%,70%,0));
|
|
-moz-image-region: rect(0px, 33px, 14px, 22px);
|
|
}
|
|
|
|
/* page proxy icon */
|
|
|
|
#page-proxy-favicon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
-moz-margin-start: 3px;
|
|
-moz-margin-end: 2px;
|
|
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box > #page-proxy-favicon {
|
|
-moz-margin-end: 1px;
|
|
}
|
|
|
|
.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https.png);
|
|
}
|
|
|
|
.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png);
|
|
}
|
|
|
|
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png);
|
|
}
|
|
|
|
#identity-box:hover > #page-proxy-favicon {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
#page-proxy-favicon[pageproxystate="invalid"] {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
/* autocomplete */
|
|
|
|
#treecolAutoCompleteImage {
|
|
max-width: 36px;
|
|
}
|
|
|
|
.ac-result-type-bookmark,
|
|
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
|
|
list-style-image: url("chrome://browser/skin/places/bookmark.png");
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.ac-result-type-keyword,
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
|
|
list-style-image: url(chrome://global/skin/icons/Search-glass.png);
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.ac-result-type-tag,
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.ac-comment {
|
|
font-size: 1.06em;
|
|
}
|
|
|
|
.ac-extra > .ac-comment {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.ac-url-text,
|
|
.ac-action-text {
|
|
font-size: 1em;
|
|
color: -moz-nativehyperlinktext;
|
|
}
|
|
|
|
%ifndef WINDOWS_AERO
|
|
@media (-moz-windows-default-theme) {
|
|
.ac-url-text:not([selected="true"]),
|
|
.ac-action-text:not([selected="true"]) {
|
|
color: #008800;
|
|
}
|
|
}
|
|
%endif
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
|
list-style-image: url("chrome://browser/skin/actionicon-tab.png");
|
|
-moz-image-region: rect(0, 16px, 11px, 0);
|
|
padding: 0 3px;
|
|
}
|
|
|
|
%ifdef WINDOWS_AERO
|
|
@media not all and (-moz-windows-default-theme) {
|
|
%endif
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
|
-moz-image-region: rect(11px, 16px, 22px, 0);
|
|
}
|
|
|
|
.ac-comment[selected="true"],
|
|
.ac-url-text[selected="true"],
|
|
.ac-action-text[selected="true"] {
|
|
color: inherit !important;
|
|
}
|
|
%ifdef WINDOWS_AERO
|
|
}
|
|
%endif
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
|
color: GrayText;
|
|
}
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
|
|
{
|
|
color: GrayText;
|
|
font-size: smaller;
|
|
}
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
border-top: 1px solid GrayText;
|
|
}
|
|
|
|
/* combined go/reload/stop button in location bar */
|
|
|
|
#go-button,
|
|
#urlbar > toolbarbutton {
|
|
-moz-appearance: none;
|
|
padding: 0 2px;
|
|
background-origin: border-box;
|
|
border: none;
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
|
}
|
|
|
|
#go-button {
|
|
padding: 0 3px;
|
|
}
|
|
|
|
#urlbar-reload-button {
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
|
}
|
|
|
|
#urlbar-reload-button:not([disabled]):hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.2), hsla(200,100%,70%,0));
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
}
|
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,60%,.1), hsla(200,100%,60%,0));
|
|
-moz-image-region: rect(28px, 14px, 42px, 0);
|
|
}
|
|
|
|
#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
#go-button,
|
|
#urlbar-go-button {
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
|
}
|
|
|
|
#go-button:hover,
|
|
#urlbar-go-button:hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.2), hsla(110,70%,50%,0));
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
|
}
|
|
|
|
#go-button:hover:active,
|
|
#urlbar-go-button:hover:active {
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.1), hsla(110,70%,50%,0));
|
|
-moz-image-region: rect(28px, 42px, 42px, 28px);
|
|
}
|
|
|
|
#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
#urlbar-stop-button {
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
|
}
|
|
|
|
#urlbar-stop-button:not([disabled]):hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.3), hsla(5,100%,75%,0));
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
|
}
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0));
|
|
-moz-image-region: rect(28px, 28px, 42px, 14px);
|
|
}
|
|
|
|
/* popup blocker button */
|
|
|
|
#page-report-button {
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
#page-report-button:hover {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
#page-report-button:hover:active,
|
|
#page-report-button[open="true"] {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
|
|
/* social share panel */
|
|
|
|
#social-share-panel > iframe {
|
|
background: linear-gradient(to bottom, #f0f4f7, #fafbfc);
|
|
width: 300px;
|
|
height: 150px;
|
|
}
|
|
|
|
#social-share-button {
|
|
list-style-image: url(chrome://browser/skin/social/share-button.png);
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
.social-share-toolbar {
|
|
border-right: 1px solid #e2e5e8;
|
|
background: linear-gradient(to bottom, #ffffff, #f5f7fa);
|
|
}
|
|
|
|
#social-share-provider-buttons {
|
|
padding: 6px;
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button {
|
|
-moz-appearance: none;
|
|
padding: 5px;
|
|
margin: 1px;
|
|
border: none;
|
|
background: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
|
|
#social-share-provider-buttons > .share-provider-button:hover,
|
|
#social-share-provider-buttons > .share-provider-button:active {
|
|
padding: 4px;
|
|
border: 1px solid #aeb8c1;
|
|
box-shadow: inset 1px 1px 1px rgba(10, 31, 51, 0.1);
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
|
|
background: linear-gradient(to bottom, rgba(230,232,234,.65), #d2d5d9);
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
|
|
display: none;
|
|
}
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
|
|
width: 16px;
|
|
min-height: 16px;
|
|
max-height: 16px;
|
|
}
|
|
|
|
/* fixup corners for share panel */
|
|
.social-panel > .social-panel-frame {
|
|
border-radius: inherit;
|
|
}
|
|
|
|
#social-share-panel {
|
|
max-height: 600px;
|
|
min-height: 100px;
|
|
max-width: 800px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.social-share-frame {
|
|
background: linear-gradient(to bottom, #f0f4f7, #fafbfc);
|
|
width: 330px;
|
|
height: 150px;
|
|
border-top-left-radius: none;
|
|
border-bottom-left-radius: none;
|
|
border-top-right-radius: inherit;
|
|
border-bottom-right-radius: inherit;
|
|
/* we resize our panels dynamically, make it look nice */
|
|
transition: height 100ms ease-out, width 100ms ease-out;
|
|
}
|
|
|
|
#social-share-panel > .social-share-toolbar {
|
|
border-top-left-radius: inherit;
|
|
border-bottom-left-radius: inherit;
|
|
}
|
|
|
|
#social-share-provider-buttons {
|
|
border-top-left-radius: inherit;
|
|
border-bottom-left-radius: inherit;
|
|
}
|
|
|
|
/* social recommending panel */
|
|
|
|
#social-mark-button {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
/* star button */
|
|
|
|
#star-button {
|
|
list-style-image: url("chrome://browser/skin/places/bookmark.png");
|
|
-moz-image-region: rect(0px 16px 16px 0px);
|
|
}
|
|
|
|
#star-button:hover {
|
|
background-image: radial-gradient(circle closest-side, hsla(45,100%,73%,.3), hsla(45,100%,73%,0));
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
}
|
|
|
|
#star-button:hover:active {
|
|
background-image: radial-gradient(circle closest-side, hsla(45,100%,73%,.1), hsla(45,100%,73%,0));
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
|
}
|
|
|
|
#star-button[starred] {
|
|
list-style-image: url("chrome://browser/skin/places/editBookmark.png");
|
|
}
|
|
|
|
/* bookmarking panel */
|
|
|
|
#editBookmarkPanelStarIcon {
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
}
|
|
|
|
#editBookmarkPanelTitle {
|
|
font-size: 130%;
|
|
}
|
|
|
|
#editBookmarkPanelHeader,
|
|
#editBookmarkPanelContent {
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
#editBMPanel_folderTree {
|
|
min-width: 27em;
|
|
}
|
|
|
|
.panel-promo-box {
|
|
margin: 10px -10px -10px;
|
|
padding: 8px 10px;
|
|
border-top: 1px solid ThreeDShadow;
|
|
background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px);
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
|
|
@media (-moz-windows-default-theme) {
|
|
.panel-promo-box {
|
|
border-top-style: none;
|
|
background: #f1f5fb;
|
|
color: GrayText;
|
|
box-shadow: 0px 1px 2px rgb(204,214,234) inset;
|
|
}
|
|
}
|
|
|
|
.panel-promo-icon {
|
|
list-style-image: url("chrome://browser/skin/sync-notification-24.png");
|
|
-moz-margin-end: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.panel-promo-closebutton {
|
|
-moz-appearance: none;
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
border: none;
|
|
-moz-margin-end: -10px;
|
|
margin-top: -5px;
|
|
}
|
|
|
|
.panel-promo-closebutton:hover {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
.panel-promo-closebutton:hover:active {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ::::: content area ::::: */
|
|
|
|
#sidebar {
|
|
background-color: Window;
|
|
}
|
|
|
|
#sidebar-title {
|
|
-moz-padding-start: 0px;
|
|
}
|
|
|
|
/* Tabstrip */
|
|
|
|
#TabsToolbar {
|
|
min-height: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#TabsToolbar:not(:-moz-lwtheme),
|
|
#TabsToolbar[tabsontop=false] {
|
|
background-image: linear-gradient(to top, @toolbarShadowColor@ 2px, rgba(0,0,0,.05) 2px, transparent 50%);
|
|
}
|
|
|
|
#main-window[tabsintitlebar] #TabsToolbar {
|
|
background-color: transparent;
|
|
}
|
|
|
|
%ifndef WINDOWS_AERO
|
|
@media (-moz-windows-default-theme) {
|
|
#main-window[sizemode=normal] #TabsToolbar {
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
}
|
|
}
|
|
%endif
|
|
|
|
%include ../shared/tabs.inc.css
|
|
|
|
%ifndef WINDOWS_AERO
|
|
/* Use lighter colors of buttons and text in the titlebar on luna-blue */
|
|
@media (-moz-windows-theme: luna-blue) {
|
|
#main-window[tabsintitlebar] #main-menubar > menu {
|
|
color: white;
|
|
}
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
|
}
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button,
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button,
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
}
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #alltabs-button {
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
|
}
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #tabview-button {
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview-inverted.png);
|
|
}
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tab-close-button:not(:hover):not([selected="true"]) {
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
|
}
|
|
|
|
#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
|
|
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
|
|
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
|
|
background-image: url("chrome://browser/skin/tabbrowser/tab-separator-luna-blue.png");
|
|
}
|
|
}
|
|
%endif
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-tab:not([selected]):not(:-moz-lwtheme) {
|
|
color: CaptionText;
|
|
}
|
|
|
|
/* The selected tab should keep dark text with lightweight themes */
|
|
.tabbrowser-tab:-moz-lwtheme:not([selected=true]) {
|
|
color: inherit;
|
|
}
|
|
|
|
.tabbrowser-tab[selected=true]:-moz-lwtheme {
|
|
/* Copied from :root:-moz-lwtheme-darktext in global.css */
|
|
text-shadow: 0 -0.5px 1.5px white;
|
|
}
|
|
|
|
/* tabbrowser-tab focus ring */
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label {
|
|
outline: 1px dotted;
|
|
}
|
|
|
|
/* Tab DnD indicator */
|
|
.tab-drop-indicator {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
|
margin-bottom: -9px;
|
|
z-index: 3;
|
|
}
|
|
|
|
/* Tab close button */
|
|
.tab-close-button {
|
|
-moz-appearance: none;
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
border: none;
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
}
|
|
|
|
.tab-close-button:hover,
|
|
.tab-close-button:hover[selected="true"] {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
.tab-close-button:hover:active,
|
|
.tab-close-button:hover:active[selected="true"] {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
.tab-close-button[selected="true"] {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
|
margin: 0;
|
|
padding-right: 2px;
|
|
border-right: 2px solid transparent;
|
|
background-origin: border-box;
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
|
|
opacity: .4;
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
transition: 1s background-color ease-out;
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
|
background-color: Highlight;
|
|
transition: none;
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
|
|
border-width: 0 2px 0 0;
|
|
border-style: solid;
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
|
}
|
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
margin-top: -1px;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.tabs-newtab-button,
|
|
#TabsToolbar > #new-tab-button,
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
.tabs-newtab-button:-moz-lwtheme-brighttext,
|
|
#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
}
|
|
|
|
#TabsToolbar > #new-tab-button {
|
|
width: 26px;
|
|
}
|
|
|
|
#alltabs-button {
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png");
|
|
}
|
|
|
|
#alltabs-button:-moz-lwtheme-brighttext {
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
|
}
|
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
|
margin: 0 2px;
|
|
}
|
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
|
display: none;
|
|
}
|
|
|
|
/* All tabs menupopup */
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
|
}
|
|
|
|
.alltabs-item[selected="true"] {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
|
}
|
|
|
|
.alltabs-item[tabIsVisible] {
|
|
/* box-shadow instead of background-color to work around native styling */
|
|
box-shadow: inset -5px 0 ThreeDShadow;
|
|
}
|
|
|
|
/* Tabstrip close button */
|
|
.tabs-closebutton {
|
|
-moz-appearance: none;
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
padding: 4px 2px;
|
|
margin: 0px;
|
|
border: none;
|
|
}
|
|
|
|
.tabs-closebutton > .toolbarbutton-icon {
|
|
-moz-margin-end: 0px !important;
|
|
-moz-padding-end: 2px !important;
|
|
-moz-padding-start: 2px !important;
|
|
}
|
|
|
|
.tabs-closebutton:hover {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
.tabs-closebutton:hover:active {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
toolbarbutton.chevron {
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
|
|
}
|
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
toolbarbutton.chevron > .toolbarbutton-text,
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
display: none;
|
|
}
|
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
margin: 0;
|
|
}
|
|
|
|
#sidebar-throbber[loading="true"] {
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
|
-moz-margin-end: 4px;
|
|
}
|
|
|
|
/* Bookmarks toolbar */
|
|
#PlacesToolbarDropIndicator {
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
|
}
|
|
|
|
toolbarbutton.bookmark-item[dragover="true"][open="true"] {
|
|
-moz-appearance: none;
|
|
background: Highlight !important;
|
|
color: HighlightText !important;
|
|
}
|
|
|
|
/* rules for menupopup drop indicators */
|
|
.menupopup-drop-indicator-bar {
|
|
position: relative;
|
|
/* these two margins must together compensate the indicator's height */
|
|
margin-top: -1px;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.menupopup-drop-indicator {
|
|
list-style-image: none;
|
|
height: 2px;
|
|
-moz-margin-end: -4em;
|
|
background-color: Highlight;
|
|
}
|
|
|
|
/* ::::: Identity Indicator Styling ::::: */
|
|
|
|
/* Popup Icons */
|
|
#identity-popup-icon {
|
|
height: 64px;
|
|
width: 64px;
|
|
padding: 0;
|
|
list-style-image: url("chrome://browser/skin/identity.png");
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
|
}
|
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
|
-moz-image-region: rect(64px, 64px, 128px, 0px);
|
|
}
|
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
|
-moz-image-region: rect(128px, 64px, 192px, 0px);
|
|
}
|
|
|
|
/* Popup Body Text */
|
|
.identity-popup-description {
|
|
white-space: pre-wrap;
|
|
-moz-padding-start: 15px;
|
|
margin: 2px 0 4px;
|
|
}
|
|
|
|
.identity-popup-label {
|
|
white-space: pre-wrap;
|
|
-moz-padding-start: 15px;
|
|
margin: 0;
|
|
}
|
|
|
|
#identity-popup-content-host,
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
#identity-popup-content-host {
|
|
margin-top: 3px;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
max-width: 300px;
|
|
}
|
|
|
|
#identity-popup-content-owner {
|
|
margin-top: 4px;
|
|
margin-bottom: 0 !important;
|
|
font-weight: bold;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.verifiedDomain > #identity-popup-content-owner {
|
|
font-weight: normal;
|
|
}
|
|
|
|
#identity-popup-content-verifier {
|
|
margin: 4px 0 2px;
|
|
}
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
|
|
margin-top: 10px;
|
|
-moz-margin-start: -24px;
|
|
}
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
|
|
list-style-image: url("chrome://browser/skin/Secure24.png");
|
|
}
|
|
|
|
#identity-popup-more-info-button {
|
|
margin-top: 6px;
|
|
margin-bottom: 0;
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.popup-notification-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
-moz-margin-end: 10px;
|
|
}
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="xpinstall-disabled"],
|
|
.popup-notification-icon[popupid="addon-progress"],
|
|
.popup-notification-icon[popupid="addon-install-cancelled"],
|
|
.popup-notification-icon[popupid="addon-install-blocked"],
|
|
.popup-notification-icon[popupid="addon-install-failed"],
|
|
.popup-notification-icon[popupid="addon-install-complete"] {
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.popup-notification-icon[popupid="click-to-play-plugins"] {
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="plugins-not-found"] {
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
list-style-image: url(chrome://browser/skin/notification-64.png);
|
|
}
|
|
|
|
.addon-progress-description {
|
|
width: 350px;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.popup-progress-label,
|
|
.popup-progress-meter {
|
|
-moz-margin-start: 0;
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.popup-progress-cancel {
|
|
-moz-appearance: none;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
}
|
|
|
|
.popup-progress-cancel:hover {
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|
|
|
|
.popup-progress-cancel:active {
|
|
-moz-image-region: rect(32px, 32px, 48px, 16px);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
|
|
.popup-notification-icon[popupid="indexedDB-quota-prompt"],
|
|
.popup-notification-icon[popupid*="offline-app-requested"] {
|
|
list-style-image: url(chrome://global/skin/icons/question-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="password-save"],
|
|
.popup-notification-icon[popupid="password-change"] {
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="webapps-install"] {
|
|
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="webRTC-sharingDevices"],
|
|
.popup-notification-icon[popupid="webRTC-shareDevices"] {
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png);
|
|
}
|
|
|
|
.popup-notification-icon[popupid="pointerLock"] {
|
|
list-style-image: url(chrome://browser/skin/pointerLock-64.png);
|
|
}
|
|
|
|
/* Notification icon box */
|
|
#notification-popup-box {
|
|
position: relative;
|
|
background-color: #fff;
|
|
background-clip: padding-box;
|
|
padding-left: 3px;
|
|
border-radius: 2.5px 0 0 2.5px;
|
|
border-width: 0 8px 0 0;
|
|
border-style: solid;
|
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
|
-moz-margin-end: -8px;
|
|
}
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
#notification-popup-box:-moz-locale-dir(rtl),
|
|
.notification-anchor-icon:-moz-locale-dir(rtl) {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.notification-anchor-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.notification-anchor-icon:-moz-focusring {
|
|
outline: 1px dotted -moz-DialogText;
|
|
outline-offset: -3px;
|
|
}
|
|
|
|
#default-notification-icon {
|
|
list-style-image: url(chrome://global/skin/icons/information-16.png);
|
|
}
|
|
|
|
#identity-notification-icon {
|
|
list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
|
|
}
|
|
|
|
#geo-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16.png);
|
|
}
|
|
|
|
#addons-notification-icon {
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png);
|
|
}
|
|
|
|
#indexedDB-notification-icon {
|
|
list-style-image: url(chrome://global/skin/icons/question-16.png);
|
|
}
|
|
|
|
#password-notification-icon {
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
|
|
}
|
|
|
|
#webapps-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
|
}
|
|
|
|
#plugins-notification-icon {
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric-16.png);
|
|
}
|
|
|
|
#blocked-plugins-notification-icon {
|
|
list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png);
|
|
}
|
|
|
|
#plugin-install-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-16.png);
|
|
}
|
|
|
|
#notification-popup-box[hidden] {
|
|
/* Override display:none to make the pluginBlockedNotification animation work
|
|
when showing the notification repeatedly. */
|
|
display: -moz-box;
|
|
visibility: collapse;
|
|
}
|
|
|
|
#blocked-plugins-notification-icon[showing] {
|
|
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
|
|
}
|
|
|
|
@keyframes pluginBlockedNotification {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
#mixed-content-blocked-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png);
|
|
}
|
|
|
|
#webRTC-shareDevices-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png);
|
|
}
|
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png);
|
|
}
|
|
|
|
#web-notifications-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/notification-16.png);
|
|
}
|
|
|
|
#pointerLock-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16.png);
|
|
}
|
|
#pointerLock-cancel {
|
|
margin: 0px;
|
|
}
|
|
|
|
#identity-popup-container {
|
|
min-width: 280px;
|
|
}
|
|
|
|
/* Bookmarks roots menu-items */
|
|
#subscribeToPageMenuitem:not([disabled]),
|
|
#subscribeToPageMenupopup,
|
|
#BMB_subscribeToPageMenuitem:not([disabled]),
|
|
#BMB_subscribeToPageMenupopup {
|
|
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
|
}
|
|
|
|
#bookmarksToolbarFolderMenu,
|
|
#BMB_bookmarksToolbar {
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
#BMB_unsortedBookmarks {
|
|
list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
|
|
-moz-image-region: auto;
|
|
}
|
|
|
|
/* ::::: Keyboard UI Panel ::::: */
|
|
|
|
.KUI-panel {
|
|
-moz-appearance: none;
|
|
background: rgba(27%,27%,27%,.9) url(KUI-background.png) repeat-x;
|
|
color: white;
|
|
border-style: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.KUI-panel[level="top"] {
|
|
background-color: rgba(27%,27%,27%,.65);
|
|
}
|
|
|
|
/* Ctrl-Tab */
|
|
|
|
#ctrlTab-panel {
|
|
padding: 20px 10px 10px;
|
|
font-weight: bold;
|
|
text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%);
|
|
}
|
|
|
|
.ctrlTab-favicon[src] {
|
|
background-color: white;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.ctrlTab-preview-inner > .tabPreview-canvas {
|
|
box-shadow: 1px 1px 2px rgb(12%,12%,12%);
|
|
}
|
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.ctrlTab-preview-inner {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
|
|
padding: 10px;
|
|
background-color: rgba(255,255,255,.2);
|
|
border-radius: .5em;
|
|
}
|
|
|
|
.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
|
|
color: white;
|
|
background-color: rgba(0,0,0,.6);
|
|
text-shadow: none;
|
|
padding: 8px;
|
|
border: 2px solid white;
|
|
border-radius: .5em;
|
|
}
|
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
|
|
margin: -10px -10px 0;
|
|
}
|
|
|
|
#ctrlTab-showAll {
|
|
margin-top: .5em;
|
|
}
|
|
|
|
/* Add-on bar */
|
|
|
|
#addon-bar {
|
|
-moz-appearance: none;
|
|
min-height: 20px;
|
|
border-top-style: none;
|
|
border-bottom-style: none;
|
|
padding-top: 1px;
|
|
background-image: linear-gradient(rgba(0,0,0,.15) 1px, rgba(255,255,255,.15) 1px);
|
|
background-size: 100% 2px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#status-bar {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
border: none;
|
|
min-height: 0;
|
|
}
|
|
|
|
#addon-bar[customizing] > #status-bar {
|
|
opacity: .5;
|
|
background-image: repeating-linear-gradient(135deg,
|
|
rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
|
|
rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);
|
|
}
|
|
|
|
#status-bar > statusbarpanel {
|
|
border-width: 0;
|
|
-moz-appearance: none;
|
|
}
|
|
|
|
#addonbar-closebutton {
|
|
border: none;
|
|
padding: 0 5px;
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
-moz-appearance: none;
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
|
|
#addonbar-closebutton:hover {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
|
|
#addonbar-closebutton:hover:active {
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
}
|
|
|
|
/* Status panel */
|
|
|
|
.statuspanel-label {
|
|
margin: 0;
|
|
padding: 2px 4px;
|
|
background: linear-gradient(#fff, #ddd);
|
|
border: 1px none #ccc;
|
|
border-top-style: solid;
|
|
color: #333;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
|
|
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
|
|
border-right-style: solid;
|
|
/* disabled for triggering grayscale AA (bug 659213)
|
|
border-top-right-radius: .3em;
|
|
*/
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
border-left-style: solid;
|
|
/* disabled for triggering grayscale AA (bug 659213)
|
|
border-top-left-radius: .3em;
|
|
*/
|
|
margin-left: 1em;
|
|
}
|
|
|
|
#full-screen-warning-message {
|
|
background-color: hsl(0,0%,15%);
|
|
color: white;
|
|
border-radius: 8px;
|
|
margin-top: 30px;
|
|
padding: 30px 50px;
|
|
box-shadow: 0 0 2px white;
|
|
}
|
|
|
|
#full-screen-warning-container[obscure-browser] {
|
|
background-color: rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.full-screen-description {
|
|
font-size: 150%;
|
|
}
|
|
|
|
#full-screen-domain-text {
|
|
font-size: 300%;
|
|
}
|
|
|
|
.full-screen-approval-button,
|
|
#full-screen-remember-decision {
|
|
font-size: 120%;
|
|
}
|
|
|
|
/* Developer toolbar */
|
|
|
|
#developer-toolbar {
|
|
border-top: 1px solid hsla(211,68%,6%,.65) !important;
|
|
}
|
|
|
|
%include ../shared/devtools/responsivedesign.inc.css
|
|
%include ../shared/devtools/highlighter.inc.css
|
|
%include ../shared/devtools/commandline.inc.css
|
|
|
|
.gclitoolbar-input-node {
|
|
border-color: hsl(210,24%,10%);
|
|
box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05),
|
|
0 0 0 1px hsla(210,40%,83%,.1);
|
|
}
|
|
|
|
/* Web Console */
|
|
|
|
.web-console-frame {
|
|
border-bottom: 1px solid #aaa;
|
|
}
|
|
|
|
.web-console-frame[animated] {
|
|
transition: height 100ms;
|
|
}
|
|
|
|
/* Developer Toolbar */
|
|
|
|
#developer-toolbar-toolbox-button {
|
|
min-width: 18px;
|
|
}
|
|
|
|
#developer-toolbar-toolbox-button > .toolbarbutton-text {
|
|
display: none;
|
|
}
|
|
|
|
#developer-toolbar-toolbox-button > .toolbarbutton-icon {
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.developer-toolbar-button {
|
|
-moz-appearance: none;
|
|
min-width: 78px;
|
|
min-height: 22px;
|
|
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45);
|
|
border-radius: 3px;
|
|
color: inherit;
|
|
border: 1px solid transparent;
|
|
margin: 0 5px;
|
|
padding: 0 10px;
|
|
list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
|
|
}
|
|
|
|
.developer-toolbar-button[open=true],
|
|
.developer-toolbar-button:active:hover,
|
|
.developer-toolbar-button[checked=true] {
|
|
border-color: hsla(210,8%,5%,.6);
|
|
background: rgba(0,0,0,.6);
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.5) inset, 0 1px 0 hsla(210,16%,76%,.1);
|
|
}
|
|
|
|
.developer-toolbar-button:hover,
|
|
.developer-toolbar-button[checked=true],
|
|
.developer-toolbar-button[open=true] {
|
|
color: hsl(208,100%,60%) !important;
|
|
text-shadow: 0 0 6px hsl(208,100%,60%);
|
|
}
|
|
|
|
.developer-toolbar-button[checked=true] {
|
|
background: rgba(0,0,0,.4);
|
|
}
|
|
|
|
#developer-toolbar-toolbox-button {
|
|
-moz-image-region: rect(64px, 16px, 80px, 0);
|
|
}
|
|
|
|
/* Error counter */
|
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
|
color: #FDF3DE;
|
|
min-width: 16px;
|
|
text-shadow: none;
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
|
border-radius: 1px;
|
|
-moz-margin-end: 5px;
|
|
}
|
|
|
|
/* Social toolbar item */
|
|
|
|
#social-provider-button {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
|
}
|
|
|
|
#social-provider-button > .toolbarbutton-menu-dropmarker {
|
|
display: none;
|
|
}
|
|
|
|
.toolbarbutton-badge-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
}
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-badge-container {
|
|
padding: 2px 5px;
|
|
}
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
}
|
|
|
|
.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.toolbarbutton-badge[badge=""] {
|
|
display: none;
|
|
}
|
|
.toolbarbutton-badge[badge]:not([badge=""])::after {
|
|
/* The |content| property is set in the content stylesheet. */
|
|
font-size: 9px;
|
|
font-weight: bold;
|
|
padding: 0 1px;
|
|
color: #fff;
|
|
background-color: rgb(240,61,37);
|
|
border: 1px solid rgb(216,55,34);
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 0 rgba(0,39,121,0.77);
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
@navbarLargeIcons@ *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
|
|
top: 1px;
|
|
right: 1px;
|
|
}
|
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
|
|
@navbarLargeIcons@ *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
|
|
left: 1px;
|
|
right: auto;
|
|
}
|
|
|
|
.popup-notification-icon[popupid="servicesInstall"] {
|
|
list-style-image: url(chrome://browser/skin/social/services-64.png);
|
|
}
|
|
#servicesInstall-notification-icon {
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
|
}
|
|
#social-undoactivation-button,
|
|
#servicesInstall-learnmore-link {
|
|
-moz-margin-start: 0; /* override default label margin to match description margin */
|
|
}
|
|
|
|
#socialActivatedNotification .popup-notification-button-container {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.social-activation-icon {
|
|
width: auto;
|
|
height: auto;
|
|
max-height: 64px;
|
|
max-width: 64px;
|
|
}
|
|
|
|
#social-activation-message {
|
|
max-width: 250px;
|
|
}
|
|
|
|
#social-activation-message > label {
|
|
margin: 0;
|
|
}
|
|
|
|
/* social toolbar provider menu */
|
|
.social-statusarea-popup {
|
|
margin-top: 0;
|
|
margin-left: -12px;
|
|
margin-right: -12px;
|
|
}
|
|
|
|
.social-statusarea-user {
|
|
-moz-appearance: none;
|
|
border-bottom: 1px solid rgb(221,221,221);
|
|
background-color: -moz-Dialog;
|
|
position: relative;
|
|
cursor: pointer;
|
|
list-style-image:url("chrome://global/skin/icons/information-32.png");
|
|
}
|
|
|
|
.social-statusarea-user-portrait {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 2px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.social-statusarea-loggedInStatus {
|
|
-moz-appearance: none;
|
|
background: transparent;
|
|
border: none;
|
|
color: -moz-nativehyperlinktext;
|
|
min-width: 0;
|
|
margin: 0 6px;
|
|
list-style-image: none;
|
|
}
|
|
|
|
.social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
padding: 0;
|
|
}
|
|
|
|
.social-panel-frame {
|
|
border-radius: inherit;
|
|
}
|
|
|
|
%include ../shared/social/chat.inc.css
|
|
|
|
.chat-titlebar {
|
|
background-color: #c4cfde;
|
|
background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
|
|
}
|
|
|
|
.chat-titlebar[selected] {
|
|
background-color: #dae3f0;
|
|
}
|
|
|
|
.chatbar-button {
|
|
-moz-appearance: none;
|
|
background-color: #c4cfde;
|
|
background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
|
|
}
|
|
|
|
.chatbar-button > .toolbarbutton-icon {
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.chatbar-button:hover,
|
|
.chatbar-button[open="true"] {
|
|
background-color: #dae3f0;
|
|
}
|
|
|
|
.chatbar-button[activity]:not([open="true"]) {
|
|
background-image: radial-gradient(circle farthest-corner at center 3px, rgb(255,255,255) 3%, rgba(186,221,251,0.75) 40%, rgba(127,179,255,0.5) 80%, rgba(127,179,255,0.25));
|
|
}
|
|
|
|
chatbox {
|
|
border-top-left-radius: 2.5px;
|
|
border-top-right-radius: 2.5px;
|
|
}
|
|
|
|
/* Customization mode */
|
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
|
|
|
#main-window[customizing] {
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
#main-window[customizing] #tab-view-deck {
|
|
padding: 0 2em 2em;
|
|
}
|
|
|
|
#customization-container {
|
|
border-left: 1px solid @toolbarShadowColor@;
|
|
border-right: 1px solid @toolbarShadowColor@;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
/* End customization mode */
|
|
|
|
.click-to-play-plugins-notification-content {
|
|
margin: -10px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.click-to-play-plugins-notification-icon-box {
|
|
-moz-border-end: 1px solid hsla(0,0%,100%,.2);
|
|
padding-top: 16px;
|
|
-moz-padding-end: 16px;
|
|
-moz-padding-start: 24px;
|
|
}
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
|
|
border-bottom-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
}
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
|
|
border-bottom-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
}
|
|
|
|
.click-to-play-plugins-notification-separator {
|
|
-moz-border-start: 1px solid hsla(211,79%,6%,.1);
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
}
|
|
|
|
.click-to-play-plugins-notification-description-box {
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
padding-top: 12px;
|
|
-moz-padding-end: 11px;
|
|
padding-bottom: 9px;
|
|
-moz-padding-start: 10px;
|
|
}
|
|
|
|
.click-to-play-plugins-notification-center-box {
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
background-color: hsla(211,79%,6%,.05);
|
|
}
|
|
|
|
.click-to-play-plugins-notification-button-container {
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
margin: 0px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.center-item-box {
|
|
padding: 12px 16px 0px 16px;
|
|
}
|
|
|
|
.center-item-box[padbottom="true"] {
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.center-item-icon {
|
|
background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
|
|
background-repeat: no-repeat;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.center-item-box[warn="true"] {
|
|
background-image: url("chrome://browser/skin/click-to-play-warning-stripes.png");
|
|
background-repeat: repeat-x;
|
|
padding: 8px 16px 6px 16px;
|
|
}
|
|
|
|
.center-item-box[padbottom="true"][warn="true"] {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.center-item-box[showseparator="true"] {
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
}
|
|
|
|
.center-item-box[warn="false"] > .center-item-warning {
|
|
display: none;
|
|
}
|
|
|
|
.center-item-warning > .text-link {
|
|
color: #3d8cd7;
|
|
}
|
|
|
|
.center-item-warning > .text-link[href=""] {
|
|
display: none;
|
|
}
|
|
|
|
.center-item-warning-icon {
|
|
background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
|
|
background-repeat: no-repeat;
|
|
width: 16px;
|
|
height: 15px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.center-item-warning-description {
|
|
color: #828282;
|
|
}
|
|
|
|
.center-item-button {
|
|
min-width: 0;
|
|
}
|
|
|
|
#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
|
|
background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
|
|
background-position: top right;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
|
|
background-position: top left;
|
|
}
|