+/* 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/");
+@import url("downloads/indicator.css");
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml");
+@namespace svg url("http://www.w3.org/2000/svg");
+
+toolbar {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
+}
+
+toolbar[customizable="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ toolbar[customizable="true"]:not([nowindowdrag="true"]) {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+ }
+}
+
+toolbar[type="menubar"][autohide="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
+}
+
+#toolbar-menubar[autohide="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
+}
+
+menubar {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
+}
+
+:root {
+ --verified-identity-box-backgroundcolor: #000000;
+}
+
+#menubar-items {
+ -moz-box-orient: vertical; /* for flex hack */
+}
+
+#main-menubar {
+ -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
+}
+
+/* ::::: primary toolbar ::::: */
+
+.toolbar-primary > .toolbar-box > .toolbar-holder {
+ background-color: #A09090;
+}
+
+.toolbar-primary > .toolbar-box > .toolbar-startcap,
+.toolbar-primary > .toolbar-box > .toolbar-endcap {
+ background-color: #9C9CFF;
+}
+
+/* Hides the titlebar-placeholder underneath the window caption buttons when we
+ are not autohiding the menubar. */
+#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
+ display: none;
+}
+
+/* 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([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
+#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
+/* margin-top: 3px;*/
+}
+
+#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
+#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
+/* margin-top: 15px;*/
+}
+
+@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
+ /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
+ #toolbar-menubar:not([autohide="true"]) {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+ }
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
+ padding-left: 60px;
+ }
+}
+
+#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
+ /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
+ display: none;
+}
+
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
+ outline-color: #A09090;
+}
+
+#navigator-toolbox {
+}
+
+#navigator-toolbox::after {
+ content: "";
+ display: -moz-box;
+ -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
+ height: 1px;
+}
+
+#navigator-toolbox > toolbar {
+}
+
+#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
+}
+
+#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
+ overflow: -moz-hidden-unscrollable;
+ max-height: 4em;
+ transition: min-height 170ms ease-out, max-height 170ms ease-out;
+}
+
+#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
+ min-height: 0.1px;
+ max-height: 0;
+ transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
+}
+
+@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
+ /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
+ /* Indent also due to non-applicable aero rule in original Windows theme. */
+ #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
+ #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
+ /* like menubar */
+ background-color: #6000CF;
+ color: #FF9F00;
+ }
+
+ #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
+ #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
+ background-color: #8050B0;
+ color: #FF9F00;
+ }
+
+ #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
+ /*color: inherit;*/
+ }
+
+ #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;
+ }
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #titlebar-buttonbox > .titlebar-button {
+ display: none;
+ }
+}
+
+#nav-bar {
+ /* Position the toolbar above the bottom of background tabs */
+ position: relative;
+ z-index: 1;
+}
+
+#personal-bookmarks {
+/* min-height: 24px; */
+}
+
+#print-preview-toolbar:not(:-moz-lwtheme) {
+ /* -moz-appearance: toolbox; */
+}
+
+#browser-bottombox:not(:-moz-lwtheme) {
+}
+
+/* ::::: titlebar ::::: */
+
+#titlebar {
+ /* like menubar */
+ background-color: #6000CF;
+ color: #FF9F00;
+}
+#titlebar:-moz-window-inactive {
+ background-color: #8050B0;
+ color: #FF9F00;
+}
+
+#main-window[sizemode="normal"] > #titlebar {
+ margin-top: -3px;
+ margin-bottom: 3px;
+}
+
+#main-window[sizemode="maximized"] > #titlebar {
+ margin-top: 4px;
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #main-window[sizemode="normal"] > #titlebar,
+ #main-window[sizemode="maximized"] > #titlebar {
+ margin-top: 19px;
+ /* There is a margin-bottom set to -23 by code. */
+ }
+}
+
+/* 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,
+#main-window[sizemode="maximized"] #titlebar-buttonbox {
+ -moz-appearance: none;
+ margin-top: 6px;
+ margin-top: 4px;
+ -moz-margin-end: 3px;
+ z-index: 1;
+}
+
+.titlebar-placeholder[type="appmenu-button"] {
+ margin-left: 4px;
+}
+
+.titlebar-placeholder[type="caption-buttons"] {
+ margin-left: 10px;
+}
+
+/* titlebar command buttons */
+
+#titlebar-min {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+}
+
+#titlebar-min:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+}
+
+#titlebar-max {
+ list-style-image: url("chrome://browser/skin/win-maximize.gif");
+}
+
+#titlebar-max:hover {
+ list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
+}
+
+#main-window[sizemode="maximized"] #titlebar-max {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+}
+
+#main-window[sizemode="maximized"] #titlebar-max:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+}
+
+#titlebar-close {
+ list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+}
+
+#titlebar-close:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #titlebar-fullscreen-button {
+ -moz-appearance: none;
+ list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+ }
+
+ #titlebar-fullscreen-button:hover {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+ }
+
+ @media (min-resolution: 2dppx) {
+ #titlebar-fullscreen-button {
+ list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+ }
+
+ #titlebar-fullscreen-button:hover {
+ -moz-image-region: rect(0px, 64px, 32px, 32px);
+ }
+ }
+}
+
+
+/* ::::: bookmark buttons ::::: */
+
+toolbarbutton.bookmark-item:not(.subviewbutton),
+#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
+/* margin: 0;
+ padding: 2px 3px;*/
+}
+
+toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
+toolbarbutton.bookmark-item[open="true"] {
+/* padding-top: 3px;
+ padding-bottom: 1px;
+ -moz-padding-start: 4px;
+ -moz-padding-end: 2px;*/
+}
+
+.bookmark-item > .toolbarbutton-icon,
+#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
+ width: 16px;
+ height: 16px;
+ -moz-margin-start: 1px;
+ -moz-margin-end: 2px;
+}
+
+/* Force the display of the label for bookmarks */
+.bookmark-item > .toolbarbutton-text,
+#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
+ display: -moz-box !important;
+}
+
+.bookmark-item > .toolbarbutton-menu-dropmarker {
+ display: none;
+}
+
+#bookmarks-toolbar-placeholder {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
+ -moz-box-orient: horizontal;
+}
+
+toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
+#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
+ list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
+}
+
+/* ----- BOOKMARK STAR ANIMATION ----- */
+
+@keyframes animation-bookmarkAdded {
+ from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
+ 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
+ 80% { opacity: 1; }
+ to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
+}
+
+@keyframes animation-bookmarkPulse {
+ from { transform: scale(1); }
+ 50% { transform: scale(1.3); }
+ to { transform: scale(1); }
+}
+
+#bookmarked-notification-container {
+ min-height: 1px;
+ min-width: 1px;
+ height: 1px;
+ margin-bottom: -1px;
+ z-index: 5;
+ position: relative;
+}
+
+#bookmarked-notification {
+ background-size: 16px;
+ background-position: center;
+ background-repeat: no-repeat;
+ width: 16px;
+ height: 16px;
+ opacity: 0;
+}
+
+#bookmarked-notification-dropmarker-anchor {
+ z-index: -1;
+ position: relative;
+}
+
+#bookmarked-notification-dropmarker-icon {
+ width: 18px;
+ height: 18px;
+ visibility: hidden;
+}
+
+#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
+ background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
+ animation: animation-bookmarkAdded 800ms;
+ animation-timing-function: ease, ease, ease;
+}
+
+#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ list-style-image: none !important;
+}
+
+#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
+ visibility: visible;
+ animation: animation-bookmarkPulse 300ms;
+ animation-delay: 600ms;
+ animation-timing-function: ease-out;
+}
+
+/* ::::: bookmark menus ::::: */
+
+menu.bookmark-item,
+menuitem.bookmark-item {
+ min-width: 0;
+ max-width: 32em;
+}
+
+.bookmark-item:not(.subviewbutton) > .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");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container][open] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container][livemark] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container][livemark] .bookmark-item {
+ list-style-image: url("chrome://communicator/skin/bookmarks/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://communicator/skin/bookmarks/query.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][tagContainer] {
+ list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][dayContainer] {
+ list-style-image: url("chrome://communicator/skin/history/calendar.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][hostContainer] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][hostContainer][open] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+ -moz-image-region: auto;
+}
+
+.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 ::::: */
+
+/* === BEGIN toolbarbuttons.inc.css === */
+
+/* Whole section of this included file: */
+:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
+ #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
+ #social-share-button, #open-file-button, #find-button, #developer-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
+ #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button),
+
+#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
+}
+
+#back-button {
+ -moz-image-region: rect(0, 36px, 18px, 18px);
+}
+
+#back-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 36px, 36px, 18px);
+}
+
+#back-button[disabled="true"] {
+ -moz-image-region: rect(36px, 36px, 54px, 18px);
+}
+
+#forward-button {
+ -moz-image-region: rect(0, 72px, 18px, 54px);
+}
+
+#forward-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 72px, 36px, 54px);
+}
+
+#forward-button[disabled="true"] {
+ -moz-image-region: rect(36px, 72px, 54px, 54px);
+}
+
+#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
+#forward-button:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
+}
+
+#home-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 126px, 18px, 108px);
+}
+
+#home-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 126px, 36px, 108px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 144px, 18px, 126px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
+#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 144px, 36px, 126px);
+}
+
+/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
+#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
+ -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
+ background-color: transparent !important;
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
+ -moz-image-region: rect(0, 162px, 18px, 144px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
+#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
+#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
+ /* When starred and clicked (for edit/delete dialog),
+ * then only the menubutton-button itself is open, but not the whole menubutton. */
+ -moz-image-region: rect(18px, 162px, 36px, 144px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ -moz-image-region: rect(0, 630px, 18px, 612px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
+ padding: 1px;
+ -moz-box-align: center;
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
+#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ -moz-image-region: rect(18px, 630px, 36px, 612px);
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
+#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
+ padding-top: 2px;
+ padding-bottom: 0px;
+ -moz-padding-start: 2px;
+ -moz-padding-end: 0px;
+}
+
+#history-panelmenu[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 180px, 18px, 162px);
+}
+
+#history-panelmenu[cui-areatype="toolbar"]:hover,
+#history-panelmenu[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 180px, 36px, 162px);
+}
+
+#downloads-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 198px, 18px, 180px);
+}
+
+#downloads-button[cui-areatype="toolbar"]:hover,
+#downloads-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 198px, 36px, 180px);
+}
+
+#add-ons-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 216px, 18px, 198px);
+}
+
+#add-ons-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 216px, 36px, 198px);
+}
+
+#open-file-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 234px, 18px, 216px);
+}
+
+#open-file-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 234px, 36px, 216px);
+}
+
+#save-page-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 252px, 18px, 234px);
+}
+
+#save-page-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 252px, 36px, 234px);
+}
+
+#sync-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 270px, 18px, 252px);
+}
+
+#sync-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 270px, 36px, 252px);
+}
+
+#sync-button[cui-areatype="toolbar"][status="active"],
+#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
+ list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
+ -moz-image-region: rect(0, 18px, 18px, 0px);
+}
+
+/*
+#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
+#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
+ list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
+}
+*/
+
+#feed-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 288px, 18px, 270px);
+}
+
+#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 288px, 36px, 270px);
+}
+
+#feed-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 288px, 54px, 270px);
+}
+
+#social-share-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0px, 306px, 18px, 288px);
+}
+
+#social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
+#social-share-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 306px, 36px, 288px);
+}
+
+#social-share-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 306px, 54px, 288px);
+}
+
+#characterencoding-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 324px, 18px, 306px);
+}
+
+#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
+#characterencoding-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 324px, 36px, 306px);
+}
+
+#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 324px, 54px, 306px);
+}
+
+#new-window-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 342px, 18px, 324px);
+}
+
+#new-window-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 342px, 36px, 324px);
+}
+
+#e10s-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 342px, 18px, 324px);
+}
+
+#e10s-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 342px, 36px, 324px);
+}
+
+#e10s-button > .toolbarbutton-icon {
+ transform: scaleY(-1);
+}
+
+#new-tab-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 360px, 18px, 342px);
+}
+
+#new-tab-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 360px, 36px, 342px);
+}
+
+#privatebrowsing-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 378px, 18px, 360px);
+}
+
+#privatebrowsing-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 378px, 36px, 360px);
+}
+
+#find-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 396px, 18px, 378px);
+}
+
+#find-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 396px, 36px, 378px);
+}
+
+#print-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 414px, 18px, 396px);
+}
+
+#print-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 414px, 36px, 396px);
+}
+
+#fullscreen-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 432px, 18px, 414px);
+}
+
+#fullscreen-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 432px, 36px, 414px);
+}
+
+#developer-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 450px, 18px, 432px);
+}
+
+#developer-button[cui-areatype="toolbar"]:hover,
+#developer-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 450px, 36px, 432px);
+}
+
+#preferences-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 468px, 18px, 450px);
+}
+
+#preferences-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 468px, 36px, 450px);
+}
+
+#PanelUI-menu-button {
+ -moz-image-region: rect(0, 486px, 18px, 468px);
+}
+
+#PanelUI-menu-button:hover,
+#PanelUI-menu-button[open="true"] {
+ -moz-image-region: rect(18px, 486px, 36px, 468px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
+ -moz-image-region: rect(0, 504px, 18px, 486px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 504px, 36px, 486px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
+ -moz-image-region: rect(36px, 504px, 54px, 486px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
+ -moz-image-region: rect(0, 522px, 18px, 504px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 522px, 36px, 504px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
+ -moz-image-region: rect(36px, 522px, 54px, 504px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
+ -moz-image-region: rect(0, 540px, 18px, 522px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 540px, 36px, 522px);
+}
+
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
+ -moz-image-region: rect(36px, 540px, 54px, 522px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
+ -moz-image-region: rect(0, 558px, 18px, 540px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 558px, 36px, 540px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
+ -moz-image-region: rect(36px, 558px, 54px, 540px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
+ -moz-image-region: rect(0, 576px, 18px, 558px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 576px, 36px, 558px);
+}
+
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
+ -moz-image-region: rect(36px, 576px, 54px, 558px);
+}
+
+#nav-bar-overflow-button {
+ -moz-image-region: rect(0, 612px, 18px, 594px);
+}
+
+#nav-bar-overflow-button:hover,
+#nav-bar-overflow-button[open="true"] {
+ -moz-image-region: rect(18px, 612px, 36px, 594px);
+}
+
+#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
+}
+
+#tabview-button {
+ -moz-image-region: rect(0, 648px, 18px, 630px);
+}
+
+#tabview-button:hover {
+ -moz-image-region: rect(18px, 648px, 36px, 630px);
+}
+
+#email-link-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 666px, 18px, 648px);
+}
+
+#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 666px, 36px, 648px);
+}
+
+#email-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 666px, 54px, 648px);
+}
+
+#sidebar-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 684px, 18px, 666px);
+}
+
+#sidebar-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 684px, 36px, 666px);
+}
+
+#panic-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 702px, 18px, 684px);
+}
+
+#panic-button[cui-areatype="toolbar"]:hover,
+#panic-button[cui-areatype="toolbar"][open] {
+ -moz-image-region: rect(18px, 702px, 36px, 684px);
+}
+
+#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
+}
+
+#web-apps-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 720px, 18px, 702px);
+}
+
+#web-apps-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 720px, 36px, 702px);
+}
+
+#loop-button-throttled > .toolbarbutton-badge-container,
+#loop-button > .toolbarbutton-badge-container {
+ list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
+ -moz-image-region: rect(0, 18px, 18px, 0);
+}
+
+#loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 90px, 18px, 72px);
+}
+
+#loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
+#loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
+#loop-button[state="disabled"] > .toolbarbutton-badge-container,
+#loop-button[disabled="true"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 36px, 18px, 18px);
+}
+
+#loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 126px, 18px, 108px);
+}
+
+#loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 54px, 18px, 36px);
+}
+
+#loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 72px, 18px, 54px);
+}
+
+#loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 108px, 18px, 90px);
+}
+
+#webide-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 738px, 18px, 720px);
+}
+
+#webide-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 738px, 36px, 720px);
+}
+
+/* === END toolbarbuttons.inc.css === */
+
+/* === BEGIN menupanel.inc.css === */
+
+/* Menu panel and palette styles */
+
+:root {
+ /* avoid aero overrides with changed filenames */
+ --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
+ --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
+}
+
+toolbaritem[sdkstylewidget="true"] > toolbarbutton,
+:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
+ #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
+ #social-share-button, #open-file-button, #find-button, #developer-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
+ #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
+ #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
+ #social-share-button, #open-file-button, #find-button, #developer-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
+ #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) {
+ list-style-image: var(--menupanel-list-style-image);
+}
+
+#home-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #home-button {
+ -moz-image-region: rect(0px, 128px, 32px, 96px);
+}
+
+#home-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #home-button:hover {
+ -moz-image-region: rect(32px, 128px, 64px, 96px);
+}
+
+#bookmarks-menu-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
+ -moz-image-region: rect(0px, 192px, 32px, 160px);
+}
+
+#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
+ -moz-image-region: rect(32px, 192px, 64px, 160px);
+}
+
+#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 192px, 64px, 160px);
+}
+
+#history-panelmenu[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #history-panelmenu {
+ -moz-image-region: rect(0px, 224px, 32px, 192px);
+}
+
+#history-panelmenu[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
+ -moz-image-region: rect(32px, 224px, 64px, 192px);
+}
+
+#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 224px, 64px, 192px);
+}
+
+#downloads-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #downloads-button {
+ -moz-image-region: rect(0px, 256px, 32px, 224px);
+}
+
+#downloads-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #downloads-button:hover {
+ -moz-image-region: rect(32px, 256px, 64px, 224px);
+}
+
+#add-ons-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #add-ons-button {
+ -moz-image-region: rect(0px, 288px, 32px, 256px);
+}
+
+#add-ons-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
+ -moz-image-region: rect(32px, 288px, 64px, 256px);
+}
+
+#open-file-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #open-file-button {
+ -moz-image-region: rect(0px, 320px, 32px, 288px);
+}
+
+#open-file-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #open-file-button:hover {
+ -moz-image-region: rect(32px, 320px, 64px, 288px);
+}
+
+#save-page-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #save-page-button {
+ -moz-image-region: rect(0px, 352px, 32px, 320px);
+}
+
+#save-page-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #save-page-button:hover {
+ -moz-image-region: rect(32px, 352px, 64px, 320px);
+}
+
+#sync-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #sync-button {
+ -moz-image-region: rect(0px, 384px, 32px, 352px);
+}
+
+#sync-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #sync-button:hover {
+ -moz-image-region: rect(32px, 384px, 64px, 352px);
+}
+
+#sync-button[cui-areatype="menu-panel"][status="active"] {
+ list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+}
+
+#feed-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #feed-button {
+ -moz-image-region: rect(0px, 416px, 32px, 384px);
+}
+
+#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(32px, 416px, 64px, 384px);
+}
+
+#feed-button[cui-areatype="menu-panel"][disabled="true"],
+toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
+ -moz-image-region: rect(64px, 416px, 96px, 384px);
+}
+
+#social-share-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #social-share-button {
+ -moz-image-region: rect(0px, 448px, 32px, 416px);
+}
+
+#social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(32px, 448px, 64px, 416px);
+}
+
+#social-share-button[cui-areatype="menu-panel"][disabled="true"],
+toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
+ -moz-image-region: rect(64px, 448px, 96px, 416px);
+}
+
+#characterencoding-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #characterencoding-button {
+ -moz-image-region: rect(0px, 480px, 32px, 448px);
+}
+
+#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(32px, 480px, 64px, 448px);
+}
+
+#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
+toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
+ -moz-image-region: rect(64px, 480px, 96px, 448px);
+}
+
+#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 480px, 64px, 448px);
+}
+
+#new-window-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #new-window-button {
+ -moz-image-region: rect(0px, 512px, 32px, 480px);
+}
+
+#new-window-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #new-window-button:hover {
+ -moz-image-region: rect(32px, 512px, 64px, 480px);
+}
+
+#e10s-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #e10s-button {
+ -moz-image-region: rect(0px, 512px, 32px, 480px);
+}
+
+#e10s-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #e10s-button:hover {
+ -moz-image-region: rect(32px, 512px, 64px, 480px);
+}
+
+#new-tab-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #new-tab-button {
+ -moz-image-region: rect(0px, 544px, 32px, 512px);
+}
+
+#new-tab-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
+ -moz-image-region: rect(32px, 544px, 64px, 512px);
+}
+
+#privatebrowsing-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
+ -moz-image-region: rect(0px, 576px, 32px, 544px);
+}
+
+#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
+ -moz-image-region: rect(32px, 576px, 64px, 544px);
+}
+
+#tabview-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #tabview-button {
+ -moz-image-region: rect(0px, 608px, 32px, 576px);
+}
+
+#tabview-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #tabview-button:hover {
+ -moz-image-region: rect(32px, 608px, 64px, 576px);
+}
+
+#find-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #find-button {
+ -moz-image-region: rect(0px, 640px, 32px, 608px);
+}
+
+#find-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #find-button:hover {
+ -moz-image-region: rect(32px, 640px, 64px, 608px);
+}
+
+#print-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #print-button {
+ -moz-image-region: rect(0px, 672px, 32px, 640px);
+}
+
+#print-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #print-button:hover {
+ -moz-image-region: rect(32px, 672px, 64px, 640px);
+}
+
+#fullscreen-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #fullscreen-button {
+ -moz-image-region: rect(0px, 704px, 32px, 672px);
+}
+
+#fullscreen-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
+ -moz-image-region: rect(32px, 704px, 64px, 672px);
+}
+
+#developer-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #developer-button {
+ -moz-image-region: rect(0px, 736px, 32px, 704px);
+}
+
+#developer-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #developer-button:hover {
+ -moz-image-region: rect(32px, 736px, 64px, 704px);
+}
+
+#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 736px, 64px, 704px);
+}
+
+#preferences-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #preferences-button {
+ -moz-image-region: rect(0px, 768px, 32px, 736px);
+}
+
+#preferences-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #preferences-button:hover {
+ -moz-image-region: rect(32px, 768px, 64px, 736px);
+}
+
+#email-link-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #email-link-button {
+ -moz-image-region: rect(0, 800px, 32px, 768px);
+}
+
+#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(32px, 800px, 64px, 768px);
+}
+
+#email-link-button[cui-areatype="menu-panel"][disabled="true"],
+toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
+ -moz-image-region: rect(64px, 800px, 96px, 768px);
+}
+
+#sidebar-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #sidebar-button {
+ -moz-image-region: rect(0, 864px, 32px, 832px);
+}
+
+#sidebar-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
+#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 864px, 64px, 832px);
+}
+
+#panic-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #panic-button {
+ -moz-image-region: rect(0, 896px, 32px, 864px);
+}
+
+#panic-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #panic-button:hover,
+#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 896px, 64px, 864px);
+}
+
+#web-apps-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #web-apps-button {
+ -moz-image-region: rect(0, 928px, 32px, 896px);
+}
+
+#web-apps-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
+ -moz-image-region: rect(32px, 928px, 64px, 896px);
+}
+
+#webide-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #webide-button {
+ -moz-image-region: rect(0px, 960px, 32px, 928px);
+}
+
+#webide-button[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #webide-button:hover {
+ -moz-image-region: rect(32px, 960px, 64px, 928px);
+}
+
+toolbaritem[sdkstylewidget="true"] > toolbarbutton {
+ -moz-image-region: rect(0, 832px, 32px, 800px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
+toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
+toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
+ list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
+ -moz-image-region: rect(0, 32px, 32px, 0);
+}
+
+/* Make sure that the state icons are not shown in the customization palette. */
+toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
+toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 32px, 32px, 0) !important;
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 160px, 32px, 128px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
+#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 64px, 32px, 32px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 224px, 32px, 192px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 96px, 32px, 64px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 128px, 32px, 96px);
+}
+
+#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
+ -moz-image-region: rect(0, 192px, 32px, 160px);
+}
+
+/* Wide panel control icons */
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
+toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
+toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
+ list-style-image: var(--menupanel-small-list-style-image);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
+toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(16px, 32px, 32px, 16px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
+toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
+ -moz-image-region: rect(32px, 32px, 48px, 16px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
+toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
+ -moz-image-region: rect(0px, 48px, 16px, 32px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(16px, 48px, 32px, 32px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
+toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
+ -moz-image-region: rect(32px, 48px, 48px, 32px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
+toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
+ -moz-image-region: rect(0px, 64px, 16px, 48px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(16px, 64px, 32px, 48px);
+}
+
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
+toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
+ -moz-image-region: rect(32px, 64px, 48px, 48px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
+ -moz-image-region: rect(0px, 80px, 16px, 64px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(16px, 80px, 32px, 64px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
+ -moz-image-region: rect(32px, 80px, 48px, 64px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
+ -moz-image-region: rect(0px, 96px, 16px, 80px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(16px, 96px, 32px, 80px);
+}
+
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
+toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
+ -moz-image-region: rect(32px, 96px, 48px, 80px);
+}
+
+#add-share-provider {
+ list-style-image: var(--menupanel-small-list-style-image);
+ -moz-image-region: rect(0px, 96px, 16px, 80px);
+}
+
+/* === END menupanel.inc.css === */
+
+.toolbarbutton-1:not([type="menu-button"]) {
+ -moz-box-orient: vertical;
+}
+
+.toolbarbutton-1,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button {
+/* min-width: 36px;
+ min-height: 36px;*/
+}
+
+.toolbarbutton-1,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button,
+.toolbarbutton-1[disabled="true"]:hover:active,
+.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
+ padding: 1px 2px;
+}
+
+.toolbarbutton-1:hover:active,
+.toolbarbutton-1[open="true"],
+.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
+ padding-top: 2px;
+ padding-bottom: 0px;
+ -moz-padding-start: 3px;
+ -moz-padding-end: 1px;
+}
+
+#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
+#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
+#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
+#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
+#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
+}
+
+.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
+.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+}
+
+toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
+toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
+}
+
+.toolbarbutton-1 > .toolbarbutton-icon,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+}
+
+.findbar-button,
+#nav-bar .toolbarbutton-1,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
+}
+
+#nav-bar .toolbarbutton-1:not([type=menu-button]),
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+}
+
+#nav-bar #PanelUI-menu-button {
+/* -moz-padding-start: 7px;
+ -moz-padding-end: 5px;*/
+}
+
+#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
+/* padding-left: 5px;
+ padding-right: 5px;*/
+}
+
+#nav-bar .toolbarbutton-1 > menupopup {
+/* margin-top: -3px;*/
+}
+
+#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
+ margin-top: -4px;
+}
+
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
+/* -moz-padding-end: 0;*/
+}
+
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+/* -moz-padding-start: 0;
+ -moz-box-align: center;*/
+}
+
+.findbar-button > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
+/* padding: 2px 6px;
+ border: 1px solid;
+ border-color: transparent;
+ transition-property: background-color, border-color;
+ transition-duration: 150ms;*/
+}
+/*
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+ padding: 3px 7px;
+}
+*/
+
+/* Help SDK icons fit: */
+toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+ width: 16px;
+}
+
+#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+ /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
+ width: 32px;
+}
+
+#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
+/* -moz-padding-end: 17px;*/
+}
+
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
+}
+
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+}
+
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+}
+
+#nav-bar .toolbaritem-combined-buttons {
+/* margin-left: 2px;
+ margin-right: 2px;*/
+}
+
+#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
+/* padding-left: 0;
+ padding-right: 0;*/
+}
+
+#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
+#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before {
+/*
+ content: "";
+ display: -moz-box;
+ width: 1px;
+ height: 16px;
+ -moz-margin-end: -1px;
+*/
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
+}
+
+.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
+}
+
+.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
+}
+
+#TabsToolbar .toolbarbutton-1,
+#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+.tabbrowser-arrowscrollbox > .scrollbutton-up,
+.tabbrowser-arrowscrollbox > .scrollbutton-down {
+}
+
+#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
+#TabsToolbar .toolbarbutton-1[open],
+#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
+.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
+.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
+}
+
+/* unified back/forward button */
+
+#forward-button {
+ -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
+}
+
+#forward-button > menupopup {
+ margin-top: 1px !important;
+}
+
+#forward-button > .toolbarbutton-icon {
+ background-clip: padding-box !important;
+ /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
+ /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
+}
+
+#forward-button {
+ -moz-margin-start: -4px !important;
+ padding-left: 5px;
+ padding-right: 5px;
+ margin-top: 3px;
+ margin-bottom: 3px;
+ border-radius: 0 10000px 10000px 0;
+}
+
+#forward-button:-moz-locale-dir(rtl) {
+ border-radius: 10000px 0 0 10000px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
+ transition: margin-left 150ms ease-out;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
+ margin-left: -27px !important;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
+ /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
+ transition-delay: 100s;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
+ /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
+ margin-left: -27.01px !important;
+}
+
+#back-button {
+/* padding-top: 3px !important;
+ padding-bottom: 3px !important;
+ -moz-padding-start: 5px !important;
+ -moz-padding-end: 0 !important;*/
+ position: relative;
+ z-index: 1;
+ border-radius: 10000px;
+ width: 30px;
+ height: 30px;
+ margin-top: -2px;
+ margin-bottom: -2px;
+}
+
+#back-button:-moz-locale-dir(rtl) {
+}
+
+#back-button > menupopup {
+ margin-top: -1px !important;
+}
+
+#back-button > .toolbarbutton-icon {
+ border-radius: 10000px !important;
+ background-clip: padding-box !important;
+/* background-color: hsla(210,25%,98%,.08) !important;
+ padding: 6px !important;
+ border-style: none !important;
+ box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
+ 0 0 0 1px hsla(210,4%,10%,.25);*/
+ transition-property: background-color, box-shadow !important;
+ transition-duration: 250ms !important;
+}
+
+#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
+/* background-color: hsla(210,4%,10%,.08) !important;*/
+}
+
+#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
+#back-button[open="true"] > .toolbarbutton-icon {
+/* background-color: hsla(210,4%,10%,.12) !important;
+ box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
+ 0 0 0 1px hsla(210,4%,10%,.25),
+ 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
+}
+
+#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
+}
+/*
+.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;
+}
+
+#home-button.bookmark-item {
+ list-style-image: url("chrome://browser/skin/Toolbar.png");
+}
+
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#home-button.bookmark-item:-moz-lwtheme-brighttext {
+ position: relative;
+ z-index: 1;
+ list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
+}
+
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
+ list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
+}
+*/
+
+#downloads-button > .toolbarbutton-icon {
+ margin: 0;
+}
+
+/* tabview menu item */
+
+#menu_tabview {
+ list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
+ -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);
+}
+
+/* undo close tab menu item */
+#alltabs_undoCloseTab {
+ list-style-image: url(chrome://browser/skin/undoCloseTab.png);
+}
+
+@media (min-resolution: 1.25dppx) {
+ #alltabs_undoCloseTab {
+ list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
+ }
+ #alltabs_undoCloseTab > .toolbarbutton-icon {
+ width: 16px;
+ }
+}
+
+/* zoom control text (reset) button special case: */
+
+#nav-bar #zoom-reset-button > .toolbarbutton-text {
+ /* To make this line up with the icons, it needs the same height (18px) +
+ * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
+ * increase in text sizes would break things...
+ */
+ min-height: 20px;
+}
+
+/* ::::: 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 {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+}
+
+#minimize-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+}
+
+#restore-button {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+}
+
+#restore-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+}
+
+#close-button {
+ list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+}
+
+#close-button:hover {
+ list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+}
+
+/* ::::: Location Bar ::::: */
+
+#urlbar,
+.searchbar-textbox {
+ border-radius: 5px;
+ margin: 2px 0;
+ -moz-margin-start: 3px;
+}
+
+#urlbar {
+ /* make color as light as possible to deal with dark non-domain parts */
+ color: #FFBFFF;
+}
+
+#urlbar:-moz-lwtheme,
+.searchbar-textbox:-moz-lwtheme {
+ /* background-color: rgba(255,255,255,.8);
+ @navbarTextboxCustomBorder@
+ color: black; */
+}
+
+#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
+.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
+/* background-color: rgba(255,255,255,.9);*/
+}
+
+#urlbar:-moz-lwtheme[focused]:not([readonly]),
+.searchbar-textbox:-moz-lwtheme[focused] {
+/* background-color: white;*/
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
+/* -moz-border-start: none;
+ margin-left: 0;*/
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
+/* border-top-left-radius: 0;
+ border-bottom-left-radius: 0; */
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
+/* border-top-right-radius: 0;
+ border-bottom-right-radius: 0; */
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
+/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
+/* -moz-margin-start: -5px; */
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
+ /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
+ transform: scaleX(-1);
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
+ -moz-box-direction: reverse;
+}
+
+html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
+.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
+ color: #E7ADE7;
+}
+
+#urlbar-container {
+ -moz-box-orient: horizontal;
+ -moz-box-align: stretch;
+}
+
+.urlbar-textbox-container {
+ -moz-box-align: stretch;
+}
+
+.urlbar-input-box {
+ -moz-margin-start: 0;
+}
+
+#urlbar-icons {
+ -moz-box-align: center;
+}
+
+.urlbar-icon {
+ padding: 0 2px;
+}
+
+.searchbar-engine-button,
+.search-go-container {
+ padding: 2px;
+}
+
+.search-go-container > .search-go-button {
+ padding: 0;
+}
+
+.urlbar-icon:hover {
+}
+
+.urlbar-icon[open="true"],
+.urlbar-icon:hover:active {
+}
+
+#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 {
+}
+
+.urlbar-display {
+ -moz-border-end: 1px solid #9C9CFF;
+ -moz-margin-end: 3px;
+ margin-top: 0;
+ margin-bottom: 0;
+ -moz-margin-start: 0;
+ color: #8050B0;
+}
+
+#search-container {
+ min-width: calc(54px + 11ch);
+}
+
+/* identity box */
+
+#identity-box {
+ border-radius: 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 !important;
+ border-radius: 0;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
+/* border-radius: 0; */
+ -moz-padding-start: 2px;
+ -moz-padding-end: 2px;
+ -moz-margin-end: 1px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
+ transition: padding-left, padding-right;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
+ padding-left: 2px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
+ padding-right: 2px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
+ #notification-popup-box[hidden] + #identity-box {
+ /* forward button hiding is delayed when hovered */
+ transition-delay: 100s;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #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: 2.01px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #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: 2.01px;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+ -moz-margin-end: 3px;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
+ var(--verified-identity-box-backgroundcolor);
+}
+
+#identity-box:-moz-focusring {
+ outline: 1px dotted #008484;
+ outline-offset: -1px;
+}
+
+#identity-box.verifiedDomain:-moz-focusring,
+#identity-box.verifiedIdentity:-moz-focusring {
+ outline-color: #000000;
+}
+
+#identity-icon-labels {
+ -moz-margin-start: 1px;
+ -moz-margin-end: 3px;
+}
+
+/* Location bar dropmarker */
+
+.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
+ background-color: transparent;
+}
+
+#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
+#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
+ border: none;
+ border-radius: 0px;
+}
+
+.urlbar-history-dropmarker:hover {
+}
+
+.urlbar-history-dropmarker:hover:active,
+.urlbar-history-dropmarker[open="true"] {
+}
+
+/* page proxy icon */
+
+/* === BEGIN identity-block.inc.css === */
+
+:root {
+ --identity-box-verified-color: #008484;
+ /* Default theme does different color per channel, we can't as they do it build-time. */
+ --identity-box-chrome-color: #9C9CFF;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
+ color: var(--identity-box-chrome-color);
+ -moz-border-end: 1px solid var(--identity-box-chrome-color);
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+ color: var(--identity-box-verified-color);
+ -moz-border-end: 1px solid var(--identity-box-verified-color);
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+ background-position: right;
+ background-size: 1px;
+ background-repeat: no-repeat;
+}
+
+/* page proxy icon */
+
+#page-proxy-favicon {
+ width: 16px;
+ height: 16px;
+ list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
+ margin: 2px;
+}
+
+.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
+ list-style-image: url("chrome://branding/content/identity-icons-brand.png");
+}
+
+.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");
+}
+
+.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
+ list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
+}
+
+.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
+ list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
+}
+
+#page-proxy-favicon[pageproxystate="invalid"] {
+ opacity: 0.3;
+}
+
+#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
+ list-style-image: url("chrome://branding/content/icon64.png");
+}
+
+#identity-popup-brandName {
+ font-weight: bold;
+ font-size: 1.25em;
+ margin-top: .5em;
+ margin-bottom: .5em;
+}
+
+#identity-popup-content-box {
+ max-width: 50ch;
+}
+
+/* === END identity-block.inc.css === */
+
+#page-proxy-favicon {
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
+/* -moz-margin-end: 1px;*/
+}
+
+#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);
+}
+
+#identity-box:hover {
+ background-color: #FFCF00;
+ color: #000000;
+}
+
+#identity-box:hover:active,
+#identity-box[open=true] {
+ background-color: #FF9F00;
+ color: #000000;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
+ background-color: #9C9CFF;
+ color: #000000;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
+ background-color: #008484;
+ color: #000000;
+}
+
+/* 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 16px 16px 0px);
+ width: 16px;
+ height: 16px;
+}
+
+richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
+.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
+/* -moz-image-region: rect(0px 48px 16px 32px);*/
+}
+
+.ac-result-type-keyword,
+.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
+richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
+ list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
+ width: 16px;
+ height: 16px;
+}
+
+ .ac-result-type-keyword[selected="true"],
+ .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
+ richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
+ list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
+ }
+
+.ac-result-type-tag,
+.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
+ list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.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: #9C9CFF;
+}
+
+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, 16px, 0);
+ padding: 0 3px;
+}
+
+richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
+ -moz-image-region: rect(16px, 16px, 32px, 0);
+}
+
+.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
+ color: #8050B0;
+}
+
+.ac-comment[selected="true"],
+.ac-url-text[selected="true"],
+.ac-action-text[selected="true"] {
+ color: inherit !important;
+}
+
+.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
+.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
+{
+ color: #8050B0;
+ font-size: smaller;
+}
+
+.autocomplete-treebody::-moz-tree-cell(suggesthint) {
+ border-top: 1px solid #9C9CFF;
+}
+
+/* combined go/reload/stop button in location bar */
+
+#urlbar > toolbarbutton {
+ -moz-margin-start: 0;
+ padding: 0 2px;
+ background-origin: border-box;
+ border: none;
+ list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
+ -moz-border-start: 1px solid #9C9CFF;
+}
+
+#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
+ border-top-left-radius: 0px;
+ border-bottom-left-radius: 0px;
+}
+
+#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
+ border-top-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+#urlbar > toolbarbutton:not([disabled=true]):active:hover,
+#urlbar-reload-button:not(:hover) {
+ -moz-border-start-style: none;
+ -moz-padding-start: 3px;
+}
+
+#urlbar-reload-button {
+ -moz-image-region: rect(0px, 14px, 14px, 0px);
+}
+
+#urlbar-reload-button[disabled=true] {
+ -moz-image-region: rect(28px, 14px, 42px, 0px);
+}
+
+#urlbar-reload-button:not([disabled=true]):hover {
+ -moz-image-region: rect(14px, 14px, 28px, 0px);
+}
+
+#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
+}
+
+#urlbar-go-button {
+ -moz-image-region: rect(0, 42px, 14px, 28px);
+}
+
+#urlbar-go-button:hover {
+ -moz-image-region: rect(14px, 42px, 28px, 28px);
+}
+
+#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
+}
+
+#urlbar-stop-button {
+ -moz-image-region: rect(0px, 28px, 14px, 14px);
+}
+
+#urlbar-stop-button:hover {
+ -moz-image-region: rect(14px, 28px, 28px, 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 ,
+#page-report-button:hover:active,
+#page-report-button[open="true"] {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+/* === BEGIN readinglist.inc.css === */
+
+/* Reading List button */
+
+#urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
+ opacity: 0;
+ width: 0px;
+}
+
+#readinglist-addremove-button {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
+ -moz-image-region: rect(0, 14px, 14px, 0);
+ transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
+ opacity: 1;
+ width: 20px;
+}
+
+#readinglist-addremove-button:hover {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
+}
+
+#readinglist-addremove-button:active {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
+}
+
+#readinglist-addremove-button[already-added="true"] {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
+}
+
+#readinglist-addremove-button[already-added="true"]:hover {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
+}
+
+#readinglist-addremove-button[already-added="true"]:active {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
+}
+
+/* === END readinglist.inc.css === */
+
+/* Reader mode button */
+
+#reader-mode-button {
+ list-style-image: url("chrome://browser/skin/readerMode.svg");
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+#reader-mode-button:hover,
+#reader-mode-button[readeractive]:hover {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+#reader-mode-button:hover:active,
+#reader-mode-button[readeractive] {
+ -moz-image-region: rect(0, 48px, 16px, 32px);
+}
+
+/* social share panel */
+
+.social-share-frame {
+ min-width: 756px;
+ height: 150px;
+}
+
+#share-container {
+ min-width: 756px;
+ background-color: white;
+ background-repeat: no-repeat;
+ background-position: center center;
+}
+#share-container[loading] {
+ background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
+}
+#share-container > browser {
+ transition: opacity 150ms ease-in-out;
+ opacity: 1;
+}
+#share-container[loading] > browser {
+ opacity: 0;
+}
+
+.social-share-toolbar {
+ border-bottom: 1px solid #9C9CFF;
+ padding: 2px;
+}
+
+#social-share-provider-buttons {
+ padding: 0;
+ margin: 0;
+}
+
+.share-provider-button {
+ padding: 5px;
+ margin: 2px;
+}
+
+.share-provider-button > .toolbarbutton-text {
+ display: none;
+}
+.share-provider-button > .toolbarbutton-icon {
+ width: 16px;
+ min-height: 16px;
+ max-height: 16px;
+}
+
+toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
+ width: auto;
+ height: auto;
+ max-width: 32px;
+ max-height: 24px;
+}
+
+/* fixup corners for share panel */
+.social-panel > .social-panel-frame {
+ border-radius: inherit;
+}
+
+#social-share-panel {
+ min-height: 100px;
+ min-width: 766px;
+}
+
+#share-container,
+.social-share-frame {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: inherit;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: inherit;
+}
+
+#social-share-panel > .social-share-toolbar {
+ border-top-left-radius: inherit;
+ border-top-right-radius: inherit;
+}
+
+#social-share-provider-buttons {
+ border-top-left-radius: inherit;
+ border-top-right-radius: inherit;
+}
+
+/* social recommending panel */
+
+#social-mark-button {
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+/* bookmarks menu-button */
+
+#bookmarks-menu-button.bookmark-item {
+ list-style-image: url("chrome://browser/skin/places/bookmark.png");
+ -moz-image-region: rect(0px 16px 16px 0px);
+}
+
+#bookmarks-menu-button.bookmark-item[starred] {
+ -moz-image-region: rect(0px 32px 16px 16px);
+}
+
+#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+ -moz-margin-start: 5px;
+}
+
+#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+
+#BMB_bookmarksPopup[side="top"],
+#BMB_bookmarksPopup[side="bottom"] {
+ margin-left: -20px;
+ margin-right: -20px;
+}
+
+#BMB_bookmarksPopup[side="left"],
+#BMB_bookmarksPopup[side="right"] {
+ margin-top: -20px;
+ margin-bottom: -20px;
+}
+
+/* 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: 5px 0 -6px;
+ padding: 5px 0;
+ border-top: 1px solid #9C9CFF;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
+.panel-promo-icon {
+ list-style-image: url("chrome://browser/skin/sync-notification-24.png");
+ -moz-margin-end: 10px;
+ vertical-align: middle;
+}
+
+.panel-promo-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
+ -moz-margin-end: -3px;
+ margin-top: -3px;
+}
+
+.panel-promo-closebutton:hover {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+}
+
+.panel-promo-closebutton:hover:active {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+}
+
+.panel-promo-closebutton > .toolbarbutton-text {
+ padding: 0;
+}
+
+/* ::::: content area ::::: */
+
+#sidebar-box {
+ background-color: #9C9CFF;
+ color: #000000;
+}
+
+#sidebar {
+ background-color: #000000;
+}
+
+#sidebar-splitter {
+ -moz-margin-start: 0;
+}
+
+#sidebar-header {
+ color: #000000;
+ padding: 2px;
+}
+
+#sidebar-title {
+ -moz-padding-start: 0px;
+}
+
+#sidebar-header > .close-icon {
+/* padding: 4px 2px;
+ margin: 0;
+ border: none;*/
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
+}
+
+#sidebar-header > .close-icon:hover,
+#sidebar-header > .close-icon:hover:active {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+}
+
+#sidebar-splitter:-moz-locale-dir(ltr),
+#sidebar:-moz-locale-dir(ltr) {
+ border-radius: 0 5px 0 0;
+}
+
+#sidebar-splitter:-moz-locale-dir(rtl),
+#sidebar:-moz-locale-dir(rtl) {
+ border-radius: 5px 0 0 0;
+}
+
+.browserContainer > findbar {
+/*
+ background-color: -moz-dialog;
+ color: -moz-DialogText;
+*/
+}
+
+/* Tabstrip */
+
+#TabsToolbar {
+ min-height: 0;
+ padding: 0;
+ -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
+}
+
+#TabsToolbar .toolbar-holder {
+ background-color: #000000; /* correct effect of being an actual toolbar */
+}
+
+#main-window[disablechrome] #TabsToolbar,
+#TabsToolbar[tabsontop="false"] {
+ border-bottom: 1px solid #008484;
+}
+
+/* === BEGIN tabs.inc.css === */
+
+:root {
+ /* --tab-toolbar-navbar-overlap: 1px; */
+ /* --tab-min-height: 31px; */
+ /* --tab-curve-width: 30px; */
+ /* --tab-curve-half-width: 15px; */
+}
+
+.tabbrowser-tab,
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button {
+ margin-top: 0px;
+}
+
+.tabbrowser-tab {
+ padding: 1px 4px 2px;
+}
+
+.tabbrowser-tab:first-of-type {
+ -moz-margin-start: 2px;
+}
+
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button {
+ border-radius: 8px 8px 0px 0px;
+ -moz-margin-start: 0;
+}
+
+.tabs-newtab-button:not(:hover),
+#TabsToolbar > #new-tab-button:not(:hover) {
+ background-color: #C09070;
+}
+
+.tabbrowser-tab[remote] {
+ text-decoration: underline;
+}
+
+/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
+.tabbrowser-tab[selected=true] {
+/* position: relative;
+ z-index: 2;*/
+}
+
+.tab-background-middle {
+}
+
+.tab-content {
+}
+
+.tab-content[pinned] {
+}
+
+.tab-throbber,
+.tab-icon-image,
+.tab-close-button {
+}
+
+.tab-throbber,
+.tab-icon-image {
+ height: 16px;
+ width: 16px;
+ -moz-margin-end: 3px;
+}
+
+.tab-icon-image {
+ list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
+}
+
+.tab-icon-overlay {
+ width: 16px;
+ height: 16px;
+ /* margin-top: 10px; */
+ -moz-margin-start: -16px;
+ display: none;
+}
+
+.tab-icon-overlay[crashed] {
+ display: -moz-box;
+ list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
+}
+
+.tab-throbber[busy] {
+ list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
+}
+
+.tab-throbber[progress] {
+ list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
+}
+
+.tab-throbber[pinned],
+.tab-icon-image[pinned] {
+ -moz-margin-start: 2px;
+ -moz-margin-end: 2px;
+}
+
+.tab-label {
+ /* this needs to add up to the 16px of the icon image */
+ height: 12px;
+ margin-top: 2px !important;
+ margin-bottom: 2px !important;
+}
+
+.tab-close-button {
+ margin-top: 1px;
+ padding: 0;
+}
+
+.tab-background,
+.tabs-newtab-button {
+ /* overlap the tab curves */
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
+}
+
+/* Tab Overflow */
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
+}
+
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
+.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
+}
+
+.tab-background-start[selected=true]::after,
+.tab-background-start[selected=true]::before,
+.tab-background-start,
+.tab-background-end,
+.tab-background-end[selected=true]::after,
+.tab-background-end[selected=true]::before {
+}
+
+.tabbrowser-tab:not([selected=true]),
+.tabbrowser-tab:-moz-lwtheme {
+}
+
+/* tabbrowser-tab focus ring */
+.tabbrowser-tab:focus {
+ outline: 1px dotted;
+}
+
+/* Selected tab */
+
+.tabbrowser-tab[selected="true"] {
+}
+
+/* End selected tab */
+
+/* Tab pointer-events */
+/*
+.tabbrowser-tab {
+ pointer-events: none;
+}
+
+.tab-background-middle,
+.tabs-newtab-button,
+.tab-close-button {
+ pointer-events: auto;
+}
+*/
+/* Pinned tabs */
+
+.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
+ background-color: #E7ADE7;
+}
+
+.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
+ background-color: #3333FF;
+ color: #000000;
+}
+
+/* Handle a case where the last separator in a customized tab bar with a
+ separated new tab button causes the width of the tab to extend and causes
+ jittering with a small tab curve width (Bug 1111091). */
+#TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
+}
+
+/* New tab button */
+
+.tabs-newtab-button {
+ width: 28px;
+ /* width: calc(36px + var(--tab-curve-width)); */
+}
+
+/* === END tabs.inc.css === */
+
+/* Background tabs: