* 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[type="menubar"][autohide="true"] {
- -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
-}
-
-menubar {
- -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
-}
-
-#menubar-items {
- -moz-box-orient: vertical; /* for flex hack */
+toolbar[customizable="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
}
-#main-menubar {
- -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
+@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");
+ }
}
-/* ::::: primary toolbar ::::: */
-
-.toolbar-primary > .toolbar-box > .toolbar-holder {
- background-color: #FF9F00;
+toolbar[type="menubar"][autohide="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
}
-.toolbar-primary > .toolbar-box > .toolbar-startcap,
-.toolbar-primary > .toolbar-box > .toolbar-endcap {
- background-color: #9C9CFF;
+#toolbar-menubar[autohide="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
}
-
-#navigator-toolbox {
+menubar {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
}
-#navigator-toolbox::after {
- content: "";
- display: -moz-box;
- -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
- height: 1px;
-}
-#navigator-toolbox[tabsontop=false]::after,
-#main-window[disablechrome] #navigator-toolbox::after {
- visibility: collapse;
-}
+/* === BEGIN browser.inc.css === */
-#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
+/* Zoom button */
+#urlbar-zoom-button {
+ margin: 0 3px;
+ font-size: .8em;
+ padding: 0 8px;
+ border-radius: 1em;
+/* background-color: hsla(0,0%,0%,.05);
+ border: 1px solid ThreeDLightShadow;*/
}
-#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
- /* like menubar */
- background-color: #6000CF;
- color: #FF9F00;
-}
-#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
- background-color: #8050B0;
- color: #FF9F00;
+#urlbar-zoom-button[animate="true"] {
+ animation-name: urlbar-zoom-reset-pulse;
+ animation-duration: 250ms;
}
-#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;
+#urlbar-zoom-button:hover {
+/* background-color: hsla(0,0%,0%,.1);*/
}
-#nav-bar[tabsontop="true"],
-#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
-#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
- /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
+#urlbar-zoom-button:hover:active {
+/* background-color: hsla(0,0%,0%,.15);*/
}
-#personal-bookmarks {
-/* min-height: 24px; */
+#urlbar-zoom-button > .toolbarbutton-text {
+ display: -moz-box;
}
-#print-preview-toolbar:not(:-moz-lwtheme) {
- /* -moz-appearance: toolbox; */
+#urlbar-zoom-button > .toolbarbutton-icon {
+ display: none;
}
-/* ::::: app menu button ::::: */
-
-#appmenu-button {
- background-color: #FF9F00;
- background-clip: padding-box;
- border-radius: 0;
- border: none;
- border-right: 3px solid #000000;
- color: #000000;
- font-weight: bold;
- padding: 1px 1.5em;
- margin: 0;
-}
+/* === END browser.inc.css === */
-#appmenu-button:-moz-locale-dir(rtl) {
- border-left: 3px solid #000000;
- border-right: none;
-}
+:root {
+ /*--backbutton-urlbar-overlap: 5px;*/
-#main-window[privatebrowsingmode=temporary] #appmenu-button {
- background-color: #6000CF;
- color: #FFCF00;
-}
+ /* icon width + border + horizontal padding (includes the overlap from backbutton-urlbar-overlap) */
+ --forwardbutton-width: 27px;
+ /* icon width + border + horizontal padding (without the overlap from backbutton-urlbar-overlap) /
+ --forwardbutton-width: 25px;*/
-#appmenu-button:hover:not(:active):not([open]) {
-}
+ --identity-box-verified-background-color: #000000;
-#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
-}
+ --panel-separator-color: #A09090;
+ --arrowpanel-hover: #FFCF00;
+ --arrowpanel-active: #FF9F00;
+ --arrowpanel-dimmed: #402000;
+ --arrowpanel-dimmed-further: #794900;
+ --arrowpanel-dimmed-even-further: #603000;
-#appmenu-button:hover,
-#appmenu-button:hover:active,
-#appmenu-button[open] {
- background-color: #FFCF00;
- color: #000000;
+ --urlbar-separator-color: #9C9CFF;
}
-#appmenu-button > .button-box > .button-menu-dropmarker {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
- width: auto;
- height: auto;
- padding: 0;
- margin: 0;
- border: none;
- background-color: transparent;
- -moz-margin-start: .5em;
+#menubar-items {
+ -moz-box-orient: vertical; /* for flex hack */
}
-#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+#main-menubar {
+ -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
}
-#appmenuPrimaryPane > menuitem,
-#appmenuSecondaryPane > menuitem,
-#appmenuPrimaryPane > menu {
- padding: 2px;
-}
+/* ::::: primary toolbar ::::: */
-.splitmenu-menuitem {
- -moz-padding-start: 2px;
- padding-top: 2px;
- padding-bottom: 2px;
- -moz-margin-end: 1px;
+.toolbar-primary > .toolbar-box > .toolbar-holder {
+ background-color: #A09090;
}
-.splitmenu-menu {
- padding-top: 2px;
- padding-bottom: 2px;
- -moz-box-pack: end;
+.toolbar-primary > .toolbar-box > .toolbar-startcap,
+.toolbar-primary > .toolbar-box > .toolbar-endcap {
+ background-color: #9C9CFF;
}
-.appmenu-edit-button {
+/* 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;
}
-.appmenu-edit-button[disabled="true"] {
+/* 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([autohide=true]) ~ #TabsToolbar:not([inFullscreen]),
+#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar:not([inFullscreen]) {
+/* margin-top: 3px;*/
}
-#appmenuPrimaryPane {
- -moz-border-end: 1px solid #9C9CFF;
+#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: var(--space-above-tabbar);*/
}
-/*
- #appmenu-popup {
- }
- #appmenuPrimaryPane {
- }
- #appmenuSecondaryPane {
- }
- #appmenuSecondaryPane:-moz-locale-dir(rtl) {
- }
-
- #appmenuSecondaryPane menupopup {
- }
-
- .appmenu-menuseparator {
- }
- .appmenu-edit-button:not([disabled]):hover {
+@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;
}
-*/
-#appmenuSecondaryPane-spacer {
- min-height: 1em;
-}
-
-#appmenu-editmenu {
- -moz-box-pack: end;
-}
-
-#appmenu_print,
-#appmenu_print_popup,
-.appmenu-edit-button,
-#appmenu-editmenu-cut,
-#appmenu-editmenu-copy,
-#appmenu-editmenu-paste,
-#appmenu-quit {
- list-style-image: url("appmenu-icons.png");
}
-#appmenu-cut,
-#appmenu-editmenu-cut {
- -moz-image-region: rect(0 16px 16px 0);
+#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;
}
-#appmenu-cut:hover:not([disabled="true"]),
-#appmenu-editmenu-cut:hover:not([disabled="true"]) {
- -moz-image-region: rect(16px 16px 32px 0);
+#navigator-toolbox {
}
-#appmenu-cut[disabled="true"],
-#appmenu-editmenu-cut[disabled="true"] {
- -moz-image-region: rect(32px 16px 48px 0);
+#navigator-toolbox::after {
+ content: "";
+ display: -moz-box;
+ -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
+ /*border-bottom: 1px solid ThreeDShadow;*/
}
-#appmenu-copy,
-#appmenu-editmenu-copy {
- -moz-image-region: rect(0 32px 16px 16px);
+#navigator-toolbox > toolbar {
}
-#appmenu-copy:hover:not([disabled="true"]),
-#appmenu-editmenu-copy:hover:not([disabled="true"]) {
- -moz-image-region: rect(16px 32px 32px 16px);
+#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
}
-#appmenu-copy[disabled="true"],
-#appmenu-editmenu-copy[disabled="true"] {
- -moz-image-region: rect(32px 32px 48px 16px);
+#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;
}
-#appmenu-paste,
-#appmenu-editmenu-paste {
- -moz-image-region: rect(0 48px 16px 32px);
+#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;
}
-#appmenu-paste:hover:not([disabled="true"]),
-#appmenu-editmenu-paste:hover:not([disabled="true"]) {
- -moz-image-region: rect(16px 48px 32px 32px);
-}
+@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;
+ }
-#appmenu-paste[disabled="true"],
-#appmenu-editmenu-paste[disabled="true"] {
- -moz-image-region: rect(32px 48px 48px 32px);
-}
+ #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;
+ }
-#appmenu_print,
-#appmenu_print_popup {
- -moz-image-region: rect(0 64px 16px 48px);
-}
+ #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
+ /*color: inherit;*/
+ }
-#appmenu_print:hover:not([disabled="true"]),
-#appmenu_print[open="true"],
-#appmenu_print_popup:hover:not([disabled="true"]) {
- -moz-image-region: rect(16px 64px 32px 48px);
-}
+ #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
+ visibility: hidden;
+ }
-#appmenu-print[disabled="true"],
-#appmenu_print_popup[disabled="true"] {
- -moz-image-region: rect(32px 64px 48px 48px);
+ #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
+ -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
+ visibility: visible;
+ }
}
-#appmenu-quit {
- -moz-image-region: rect(0 80px 16px 64px);
+@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;
+ }
}
-#appmenu-quit:hover {
- -moz-image-region: rect(16px 80px 32px 64px);
+#nav-bar {
+ /* Position the toolbar above the bottom of background tabs */
+ position: relative;
+ z-index: 1;
}
-#appmenu-edit-label {
- -moz-appearance: none;
- background: transparent;
- font-style: italic;
+#personal-bookmarks {
+/* min-height: 24px; */
}
-#appmenu_bookmarks {
- list-style-image: url("chrome://browser/skin/places/bookmark.png");
- -moz-image-region: rect(0px 48px 16px 32px);
+#PersonalToolbar > #home-button {
+ -moz-box-orient: horizontal;
}
-#appmenu_privateBrowsing {
- list-style-image: url("chrome://browser/skin/Privacy-16.png");
+#PersonalToolbar > #home-button > .toolbarbutton-text {
+ display: block;
}
-#appmenu_addons {
- list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
+#print-preview-toolbar:not(:-moz-lwtheme) {
+ /* -moz-appearance: toolbox; */
}
-#BMB_bookmarkThisPage,
-#appmenu_bookmarkThisPage {
- list-style-image: url("chrome://browser/skin/places/bookmark.png");
- -moz-image-region: rect(0 16px 16px 0);
+#browser-bottombox:not(:-moz-lwtheme) {
}
/* ::::: titlebar ::::: */
margin-top: 4px;
}
-#titlebar-buttonbox {
- margin-top: 5px;
- -moz-margin-end: 3px;
+@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;
+ margin-inline-end: 3px;
+ z-index: 1;
}
.titlebar-placeholder[type="appmenu-button"] {
}
/* titlebar command buttons */
-
#titlebar-min {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
}
#titlebar-min:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
}
#titlebar-max {
- list-style-image: url("chrome://browser/skin/win-maximize.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
}
#titlebar-max:hover {
- list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
}
#main-window[sizemode="maximized"] #titlebar-max {
- list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
}
#main-window[sizemode="maximized"] #titlebar-max:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
}
#titlebar-close {
- list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
}
#titlebar-close:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+ list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
+}
+
+@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 ::::: */
-/*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
-.bookmark-item > .toolbarbutton-icon {
+toolbarbutton.bookmark-item:not(.subviewbutton),
+#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
+/* margin: 0;
+ padding: 2px 3px;
+ -moz-appearance: none;
+ border: 1px solid transparent;*/
+}
+
+toolbarbutton.bookmark-item:not(.subviewbutton):hover:not([disabled="true"]):not([open]) {
+/* border-color: var(--toolbarbutton-hover-bordercolor);
+ background: var(--toolbarbutton-hover-background);*/
+}
+
+toolbarbutton.bookmark-item:not(.subviewbutton):hover:active:not([disabled="true"]),toolbarbutton.bookmark-item[open="true"] {
+/* border-color: var(--toolbarbutton-active-bordercolor);
+ box-shadow: var(--toolbarbutton-active-boxshadow);
+ background: var(--toolbarbutton-active-background);*/
+}
+
+.bookmark-item > .toolbarbutton-icon,
+#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
width: 16px;
height: 16px;
+ margin-inline-start: 1px;
+ margin-inline-end: 2px;
+ margin-top: 1px;
+ margin-bottom: 1px;
}
-/* Prevent [mode="icons"] from hiding the label */
-.bookmark-item > .toolbarbutton-text {
+/* 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;
}
display: none;
}
-#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
- background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
+#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;
}
-.bookmarks-toolbar-customize {
- max-width: 15em !important;
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.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 ::::: */
max-width: 32em;
}
-.bookmark-item > .menu-iconic-left {
+.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;
+ padding-inline-start: 0px;
}
/* ::::: bookmark items ::::: */
/* ::::: primary toolbar buttons ::::: */
-.toolbarbutton-1 {
- list-style-image: url("chrome://browser/skin/Toolbar.png");
+/* === 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, #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, #webide-button, #containers-panelmenu),
+#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
}
-.toolbarbutton-1:not([type="menu-button"]) {
- -moz-box-orient: vertical;
+#back-button {
+ -moz-image-region: rect(0, 36px, 18px, 18px);
}
-.toolbarbutton-1,
-.toolbarbutton-1 > .toolbarbutton-menubutton-button {
- min-width: 36px;
- min-height: 36px;
+#back-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 36px, 36px, 18px);
}
-.toolbarbutton-1:not([type="menu-button"]) {
- -moz-box-orient: vertical;
+#back-button[disabled="true"] {
+ -moz-image-region: rect(36px, 36px, 54px, 18px);
}
-.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;
+#forward-button {
+ -moz-image-region: rect(0, 72px, 18px, 54px);
}
-.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;
+#forward-button:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 72px, 36px, 54px);
}
-/* ::::: small primary toolbar buttons ::::: */
+#forward-button[disabled="true"] {
+ -moz-image-region: rect(36px, 72px, 54px, 54px);
+}
-#nav-bar {
- /* force iconsize="small" on this toolbar */
- counter-reset: smallicons;
+#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
+#forward-button:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
}
-toolbar[mode="text"] .toolbarbutton-1,
-toolbar[mode="icons"] .toolbarbutton-1,
-toolbar[iconsize="small"] .toolbarbutton-1,
-:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
-toolbar[mode="text"] .toolbarbutton-menubutton-button,
-toolbar[mode="icons"] .toolbarbutton-menubutton-button,
-toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
-:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
- min-width: 0px;
- min-height: 0px;
+#home-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 126px, 18px, 108px);
}
-toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
- padding-top: 4px;
- padding-bottom: 8px;
- -moz-padding-start: 1px;
- -moz-padding-end: 1px;
-}
-
-toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
-toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
-:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
- padding-top: 0px;
- padding-bottom: 13px;
- -moz-padding-start: 1px;
- -moz-padding-end: 1px;
-}
-
-toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
-toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
- padding-top: 5px;
- padding-bottom: 7px;
- -moz-padding-start: 0px;
- -moz-padding-end: 2px;
-}
-
-toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
-toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
-toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
-toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
-:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
-:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
- padding-top: 1px;
- padding-bottom: 12px;
- -moz-padding-start: 0px;
- -moz-padding-end: 2px;
+#home-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 126px, 36px, 108px);
}
-toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
- padding-top: 4px !important;
- padding-bottom: 8px !important;
- -moz-padding-start: 1px !important;
- -moz-padding-end: 1px !important;
+#bookmarks-menu-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 144px, 18px, 126px);
}
-toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
-toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
- padding-top: 0px !important;
- padding-bottom: 13px !important;
- -moz-padding-start: 1px !important;
- -moz-padding-end: 1px !important;
+#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
+#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 144px, 36px, 126px);
}
-toolbar[mode="icons"] .toolbarbutton-text,
-toolbar[mode="text"] .toolbarbutton-icon {
- display: none;
+/* 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;
}
-toolbar[mode="text"] .toolbarbutton-text {
- padding: 4px 0;
+#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
+ -moz-image-region: rect(0, 162px, 18px, 144px);
}
-toolbar[mode="text"] .toolbarbutton-1,
-toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
- -moz-box-orient: horizontal;
+#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);
}
-toolbar[mode="full"] .toolbarbutton-1,
-toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
- min-width: 30px;
+#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ -moz-image-region: rect(0, 630px, 18px, 612px);
}
-#navigator-toolbox[iconsize=small] > #nav-bar {
+#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
+ padding: 1px;
+ -moz-box-align: center;
}
-#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
+#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;
+ padding-inline-start: 2px;
+ padding-inline-end: 0px;
+}
-/* unified back/forward button */
+#history-panelmenu[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 180px, 18px, 162px);
+}
-#back-button {
- -moz-image-region: rect(0, 18px, 18px, 0);
- -moz-margin-end: 0;
+#history-panelmenu[cui-areatype="toolbar"]:hover,
+#history-panelmenu[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 180px, 36px, 162px);
}
-#back-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 18px, 36px, 0);
+#downloads-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 198px, 18px, 180px);
}
-#back-button[disabled="true"] {
- -moz-image-region: rect(36px, 18px, 54px, 0);
+#downloads-button[cui-areatype="toolbar"]:hover,
+#downloads-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 198px, 36px, 180px);
}
-#forward-button {
- -moz-image-region: rect(0, 36px, 18px, 18px);
- border-left: none;
- -moz-margin-start: 0;
+#add-ons-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 216px, 18px, 198px);
}
-#forward-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 36px, 36px, 18px);
+#add-ons-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 216px, 36px, 198px);
}
-#forward-button[disabled="true"] {
- -moz-image-region: rect(36px, 36px, 54px, 18px);
+#open-file-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 234px, 18px, 216px);
}
-#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
-#forward-button:-moz-locale-dir(rtl),
-#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
- -moz-transform: scaleX(-1);
+#open-file-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 234px, 36px, 216px);
}
-#nav-bar #back-button {
- -moz-margin-end: 0 !important;
+#save-page-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 252px, 18px, 234px);
}
-#nav-bar #forward-button {
- border-left-style: none;
- -moz-margin-start: 0 !important;
+#save-page-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 252px, 36px, 234px);
}
-#nav-bar #back-button:-moz-locale-dir(ltr) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
+#sync-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 792px, 18px, 774px);
}
-#nav-bar #back-button:-moz-locale-dir(rtl),
-#nav-bar #forward-button {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
+#sync-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 792px, 36px, 774px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button {
- border-radius: 10000px;
- width: 30px;
- height: 30px;
- position: relative;
- z-index: 1;
- margin-top: -2px;
- margin-bottom: -2px;
- border: none;
- -moz-image-region: rect(54px, 20px, 74px, 0);
+#containers-panelmenu[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 810px, 18px, 792px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button[open="true"] {
- -moz-image-region: rect(54px, 40px, 74px, 20px);
+#containers-panelmenu[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 810px, 36px, 792px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button[disabled="true"] {
- -moz-image-region: rect(54px, 60px, 74px, 40px);
+#feed-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 288px, 18px, 270px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
+#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
+#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 288px, 36px, 270px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #back-button[open="true"] {
+#feed-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 288px, 54px, 270px);
}
-#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
-#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
-/* padding-top: 3px;
- padding-bottom: 5px; */
+#social-share-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0px, 306px, 18px, 288px);
}
-#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
-#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
-/* padding-top: 5px; */
+#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);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #forward-button {
- /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
- /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
- -moz-margin-start: -6px !important;
- padding-left: 7px;
- padding-right: 3px;
- margin-top: 2px;
- margin-bottom: 2px;
+#social-share-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 306px, 54px, 288px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
- border-top-right-radius: 11px;
- border-bottom-right-radius: 11px;
+#characterencoding-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 324px, 18px, 306px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
- border-top-left-radius: 11px;
- border-bottom-left-radius: 11px;
+#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
+#characterencoding-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 324px, 36px, 306px);
}
-.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
-.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
- list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
+#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 324px, 54px, 306px);
}
-.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
-.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
- list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
+#new-window-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 342px, 18px, 324px);
}
-.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
-.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
- list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
+#new-window-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 342px, 36px, 324px);
}
-.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
-.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
- list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
+#e10s-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 342px, 18px, 324px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button > #forward-button {
-/* border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-margin-end: 0; */
+#e10s-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 342px, 36px, 324px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button:not([switchingtabs]) > #forward-button {
- -moz-transition: opacity 150ms ease-out;
+#e10s-button > .toolbarbutton-icon {
+ transform: scaleY(-1);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
- opacity: 0;
+#new-tab-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 360px, 18px, 342px);
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button:hover > #forward-button[disabled] {
- background-color: transparent;
+#new-tab-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 360px, 36px, 342px);
}
-/* stop button */
-
-#stop-button {
- -moz-image-region: rect(0, 54px, 18px, 36px);
+#privatebrowsing-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 378px, 18px, 360px);
}
-#stop-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 54px, 36px, 36px);
+#privatebrowsing-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 378px, 36px, 360px);
}
-#stop-button[disabled="true"] {
- -moz-image-region: rect(36px, 54px, 54px, 36px);
+#find-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 396px, 18px, 378px);
}
-/* reload button */
-
-#reload-button {
- -moz-image-region: rect(0, 72px, 18px, 54px);
+#find-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 396px, 36px, 378px);
}
-#reload-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 72px, 36px, 54px);
+#print-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 414px, 18px, 396px);
}
-#reload-button[disabled="true"] {
- -moz-image-region: rect(36px, 72px, 54px, 54px);
+#print-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 414px, 36px, 396px);
}
-/* home button */
-
-#home-button.bookmark-item {
- list-style-image: url("chrome://browser/skin/Toolbar.png");
+#fullscreen-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 432px, 18px, 414px);
}
-#home-button {
- -moz-image-region: rect(0, 90px, 18px, 72px);
+
+#fullscreen-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 432px, 36px, 414px);
}
-#home-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 90px, 36px, 72px);
+#developer-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 450px, 18px, 432px);
}
-#home-button[disabled="true"] {
- -moz-image-region: rect(36px, 90px, 54px, 72px);
+#developer-button[cui-areatype="toolbar"]:hover,
+#developer-button[cui-areatype="toolbar"][open="true"] {
+ -moz-image-region: rect(18px, 450px, 36px, 432px);
}
-/* tabview button */
+#preferences-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 468px, 18px, 450px);
+}
-#tabview-button,
-#menu_tabview {
- list-style-image: url("chrome://browser/skin/tabview/tabview.png");
+#preferences-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 468px, 36px, 450px);
}
-#tabview-button {
- -moz-image-region: rect(0, 90px, 18px, 72px);
+#PanelUI-menu-button {
+ -moz-image-region: rect(0, 486px, 18px, 468px);
}
-#tabview-button[groups="0"] {
- -moz-image-region: rect(0, 18px, 18px, 0);
+#PanelUI-menu-button:hover,
+#PanelUI-menu-button[open="true"] {
+ -moz-image-region: rect(18px, 486px, 36px, 468px);
}
-#tabview-button[groups="1"] {
- -moz-image-region: rect(0, 36px, 18px, 18px);
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
+ -moz-image-region: rect(0, 504px, 18px, 486px);
}
-#tabview-button[groups="2"] {
- -moz-image-region: rect(0, 54px, 18px, 36px);
+#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);
}
-#tabview-button[groups="3"] {
- -moz-image-region: rect(0, 72px, 18px, 54px);
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
+ -moz-image-region: rect(36px, 504px, 54px, 486px);
}
-#menu_tabview {
- -moz-image-region: rect(1px, 89px, 17px, 73px);
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
+ -moz-image-region: rect(0, 522px, 18px, 504px);
}
-#menu_tabview[groups="0"] {
- -moz-image-region: rect(1px, 17px, 17px, 1px);
+#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);
}
-#menu_tabview[groups="1"] {
- -moz-image-region: rect(1px, 35px, 17px, 19px);
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
+ -moz-image-region: rect(36px, 522px, 54px, 504px);
}
-#menu_tabview[groups="2"] {
- -moz-image-region: rect(1px, 53px, 17px, 37px);
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
+ -moz-image-region: rect(0, 540px, 18px, 522px);
}
-#menu_tabview[groups="3"] {
- -moz-image-region: rect(1px, 71px, 17px, 55px);
+#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);
}
-/* download manager button */
+#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
+ -moz-image-region: rect(36px, 540px, 54px, 522px);
+}
-#downloads-button {
- -moz-image-region: rect(0, 108px, 18px, 90px);
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
+ -moz-image-region: rect(0, 558px, 18px, 540px);
}
-#downloads-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 108px, 36px, 90px);
+#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);
}
-#downloads-button[disabled="true"] {
- -moz-image-region: rect(36px, 108px, 54px, 90px);
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
+ -moz-image-region: rect(36px, 558px, 54px, 540px);
}
-/* history sidebar button */
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
+ -moz-image-region: rect(0, 576px, 18px, 558px);
+}
-#history-button {
- -moz-image-region: rect(0, 126px, 18px, 108px);
+#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);
}
-#history-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 126px, 36px, 108px);
+#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
+ -moz-image-region: rect(36px, 576px, 54px, 558px);
}
-#history-button[disabled="true"] {
- -moz-image-region: rect(36px, 126px, 54px, 108px);
+#nav-bar-overflow-button {
+ -moz-image-region: rect(0, 612px, 18px, 594px);
}
-/* bookmark sidebar & menu buttons */
+#nav-bar-overflow-button:hover,
+#nav-bar-overflow-button[open="true"] {
+ -moz-image-region: rect(18px, 612px, 36px, 594px);
+}
-#bookmarks-button,
-#bookmarks-menu-button {
- list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
- -moz-image-region: rect(0, 144px, 18px, 126px);
+#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
}
-#bookmarks-menu-button.bookmark-item {
- /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
+#tabview-button {
+ -moz-image-region: rect(0, 648px, 18px, 630px);
}
-#bookmarks-menu-button.toolbarbutton-1 {
- -moz-box-orient: horizontal;
+#tabview-button:hover {
+ -moz-image-region: rect(18px, 648px, 36px, 630px);
}
-#bookmarks-button:not([disabled="true"]):hover,
-#bookmarks-menu-button[open="true"],
-#bookmarks-menu-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 144px, 36px, 126px);
+#email-link-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 666px, 18px, 648px);
}
-#bookmarks-button[disabled="true"],
-#bookmarks-menu-button[disabled="true"] {
- -moz-image-region: rect(36px, 144px, 54px, 126px);
+#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
+ -moz-image-region: rect(18px, 666px, 36px, 648px);
}
-/* print button */
+#email-button[cui-areatype="toolbar"][disabled="true"] {
+ -moz-image-region: rect(36px, 666px, 54px, 648px);
+}
-#print-button {
- -moz-image-region: rect(0, 162px, 18px, 144px);
+#sidebar-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 684px, 18px, 666px);
}
-#print-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 162px, 36px, 144px);
+#sidebar-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 684px, 36px, 666px);
}
-#print-button[disabled="true"] {
- -moz-image-region: rect(36px, 162px, 54px, 144px);
+#panic-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 702px, 18px, 684px);
}
-/* toolbar new tab button */
+#panic-button[cui-areatype="toolbar"]:hover,
+#panic-button[cui-areatype="toolbar"][open] {
+ -moz-image-region: rect(18px, 702px, 36px, 684px);
+}
-#new-tab-button {
- -moz-image-region: rect(0, 180px, 18px, 162px);
+#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+ transform: scaleX(-1);
}
-#print-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 162px, 36px, 144px);
+#webide-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 738px, 18px, 720px);
}
-#print-button[disabled="true"] {
- -moz-image-region: rect(36px, 162px, 54px, 144px);
+#webide-button[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 738px, 36px, 720px);
}
-/* new window button */
+/* === END toolbarbuttons.inc.css === */
-#new-window-button {
- -moz-image-region: rect(0, 198px, 18px, 180px);
-}
+/* === BEGIN menupanel.inc.css === */
-#new-window-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 198px, 36px, 180px);
-}
+/* Menu panel and palette styles */
-#new-window-button[disabled="true"] {
- -moz-image-region: rect(36px, 198px, 54px, 180px);
+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, #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, #webide-button, #containers-panelmenu)[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, #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, #webide-button, #containers-panelmenu) {
+ list-style-image: url(chrome://browser/skin/menuPanel.svg);
}
-/* cut button */
-
-#cut-button {
- -moz-image-region: rect(0, 216px, 18px, 198px);
+:-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, #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, #webide-button, #containers-panelmenu)[cui-areatype="menu-panel"] > .toolbarbutton-icon,
+:-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, #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, #webide-button, #containers-panelmenu)[cui-areatype="menu-panel"][panel-multiview-anchor=true] > .toolbarbutton-icon,
+:-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, #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, #webide-button, #containers-panelmenu)[cui-areatype="menu-panel"][panel-multiview-anchor=true] > .toolbarbutton-badge-stack > .toolbarbutton-icon,
+:-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, #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, #webide-button, #containers-panelmenu)[cui-areatype="menu-panel"][panel-multiview-anchor=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
}
-#cut-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 216px, 36px, 198px);
+#home-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #home-button {
+ -moz-image-region: rect(0px, 128px, 32px, 96px);
}
-#cut-button[disabled="true"] {
- -moz-image-region: rect(36px, 216px, 54px, 198px);
+#bookmarks-menu-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
+ -moz-image-region: rect(0px, 192px, 32px, 160px);
}
-/* copy button */
+#history-panelmenu[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #history-panelmenu {
+ -moz-image-region: rect(0px, 224px, 32px, 192px);
+}
-#copy-button {
- -moz-image-region: rect(0, 234px, 18px, 216px);
+#downloads-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #downloads-button {
+ -moz-image-region: rect(0px, 256px, 32px, 224px);
}
-#copy-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 234px, 36px, 216px);
+#add-ons-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #add-ons-button {
+ -moz-image-region: rect(0px, 288px, 32px, 256px);
}
-#copy-button[disabled="true"] {
- -moz-image-region: rect(36px, 234px, 54px, 216px);
+#open-file-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #open-file-button {
+ -moz-image-region: rect(0px, 320px, 32px, 288px);
}
-/* paste button */
+#save-page-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #save-page-button {
+ -moz-image-region: rect(0px, 352px, 32px, 320px);
+}
-#paste-button {
- -moz-image-region: rect(0, 252px, 18px, 234px);
+#sync-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #sync-button {
+ -moz-image-region: rect(0px, 1024px, 32px, 992px);
}
-#paste-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 252px, 36px, 234px);
+#containers-panelmenu[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #containers-panelmenu {
+ -moz-image-region: rect(0px, 1056px, 32px, 1024px);
}
-#paste-button[disabled="true"] {
- -moz-image-region: rect(36px, 252px, 54px, 234px);
+#feed-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #feed-button {
+ -moz-image-region: rect(0px, 416px, 32px, 384px);
}
-/* fullscreen button */
+#social-share-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #social-share-button {
+ -moz-image-region: rect(0px, 448px, 32px, 416px);
+}
-#fullscreen-button {
- -moz-image-region: rect(0, 270px, 18px, 252px);
+#characterencoding-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #characterencoding-button {
+ -moz-image-region: rect(0px, 480px, 32px, 448px);
}
-#fullscreen-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 270px, 36px, 252px);
+#new-window-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #new-window-button {
+ -moz-image-region: rect(0px, 512px, 32px, 480px);
}
-#fullscreen-button[disabled="true"] {
- -moz-image-region: rect(36px, 270px, 54px, 252px);
+#e10s-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #e10s-button {
+ -moz-image-region: rect(0px, 512px, 32px, 480px);
}
-/* zoom controls */
+#new-tab-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #new-tab-button {
+ -moz-image-region: rect(0px, 544px, 32px, 512px);
+}
-#zoom-out-button {
- -moz-image-region: rect(0, 288px, 18px, 270px);
- -moz-margin-end: 0;
+#privatebrowsing-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
+ -moz-image-region: rect(0px, 576px, 32px, 544px);
}
-#zoom-in-button {
- -moz-image-region: rect(0, 306px, 18px, 288px);
+#tabview-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #tabview-button {
+ -moz-image-region: rect(0px, 608px, 32px, 576px);
}
-#zoom-out-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 288px, 36px, 270px);
+#find-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #find-button {
+ -moz-image-region: rect(0px, 640px, 32px, 608px);
}
-#zoom-out-button[disabled="true"] {
- -moz-image-region: rect(36px, 288px, 54px, 270px);
+#print-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #print-button {
+ -moz-image-region: rect(0px, 672px, 32px, 640px);
}
-#zoom-in-button:not([disabled="true"]):hover {
- -moz-image-region: rect(18px, 306px, 36px, 288px);
+#fullscreen-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #fullscreen-button {
+ -moz-image-region: rect(0px, 704px, 32px, 672px);
}
-#zoom-in-button[disabled="true"] {
- -moz-image-region: rect(36px, 306px, 54px, 288px);
+#developer-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #developer-button {
+ -moz-image-region: rect(0px, 736px, 32px, 704px);
}
-/* sync button */
+#preferences-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #preferences-button {
+ -moz-image-region: rect(0px, 768px, 32px, 736px);
+}
-#sync-button:not([status]) {
- list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
- -moz-image-region: rect(0, 324px, 18px, 306px);
+#email-link-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #email-link-button {
+ -moz-image-region: rect(0, 800px, 32px, 768px);
}
-#sync-button[status="active"] {
- list-style-image: url("chrome://browser/skin/sync-throbber.png");
- -moz-image-region: rect(0, 18px, 18px, 0);
+#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);
}
-#sync-button[disabled="true"] {
- -moz-image-region: rect(36px, 324px, 54px, 306px);
+#sidebar-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #sidebar-button {
+ -moz-image-region: rect(0, 864px, 32px, 832px);
}
-/* feed button */
+#panic-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #panic-button {
+ -moz-image-region: rect(0, 896px, 32px, 864px);
+}
-#feed-button {
- -moz-image-region: rect(0, 342px, 18px, 324px);
+#webide-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #webide-button {
+ -moz-image-region: rect(0px, 960px, 32px, 928px);
}
-#feed-button[disabled="true"] {
- -moz-image-region: rect(36px, 342px, 54px, 324px);
+toolbaritem[sdkstylewidget="true"] > toolbarbutton {
+ -moz-image-region: rect(0, 832px, 32px, 800px);
}
-/* ::::: fullscreen window controls ::::: */
+/* Wide panel control icons */
-#window-controls {
- -moz-margin-start: 4px;
+#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: url(chrome://browser/skin/menuPanel-small.svg);
}
-#minimize-button,
-#restore-button,
-#close-button {
-/* padding: 0; */
+#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton > .toolbarbutton-icon,
+#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton > .toolbarbutton-icon,
+toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
+toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
}
-#minimize-button {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+#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);
}
-#minimize-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+#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);
}
-#restore-button {
- list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+#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);
}
-#restore-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+#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);
}
-#close-button {
- list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+#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);
}
-#close-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+#add-share-provider {
+ list-style-image: url(chrome://browser/skin/menuPanel-small.svg);
+ -moz-image-region: rect(0px, 96px, 16px, 80px);
}
-/* ::::: Location Bar ::::: */
+/* === END menupanel.inc.css === */
-#urlbar,
-.searchbar-textbox {
- border-radius: 5px;
- margin: 0;
- -moz-margin-start: 3px;
+.toolbarbutton-1:not([type="menu-button"]) {
+ -moz-box-orient: vertical;
}
-#urlbar {
- width: 7em;
- min-width: 7em;
- /* make color as light as possible to deal with dark non-domain parts */
- color: #FFBFFF;
+.toolbarbutton-1,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button {
+/* min-width: 36px;
+ min-height: 36px;*/
}
-#urlbar:-moz-lwtheme,
-.searchbar-textbox:-moz-lwtheme {
- /* background-color: rgba(255,255,255,.8);
- @navbarTextboxCustomBorder@
- color: black; */
+.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;
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container {
- padding-left: 22px;
- -moz-margin-start: -22px;
- position: relative;
- pointer-events: none;
+.toolbarbutton-1:hover:active,
+.toolbarbutton-1[open="true"],
+.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
+ padding-top: 2px;
+ padding-bottom: 0px;
+ padding-inline-start: 3px;
+ padding-inline-end: 1px;
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container > #urlbar {
-/* -moz-border-start: none;
- margin-left: 0; */
- pointer-events: all;
+#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 {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
- -moz-transition: margin-left 150ms ease-out;
+.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
+.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
-/* border-top-left-radius: 0;
- border-bottom-left-radius: 0; */
+toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
+toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
-/* border-top-right-radius: 0;
- border-bottom-right-radius: 0; */
+.toolbarbutton-1 > .toolbarbutton-icon,
+.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
- margin-left: -22px;
+.findbar-button,
+#nav-bar .toolbarbutton-1,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
- /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
- -moz-transition-delay: 100s;
+#nav-bar .toolbarbutton-1:not([type=menu-button]),
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
- /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
- margin-left: -22.01px;
+#nav-bar #PanelUI-menu-button {
+/* padding-inline-start: 7px;
+ padding-inline-end: 5px;*/
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
- /* let winstripe-urlbar-back-button-mask clip the urlbar's right side for RTL */
- -moz-transform: scaleX(-1);
+#nav-bar .toolbarbutton-1[type=panel],
+#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;*/
}
-html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
-.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
- color: #E7ADE7;
+#nav-bar .toolbarbutton-1 > menupopup {
+/* margin-top: -3px;*/
}
-#urlbar:-moz-lwtheme[focused="true"],
-.searchbar-textbox:-moz-lwtheme[focused="true"] {
-/* background-color: white; */
+#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
+ margin-top: -4px;
}
-#urlbar-container {
- -moz-box-orient: horizontal;
- -moz-box-align: stretch;
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
+/* padding-inline-end: 0;*/
}
-.urlbar-textbox-container {
- -moz-box-align: stretch;
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+/* padding-inline-start: 0;
+ -moz-box-align: center;*/
}
-.urlbar-input-box {
- -moz-margin-start: 0;
+.findbar-button > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
+#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;*/
}
-
-#urlbar-icons {
- -moz-box-align: center;
+/*
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-badge-stack,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+ padding: calc(var(--toolbarbutton-vertical-inner-padding) + 1px) 7px;
}
+*/
-.urlbar-icon {
- padding: 2px;
+/* Help SDK icons fit: */
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
+ width: 16px;
}
-.searchbar-engine-button,
-.search-go-container {
- padding: 2px;
+#nav-bar toolbarbutton[constrain-size="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;
}
-.search-go-container > .search-go-button {
- padding: 0;
+#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-badge-stack,
+#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button):not(#new-tab-button) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
+#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
+/* padding-inline-end: 17px;*/
}
-.urlbar-icon:-moz-system-metric(touch-enabled) {
- -moz-margin-end: 1px !important;
- padding: 0 3px !important;
+#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button):not(#new-tab-button) > .toolbarbutton-icon {
+ /* horizontal padding + border + icon width */
+/* max-width: 43px;*/
}
-.urlbar-icon:hover {
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
}
-.urlbar-icon[open="true"],
-.urlbar-icon:hover:active {
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
}
-#urlbar-search-splitter {
- min-width: 6px;
- -moz-margin-start: -3px;
- border: none;
- background: transparent;
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
}
-#urlbar-search-splitter + #urlbar-container > #urlbar,
-#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
- -moz-margin-start: 0;
+#nav-bar .toolbaritem-combined-buttons {
+/* margin-left: 2px;
+ margin-right: 2px;*/
}
-#urlbar-display {
- -moz-border-end: 1px solid #9C9CFF;
- -moz-margin-end: 3px;
- margin-top: 0;
- margin-bottom: 0;
- -moz-margin-start: 0;
- color: #8050B0;
+#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
+/* padding-left: 0;
+ padding-right: 0;*/
}
-/* identity box */
-
-#identity-box {
- border-radius: 2px;
+#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;
+ margin-inline-end: -1px;
+*/
}
-#notification-popup-box:not([hidden]) + #identity-box {
- -moz-padding-start: 10px;
- border-radius: 0;
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
-/* border-radius: 0; */
- -moz-padding-start: 2px;
- -moz-padding-end: 2px;
- -moz-margin-end: 1px;
+.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-stack,
+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 {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
- padding-left: 2px;
- -moz-transition: padding-left;
+.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-stack {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
- padding-right: 2px;
- -moz-transition: padding-right;
+#TabsToolbar .toolbarbutton-1,
+#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+.tabbrowser-arrowscrollbox > .scrollbutton-up,
+.tabbrowser-arrowscrollbox > .scrollbutton-down {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
- /* forward button hiding is delayed when hovered */
- -moz-transition-delay: 100s;
+#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 {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[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: 2.01px;
-}
+/* unified back/forward button */
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[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: 2.01px;
+#forward-button {
+ -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
}
-#identity-box.verifiedIdentity {
- color: #008484;
- -moz-border-end: 1px solid #008484;
- -moz-margin-end: 3px;
+#forward-button > menupopup {
+ margin-top: 1px !important;
}
-#identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
+#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;*/
}
-#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
+#forward-button {
+ margin-inline-start: -4px !important;
+ padding-left: 5px;
+ padding-right: 5px;
+ margin-top: 3px;
+ margin-bottom: 3px;
+ border-radius: 0 10000px 10000px 0;
+/* max-width: calc(var(--forwardbutton-width) + var(--backbutton-urlbar-overlap)) !important; */
}
-#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
- background-color: #000000;
+#forward-button:-moz-locale-dir(rtl) {
+ border-radius: 10000px 0 0 10000px;
}
-#identity-box:-moz-focusring {
- outline: 1px dotted #008484;
- outline-offset: -1px;
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
+ transition: margin-left 150ms ease-out;
}
-#identity-box.verifiedDomain:-moz-focusring,
-#identity-box.verifiedIdentity:-moz-focusring {
- outline-color: #000000;
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
+ margin-left: calc(0px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/);
}
-#identity-icon-labels {
- -moz-margin-start: 1px;
- -moz-margin-end: 3px;
+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;
}
-/* Location bar dropmarker */
-
-.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
- background-color: transparent;
+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: calc(-0.01px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/);
}
-#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
- border: none;
- border-radius: 0px;
+#back-button {
+/* padding-top: 3px !important;
+ padding-bottom: 3px !important;
+ padding-inline-start: 5px !important;
+ padding-inline-end: 0 !important;*/
+ position: relative;
+ z-index: 1;
+ border-radius: 10000px;
+ width: 30px;
+ height: 30px;
+ margin-top: -2px;
+ margin-bottom: -2px;
}
-.urlbar-history-dropmarker:hover {
+#back-button:-moz-locale-dir(rtl) {
}
-.urlbar-history-dropmarker:hover:active,
-.urlbar-history-dropmarker[open="true"] {
+#back-button > menupopup {
+ margin-top: -1px !important;
}
-/* page proxy icon */
-
-#page-proxy-favicon {
- width: 16px;
- height: 16px;
- list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
- -moz-image-region: rect(0, 16px, 16px, 0);
+#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;
}
-.verifiedDomain > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
-.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https.png");
+#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
+/* background-color: hsla(210,4%,10%,.08) !important;*/
}
-.verifiedIdentity > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
-.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
+#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;*/
}
-#identity-box:hover > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
-#identity-box:hover > #page-proxy-favicon {
- -moz-image-region: rect(0, 32px, 16px, 16px);
+#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;
}
-#identity-box:hover:active > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
-#identity-box[open=true] > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
-#identity-box:hover:active > #page-proxy-favicon,
-#identity-box[open=true] > #page-proxy-favicon {
- -moz-image-region: rect(0, 48px, 16px, 32px);
+.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;
}
-#identity-box:hover {
- background-color: #FFCF00;
+#home-button.bookmark-item {
+ list-style-image: url("chrome://browser/skin/Toolbar.png");
}
-#identity-box:hover:active,
-#identity-box[open=true] {
- background-color: #FF9F00;
+#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");
}
-#identity-box.verifiedIdentity:hover,
-#identity-box.verifiedIdentity:hover:active,
-#identity-box.verifiedIdentity[open=true] {
- background-color: #008484;
- color: #000000;
+#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");
}
+*/
-#page-proxy-favicon[pageproxystate="invalid"] {
- opacity: 0.5;
+#downloads-button > .toolbarbutton-icon {
+ margin: 0;
}
-/* autocomplete */
+/* tabview menu item */
-#treecolAutoCompleteImage {
- max-width: 36px;
+#menu_tabview {
+ list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
+ -moz-image-region: rect(1px, 89px, 17px, 73px);
}
-.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;
+#menu_tabview[groups="0"] {
+ -moz-image-region: rect(1px, 17px, 17px, 1px);
}
-.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;
+#menu_tabview[groups="1"] {
+ -moz-image-region: rect(1px, 35px, 17px, 19px);
}
-.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;
+#menu_tabview[groups="2"] {
+ -moz-image-region: rect(1px, 53px, 17px, 37px);
}
-.ac-comment {
- font-size: 1.15em;
+#menu_tabview[groups="3"] {
+ -moz-image-region: rect(1px, 71px, 17px, 55px);
}
-.ac-extra > .ac-comment {
- font-size: inherit;
+/* undo close tab menu item */
+#alltabs_undoCloseTab {
+ list-style-image: url(chrome://browser/skin/undoCloseTab.png);
}
-.ac-url-text,
-.ac-action-text {
- color: #9C9CFF;
+@media (min-resolution: 1.1dppx) {
+ #alltabs_undoCloseTab {
+ list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
+ }
+ #alltabs_undoCloseTab > .toolbarbutton-icon {
+ width: 16px;
+ }
}
-richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
- list-style-image: url("chrome://browser/skin/actionicon-tab.png");
+/* 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;
}
-.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
- color: #8050B0;
+/* ::::: fullscreen window controls ::::: */
+
+#minimize-button,
+#restore-button,
+#close-button {
+ -moz-appearance: none;
+ border: none;
+/* margin: 0 !important;
+ padding: 6px 12px;*/
+}
+
+#minimize-button {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
}
-.ac-comment[selected="true"],
-.ac-url-text[selected="true"],
-.ac-action-text[selected="true"] {
- color: inherit !important;
+#minimize-button:hover {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-hover);
}
-.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
-.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
-{
- color: #8050B0;
- font-size: smaller;
+#restore-button {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
}
-.autocomplete-treebody::-moz-tree-cell(suggesthint) {
- border-top: 1px solid #9C9CFF;
+#restore-button:hover {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-hover);
}
-/* combined go/reload/stop button in location bar */
+#minimize-button:hover,
+#restore-button:hover {
+/* background-color: hsla(0, 0%, 0%, .12);*/
+}
+
+#minimize-button:hover:active,
+#restore-button:hover:active {
+/* background-color: hsla(0, 0%, 0%, .22);*/
+}
+
+#close-button {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
+}
+
+#close-button:hover {
+/* background-color: hsl(355, 86%, 49%);*/
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-hover);
+}
+
+#close-button:hover:active {
+/* background-color: hsl(355, 82%, 69%);*/
+}
+
+/* ::::: Location Bar ::::: */
+
+#urlbar,
+.searchbar-textbox {
+ border-radius: 5px;
+ margin: 2px 0;
+ margin-inline-start: 3px;
+}
-#go-button,
-#urlbar > toolbarbutton {
- list-style-image: url("chrome://browser/skin/reload-stop-go.png");
- /* margin: -2px; */
- -moz-margin-start: 0;
+#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 {
+/* border-inline-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");*/
+/* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */
+}
+
+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::placeholder,
+.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::placeholder {
+ color: #E7ADE7;
+}
+
+#urlbar-container {
+ -moz-box-orient: horizontal;
+ -moz-box-align: stretch;
+}
+
+.urlbar-textbox-container {
+ -moz-box-align: stretch;
+}
+
+.urlbar-input-box {
+ margin-inline-start: 0;
+}
+
+.urlbar-input-box,
+#urlbar-display-box {
+ padding-inline-start: 4px;
+/* border-inline-start: 1px solid var(--urlbar-separator-color);
+ border-inline-end: 1px solid var(--urlbar-separator-color);
+ border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%);
+ border-image-slice: 1; */
+}
+
+#urlbar-icons {
+ -moz-box-align: center;
+}
+
+.urlbar-icon {
padding: 0 2px;
- background-origin: border-box;
+ /* 16x16 icon with border-box sizing */
+ width: 20px;
+ height: 16px;
+}
+
+/* ::::: URL Bar Zoom Reset Button ::::: */
+
+@keyframes urlbar-zoom-reset-pulse {
+ 0% {
+ transform: scale(0);
+ }
+ 75% {
+ transform: scale(1.5);
+ }
+ 100% {
+ transform: scale(1.0);
+ }
+}
+
+#urlbar-zoom-button {
+/* -moz-appearance: none;*/
+/* color: inherit;*/
+}
+
+.search-go-container {
+ padding: 2px;
+}
+
+.search-go-container > .search-go-button {
+ padding: 0;
+}
+
+#urlbar-search-footer {
+ border-top: 1px solid var(--panel-separator-color);
+}
+
+#urlbar-search-settings {
+}
+
+#urlbar-search-settings:hover {
+}
+
+#urlbar-search-settings:hover:active {
+}
+
+#urlbar-search-splitter {
+ /* The splitter width should equal the location and search bars' combined
+ neighboring margin and border width. */
+ min-width: 8px;
+ margin: 0 -4px;
+ position: relative;
border: none;
- -moz-border-start: 1px solid #9C9CFF;
+ background: transparent;
}
-#go-button {
- padding: 0 3px;
+.urlbar-display {
+ border-inline-end: 1px solid #9C9CFF;
+ margin-inline-end: 3px;
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-inline-start: 0;
+ color: #8050B0;
}
-#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
- border-top-left-radius: 0px;
- border-bottom-left-radius: 0px;
+/* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */
+
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] {
+ border-bottom: 1px solid var(--panel-separator-color);
+ background-color: #000000;
+ padding: 6px 0;
+ padding-inline-start: 44px;
+ padding-inline-end: 6px;
+ background-image: url("chrome://browser/skin/info.svg");
+ background-clip: padding-box;
+ background-position: 20px center;
+ background-repeat: no-repeat;
+ background-size: 16px 16px;
}
-#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
- border-top-right-radius: 0px;
- border-bottom-right-radius: 0px;
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) {
+ background-position: right 20px center;
}
-#urlbar > toolbarbutton:not([disabled]):active:hover,
-#urlbar-reload-button:not(:hover) {
- -moz-border-start-style: none;
- -moz-padding-start: 3px;
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description {
+ margin: 0;
+ padding: 0;
}
-#urlbar > toolbarbutton:not([disabled]):active:hover {
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
+ margin-inline-start: 0;
}
-#urlbar-go-button {
- -moz-image-region: rect(0, 42px, 14px, 28px);
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
+ -moz-appearance: none;
+ min-width: 80px;
+ border-radius: 3px;
+ padding: 4px 16px;
+ margin: 0;
+ margin-inline-start: 10px;
}
-#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
-#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
- -moz-transform: scaleX(-1);
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
}
-#urlbar-go-button:hover,
-#go-button:hover {
- -moz-image-region: rect(14px, 42px, 28px, 28px);
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover {
}
-#urlbar-reload-button {
- -moz-image-region: rect(0px, 14px, 14px, 0px);
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] {
}
-#urlbar-reload-button[disabled] {
- -moz-image-region: rect(28px, 14px, 42px, 0px);
+#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover {
}
-#urlbar-reload-button:not([disabled]):hover {
- -moz-image-region: rect(14px, 14px, 28px, 0px);
+/* === END urlbarSearchSuggestionsNotification.inc.css === */
+
+#search-container {
+ min-width: calc(54px + 11ch);
}
-#urlbar-stop-button {
- -moz-image-region: rect(0px, 28px, 14px, 14px);
+/* identity box */
+
+#identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
+ background-color: var(--identity-box-verified-background-color);
}
-#urlbar-stop-button:hover {
- -moz-image-region: rect(14px, 28px, 28px, 14px);
+#identity-box:-moz-focusring {
+ outline: 1px dotted;
+ outline-offset: -1px;
}
-/* popup blocker button */
+#identity-box.verifiedDomain:-moz-focusring,
+#identity-box.verifiedIdentity:-moz-focusring {
+ outline-color: #000000;
+}
-#page-report-button {
- list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
- -moz-image-region: rect(0, 16px, 16px, 0);
+/* Location bar dropmarker */
+
+.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
+ background-color: transparent;
}
-#page-report-button:hover ,
-#page-report-button:hover:active,
-#page-report-button[open="true"] {
- -moz-image-region: rect(0, 32px, 16px, 16px);
+#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
+#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
+#urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
+ border: none;
+ border-radius: 0px;
+ transition: opacity 0.15s ease;
}
-/* star button */
+#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
+ transition: none;
+}
-#star-button {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
- -moz-image-region: rect(16px 16px 32px 0px);
+#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
+ opacity: 0;
}
-#star-button:hover {
- -moz-image-region: rect(16px 32px 32px 16px);
+.urlbar-history-dropmarker:hover {
}
-#star-button:hover:active {
- -moz-image-region: rect(16px 48px 32px 32px);
+.urlbar-history-dropmarker:hover:active,
+.urlbar-history-dropmarker[open="true"] {
}
-#star-button[starred="true"] {
- -moz-image-region: rect(0px 16px 16px 0px);
+/* page proxy icon */
+/* === BEGIN identity-block.inc.css === */
+
+/* === BEGIN identity-block/icons.inc.css === */
+
+#identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
}
-#star-button[starred="true"]:hover {
- -moz-image-region: rect(0px 32px 16px 16px);
+#identity-box:hover > #identity-icon:not(.no-hover),
+#identity-box[open=true] > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
}
-#star-button[starred="true"]:hover:active {
- -moz-image-region: rect(0px 48px 16px 32px);
+#identity-box.grantedPermissions > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#notice);
}
-/* bookmarking panel */
-#editBookmarkPanelStarIcon {
- list-style-image: url("chrome://browser/skin/places/starred48.png");
- width: 48px;
- height: 48px;
+#identity-box.grantedPermissions:hover > #identity-icon:not(.no-hover),
+#identity-box.grantedPermissions[open=true] > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#notice-hover);
}
-#editBookmarkPanelStarIcon[unstarred] {
- list-style-image: url("chrome://browser/skin/places/unstarred48.png");
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
+ list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
}
-#editBookmarkPanelTitle {
- font-size: 130%;
+#tracking-protection-icon {
+ list-style-image: url(chrome://browser/skin/tracking-protection-16.svg#enabled);
}
-#editBookmarkPanelHeader,
-#editBookmarkPanelContent {
- margin-bottom: .5em;
+#tracking-protection-icon[state="loaded-tracking-content"] {
+ list-style-image: url(chrome://browser/skin/tracking-protection-16.svg#disabled);
}
-/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
-#editBMPanel_folderTree {
- min-width: 27em;
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
+ list-style-image: url(chrome://browser/skin/connection-secure.svg);
+ visibility: visible;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon {
+ list-style-image: url(chrome://browser/skin/connection-mixed-passive-loaded.svg#icon);
+ visibility: visible;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
+ list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon);
+ visibility: visible;
+}
+
+/* === END identity-block/icons.inc.css === */
+
+#identity-box {
+ font-size: .9em;
+ border-radius: 2px;
+ padding: 3px 5px;
+ overflow: hidden;
+ /* The padding-left and padding-right transitions handle the delayed hiding of
+ the forward button when hovered. */
+ transition: background-color 150ms ease, padding-left, padding-right;
+}
+
+#identity-box:-moz-locale-dir(ltr) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+#identity-box:-moz-locale-dir(rtl) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+ border-inline-end: 1px solid #008484;
}
-.panel-promo-box {
- margin: 5px -6px -6px;
- padding: 5px;
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
- border-top: 1px solid #9C9CFF;
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels {
+ color: #008484;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
+ border-inline-end: 1px solid #9C9CFF;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon-labels {
+ color: #9C9CFF;
+}
+
+
+#identity-icon-labels:-moz-locale-dir(ltr) {
+ padding-left: 2px;
+}
+
+#identity-icon-labels:-moz-locale-dir(rtl) {
+ padding-right: 2px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
+/* border-radius: 0;
+ padding-inline-start: 2px; */
+ padding-inline-end: 2px;
+ margin-inline-end: 1px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #identity-box {
+ padding-inline-start: 2px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > #identity-box {
+ /* Forward button hiding is delayed when hovered, so we should use the same
+ delay for the identity box. We handle both horizontal paddings (for LTR and
+ RTL), the latter two delays here are for padding-left and padding-right. */
+ transition-delay: 0s, 100s, 100s;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > #identity-box {
+ /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
+ padding-inline-start: 2.01px;
+}
+
+/* MAIN IDENTITY ICON */
+
+#identity-icon {
+ width: 16px;
+ height: 16px;
+}
+
+#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
+ opacity: .3;
+}
+
+#urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
+ -moz-image-region: inherit;
+ list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
+ width: 16px;
+ height: 16px;
+}
+
+#urlbar[actiontype="extension"] > #identity-box > #identity-icon {
+ -moz-image-region: inherit;
+ list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg);
+ width: 16px;
+ height: 16px;
+}
+
+/* SHARING ICON */
+
+#sharing-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: -16px;
+ position: relative;
+ display: none;
+}
+
+#identity-box[sharing="camera"] > #sharing-icon {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#camera-sharing");
+}
+
+#identity-box[sharing="microphone"] > #sharing-icon {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone-sharing");
+}
+
+#identity-box[sharing="screen"] > #sharing-icon {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#screen-sharing");
+
+}
+
+#identity-box[sharing] > #sharing-icon {
+ display: -moz-box;
+ animation-delay: -1.5s;
+}
+
+#identity-box[sharing] > #identity-icon,
+#sharing-icon {
+ animation: 3s linear identity-box-sharing-icon-pulse infinite;
+}
+
+@keyframes identity-box-sharing-icon-pulse {
+/* This should remain identical to tab-sharing-icon-pulse in tabs.inc.css */
+ 0%, 16.66%, 83.33%, 100% {
+ opacity: 0;
+ }
+ 33.33%, 66.66% {
+ opacity: 1;
+ }
+}
+
+/* TRACKING PROTECTION ICON */
+
+#tracking-protection-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+ margin-inline-end: 0;
+}
+
+#tracking-protection-icon[animate] {
+ transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
+}
+
+#tracking-protection-icon:not([state]) {
+ margin-inline-end: -18px;
+ pointer-events: none;
+ opacity: 0;
+ /* Only animate the shield in, when it disappears hide it immediately. */
+ transition: none;
+}
+
+#urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
+ visibility: collapse;
+}
+
+/* CONNECTION ICON */
+
+#connection-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+ visibility: collapse;
+}
+
+/* === 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 {
+/* margin-inline-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: #A09090;
+ color: #000000;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover > #identity-icon-labels,
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active > #identity-icon-labels,
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] > #identity-icon-labels {
+ 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;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover > #identity-icon-labels,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active > #identity-icon-labels,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] > #identity-icon-labels {
+ color: #000000;
+}
+
+#identity-box:hover > image,
+#identity-box:hover:active > image,
+#identity-box[open=true] > image {
+ filter: url(chrome://global/skin/filters.svg#active-icon-state);
+}
+
+/* autocomplete */
+
+/* === BEGIN autocomplete.inc.css === */
+
+#PopupAutoComplete > richlistbox > richlistitem {
+ height: 20px;
+ min-height: 20px;
+ border: 0;
+ border-radius: 0;
+ padding: 0px 1px 0px 1px;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem > .ac-site-icon {
+ margin-inline-start: 4px;
+ margin-inline-end: 0;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem > .ac-title {
+ font: icon;
+ margin-inline-start: 4px;
+}
+
+#PopupAutoComplete > richlistbox {
+ padding: 0;
+}
+
+/* Login form autocompletion */
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon {
+ display: initial;
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login);
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon[selected] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login-highlighted);
+}
+
+/* Insecure field warning */
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
+ background-color: var(--arrowpanel-dimmed);
+ border-bottom: 1px solid var(--panel-separator-color);
+ padding-bottom: 4px;
+ padding-top: 4px;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] {
+ background-color: var(--arrowpanel-dimmed-further);
+ color: #FFCF00;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title {
+ color: #A09090;
+ font-size: 1em;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] > .ac-title {
+ color: inherit;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon {
+ list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon);
+}
+
+/* === END autocomplete.inc.css === */
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
+ border-top: 1px solid #A09090;
+}
+
+#treecolAutoCompleteImage {
+ max-width: 36px;
+}
+
+/*
+.autocomplete-richlistbox {
+ padding: 4px;
+}
+
+.autocomplete-richlistitem {
+ height: 30px;
+ min-height: 30px;
+ font: message-box;
+ border-radius: 2px;
+ border: 1px solid transparent;
+}
+*/
+.ac-title {
+ font-size: 14px;
+}
+
+.ac-tags {
+ font-size: 12px;
+}
+/*
+html|span.ac-tag {
+ border-radius: 2px;
+ border: 1px solid transparent;
+ padding: 0 1px;
+}
+*/
+
+.ac-separator,
+.ac-url,
+.ac-action {
+ font-size: 12px;
+}
+
+html|span.ac-emphasize-text-title,
+html|span.ac-emphasize-text-tag,
+html|span.ac-emphasize-text-url {
+ font-weight: 600;
+}
+
+.ac-type-icon[type=bookmark] {
+ list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
+}
+
+.ac-type-icon[type=bookmark][selected][current] {
+/* list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");*/
+}
+
+.ac-result-type-bookmark {
+ 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 {
+/* -moz-image-region: rect(0px 48px 16px 32px);*/
+}
+
+.ac-type-icon[type=keyword],
+.ac-site-icon[type=searchengine] {
+ list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
+}
+
+.ac-type-icon[type=keyword][selected],
+.ac-site-icon[type=searchengine][selected] {
+ list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
+}
+
+.ac-result-type-tag {
+ list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
+ width: 16px;
+ height: 16px;
+}
+
+.ac-type-icon[type=switchtab],
+.ac-type-icon[type=remotetab] {
+ list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab");
+}
+
+.ac-type-icon[type=switchtab][selected],
+.ac-type-icon[type=remotetab][selected] {
+ list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted");
+}
+
+.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-go-button,
+#urlbar-reload-button,
+#urlbar-stop-button {
+ border-style: none;
+ list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
+/* margin: 0 9px; */
+ margin-inline-start: 0px;
+ border-inline-start: 1px solid var(--urlbar-separator-color);
+ border-image: linear-gradient(transparent 15%,
+ var(--urlbar-separator-color) 15%,
+ var(--urlbar-separator-color) 85%,
+ transparent 85%);
+ border-image-slice: 1;
+}
+
+#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) {
+ border-inline-start-style: none;
+ padding-inline-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);
+}
+
+@media (min-resolution: 1.1dppx) {
+ #urlbar-go-button,
+ #urlbar-reload-button,
+ #urlbar-stop-button {
+ list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
+ }
+
+ #urlbar-go-button > .toolbarbutton-icon,
+ #urlbar-reload-button > .toolbarbutton-icon,
+ #urlbar-stop-button > .toolbarbutton-icon {
+ width: 14px;
+ }
+
+ #urlbar-go-button {
+ -moz-image-region: rect(0, 84px, 28px, 56px);
+ }
+
+ #urlbar-go-button:hover {
+ -moz-image-region: rect(28px, 84px, 56px, 56px);
+ }
+
+ #urlbar-go-button:hover:active {
+ -moz-image-region: rect(56px, 84px, 84px, 56px);
+ }
+
+ #urlbar-reload-button {
+ -moz-image-region: rect(0, 28px, 28px, 0);
+ }
+
+ #urlbar-reload-button:not([disabled]):hover {
+ -moz-image-region: rect(28px, 28px, 56px, 0);
+ }
+
+ #urlbar-reload-button:not([disabled]):hover:active {
+ -moz-image-region: rect(56px, 28px, 84px, 0);
+ }
+
+ #urlbar-stop-button {
+ -moz-image-region: rect(0, 56px, 28px, 28px);
+ }
+
+ #urlbar-stop-button:not([disabled]):hover {
+ -moz-image-region: rect(28px, 56px, 56px, 28px);
+ }
+
+ #urlbar-stop-button:hover:active {
+ -moz-image-region: rect(56px, 56px, 84px, 28px);
+ }
+}
+
+/* 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);
+}
+
+/* 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 */
+
+/* === BEGIN social.inc.css === */
+
+#manage-share-providers {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
+ -moz-image-region: rect(0, 468px, 18px, 450px);
+}
+
+#manage-share-providers > .toolbarbutton-icon {
+ min-height: 18px;
+ min-width: 18px;
+}
+
+.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
+}
+/* fixup corners for share panel */
+.social-panel > .social-panel-frame {
+ border-radius: inherit;
+}
+
+/* === END social.inc.css === */
+
+.social-panel-frame {
+ border-radius: inherit;
+}
+
+.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;
+}
+
+#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;
+}
+
+/* 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);
+}
+
+#nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]: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;
+}
+
+/* ::::: content area ::::: */
+
+#sidebar-box {
+ background-color: #9C9CFF;
+ color: #000000;
+}
+
+#sidebar {
+ background-color: #000000;
+}
+
+#sidebar-splitter {
+ margin-inline-start: 0;
+}
+
+#sidebar-header {
+ color: #000000;
+ padding: 2px;
+}
+
+#sidebar-title {
+ padding-inline-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; */
+ /* --navbar-tab-toolbar-highlight-overlap: 1px; */
+ /* --tab-min-height: 31px; */
+}
+#TabsToolbar {
+ /* --tab-stroke-background-size: auto 100%; */
+}
+
+.tabbrowser-tab,
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button {
+ margin-top: 0px;
+}
+
+.tabbrowser-tab {
+ padding: 1px 4px 2px;
+}
+
+.tabbrowser-tab:first-of-type {
+ margin-inline-start: 2px;
+}
+
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
+ border-radius: 8px 8px 0px 0px;
+ margin-inline-start: 0;
+}
+
+.tabs-newtab-button:not(:hover),
+#TabsToolbar > #new-tab-button:not(:hover),
+#TabsToolbar > toolbarpaletteitem > #new-tab-button,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
+ background-color: #C09070;
+}
+
+/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
+.tabbrowser-tab[visuallyselected=true] {
+/* position: relative;
+ z-index: 2;*/
+}
+
+.tab-background-middle {
+}
+
+.tab-content {
+}
+
+.tab-content[pinned] {
+}
+
+.tab-throbber,
+.tab-icon-image,
+.tab-sharing-icon-overlay,
+.tab-icon-sound,
+.tab-close-button {
+}
+
+.tab-throbber,
+.tab-sharing-icon-overlay,
+.tab-icon-image {
+ height: 16px;
+ width: 16px;
+ margin-inline-end: 3px;
+}
+
+.tab-icon-image {
+ list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
+}
+
+.tab-icon-image[sharing]:not([selected]),
+.tab-sharing-icon-overlay {
+ animation: 3s linear tab-sharing-icon-pulse infinite;
+}
+
+@keyframes tab-sharing-icon-pulse {
+/* This should remain identical to identity-box-sharing-icon-pulse in identity-block.inc.css */
+ 0%, 16.66%, 83.33%, 100% {
+ opacity: 0;
+ }
+ 33.33%, 66.66% {
+ opacity: 1;
+ }
+}
+
+.tab-icon-image[sharing]:not([selected]) {
+ animation-delay: -1.5s;
+}
+
+.tab-sharing-icon-overlay {
+ /* 16px of the icon + 6px of margin-inline-end of .tab-icon-image */
+ margin-inline-start: -22px;
+ position: relative;
+}
+
+.tab-sharing-icon-overlay[sharing="camera"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#camera-sharing");
+}
+
+.tab-sharing-icon-overlay[sharing="microphone"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone-sharing");
+}
+
+.tab-sharing-icon-overlay[sharing="screen"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#screen-sharing");
+}
+
+.tab-icon-overlay {
+ width: 16px;
+ height: 16px;
+ margin-top: -8px;
+ margin-inline-start: -15px;
+ margin-inline-end: -1px;
+ position: relative;
+}
+
+.tab-icon-overlay[crashed] {
+ list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
+}
+
+.tab-icon-overlay[soundplaying],
+.tab-icon-overlay[muted]:not([crashed]),
+.tab-icon-overlay[blocked]:not([crashed]) {
+ border-radius: 10px;
+}
+
+.tab-icon-overlay[soundplaying]:hover,
+.tab-icon-overlay[muted]:hover,
+.tab-icon-overlay[blocked]:not([crashed]):hover {
+ background-color: #FFCF00;
+}
+
+.tab-icon-overlay[soundplaying] {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
+}
+
+.tab-icon-overlay[muted]:not([crashed]) {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
+}
+
+.tab-icon-overlay[blocked]:not([crashed]) {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-blocked");
+}
+
+#TabsToolbar[brighttext] .tab-icon-overlay[soundplaying]:not([selected]):not(:hover),
+.tab-icon-overlay[soundplaying][selected]:-moz-lwtheme-brighttext:not(:hover) {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white");
+}
+
+#TabsToolbar[brighttext] .tab-icon-overlay[muted]:not([crashed]):not([selected]):not(:hover),
+.tab-icon-overlay[mouted][selected]:-moz-lwtheme-brighttext:not(:hover) {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted");
+}
+
+#TabsToolbar[brighttext] .tab-icon-overlay[blocked]:not([crashed]):not([selected]):not(:hover),
+.tab-icon-overlay[blocked][selected]:-moz-lwtheme-brighttext:not(:hover) {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-blocked");
+}
+
+.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");
+}
+
+@media (min-resolution: 1.1dppx) {
+ .tab-throbber[busy] {
+ list-style-image: url("chrome://communicator/skin/brand/throbber-anim-connect.png");
+ }
+
+ .tab-throbber[progress] {
+ list-style-image: url("chrome://communicator/skin/brand/throbber-anim.png");
+ }
+}
+
+.tab-throbber[pinned],
+.tab-icon-image[pinned] {
+ margin-inline-start: 2px;
+ margin-inline-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-icon-sound {
+ margin-inline-start: 4px;
+ width: 16px;
+ height: 16px;
+ padding: 0;
+}
+
+.tab-icon-sound[soundplaying],
+.tab-icon-sound[muted],
+.tab-icon-sound[blocked] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio);
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
+}
+
+.tab-icon-sound[muted] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted);
+}
+
+.tab-icon-sound[blocked] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-blocked);
+}
+
+.tab-close-button {
+ margin-top: 1px;
+ padding: 0;
+}
+
+.tab-icon-sound[soundplaying-scheduledremoval]:not([muted]):not(:hover),
+.tab-icon-overlay[soundplaying-scheduledremoval]:not([muted]):not(:hover) {
+ transition: opacity .3s linear var(--soundplaying-removal-delay);
+ opacity: 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([visuallyselected=true]),
+.tabbrowser-tab:-moz-lwtheme {
+}
+
+/* tabbrowser-tab focus ring */
+.tabbrowser-tab:focus {
+ outline: 1px dotted;
+}
+
+/* Selected tab */
+
+.tabbrowser-tab[visuallyselected="true"] {
+}
+
+/* End selected tab */
+
+/* Tab pointer-events */
+/*
+.tabbrowser-tab {
+ pointer-events: none;
+}
+
+.tab-background-middle,
+.tabs-newtab-button,
+.tab-icon-overlay[soundplaying],
+.tab-icon-overlay[muted]:not([crashed]),
+.tab-icon-overlay[blocked]:not([crashed]),
+.tab-icon-sound,
+.tab-close-button {
+ pointer-events: auto;
+}
+*/
+/* Pinned tabs */
+
+/*
+.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([selected="true"]),
+.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([selected="true"]) {
+*/
+.tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) {
+ background-color: #E7ADE7;
+}
+
+.tab-label[attention]:not([selected="true"]) {
+ font-weight: bold;
+}
+
+.tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover {
+ background-color: #3333FF;
+ color: #000000;
+}
+
+/* Tab separators */
+/*
+.tabbrowser-tab::after,
+.tabbrowser-tab::before {
+ width: 1px;
+ margin-inline-start: -1px;
+ background-image: linear-gradient(transparent 5px,
+ currentColor 5px,
+ currentColor calc(100% - 4px),
+ transparent calc(100% - 4px));
+ opacity: 0.2;
+}
+
+#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before,
+#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after {
+ opacity: 0.4;
+}
+*/
+/* Also show separators beside the selected tab when dragging it. */
+/*
+#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 {
+ content: "";
+ display: -moz-box;
+}
+*/
+/* New tab button */
+
+.tabs-newtab-button {
+ width: 28px;
+ /* width: calc(36px + var(--tab-curve-width)); */
+}
+@media (min-resolution: 1.1dppx) {
+ /* image preloading hack from like lowdpi styles */
+ #tabbrowser-tabs::before {
+ }
+
+ .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]),
+ .tabs-newtab-button:hover {
+ }
+
+ .tab-background-middle[selected=true] {
+ }
+
+ .tab-background-start[selected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-end[selected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-background-end[selected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-start[selected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-icon-image {
+ list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
+ }
+}
+
+/* All tabs menupopup */
+
+.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
+ background-color: #402800;
+}
+
+.alltabs-endimage[soundplaying],
+.alltabs-endimage[muted],
+.alltabs-endimage[blocked] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio);
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
+}
+
+.alltabs-endimage[muted] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted);
+}
+
+.alltabs-endimage[blocked] {
+ list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-blocked);
+}
+
+/* === END tabs.inc.css === */
+
+/* Tab DnD indicator */
+.tab-drop-indicator {
+ list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
+ margin-bottom: -11px;
+}
+
+/* Tab close button */
+.tab-close-button {
+ list-style-image: url("chrome://global/skin/icons/close-button.gif") !important;
+ -moz-image-region: auto !important;
+}
+
+.tab-close-button:hover,
+.tab-close-button:hover[selected="true"] {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif") !important;
+ -moz-image-region: auto !important;
+}
+
+.tab-close-button:hover:active,
+.tab-close-button:hover:active[selected="true"] {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif") !important;
+ -moz-image-region: auto !important;
+}
+
+.tab-close-button > .button-icon,
+.tab-close-button > .button-box > .button-icon,
+.tab-close-button > .toolbarbutton-icon {
+ width: auto !important;
+}
+
+
+/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
+
+.tabbrowser-arrowscrollbox > .scrollbutton-up,
+.tabbrowser-arrowscrollbox > .scrollbutton-down {
+ margin: 0;
+ padding-top: 0;
+ padding-bottom: 0;
+ background-origin: border-box;
+}
+
+#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
+.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
+ }
+
+.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
+.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
+ }
+
+.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[highlight] {
+ background-color: #008484;
+}
+
+.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,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
+ list-style-image: url("chrome://browser/skin/tabbrowser/newtab.svg");
+ -moz-image-region: auto;
+}
+
+.tabs-newtab-button,
+.tabs-newtab-button:hover,
+#TabsToolbar > #new-tab-button,
+#TabsToolbar > #new-tab-button:hover {
+}
+
+#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+.tabs-newtab-button:-moz-lwtheme-brighttext,
+#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
+}
+
+#TabsToolbar > #new-tab-button {
+ width: 26px;
+}
+
+#alltabs-button {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+#alltabs-button:hover,
+#alltabs-button:hover:active,
+#alltabs-button[open="true"] {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+}
+
+#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
+#alltabs-button:-moz-lwtheme-brighttext {
+}
+
+#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");
+ -moz-image-region: auto;
+}
+
+.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.png");
+}
+
+@media (min-resolution: 1.1dppx) {
+ .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
+ list-style-image: url("chrome://global/skin/icons/loading@2x.png");
+ }
+}
+
+toolbarbutton.chevron {
+ list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
+}
+
+toolbarbutton.chevron:hover {
+ list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
+}
+/*
+toolbar[brighttext] toolbarbutton.chevron {
+ list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
+}
+*/
+toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
+toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .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.png");
+ margin-inline-end: 4px;
+}
+
+@media (min-resolution: 1.1dppx) {
+ #sidebar-throbber[loading="true"] {
+ list-style-image: url("chrome://global/skin/icons/loading@2x.png");
+ width: 16px;
+ }
+}
+
+/* Bookmarks toolbar */
+#PlacesToolbarDropIndicator {
+ list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
+}
+
+toolbarbutton.bookmark-item[dragover="true"][open="true"] {
+ background-color: #008484 !important;
+ color: #FFCF00 !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;
+ margin-inline-end: -4em;
+ background-color: #008484;
+}
+
+/* === BEGIN notification-icons.inc.css === */
+
+#notification-popup-box {
+ border-radius: 3px 0 0 3px;
+ padding: 5px 0px;
+ margin: -5px 0px;
+ margin-inline-end: -5px;
+ padding-inline-end: 5px;
+}
+
+.notification-anchor-icon,
+#blocked-permissions-container > .blocked-permission-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+}
+
+/* This class can be used alone or in combination with the class defining the
+ type of icon displayed. This rule must be defined before the others in order
+ for its list-style-image to be overridden. */
+.notification-anchor-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#default-info);
+}
+
+.notification-anchor-icon:-moz-focusring {
+ outline: 1px dotted #008484;
+}
+
+@media (min-resolution: 1.1dppx) {
+ .notification-anchor-icon {
+ list-style-image: url(chrome://global/skin/icons/information-32.png);
+ }
+}
+
+.notification-anchor-icon:not(.plugin-blocked),
+#blocked-permissions-container > .blocked-permission-icon {
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
+}
+
+/* INDIVIDUAL NOTIFICATIONS */
+
+.popup-notification-icon[popupid="web-notifications"],
+.desktop-notification-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification);
+}
+
+.desktop-notification-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification-blocked);
+}
+
+.geo-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows);
+}
+
+.geo-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-blocked);
+}
+
+.popup-notification-icon[popupid="geolocation"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-detailed);
+}
+
+.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
+.indexedDB-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB);
+}
+
+.indexedDB-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB-blocked);
+}
+
+.login-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login);
+}
+
+.popup-notification-icon[popupid="password"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login-detailed);
+}
+
+.camera-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#camera);
+}
+
+.camera-icon.in-use {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-sharing);
+}
+
+.camera-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-blocked);
+}
+
+.microphone-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone);
+}
+
+.microphone-icon.in-use {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-sharing);
+}
+
+.microphone-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-blocked);
+}
+
+.popup-notification-icon.microphone-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-detailed);
+}
+
+.screen-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#screen);
+}
+
+.screen-icon.in-use {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-sharing);
+}
+
+.screen-icon.blocked-permission-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-blocked);
+}
+
+#webRTC-preview:not([hidden]) {
+ display: -moz-stack;
+ border-radius: 4px;
+ border: 1px solid #A09090;
+ overflow: hidden;
+ min-width: 300px;
+ min-height: 10em;
+}
+
+html|*#webRTC-previewVideo {
+ width: 300px;
+ /* If we don't set the min-width, width is ignored. */
+ min-width: 300px;
+ max-height: 200px;
+}
+
+#webRTC-previewWarning {
+ background: #FF0000 url("chrome://browser/skin/warning-white.svg") no-repeat .75em .75em;
+ margin: 0;
+ padding: .5em;
+ padding-inline-start: calc(1.5em + 16px);
+ border-top: 1px solid #A09090;
+}
+
+#webRTC-previewWarning > .text-link {
+ margin-inline-start: 0;
+}
+
+/* This icon has a block sign in it, so we don't need a blocked version. */
+.popup-icon {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#popup");
+}
+
+/* EME */
+
+.popup-notification-icon[popupid="drmContentPlaying"],
+.drm-icon {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
+}
+
+.drm-icon:hover:active {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
+}
+
+#eme-notification-icon[firstplay=true] {
+ animation: emeTeachingMoment 0.2s linear 0s 5 normal;
+}
+
+@keyframes emeTeachingMoment {
+ 0% {transform: translateX(0); }
+ 25% {transform: translateX(3px) }
+ 75% {transform: translateX(-3px) }
+ 100% { transform: translateX(0); }
+}
+
+/* INSTALL ADDONS */
+
+.install-icon {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg);
+}
+
+.popup-notification-icon[popupid="xpinstall-disabled"],
+.popup-notification-icon[popupid="addon-install-blocked"],
+.popup-notification-icon[popupid="addon-install-origin-blocked"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
+}
+
+.popup-notification-icon[popupid="addon-progress"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
+}
+
+.popup-notification-icon[popupid="addon-install-failed"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
+}
+
+.popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
+}
+
+#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
+}
+
+.popup-notification-icon[popupid="addon-install-complete"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
+}
+
+.popup-notification-icon[popupid="addon-install-restart"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
+}
+
+.popup-notification-icon[popupid="click-to-play-plugins"] {
+ list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
+}
+
+/* OFFLINE APPS */
+
+.popup-notification-icon[popupid*="offline-app-requested"],
+.popup-notification-icon[popupid="offline-app-usage"] {
+ list-style-image: url(chrome://global/skin/icons/question-64.png);
+}
+
+/* PLUGINS */
+
+.plugin-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
+}
+
+.plugin-icon.plugin-blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
+}
+
+#notification-popup-box[hidden] {
+ /* Override display:none to make the pluginBlockedNotification animation work
+ when showing the notification repeatedly. */
+ display: -moz-box;
+ visibility: collapse;
+}
+
+#plugins-notification-icon.plugin-blocked[showing] {
+ animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
+}
+
+@keyframes pluginBlockedNotification {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+/* SOCIAL API */
+
+.popup-notification-icon[popupid="servicesInstall"] {
+ list-style-image: url(chrome://browser/skin/social/services-64.png);
+}
+
+.service-icon {
+ list-style-image: url(chrome://browser/skin/social/services-16.png);
+}
+
+/* TRANSLATION */
+
+.translation-icon {
+ list-style-image: url(chrome://browser/skin/translation-16.png);
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+.translation-icon.in-use {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+/* === END notification-icons.inc.css === */
+
+.popup-notification-body[popupid="addon-progress"],
+.popup-notification-body[popupid="addon-install-confirmation"] {
+ width: 28em;
+ max-width: 28em;
+}
+
+.addon-install-confirmation-name {
+ font-weight: bold;
+}
+
+.addon-webext-perm-header {
+ font-size: 1.3em;
+}
+
+.addon-webext-name {
+ display: inline;
+ font-weight: bold;
+ margin: 0;
+}
+
+.addon-addon-icon {
+ width: 14px;
+ height: 14px;
+ list-style-image: url("chrome://browser/skin/menuPanel.svg");
+ -moz-image-region: rect(0px, 288px, 32px, 256px);
+}
+
+.addon-toolbar-icon {
+ width: 14px;
+ height: 14px;
+ list-style-image: url("chrome://browser/skin/Toolbar.png");
+ -moz-image-region: rect(0, 486px, 18px, 468px);
+}
+
+/* Notification icon box */
+
+.notification-anchor-icon:-moz-focusring {
+/* outline: 1px dotted -moz-DialogText;*/
+}
+
+/* Translation infobar */
+
+/* === BEGIN infobar.inc.css === */
+
+notification[value="translation"] .messageImage {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+@media (min-resolution: 1.25dppx) {
+ notification[value="translation"] .messageImage {
+ list-style-image: url("chrome://browser/skin/translation-16@2x.png");
+ -moz-image-region: rect(0, 64px, 32px, 32px);
+ }
+}
+
+notification[value="translation"][state="translating"] .messageImage {
+ list-style-image: url("chrome://browser/skin/translating-16.png");
+ -moz-image-region: auto;
+}
+
+@media (min-resolution: 1.25dppx) {
+ notification[value="translation"][state="translating"] .messageImage {
+ list-style-image: url("chrome://browser/skin/translating-16@2x.png");
+ }
+}
+
+notification[value="translation"] hbox[anonid="details"] {
+ overflow: hidden;
+}
+
+notification[value="translation"] button,
+notification[value="translation"] menulist {
+ min-width: 0;
+}
+
+notification[value="translation"] menulist > .menulist-dropmarker {
+}
+
+.translation-menupopup arrowscrollbox {
+ padding-bottom: 0;
+}
+
+.translation-attribution {
+ cursor: pointer;
+ -moz-box-align: end;
+ font-size: small;
+}
+
+.translation-attribution > label {
+ margin-bottom: 0;
+}
+
+.translation-attribution > image {
+ width: 70px;
+}
+
+.translation-welcome-panel {
+ width: 305px;
+}
+
+.translation-welcome-logo {
+ height: 32px;
+ width: 32px;
+ list-style-image: url(chrome://browser/skin/translation-16@2x.png);
+ -moz-image-region: rect(0, 64px, 32px, 32px);
+}
+
+.translation-welcome-content {
+ margin-inline-start: 16px;
+}
+
+.translation-welcome-headline {
+ font-size: larger;
+ font-weight: bold;
+}
+
+.translation-welcome-body {
+ padding: 1em 0;
+ margin: 0 0;
+}
+
+/* === END infobar.inc.css === */
+
+notification[value="translation"] {
+ min-height: 40px;
+}
+
+.translation-menupopup {
+ -moz-appearance: none;
+}
+
+/* Bookmarks roots menu-items */
+#subscribeToPageMenuitem:not([disabled]),
+#subscribeToPageMenupopup {
+ list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
+}
+
+#bookmarksToolbarFolderMenu,
+#BMB_bookmarksToolbar,
+#panelMenu_bookmarksToolbar {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
+ -moz-image-region: auto;
+}
+
+#BMB_unsortedBookmarks,
+#panelMenu_unsortedBookmarks {
+ list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
+ -moz-image-region: auto;
+}
+
+/* Status panel */
+
+.statuspanel-label {
+ margin: 0;
+ padding: 2px 4px;
+ background: #404000;
+ border: 1px none #9C9CFF;
+ border-top-style: solid;
+ color: #FF9F00;
+ text-shadow: none;
+}
+
+.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
+.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
+ border-right-style: solid;
+ 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;
+ border-top-left-radius: .3em;
+ margin-left: 1em;
+}
+
+/* HACK to abolish devily color on main content */
+
+#content {
+ background-color: transparent !important;
+}
+
+/* === BEGIN fullscreen/warning.inc.css === */
+
+html|*.pointerlockfswarning {
+ align-items: center;
+ background: rgba(0, 0, 0, 0.9);
+ border: 2px solid #A09090;
+ box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
+ border-radius: 8px;
+ padding: 24px 16px;
+ font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+}
+
+html|*.pointerlockfswarning::before {
+ margin: 0;
+ width: 24px; height: 24px;
+}
+
+html|*.pointerlockfswarning[data-identity="verifiedIdentity"]::before,
+html|*.pointerlockfswarning[data-identity="verifiedDomain"]::before {
+ content: url("chrome://browser/skin/fullscreen/secure.svg");
+}
+
+html|*.pointerlockfswarning[data-identity="unknownIdentity"]::before {
+ content: url("chrome://browser/skin/fullscreen/insecure.svg");
+}
+
+html|*.pointerlockfswarning-domain-text,
+html|*.pointerlockfswarning-generic-text {
+ font-size: 21px;
+ font-weight: lighter;
+ color: #A09090;
+ margin: 0 16px;
+}
+
+html|*.pointerlockfswarning-domain {
+ font-weight: bold;
+ margin: 0;
+}
+
+html|*#fullscreen-exit-button {
+
+html|*.pointerlockfswarning-exit-button {
+ margin: 0;
+
+ border-radius: 300px;
+ border: none;
+ background-color: #C09070;
+ color: #000000;
+}
+
+/* === END fullscreen/warning.inc.css === */
+
+/* === BEGIN ctrlTab.inc.css === */
+
+/* Ctrl-Tab */
+
+#ctrlTab-panel {
+ -moz-appearance: none;
+ background: rgba(0%,0%,0%,.7);
+ color: #FF9F00;
+ border-style: none;
+ padding: 20px 10px 10px;
+ font-weight: bold;
+}
+
+.ctrlTab-favicon[src] {
+ background-color: #000000;
+ width: 20px;
+ height: 20px;
+ padding: 2px;
+}
+
+.ctrlTab-preview-inner > .tabPreview-canvas {
+/* box-shadow: 1px 1px 2px hsl(0,0%,12%);*/
+}
+
+.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
+ margin-bottom: 2px;
+}
+
+.ctrlTab-preview-inner {
+ padding: 8px;
+ border: 2px solid transparent;
+ border-radius: .5em;
+}
+
+.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner {
+ margin: -10px -10px 0;
+}
+
+#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
+ background-color: #000000;
+}
+
+.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
+ color: #A09090;
+ background-color: #000000;
+ text-shadow: none;
+ border-color: #9C9CFF;
+}
+
+#ctrlTab-showAll {
+ margin-top: .5em;
+}
+
+/* === END ctrlTab.inc.css === */
+
+/* === BEGIN commandline.inc.css === */
+
+/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
+ We are copy/pasting variables from light-theme and dark-theme,
+ since they aren't loaded in this context (within browser.css). */
+:root #developer-toolbar {
+ --gcli-background-color: #000000; /* --theme-toolbar-background */
+ --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
+ --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
+ --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
+ --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
+ --selection-background: #008484; /* --theme-selection-background */
+ --selection-color: #000000; /* --theme-selection-color */
+ --command-line-image: url(chrome://devtools/skin/images/commandline-icon.svg#light-theme); /* --theme-command-line-image */
+ --command-line-image-focus: url(chrome://devtools/skin/images/commandline-icon.svg#light-theme-focus); /* --theme-command-line-image-focus */
+}
+
+/* Developer toolbar */
+
+#developer-toolbar {
+ border-top: 3px solid var(--gcli-background-color);
+ border-bottom: none;
+}
+
+#developer-toolbar .toolbar-holder {
+ background-color: #8050B0;
+ color: #FFCF00;
+}
+
+#developer-toolbar .toolbar-holder {
+ background-color: #8050B0;
+ color: #FFCF00;
+}
+
+#developer-toolbar .toolbar-startcap,
+#developer-toolbar .toolbar-endcap{
+ background-color: #6000CF;
+}
+
+#developer-toolbar {
+/* padding: 0;
+ min-height: 32px; */
+}
+
+#developer-toolbar > toolbarbutton {
+/* border: none;
+ background-color: transparent;
+ margin: 0;
+ padding: 0 10px;
+ width: 32px; */
+}
+
+.developer-toolbar-button > image {
+/* margin: auto 10px; */
+}
+
+#developer-toolbar-toolbox-button > label {
+ display: none;
+}
+
+.developer-toolbar-button > .toolbarbutton-icon {
+ width: 16px;
+ height: 16px;
+}
+
+#developer-toolbar-toolbox-button {
+ list-style-image: url("chrome://devtools/skin/images/toggle-tools.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+#developer-toolbar-toolbox-button > label {
+ display: none;
+}
+
+#developer-toolbar-toolbox-button:hover,
+#developer-toolbar-toolbox-button:hover:active,
+#developer-toolbar-toolbox-button[checked=true] {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+@media (min-resolution: 2dppx) {
+ #developer-toolbar-toolbox-button {
+ list-style-image: url("chrome://devtools/skin/images/toggle-tools@2x.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+ }
+
+ #developer-toolbar-toolbox-button:hover,
+ #developer-toolbar-toolbox-button:hover:active,
+ #developer-toolbar-toolbox-button[checked=true] {
+ -moz-image-region: rect(0px, 64px, 32px, 32px);
+ }
+}
+
+/* GCLI */
+
+html|*#gcli-tooltip-frame,
+html|*#gcli-output-frame {
+ padding: 0;
+ border-width: 0;
+ background-color: transparent;
+}
+
+#gcli-output,
+#gcli-tooltip {
+ border-width: 0;
+ background-color: transparent;
+}
+
+.gclitoolbar-input-node,
+.gclitoolbar-complete-node {
+ margin: 1px 3px;
+ -moz-box-align: center;
+ padding-top: 0;
+ padding-bottom: 0;
+ padding-right: 8px;
+ background-color: transparent;
+}
+
+.gclitoolbar-input-node {
+/* line-height: 32px;
+ outline-style: none; */
+ background-repeat: no-repeat;
+ background-color: var(--gcli-input-background);
+}
+
+.gclitoolbar-input-node[focused="true"] {
+ background-color: var(--gcli-input-focused-background);
+}
+
+.gclitoolbar-input-node::before {
+ content: "";
+ display: inline-block;
+ -moz-box-ordinal-group: 0;
+ width: 16px;
+ height: 16px;
+ margin: 0 2px;
+ background-image: var(--command-line-image);
+}
+
+.gclitoolbar-input-node[focused="true"]::before {
+ background-image: var(--command-line-image-focus);
+}
+
+.gclitoolbar-input-node:not([focused="true"]) {
+ border-color: transparent;
+}
+
+.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
+ background-color: var(--selection-background);
+ color: var(--selection-color);
+}
+
+.gclitoolbar-complete-node {
+ padding-left: 21px;
+ background-color: transparent;
+ color: transparent;
+ z-index: 100;
+ pointer-events: none;
+}
+
+.gcli-in-incomplete,
+.gcli-in-error,
+.gcli-in-ontab,
+.gcli-in-todo,
+.gcli-in-closebrace,
+.gcli-in-param,
+.gcli-in-valid {
+ margin: 0;
+ padding: 0;
+}
+
+.gcli-in-incomplete {
+ border-bottom: 2px dotted #8050B0;
+}
+
+.gcli-in-error {
+ border-bottom: 2px dotted #FF0000;
+}
+
+.gcli-in-ontab {
+ color: #9C9CFF;
+}
+
+.gcli-in-todo {
+ color: #795900;
+}
+
+.gcli-in-closebrace {
+ color: #8050B0;
+}
+
+/* === END commandline.inc.css === */
+
+/* === BEGIN responsivedesign.inc.css === */
+
+/* Responsive Mode */
+
+.browserContainer[responsivemode] {
+ background-color: #221500;
+ padding: 0 20px 20px 20px;
}
-.panel-promo-icon {
- list-style-image: url("chrome://browser/skin/sync-notification-24.png");
- -moz-margin-end: 10px;
- vertical-align: middle;
+.browserStack[responsivemode] {
+ box-shadow: 0 0 7px #9C9CFF;
}
-.panel-promo-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
- -moz-margin-end: -3px;
- margin-top: -3px;
+.devtools-responsiveui-toolbar {
+ background: transparent;
+ /* text color is textColor from dark theme, since no theme is applied to
+ * the responsive toolbar.
+ */
+ color: #FF9F00;
+ margin: 10px 0;
+ padding: 0;
+ box-shadow: none;
+ border-bottom-width: 0;
}
-.panel-promo-closebutton:hover {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.devtools-responsiveui-textinput {
+/* -moz-appearance: none;
+ background: #333;
+ color: #fff;
+ border: 1px solid #111;
+ border-radius: 2px;
+ padding: 0 5px;*/
+ width: 200px;
+ margin: 0;
}
-.panel-promo-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.devtools-responsiveui-textinput[attention] {
+/* border-color: #38ace6;
+ background: rgba(56,172,230,0.4);*/
}
-.panel-promo-closebutton > .toolbarbutton-text {
- padding: 0;
- margin: 0;
+.devtools-responsiveui-menulist,
+.devtools-responsiveui-toolbarbutton {
+ -moz-box-align: center;
+ min-width: 32px;
+/* min-height: 22px;*/
+/* margin: 0 3px; */
}
-/* ::::: content area ::::: */
-
-#sidebar {
- background-color: Window;
+.devtools-responsiveui-menulist .menulist-editable-box {
+ background-color: transparent;
}
-#sidebar-title {
- -moz-padding-start: 0px;
+.devtools-responsiveui-menulist html|*.menulist-editable-input {
+ color: inherit;
+ text-align: center;
}
-/* ::::: throbber ::::: */
+.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
+/* background: hsla(212,7%,57%,.35);*/
+}
-#navigator-throbber {
+.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
width: 16px;
- min-height: 16px;
- margin: 0 3px;
+ height: 16px;
}
-#navigator-throbber[busy="true"] {
- list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
+.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
+ -moz-box-orient: horizontal;
}
-#navigator-throbber,
-#wrapper-navigator-throbber > #navigator-throbber {
- list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
+.devtools-responsiveui-menulist:-moz-focusring,
+.devtools-responsiveui-toolbarbutton:-moz-focusring {
+/* outline: 1px dotted hsla(210,30%,85%,0.7);
+ outline-offset: -4px;*/
}
-/* Tabstrip */
-
-#TabsToolbar {
- min-height: 0;
- padding: 0;
- -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
+.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
+ display: none;
}
-#TabsToolbar .toolbar-holder {
- background-color: #000000; /* correct effect of being an actual toolbar */
+.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
+/* border-color: hsla(210,8%,5%,.6);
+ background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
+ box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
}
-#main-window[disablechrome] #TabsToolbar,
-#TabsToolbar[tabsontop="false"] {
- border-bottom: 1px solid #FF9F00;
+.devtools-responsiveui-menulist[open=true],
+.devtools-responsiveui-toolbarbutton[open=true],
+.devtools-responsiveui-toolbarbutton[checked=true] {
+/* border-color: hsla(210,8%,5%,.6) !important;
+ background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
+ box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
}
-.tabbrowser-tab,
-.tabs-newtab-button {
- margin-top: 0px;
+.devtools-responsiveui-toolbarbutton[checked=true] {
+/* color: hsl(208,100%,60%); */
}
-.tabbrowser-tab:hover,
-.tabs-newtab-button:hover {
+.devtools-responsiveui-toolbarbutton[checked=true]:hover {
+/* background-color: transparent !important;*/
}
-.tabbrowser-tab[selected="true"] {
+.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
+/* background-color: hsla(210,8%,5%,.2) !important;*/
}
-#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
+.devtools-responsiveui-menulist > .menulist-label-box {
+ text-align: center;
}
-.tabbrowser-tab:-moz-lwtheme {
+.devtools-responsiveui-menulist > .menulist-dropmarker {
+/* display: -moz-box;
+ background-color: transparent;
+ list-style-image: url("chrome://devtools/skin/dropmarker.svg");
+ -moz-box-align: center;
+ border-width: 0;
+ min-width: 16px;*/
}
-.tabbrowser-tab[selected="true"]:-moz-lwtheme {
+.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
+/* color: inherit;
+ border-width: 0;
+ border-inline-end: 1px solid hsla(210,8%,5%,.45);
+ box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
}
-.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
-.tabs-newtab-button:-moz-lwtheme-brighttext {
+.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
+/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
}
-.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
-.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
+.devtools-responsiveui-toolbarbutton[type=menu-button] {
+/* padding: 0 1px;*/
+ -moz-box-align: stretch;
}
-.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
-.tabs-newtab-button:-moz-lwtheme-darktext {
+.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
+.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
+/* list-style-image: url("chrome://devtools/skin/dropmarker.svg");
+ -moz-box-align: center;
+ padding: 0 3px;*/
}
-.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
-.tabs-newtab-button:-moz-lwtheme-darktext:hover {
+.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
+.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
+ margin-left: 3px;
}
-.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
- background-color: #E7ADE7;
-}
-.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
- background-color: #0000FF;
- color: #000000;
+.devtools-responsiveui-close {
+ list-style-image: url("chrome://devtools/skin/close.svg");
}
-.tab-throbber,
-.tab-icon-image {
- width: 16px;
- height: 16px;
- list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
- -moz-image-region: auto;
- -moz-margin-end: 3px;
+.devtools-responsiveui-close:hover {
+ filter: url(chrome://devtools/skin/images/filters.svg#checked-icon-state);
}
-.tab-throbber {
- list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
+.devtools-responsiveui-close > image {
+ filter: invert(1);
}
-.tab-throbber[progress] {
- list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
+.devtools-responsiveui-rotate {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate.png");
+ -moz-image-region: rect(0px,16px,16px,0px);
}
-#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
- min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
+.devtools-responsiveui-rotate:hover {
+ -moz-image-region: rect(0px,32px,16px,16px);
}
-.tab-throbber[pinned],
-.tab-icon-image[pinned] {
- -moz-margin-start: 2px;
- -moz-margin-end: 2px;
-}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-rotate {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate@2x.png");
+ }
-/* tabbrowser-tab focus ring */
-.tabbrowser-tab:focus > .tab-stack {
- outline: 1px dotted;
+ .devtools-responsiveui-rotate:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
}
-/* Tab DnD indicator */
-.tab-drop-indicator {
- list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
- margin-bottom: -11px;
+.devtools-responsiveui-touch {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-touch.png");
+ -moz-image-region: rect(0px,16px,16px,0px);
}
-/* Tab close button */
-.tab-close-button {
- border: none;
- padding: 0px;
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
+.devtools-responsiveui-touch:hover,
+.devtools-responsiveui-touch[checked],
+.devtools-responsiveui-touch[checked]:hover {
+ -moz-image-region: rect(0px,32px,16px,16px);
}
-.tab-close-button:-moz-system-metric(touch-enabled) {
- -moz-transform: scale(1.2);
-}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-touch {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-touch@2x.png");
+ -moz-image-region: rect(0px,32px,32px,0px);
+ }
-.tab-close-button:hover,
-.tab-close-button:hover[selected="true"] {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+ .devtools-responsiveui-touch:hover,
+ .devtools-responsiveui-touch[checked],
+ .devtools-responsiveui-touch[checked]:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
}
-.tab-close-button:hover:active,
-.tab-close-button:hover:active[selected="true"] {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.devtools-responsiveui-screenshot {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot.png");
+ -moz-image-region: rect(0px,16px,16px,0px);
}
-/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
+.devtools-responsiveui-screenshot:hover {
+ -moz-image-region: rect(0px,32px,16px,16px);
+}
-@media (-moz-touch-enabled) {
- .tabbrowser-arrowscrollbox > .scrollbutton-up,
- .tabbrowser-arrowscrollbox > .scrollbutton-down,
- #TabsToolbar .toolbarbutton-1 {
- min-width: 8.1mozmm;
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-screenshot {
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot@2x.png");
}
- .tabs-newtab-button {
- min-width: 10mozmm;
+ .devtools-responsiveui-screenshot:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
}
+}
- .tab-content {
- min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
- }
+.devtools-responsiveui-resizebarV {
+ width: 7px;
+ height: 24px;
+ cursor: ew-resize;
+ transform: translate(12px, -12px);
+ background-size: cover;
+ background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer.png");
}
-.tabbrowser-arrowscrollbox > .scrollbutton-up,
-.tabbrowser-arrowscrollbox > .scrollbutton-down {
- margin: 0;
- padding-top: 0;
- padding-bottom: 0;
+.devtools-responsiveui-resizebarH {
+ width: 24px;
+ height: 7px;
+ cursor: ns-resize;
+ transform: translate(-12px, 12px);
+ background-size: cover;
+ background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer.png");
}
-.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
- background-color: #008484;
+.devtools-responsiveui-resizehandle {
+ width: 16px;
+ height: 16px;
+ cursor: se-resize;
+ transform: translate(12px, 12px);
+ background-size: cover;
+ background-image: url("chrome://devtools/skin/images/responsive-se-resizer.png");
}
-.tabs-newtab-button > .toolbarbutton-icon {
- margin-top: -1px;
- margin-bottom: -1px;
+/* FxOS custom mode with additional buttons and phone look'n feel */
+
+/* Hide devtools manual resizer */
+.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
+.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
+.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
+ display: none;
}
-.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: rect(0, 16px, 18px, 0);
+/* Gives responsive mode a phone look'n feel */
+.browserStack[responsivemode].fxos-mode {
+ padding: 60px 15px 0;
+
+ border-radius: 25px / 20px;
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+ border: 1px solid #FFFFFF;
+ border-bottom-width: 0;
+
+ background-color: #353535;
+
+ box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
+
+ background-image: linear-gradient(to right, #111 11%, #333 56%);
+ min-width: 320px;
}
-.tabs-newtab-button {
- width: 28px;
+.devtools-responsiveui-hardware-buttons {
+ -moz-appearance: none;
+ padding: 20px;
+
+ border: 1px solid #FFFFFF;
+ border-bottom-left-radius: 25px;
+ border-bottom-right-radius: 25px;
+ border-top-width: 0;
+
+ box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
+
+ background-image: linear-gradient(to right, #111 11%, #333 56%);
}
-#TabsToolbar > #new-tab-button {
- width: 26px;
+.devtools-responsiveui-home-button {
+ -moz-user-focus: ignore;
+ width: 40px;
+ height: 30px;
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-home.png");
}
-.tabs-newtab-button:hover,
-#TabsToolbar > #new-tab-button:hover {
- -moz-image-region: rect(0, 32px, 18px, 16px);
+.devtools-responsiveui-sleep-button {
+ -moz-user-focus: ignore;
+ -moz-appearance: none;
+ /* compensate browserStack top padding */
+ margin-top: -67px;
+ margin-right: 10px;
+
+ min-width: 10px;
+ width: 50px;
+ height: 5px;
+
+ border: 1px solid #444;
+ border-top-right-radius: 12px;
+ border-top-left-radius: 12px;
+ border-bottom-color: transparent;
+
+ background-image: linear-gradient(to top, #111 11%, #333 56%);
}
-#alltabs-button {
- list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
- -moz-image-region: rect(0, 14px, 16px, 0);
+.devtools-responsiveui-sleep-button:hover:active {
+ background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
}
-#alltabs-button:hover,
-#alltabs-button:hover:active {
- -moz-image-region: rect(0, 28px, 16px, 14px);
+.devtools-responsiveui-volume-buttons {
+ margin-left: -29px;
}
-#alltabs-button[type="menu"] {
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
- -moz-image-region: auto;
+.devtools-responsiveui-volume-up-button,
+.devtools-responsiveui-volume-down-button {
+ -moz-user-focus: ignore;
+ -moz-appearance: none;
+ border: 1px solid red;
+ min-width: 8px;
+ height: 40px;
+
+ border: 1px solid #444;
+ border-right-color: transparent;
+
+ background-image: linear-gradient(to right, #111 11%, #333 56%);
}
-#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
- display: none;
+.devtools-responsiveui-volume-up-button:hover:active,
+.devtools-responsiveui-volume-down-button:hover:active {
+ background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
}
-#alltabs-button[type="menu"]:hover,
-#alltabs-button[type="menu"]:hover:active,
-#alltabs-button[type="menu"][open="true"] {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
- -moz-image-region: auto;
+.devtools-responsiveui-volume-up-button {
+ border-top-left-radius: 12px;
}
-/* All tabs menupopup */
-.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
- list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
- -moz-image-region: auto;
+.devtools-responsiveui-volume-down-button {
+ border-bottom-left-radius: 12px;
}
-.alltabs-item[selected="true"] {
- font-weight: bold;
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-resizebarV {
+ background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer@2x.png");
+ }
+
+ .devtools-responsiveui-resizebarH {
+ background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer@2x.png");
+ }
+
+ .devtools-responsiveui-resizehandle {
+ background-image: url("chrome://devtools/skin/images/responsive-se-resizer@2x.png");
+ }
}
-.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
- list-style-image: url("chrome://global/skin/icons/loading.gif");
+/* === END responsivedesign.inc.css === */
+
+/* === including indicator.css is done at the start of the file === */
+
+/* Error counter */
+
+#developer-toolbar-toolbox-button[error-count]:before {
+ color: #000000;
+ min-width: 16px;
+ text-shadow: none;
+ background-color: #FF0000;
+ border-radius: 1px;
+ margin-inline-end: 5px;
}
-.alltabs-item[tabIsVisible] {
- background-color: #402800;
+/* === BEGIN plugin-doorhanger.inc.css === */
+
+/**
+ * Plugin Doorhanger Styles
+ */
+
+#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 6px 1px 2px;
}
-/* Tabstrip close button */
-.tabs-closebutton {
- -moz-box-flex: 1;
- margin: 0px;
- padding: 2px;
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
+.click-to-play-plugins-notification-center-box {
}
-.tabs-closebutton > .toolbarbutton-icon {
+.plugin-popupnotification-centeritem:nth-child(odd) {
+/* background-color: rgba(0,0,0,0.1);*/
}
-.tabs-closebutton > .toolbarbutton-text {
- display: none;
+.center-item-label {
+ margin-bottom: 0;
+ text-overflow: ellipsis;
}
-.tabs-closebutton:hover,
-.tabs-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.center-item-warning-icon {
+ background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg");
+ background-repeat: no-repeat;
+ width: 16px;
+ height: 15px;
+ margin-inline-start: 6px;
}
-toolbarbutton.chevron {
- list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
+.click-to-play-plugins-notification-button-container {
}
-toolbarbutton.chevron:hover {
- list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
+.click-to-play-popup-button {
+ width: 50%;
}
-toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
-toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
- -moz-transform: scaleX(-1);
+.click-to-play-plugins-notification-description-box {
+ margin-left: 5px;
+ margin-right: 5px;
+ margin-top: 0;
+ padding-bottom: 3px;
}
-toolbarbutton.chevron > .toolbarbutton-text,
-toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
- display: none;
+.click-to-play-plugins-outer-description {
+ margin-top: 1px;
}
-toolbarbutton.chevron > .toolbarbutton-icon {
+.click-to-play-plugins-notification-link,
+.center-item-link {
margin: 0;
}
-toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
- display: -moz-box; /* display chevron icon in text mode */
+.messageImage[value="plugin-hidden"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
}
-#sidebar-throbber[loading="true"] {
- list-style-image: url("chrome://global/skin/icons/loading.gif");
- -moz-margin-end: 4px;
+/* Keep any changes to this style in sync with pluginProblem.css */
+notification.pluginVulnerable {
}
-/* Bookmarks toolbar */
-#PlacesToolbarDropIndicator {
- list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
+notification.pluginVulnerable .messageImage {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
}
-toolbarbutton.bookmark-item[dragover="true"][open="true"] {
- background-color: #008484 !important;
- color: #FFCF00 !important;
-}
+/* === END plugin-doorhanger.inc.css === */
-/* 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;
-}
+/* === BEGIN customizeMode.inc.css === */
-.menupopup-drop-indicator {
- list-style-image: none;
- height: 2px;
- -moz-margin-end: -4em;
- background-color: #008484;
-}
+/* Customization mode */
-/* ::::: Identity Indicator Styling ::::: */
+:root {
+ --drag-drop-transition-duration: .3s;
+}
-/* 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);
+#main-window[customization-lwtheme] #tab-view-deck:-moz-lwtheme {
+ background-repeat: no-repeat;
+ background-position: right top;
+ background-attachment: fixed;
+ background-color: transparent;
+ background-image: -moz-image-rect(var(--lwt-header-image), 0, 100%,
+ var(--toolbox-rect-height), 0),
+ linear-gradient(to bottom,
+ var(--lwt-accent-color) calc(var(--toolbox-rect-height-with-unit) - 1px),
+ rgba(0,0,0,0.25) calc(var(--toolbox-rect-height-with-unit) - 1px),
+ rgba(0,0,0,0.25) calc(var(--toolbox-rect-height-with-unit) + 1px),
+ rgba(255,255,255,0.5) calc(var(--toolbox-rect-height-with-unit) + 1px),
+ rgba(255,255,255,0.5) calc(var(--toolbox-rect-height-with-unit) + 2px),
+ transparent calc(var(--toolbox-rect-height-with-unit) + 2px));
}
-#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
- -moz-image-region: rect(64px, 64px, 128px, 0px);
+#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
+ margin-bottom: 1em;
}
-#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
- -moz-image-region: rect(128px, 64px, 192px, 0px);
+#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
+#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
+#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
+ margin-left: 1em;
+ margin-right: 1em;
}
-/* Popup Body Text */
-.identity-popup-description {
- white-space: pre-wrap;
- -moz-padding-start: 15px;
- margin: 2px 0 4px;
+#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
+ pointer-events: none;
}
-.identity-popup-label {
- white-space: pre-wrap;
- -moz-padding-start: 15px;
- margin: 0;
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
+#PanelUI-contents > .panel-customization-placeholder {
+ -moz-outline-radius: 2.5px;
+ outline: 1px dashed transparent;
}
-#identity-popup-content-host ,
-#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
- font-size: 1.2em;
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
+ /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
+ -moz-box-ordinal-group: 0;
+ content: "";
+ display: -moz-box;
+ height: 100%;
+ left: 0;
+ outline-offset: -2px;
+ pointer-events: none;
+ position: absolute;
+ top: 0;
+ width: 100%;
}
-#identity-popup-content-host {
- margin-top: 3px;
- margin-bottom: 5px;
- font-weight: bold;
- max-width: 300px;
+/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
+ #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
+ offset from the bottom effectively the same as other targets (-2px). */
+#main-window[customize-entered] #TabsToolbar.customization-target::before {
+/* top: -2px;*/
}
-#identity-popup-content-owner {
- margin-top: 4px;
- margin-bottom: 0 !important;
- font-weight: bold;
- max-width: 300px;
+/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
+#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
+#main-window[customize-entered] #nav-bar-customization-target.customization-target {
+ position: relative;
}
-.verifiedDomain > #identity-popup-content-owner {
- font-weight: normal;
+/* Most target outlines are shown on hover and drag over but the panel menu uses
+ placeholders instead. */
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
+#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
+/* nav-bar and panel outlines are always shown */
+#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
+ outline-color: currentColor;
}
-#identity-popup-content-verifier {
- margin: 4px 0 2px;
+#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
+ transition: outline-color 250ms linear;
}
-#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
-#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
- margin-top: 10px;
- -moz-margin-start: -24px;
+#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
+ transition: outline-color 250ms linear;
+ outline-color: var(--panel-separator-color);
}
-#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");
+#PanelUI-contents > .panel-customization-placeholder {
+ cursor: auto;
+ outline-offset: -5px;
}
-#identity-popup-more-info-button {
- margin-top: 6px;
- margin-bottom: 0;
- -moz-margin-end: 0;
+#main-window[customizing] .customization-target:not(#PanelUI-contents) {
+ min-width: 100px;
+/* padding-left: 10px;
+ padding-right: 10px;*/
}
-.popup-notification-icon {
- width: 64px;
- height: 64px;
- -moz-margin-end: 10px;
+#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
+ padding: 0 2em 2em;
}
-.popup-notification-icon[popupid="geolocation"] {
- list-style-image: url("chrome://browser/skin/Geolocation-64.png");
+#customization-container {
+ background-color: #000000;
+ color: #FF9F00;
}
-.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;
+#customization-palette,
+#customization-empty {
+ padding: 0 15px 15px;
}
-.popup-notification-icon[popupid="click-to-play-plugins"] {
- list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
- width: 32px;
- height: 32px;
+#customization-header {
+ font-size: 1.75em;
+ line-height: 1.75em;
+ color: #9C9CFF;
+ font-weight: 200;
+ margin: 25px 25px 12px;
+ padding-bottom: 12px;
+ border-bottom: 1px solid #A09090;
}
-.addon-progress-description {
- width: 350px;
- max-width: 350px;
+#customization-panel-container {
+ padding: 10px 10px 0px;
}
-.popup-progress-label,
-.popup-progress-meter {
- -moz-margin-start: 0;
- -moz-margin-end: 0;
+#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
+#customization-footer {
+ /*background-color: rgb(236,236,236);*/
}
-.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);
+#customization-footer {
+ border-top: 1px solid #9C9CFF;
+ padding: 10px;
}
-.popup-progress-cancel:hover {
- -moz-image-region: rect(16px, 32px, 32px, 16px);
+.customizationmode-button {
+ margin: 5px;
}
-.popup-progress-cancel:active {
- -moz-image-region: rect(32px, 32px, 48px, 16px);
+.customizationmode-button:hover {
}
-.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
-.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
- list-style-image: url("chrome://global/skin/icons/alert-question.gif");
+.customizationmode-button > .box-inherit {
}
-.popup-notification-icon[popupid="password-save"],
-.popup-notification-icon[popupid="password-change"] {
- list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
+.customizationmode-button > .button-icon {
}
-.popup-notification-icon[popupid="webapps-install"] {
- list-style-image: url("chrome://browser/skin/webapps-64.png");
+.customizationmode-button:not([type=menu]) > .button-text {
}
-/* Notification icon box */
-#notification-popup-box {
- position: relative;
- background-color: #000000;
- background-clip: padding-box;
- padding-left: 3px;
- border-radius: 3px 0 0 3px;
- -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
- -moz-margin-end: -8px;
+.customizationmode-button > .button-menu-dropmarker {
}
-window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
- :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
- #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
- padding-left: 5px;
+
+
+.customizationmode-button[checked] {
+ background-color: #008484;
}
-#notification-popup-box:-moz-locale-dir(rtl),
-.notification-anchor-icon:-moz-locale-dir(rtl) {
- -moz-transform: scaleX(-1);
+.customizationmode-button[checked]:hover:not([disabled]),
+.customizationmode-button:hover:not([disabled]) {
+ background-color: #FFCF00;
}
-.notification-anchor-icon {
- width: 16px;
- height: 16px;
+.customizationmode-button[checked]:hover:active:not([disabled]),
+.customizationmode-button:hover:active:not([disabled]),
+.customizationmode-button[open] {
+ background-color: #FF9F00;
}
-.notification-anchor-icon:-moz-focusring {
- outline: 1px dotted #008484;
-/* outline-offset: -3px; */
+.customizationmode-button[disabled="true"] {
}
-#default-notification-icon {
- list-style-image: url("chrome://global/skin/icons/information-16.png");
+.customizationmode-button > .box-inherit > .box-inherit > .button-icon,
+.customizationmode-button > .button-box > .button-icon {
+/* height: 24px;*/
}
-#geo-notification-icon {
- list-style-image: url("chrome://browser/skin/Geolocation-16.png");
+#customization-titlebar-visibility-button {
+ list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
+ -moz-image-region: rect(0, 16px, 16px, 0);
}
-#addons-notification-icon {
- list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
+#customization-titlebar-visibility-button:hover {
+ -moz-image-region: rect(16px, 16px, 32px, 0);
}
-#indexedDB-notification-icon {
- list-style-image: url("chrome://global/skin/icons/question-16.png");
+#customization-titlebar-visibility-button > .button-box {
+ padding-top: 0;
+ padding-bottom: 1px;
}
-#password-notification-icon {
- list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
+#customization-titlebar-visibility-button:hover:active > .button-box {
+ padding-top: 1px;
+ padding-bottom: 0;
}
-#webapps-notification-icon {
- list-style-image: url("chrome://browser/skin/webapps-16.png");
+#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
+#customization-titlebar-visibility-button > .button-box > .button-text {
+ /* Sadly, button.css thinks its margins are perfect for everyone. */
+ margin-inline-start: 5px !important;
}
-#plugins-notification-icon {
- list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
+#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
+ width: 20px;
+ height: 20px;
+ border-radius: 2px;
+ background-image: url("chrome://browser/content/default-theme-icon.svg");
+ background-size: contain;
}
-#identity-popup-container {
- min-width: 280px;
+#customization-titlebar-visibility-button > .button-box > .button-icon {
+ vertical-align: middle;
}
-#download-monitor {
- list-style-image: url("chrome://browser/skin/Toolbar.png");
- -moz-image-region: rect(0, 108px, 18px, 90px);
+#customization-titlebar-visibility-button[checked] {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+ background-color: #008484;
}
-/* Bookmarks roots menu-items */
-#appmenu_subscribeToPage:not([disabled]),
-#appmenu_subscribeToPageMenu,
-#subscribeToPageMenuitem:not([disabled]),
-#subscribeToPageMenupopup,
-#BMB_subscribeToPageMenuitem:not([disabled]),
-#BMB_subscribeToPageMenupopup {
- list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
+#customization-titlebar-visibility-button[checked]:hover {
+ -moz-image-region: rect(16px, 32px, 32px, 16px);
+ background-color: #FFCF00;
}
-#bookmarksToolbarFolderMenu,
-#appmenu_bookmarksToolbar,
-#BMB_bookmarksToolbar {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
- -moz-image-region: auto;
+#customization-titlebar-visibility-button[checked]:hover:active {
+ background-color: #FF9F00;
}
-#appmenu_unsortedBookmarks,
-#BMB_unsortedBookmarks {
- list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
- -moz-image-region: auto;
-}
+@media (min-resolution: 1.1dppx) {
+ #customization-titlebar-visibility-button {
+ list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
+ -moz-image-region: rect(0, 48px, 48px, 0);
+ }
-/* ::::: Keyboard UI Panel ::::: */
+ #customization-titlebar-visibility-button:hover {
+ -moz-image-region: rect(48px, 48px, 96px, 0);
+ }
-.KUI-panel {
- color: #FF9F00;
- border-style: none;
- border-radius: 20px;
+ #customization-titlebar-visibility-button[checked] {
+ -moz-image-region: rect(0, 96px, 48px, 48px);
+ }
+
+ #customization-titlebar-visibility-button[checked]:hover {
+ -moz-image-region: rect(48px, 96px, 96px, 48px);
+ }
}
-.KUI-panel[level="top"] {
- /*background-color: rgba(27%,27%,27%,.65);*/
+#main-window[customize-entered] #customization-panel-container {
+ background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
+ background-position: left top;
+ background-repeat: repeat;
+ background-size: auto;
+ background-attachment: fixed;
}
-.KUI-panel-closebutton {
- list-style-image: url("KUI-close.png");
- width: 24px;
- height: 24px;
+toolbarpaletteitem[place="toolbar"] {
+ transition: border-width 250ms ease-in-out;
}
-.KUI-panel-closebutton:not(:hover) {
+toolbarpaletteitem[mousedown] {
+ outline: 1px solid #008484;
+ cursor: -moz-grabbing;
+ opacity: 0.8;
}
-.KUI-panel-closebutton > .toolbarbutton-icon {
+.panel-customization-placeholder,
+toolbarpaletteitem[place="palette"],
+toolbarpaletteitem[place="panel"] {
+ transition: transform var(--drag-drop-transition-duration) ease-in-out;
}
-/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
-
-/* Ctrl-Tab */
+#customization-palette {
+ transition: opacity .3s ease-in-out;
+ opacity: 0;
+}
-#ctrlTab-panel {
- padding: 20px 10px 10px;
- font-weight: bold;
+#customization-palette[showing="true"] {
+ opacity: 1;
}
-.ctrlTab-favicon[src] {
- background-color: #000000;
- width: 20px;
- height: 20px;
- padding: 2px;
+toolbarpaletteitem toolbarbutton[disabled] {
+/* color: inherit !important;*/
}
-.ctrlTab-preview-inner > .tabPreview-canvas {
+toolbarpaletteitem[notransition].panel-customization-placeholder,
+toolbarpaletteitem[notransition][place="toolbar"],
+toolbarpaletteitem[notransition][place="palette"],
+toolbarpaletteitem[notransition][place="panel"] {
+ transition: none;
}
-.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
- margin-bottom: 2px;
+toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
+toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon,
+toolbarpaletteitem > toolbaritem.panel-wide-item,
+toolbarpaletteitem > toolbarbutton[type="menu-button"] {
+ transition: transform var(--drag-drop-transition-duration) cubic-bezier(.6, 2, .75, 1.5) !important;
}
-.ctrlTab-preview-inner {
- padding-bottom: 10px;
+toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
+toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon {
+ transform: scale(1.3);
}
-#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
- padding: 10px;
- background-color: #000000;
- border-radius: .5em;
+toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
+toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
+ transform: scale(1.1);
}
-.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
- color: white;
- background-color: #000000;
- text-shadow: none;
- padding: 8px;
- border: 2px solid #9C9CFF;
- border-radius: .5em;
+/* Override the toolkit styling for items being dragged over. */
+toolbarpaletteitem[place="toolbar"] {
+ border-left-width: 0;
+ border-right-width: 0;
+ margin-right: 0;
+ margin-left: 0;
}
-.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
- margin: -10px -10px 0;
+#customization-palette:not([hidden]) {
+ margin-bottom: 25px;
}
-#ctrlTab-showAll {
- margin-top: .5em;
+toolbarpaletteitem[place="palette"]:-moz-focusring,
+toolbarpaletteitem[place="panel"]:-moz-focusring,
+toolbarpaletteitem[place="toolbar"]:-moz-focusring {
+ outline-width: 0;
}
-/* All Tabs */
+toolbarpaletteitem[place="palette"]:not([mousedown="true"]):-moz-focusring,
+toolbarpaletteitem[place="panel"]:not([mousedown="true"]):-moz-focusring,
+toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring {
+ /* Delay adding the focusring back until after the transform transition completes. */
+ transition: outline-width .01s linear var(--drag-drop-transition-duration);
+ outline: 1px dotted;
+ -moz-outline-radius: 2.5px;
+}
-#allTabs-panel {
- padding-bottom: 10px;
+toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring {
+ outline-offset: -5px;
}
-#allTabs-meta {
- margin: 10px;
+#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
+#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
+ margin-top: 20px;
}
-#allTabs-filter {
- -moz-margin-start: 24px;
- -moz-margin-end: 0;
+#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
+ margin-left: 0;
+ margin-right: 0;
+ max-width: 24px;
+ min-width: 24px;
+ max-height: 24px;
+ min-height: 24px;
+ padding: 4px;
}
-#allTabs-tab-close-button > .toolbarbutton-icon {
- margin: 0;
+#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
+ width: 16px;
}
-.allTabs-favicon[src] {
- width: 22px;
- height: 22px;
- padding-top: 1px;
- padding-bottom: 5px;
- -moz-padding-start: 1px;
- -moz-padding-end: 5px;
- margin-top: -2px;
- -moz-margin-start: -2px;
- border-bottom-right-radius: 4px;
+#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
+ opacity: 1; /* To ensure these buttons always look enabled in customize mode */
}
-.allTabs-favicon[src]:-moz-locale-dir(rtl) {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 4px;
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
+ display: none;
}
-.allTabs-preview-inner > .tabPreview-canvas {
- background-color: #E7ADE7;
+#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
+ -moz-box-pack: center;
+ min-height: 48px;
}
-.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
+#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
+ margin-inline-end: 5px;
}
-.allTabs-preview:focus > * > .allTabs-preview-inner {
- outline: 1px dotted #008484;
+#customization-palette > toolbarpaletteitem > label {
+ text-align: center;
+ margin-left: 0;
+ margin-right: 0;
}
-/* Inspector / Highlighter */
+#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
+ -moz-box-orient: vertical;
+ /* Make the panel padding uniform across all platforms due to the
+ styling of the section headers and footer. */
+ padding: 10px;
+}
-#highlighter-panel {
- -moz-window-shadow: none;
- background: #000000;
- border: none;
+.customization-lwtheme-menu-theme > .toolbarbutton-icon {
+ width: 32px;
+ height: 32px;
}
-listitem.style-selector {
- background-color: #9C9CFF;
- color: #000000;
+.customization-lwtheme-menu-theme {
+ -moz-appearance: none;
+ margin: 0 -5px 5px;
+ padding-top: 0;
+ padding-inline-end: 5px;
+ padding-bottom: 0;
+ padding-inline-start: 0;
}
-listitem.style-section {
- background-color: #E7ADE7;
- color: #000000;
- font-weight: bold;
+.customization-lwtheme-menu-theme[defaulttheme] {
+ list-style-image: url(chrome://browser/content/default-theme-icon.svg);
}
-panel[dimmed="true"] {
- opacity: 0.5;
+.customization-lwtheme-menu-theme[active="true"] {
+ background-color: #008484;
}
-/* Add-on bar */
+.customization-lwtheme-menu-theme > .toolbarbutton-icon {
+ margin: 5px;
+}
-#addon-bar {
- min-height: 20px;
- border-top: 3px solid #000000;
- border-bottom-width: 0;
+.customization-lwtheme-menu-theme > .toolbarbutton-text {
+ text-align: start;
}
-#addon-bar .toolbar-holder {
- background-color: #8050B0;
- color: #FFCF00;
+#customization-lwtheme-menu-header,
+#customization-lwtheme-menu-recommended {
+ padding: 10px;
+ margin-bottom: 5px;
}
-#addon-bar .toolbar-holder {
- background-color: #8050B0;
- color: #FFCF00;
+#customization-lwtheme-menu-header,
+#customization-lwtheme-menu-recommended,
+#customization-lwtheme-menu-footer {
+ background-color: #A09090;
+ color: #000000;
+ margin-right: -10px;
+ margin-left: -10px;
}
-#addon-bar .toolbar-startcap,
-#addon-bar .toolbar-endcap{
- background-color: #6000CF;
+#customization-lwtheme-menu-header {
+ margin-top: -10px;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
}
-#status-bar {
- -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
- margin-top: .3em;
- border-width: 0;
+#customization-lwtheme-menu-recommended {
}
-#addon-bar[customizing] > #status-bar {
- opacity: .5;
-/* background-image: -moz-repeating-linear-gradient(-45deg,
- rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
- rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
+#customization-lwtheme-menu-footer {
+ margin-bottom: -10px;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
}
-/* Remove all borders from statusbarpanel children of
- the statusbar.
-#status-bar > statusbarpanel {
- border-width: 0;
-} */
+.customization-lwtheme-menu-footeritem {
+ -moz-appearance: none;
+ -moz-box-flex: 1;
+ background-color: #C09070;
+ color: #000000;
+ border: 1px solid transparent;
+ padding: 10px;
+ margin-left: 0;
+ margin-right: 0;
+}
-#addonbar-closebutton {
- border: none;
- padding: 3px 5px;
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
+.customization-lwtheme-menu-footeritem:hover {
+ background-color: #FFCF00;
}
-#addonbar-closebutton:hover,
-#addonbar-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.customization-lwtheme-menu-footeritem:first-child {
}
-/* Status panel */
+/* === END customizeMode.inc.css === */
-.statuspanel-label {
+/* === BEGIN customizeTip.inc.css === */
+
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
margin: 0;
- padding: 2px 4px;
- background: #404000;
- border: 1px none #9C9CFF;
- border-top-style: solid;
+ min-width: 400px;
+ max-width: 1000px;
+ min-height: 200px;
+ border-radius: 3px;
+/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
+ border: 1px solid #9C9CFF;
color: #FF9F00;
- text-shadow: none;
}
-.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
-.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
- border-right-style: solid;
- border-top-right-radius: .3em;
- margin-right: 1em;
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
+/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
}
-.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
-.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
- border-left-style: solid;
- border-top-left-radius: .3em;
- margin-left: 1em;
+.customization-tipPanel-infoBox {
+ margin: 20px 25px 25px;
+ width: 25px;
+ background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
+ background-repeat: no-repeat;
}
-/* HACK to abolish devily color on main content */
+.customization-tipPanel-content {
+ margin: 25px 0;
+ font-size: 12px;
+ line-height: 18px;
+}
-#content {
- background-color: transparent !important;
+.customization-tipPanel-em {
+ margin: 0;
+ font-weight: bold;
}
-/* Highlighter */
+.customization-tipPanel-contentImage {
+ margin-top: 25px;
+ list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
+ min-width: 300px;
+ max-width: 300px;
+ min-height: 190px;
+ max-height: 190px;
+ display: -moz-box;
+}
-.highlighter-veil {
- background-color: rgba(25, 25, 25, 0.5);
+.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
+ list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
}
-#highlighter-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
+.customization-tipPanel-link {
+ -moz-appearance: none;
+ background: transparent;
+ border: none;
+ box-shadow: none;
+ color: #3333FF;
+ margin: 0;
+ cursor: pointer;
}
-#highlighter-closebutton:hover,
-#highlighter-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.customization-tipPanel-link > .button-box > .button-text {
+ margin: 0 !important;
}
-highlighter-veil-transparentbox {
- box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
- outline: 1px dashed rgba(255,255,255,0.5);
- outline-offset: -1px;
+.customization-tipPanel-closeBox > .close-icon {
+ -moz-appearance: none;
+ border: 0;
+ margin-inline-end: -25px;
}
-#highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
- box-shadow: 0 0 0 1px black;
- outline-color: white;
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
+ list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
}
-/* Highlighter toolbar */
+/* === END customizeTip.inc.css === */
-#inspector-inspect-toolbutton {
- list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
- -moz-image-region: rect(0 16px 16px 0);
+/**
+ * This next rule is a hack to disable subpixel anti-aliasing on all
+ * labels during the customize mode transition. Subpixel anti-aliasing
+ * on Windows with Direct2D layers acceleration is particularly slow to
+ * paint, so this hack is how we sidestep that performance bottleneck.
+ */
+#main-window:-moz-any([customize-entering],[customize-exiting]) label {
+ transform: perspective(0.01px);
}
-#inspector-inspect-toolbutton[checked=true],
-#inspector-inspect-toolbutton:hover {
- -moz-image-region: rect(0 32px 16px 16px);
+#main-window[customize-entered] > #tab-view-deck {
+ background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
+ background-attachment: fixed;
}
-#inspector-option-toolbarbutton {
- list-style-image: url("chrome://browser/skin/devtools/inspector-option-icon.png");
- -moz-image-region: rect(0 16px 16px 0);
+#main-window[customization-lwtheme]:-moz-lwtheme {
+ background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
+ background-repeat: repeat;
+ background-attachment: fixed;
+ background-position: left top;
}
-#inspector-option-toolbarbutton[open],
-#inspector-option-toolbarbutton:hover {
- -moz-image-region: rect(0 32px 16px 16px);
+#main-window[customize-entered] #browser-bottombox,
+#main-window[customize-entered] #customization-container {
+ border-left: 1px solid #9C9CFF;
+ border-right: 1px solid #9C9CFF;
+ background-clip: padding-box;
}
-#inspector-toolbar {
- border-top: 3px solid #000000;
- border-bottom: none;
+#main-window[customize-entered] #browser-bottombox {
+ border-bottom: 1px solid #9C9CFF;
}
-#inspector-tools {
- -moz-padding-end: 2px;
- border-left: 3px solid #000000;
- border-right: 3px solid #000000;
- -moz-margin-start: 2px;
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
+ margin-right: -2px;
}
-#devtools-sidebar-box {
- background-color: #000000;
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
+ margin-left: -2px;
}
-html|*#highlighter-nodeinfobar-pseudo-classes {
- color: #FF9F00;
-}
+/* End customization mode */
-/* Highlighter - Node Infobar */
+/* Private browsing indicators */
-#highlighter-nodeinfobar {
- color: #FF9F00;
- border: 1px solid rgba(156, 156, 255, .5);
- border-radius: 3px;
- background-color: #000000;
- background-clip: padding-box;
+/**
+ * Currently, we have two places where we put private browsing indicators on
+ * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
+ * When tabsintitlebar is disabled, we draw the indicator at the end of the
+ * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
+ * want the bottom border of the image to line up with the bottom of the window
+ * caption buttons. That's why there's so much special-casing going on in here.
+ */
+.private-browsing-indicator {
+ display: none;
+ pointer-events: none;
}
-/* Highlighter - Node Infobar - text */
-
-#highlighter-nodeinfobar-text {
- /* 100% - size of the buttons and margins */
- max-width: -moz-calc(100% - 2 * (26px + 6px));
- padding-bottom: 1px;
+#private-browsing-indicator-titlebar {
+ display: block;
+ position: absolute;
}
-html|*#highlighter-nodeinfobar-tagname {
- color: #FFCF00;
+#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
+ display: block;
}
-html|*#highlighter-nodeinfobar-id {
- color: #9C9CFF;
+#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
+ display: -moz-box;
}
-html|*#highlighter-nodeinfobar-pseudo-classes {
- color: #FF9F00;
+#TabsToolbar > .private-browsing-indicator {
+ background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
+ margin-inline-start: 4px;
+ width: 48px;
}
-/* Highlighter - Node Infobar - buttons */
-
-.highlighter-nodeinfobar-button {
- padding: 0;
- width: 26px;
- min-height: 26px;
+/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
+ * mode, since the tabstrip "mimics" the titlebar in that case with its own
+ * min/max/close window buttons.
+ */
+#private-browsing-indicator-titlebar > .private-browsing-indicator,
+#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
+ background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
+ margin-inline-end: 4px;
+ width: 40px;
+ height: 20px;
+ position: relative;
}
-#highlighter-nodeinfobar-inspectbutton {
- list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
- -moz-image-region: rect(0px 16px 16px 0px);
- -moz-margin-start: 0px;
- -moz-margin-end: 2px;
+/* This one is for Linux */
+#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
+ background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
+ width: 48px;
}
-#highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
-}
+/* End private browsing indicators */
-#highlighter-nodeinfobar-inspectbutton:hover,
-#highlighter-nodeinfobar-inspectbutton:hover:active/*,
-#highlighter-nodeinfobar-container:not([locked]) > #highlighter-nodeinfobar > #highlighter-nodeinfobar-inspectbutton*/ {
- -moz-image-region: rect(0px 32px 16px 16px);
-}
+/* === BEGIN UITour.inc.css === */
-#highlighter-nodeinfobar-menu {
-}
+/* UI Tour */
-#highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
+#UITourHighlightContainer {
+ -moz-appearance: none;
+ border: none;
+ background-color: transparent;
+ /* This is a buffer to compensate for the movement in the "wobble" effect,
+ and for the box-shadow of #UITourHighlight. */
+ padding: 4px;
}
-#highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
- -moz-box-align: center;
- -moz-margin-start: -1px;
+#UITourHighlight {
+ background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
+ border-radius: 40px;
+ border: 1px solid #9C9CFF;
+ /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
+ on Linux without an X compositor where opacity is either 0 or 1. */
+ box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
+ min-height: 32px;
+ min-width: 32px;
}
-/* Highlighter - Node Infobar - box & arrow */
-
-.highlighter-nodeinfobar-arrow {
- width: 14px;
- height: 14px;
- -moz-margin-start: -moz-calc(50% - 7px);
- -moz-transform: rotate(-45deg);
- border: 1px solid transparent;
- background-clip: padding-box;
- background-repeat: no-repeat;
+#UITourTooltipBody {
+ -moz-box-align: start;
}
-#highlighter-nodeinfobar-arrow-top {
- margin-bottom: -8px;
- margin-top: 8px;
- border-right-color: rgba(0, 132, 132, .5);
- border-top-color: rgba(0, 132, 132, .5);
- background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
+#UITourTooltipTitleContainer {
+ -moz-box-align: start;
+ margin-bottom: 10px;
}
-#highlighter-nodeinfobar-arrow-bottom {
- margin-top: -8px;
- margin-bottom: 8px;
- border-left-color: rgba(0, 132, 132, .5);
- border-bottom-color: rgba(0, 132, 132, .5);
- background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
+#UITourTooltipIcon {
+ width: 48px;
+ height: 48px;
+ margin-inline-end: 10px;
}
-#highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
-#highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
- box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
+#UITourTooltipTitle,
+#UITourTooltipDescription {
+ max-width: 20rem;
}
-#highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
- margin: 7px 0;
+#UITourTooltipTitle {
+ font-size: 1.45rem;
+ font-weight: bold;
+ margin: 0;
}
-#full-screen-warning-message {
- background-color: #000000;
- color: #FF9F00;
- font-size: 32px;
- border-radius: 8px;
- margin-top: 30px;
- padding: 30px 50px;
- box-shadow: 0 0 2px #9C9CFF;
+#UITourTooltipDescription {
+ margin-inline-start: 0;
+ margin-inline-end: 0;
+ font-size: 1.15rem;
+ line-height: 1.8rem;
+ margin-bottom: 0; /* Override global.css */
}
-#full-screen-warning-container[obscure-browser] {
- background-color: rgba(0,0,0,0.75);
+#UITourTooltipClose {
+ position: relative;
+ -moz-appearance: none;
+ border: none;
+ background-color: transparent;
+ min-width: 0;
+ margin-inline-start: 4px;
+ margin-top: -2px;
}
-#full-screen-warning-container[stop-obscuring-browser] {
- -moz-transition-property: background-color;
- -moz-transition-duration: 500ms;
- background-color: rgba(0,0,0,0);
+#UITourTooltipClose > .toolbarbutton-text {
+ display: none;
}
-/* Highlighter toolbar - breadcrumbs */
+#UITourTooltipButtons {
+ -moz-box-pack: end;
+ background-color: rgba(0,0,0,.2);
+ border-top: 1px solid rgba(0,0,0,.4);
+ margin: 10px -16px -16px;
+ padding: 16px;
+}
-#inspector-breadcrumbs {
- -moz-margin-start: 2px;
+#UITourTooltipButtons > label,
+#UITourTooltipButtons > button {
+ margin: 0 15px;
}
-#inspector-breadcrumbs > .scrollbutton-up,
-#inspector-breadcrumbs > .scrollbutton-down {
- min-height: 25px;
- margin-top: 0;
- margin-bottom: 0;
+#UITourTooltipButtons > label:first-child,
+#UITourTooltipButtons > button:first-child {
+ margin-inline-start: 0;
}
-#inspector-breadcrumbs > .scrollbutton-up {
- -moz-margin-end: 1px;
+#UITourTooltipButtons > label:last-child,
+#UITourTooltipButtons > button:last-child {
+ margin-inline-end: 0;
}
-#inspector-breadcrumbs > .scrollbutton-down {
- -moz-margin-end: 0;
+#UITourTooltipButtons > button[image] > .button-box > .button-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-end: 5px;
}
-#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover,
-#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover {
+#UITourTooltipButtons > label,
+#UITourTooltipButtons > button .button-text {
+ font-size: 1.15rem;
}
-#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon,
-#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon {
- /* margin: 0 5px; */
+#UITourTooltipButtons > button:not(.button-link) {
+ -moz-appearance: none;
+ background-color: #C09070;
+ border-radius: 3000px;
+ border: none;
+ color: #000000;
+ padding: 4px 30px;
+ transition-property: background-color, color;
+ transition-duration: 150ms;
}
-#inspector-breadcrumbs > .scrollbutton-up[disabled] > .toolbarbutton-icon,
-#inspector-breadcrumbs > .scrollbutton-down[disabled] > .toolbarbutton-icon {
+#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
+ background-color: #FFCF00;
+ color: #000000;
}
-#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
-#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
+#UITourTooltipButtons > label,
+#UITourTooltipButtons > button.button-link {
+ -moz-appearance: none;
+ background: transparent;
+ border: none;
+ box-shadow: none;
+ color: rgba(0,0,0,0.35);
+ padding-left: 10px;
+ padding-right: 10px;
}
-#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(ltr) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
+#UITourTooltipButtons > button.button-link:hover {
+ color: black;
}
-#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
+/* The primary button gets the same color as the customize button. */
+#UITourTooltipButtons > button.button-primary {
+ background-color: #A06060; /* LCARS default button background color */
+ color: #000000;
+ padding-left: 30px;
+ padding-right: 30px;
}
-#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(rtl) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
+#UITourTooltipButtons > button.button-primary:not(:active):hover {
+ background-color: #FFCF00;
+ color: #000000;
}
-#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
+/* Notification overrides for Heartbeat UI */
+
+notification.heartbeat {
+ background-color: #A09090;
+/* height: 40px;*/
+}
+
+@keyframes pulse-onshow {
+ 0% {
+ opacity: 0;
+ transform: scale(1.0);
+ }
+ 25% {
+ opacity: 1;
+ transform: scale(1.1);
+ }
+ 50% {
+ transform: scale(1.0);
+ }
+ 75% {
+ transform: scale(1.1);
+ }
+ 100% {
+ transform: scale(1.0);
+ }
+}
+
+@keyframes pulse-twice {
+ 0% {
+ transform: scale(1.1);
+ }
+ 50% {
+ transform: scale(0.8);
+ }
+ 100% {
+ transform: scale(1);
+ }
+}
+
+.messageText.heartbeat {
+ color: #000000;
+/* text-shadow: none; */
+ margin-inline-start: 0px;
}
-#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
-#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
-/* -moz-transform: scaleX(-1); */
+.messageImage.heartbeat {
+ width: 24px;
+ height: 24px;
+ margin-inline-start: 8px;
+ margin-inline-end: 8px;
}
-.inspector-breadcrumbs-button {
- /*background-color: transparent;*/
- border-width: 2px 13px !important;
- outline: none;
- /* color: hsl(210,30%,85%); */
- width: 85px; /* Can't use max-width. See bug 723132 */
- /* The content of the button can be larger than the button */
- overflow: hidden;
- min-height: 25px;
- margin: 0 -11px 0 0;
- padding: 0 9px;
+.messageImage.heartbeat.pulse-onshow {
+ animation-name: pulse-onshow;
+ animation-duration: 1.5s;
+ animation-iteration-count: 1;
+ animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
}
-.inspector-breadcrumbs-button:-moz-focusring > label {
- border-bottom: 1px dotted #008484;
+.messageImage.heartbeat.pulse-twice {
+ animation-name: pulse-twice;
+ animation-duration: 1s;
+ animation-iteration-count: 2;
+ animation-timing-function: linear;
}
-.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
- /*color: hsl(208,100%,60%); */
+/* Learn More link styles */
+.heartbeat > .text-link {
+ color: #3333FF;
+ margin-inline-start: 0px;
}
-.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
- /*color: hsl(205,100%,70%); */
+.heartbeat > .text-link:hover {
+ color: #9C9CFF;
+ text-decoration: none;
}
-.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-pseudo-classes {
+.heartbeat > .text-link:hover:active {
color: #FF9F00;
}
-.inspector-breadcrumbs-id,
-.inspector-breadcrumbs-classes {
- /*color: #8d99a6; */
+/* Heartbeat UI Rating Star Classes */
+.heartbeat > #star-rating-container {
+ display: -moz-box;
+/* margin-bottom: 4px;*/
}
-/* fit height of other buttons to breadcrumbs */
-#inspector-toolbar .devtools-toolbarbutton,
-#highlighter-closebutton,
-#inspector-option-toolbarbutton {
- min-height: 25px;
+.heartbeat > #star-rating-container > #star5 {
+ -moz-box-ordinal-group: 5;
}
-.inspector-breadcrumbs-pseudo-classes {
- color: #FFCF00;
+.heartbeat > #star-rating-container > #star4 {
+ -moz-box-ordinal-group: 4;
}
-/* Highlighter toolbar - breadcrumbs - LTR */
-
-.inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
+.heartbeat > #star-rating-container > #star3 {
+ -moz-box-ordinal-group: 3;
}
-.inspector-breadcrumbs-button {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 stretch;
+.heartbeat > #star-rating-container > #star2 {
+ -moz-box-ordinal-group: 2;
}
-.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
-.inspector-breadcrumbs-button:not([checked]):hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 stretch;
+.heartbeat > #star-rating-container > .star-x {
+ background: url("chrome://browser/skin/heartbeat-star-off.svg");
+ cursor: pointer;
+ /* Overrides the margin-inline-end for all platforms defined in the .plain class */
+ margin-inline-end: 4px !important;
+ width: 16px;
+ height: 16px;
}
-.inspector-breadcrumbs-button[checked] {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 stretch;
+.heartbeat > #star-rating-container > .star-x:hover,
+.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
+ background: url("chrome://browser/skin/heartbeat-star-lit.svg");
}
-.inspector-breadcrumbs-button[checked][siblings-menu-open],
-.inspector-breadcrumbs-button[checked]:hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 stretch;
-}
+/* === END UITour.inc.css === */
-.inspector-breadcrumbs-button:first-of-type {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 stretch;
+#UITourTooltipButtons {
+ /**
+ * Override the --arrowpanel-padding so the background extends
+ * to the sides and bottom of the panel.
+ */
+ margin-left: -10px;
+ margin-right: -10px;
+ margin-bottom: -10px;
}
-.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
-.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 stretch;
-}
+/* === BEGIN contextmenu.inc.css === */
-.inspector-breadcrumbs-button:first-of-type[checked] {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 stretch;
+menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
}
-.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
-.inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 stretch;
+#context-navigation > .menuitem-iconic {
+ -moz-box-flex: 1;
+ -moz-box-pack: center;
+ -moz-box-align: center;
}
-.inspector-breadcrumbs-button:last-of-type {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 stretch;
+#context-navigation > .menuitem-iconic[disabled="true"] {
+ background-color: transparent;
}
-#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:-moz-locale-dir(ltr):last-of-type {
+#context-navigation > .menuitem-iconic > .menu-iconic-left {
+ -moz-appearance: none;
}
-.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
-.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 stretch;
+#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
+ width: 16px;
+ height: 16px;
+ margin: 7px;
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: currentColor;
}
-.inspector-breadcrumbs-button:last-of-type[checked] {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 stretch;
+#context-back {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back");
}
-.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
-.inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 stretch;
+#context-forward {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward");
}
-/* Highlighter toolbar - breadcrumbs - RTL */
+#context-reload {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload");
+}
-.inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
+#context-stop {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop");
}
-.inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 stretch;
+#context-bookmarkpage {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark");
}
-.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 stretch;
+#context-bookmarkpage[starred=true] {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked");
}
-.inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 stretch;
+#context-back:-moz-locale-dir(rtl),
+#context-forward:-moz-locale-dir(rtl),
+#context-reload:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
}
-.inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 stretch;
+#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
+#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
+ width: 14px;
+ height: 14px;
+ margin: 9px;
}
-.inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 stretch;
+#context-media-eme-learnmore {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
}
-.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 stretch;
+#context-media-eme-learnmore {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
}
-.inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 stretch;
+/* === END contextmenu.inc.css === */
+
+#context-navigation {
}
-.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 stretch;
+#context-sep-navigation {
+/* margin-top: -4px; */
}
-.inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 stretch;
+.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
+ overflow: hidden;
}
-#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
+.webextension-popup-browser {
+ border-radius: inherit;
}
-.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 stretch;
+.contentSelectDropdown-ingroup > .menu-iconic-text {
+ padding-inline-start: 20px;
}
-.inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 stretch;
+#ContentSelectDropdown > menupopup {
+ background-color: #000000;
+ -moz-border-top-colors: #A09090;
+ -moz-border-right-colors: #A09090;
+ -moz-border-bottom-colors: #A09090;
+ -moz-border-left-colors: #A09090;
}
-.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
-.inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
- -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 stretch;
+#ContentSelectDropdown > menupopup > menucaption,
+#ContentSelectDropdown > menupopup > menuitem {
+ padding: 0 6px;
+ border-width: 0;
+/* font: -moz-list;*/
}
-/* Highlighter toolbar - HTML Tree */
+#ContentSelectDropdown > menupopup > menucaption > .menu-iconic-text,
+#ContentSelectDropdown > menupopup > menuitem > .menu-iconic-text {
+ /* Padding should follow the 4/12 ratio, where 12px is the default font-size
+ with 4px being the preferred padding size. */
+ padding-top: .3333em;
+ padding-bottom: .3333em;
+}
-#inspector-treepanel-toolbutton {
- list-style-image: url("chrome://browser/skin/devtools/treepanel-button.png");
- -moz-image-region: rect(0 18px 16px 0);
+#ContentSelectDropdown > menupopup > menucaption > .menu-iconic-text {
+ font-weight: bold;
}
-#inspector-treepanel-toolbutton[checked],
-#inspector-treepanel-toolbutton:hover {
- -moz-image-region: rect(0 36px 16px 18px);
+#ContentSelectDropdown > menupopup > menuitem[_moz-menuactive="true"][disabled="true"] {
+ color: #A09090;
+ background-color: unset;
}
-#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl),
-#inspector-treepanel-toolbutton:-moz-locale-dir(ltr) {
-/* border-radius: 3px 0 0 3px;*/
+#ContentSelectDropdown > menupopup > menucaption {
+ background-color: buttonface;
}
-#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr),
-#inspector-treepanel-toolbutton:-moz-locale-dir(rtl) {
-/* border-radius: 0 3px 3px 0;*/
+#ContentSelectDropdown > menupopup > menucaption[disabled="true"] {
+ color: #A09090;
}
-#inspector-tree-splitter {
- border: none;
- min-height: 3px;
- height: 3px;
- position: relative;
+#ContentSelectDropdown > .isOpenedViaTouch > menucaption > .menu-iconic-text,
+#ContentSelectDropdown > .isOpenedViaTouch > menuitem > .menu-iconic-text {
+ /* Touch padding should follow the 11/12 ratio, where 12px is the default
+ font-size with 11px being the preferred padding size. */
+ padding-top: .9167em;
+ padding-bottom: .9167em;
}