X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=007e383152a429a8d4b204c36654a0da7a48b6a4;hp=2d5f38cd0a89dd0fb699114b4063f7274c96c84b;hb=d8502c35cba9a5fb5819046b73193d4954e04cad;hpb=d533ec21de421974d60dc2614105c2e439f34b49 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 2d5f38cd..007e3831 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -36,8 +36,142 @@ menubar { -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); } +/* === BEGIN browser.inc.css === */ + +/* Go button */ +.urlbar-go-button { + padding: 0 3px; + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); +} + +.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) { + transform: scaleX(-1); +} + +@media (min-resolution: 1.1dppx) { + .urlbar-go-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + -moz-image-region: rect(0, 84px, 28px, 56px); + width: 14px; + } + + .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); + } +} + +/* 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;*/ +} + +#urlbar-zoom-button[animate="true"] { + animation-name: urlbar-zoom-reset-pulse; + animation-duration: 250ms; +} + +#urlbar-zoom-button:hover { +/* background-color: hsla(0,0%,0%,.1);*/ +} + +#urlbar-zoom-button:hover:active { +/* background-color: hsla(0,0%,0%,.15);*/ +} + +#urlbar-zoom-button > .toolbarbutton-text { + display: -moz-box; +} + +#urlbar-zoom-button > .toolbarbutton-icon { + display: none; +} + +/* Page action button */ +#urlbar-page-action-button { + list-style-image: url("chrome://browser/skin/page-action.svg"); + -moz-context-properties: fill; +/* margin: 0; + padding: 0 6px;*/ + fill: currentColor; +} + +#urlbar-page-action-button > .toolbarbutton-icon { + width: 16px; +} + +#page-action-copy-url-button { + list-style-image: url("chrome://browser/skin/copy-url.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +#page-action-email-link-button { + list-style-image: url("chrome://browser/skin/email-link.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +#page-action-send-to-device-button { + list-style-image: url("chrome://browser/skin/device-mobile.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +.page-action-sendToDevice-device[clientType=mobile] { + list-style-image: url("chrome://browser/skin/device-mobile.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +.page-action-sendToDevice-device[clientType=desktop] { + list-style-image: url("chrome://browser/skin/device-desktop.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +#page-action-sendToDevice-fxa-button { + list-style-image: url("chrome://browser/skin/sync.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +/* === END browser.inc.css === */ + :root { - --verified-identity-box-backgroundcolor: #000000; + /*--backbutton-urlbar-overlap: 5px;*/ + + /* 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;*/ + + --identity-box-verified-background-color: #000000; + + --panel-separator-color: #A09090; + --arrowpanel-hover: #FFCF00; + --arrowpanel-active: #FF9F00; + --arrowpanel-dimmed: #402000; + --arrowpanel-dimmed-further: #794900; + --arrowpanel-dimmed-even-further: #603000; + + --urlbar-separator-color: #9C9CFF; } #menubar-items { @@ -68,21 +202,14 @@ menubar { /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ -#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar, -#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar { +#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar:not([inFullscreen]), +#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar:not([inFullscreen]) { /* margin-top: 3px;*/ } #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { -/* margin-top: 15px;*/ -} - -@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { - /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ - #toolbar-menubar:not([autohide="true"]) { - -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); - } +/* margin-top: var(--space-above-tabbar);*/ } @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { @@ -97,24 +224,15 @@ menubar { display: none; } -#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before, -#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before, -#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before, -#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before { - outline-color: #A09090; -} - -#navigator-toolbox { +#navigator-toolbox, +#navigator-toolbox > toolbar { } #navigator-toolbox::after { content: ""; display: -moz-box; -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ - height: 1px; -} - -#navigator-toolbox > toolbar { + /*border-bottom: 1px solid ThreeDShadow;*/ } #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { @@ -179,6 +297,14 @@ menubar { /* min-height: 24px; */ } +#PersonalToolbar > #home-button { + -moz-box-orient: horizontal; +} + +#PersonalToolbar > #home-button > .toolbarbutton-text { + display: block; +} + #print-preview-toolbar:not(:-moz-lwtheme) { /* -moz-appearance: toolbox; */ } @@ -227,7 +353,7 @@ menubar { -moz-appearance: none; margin-top: 6px; margin-top: 4px; - -moz-margin-end: 3px; + margin-inline-end: 3px; z-index: 1; } @@ -240,37 +366,36 @@ menubar { } /* 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) { @@ -300,34 +425,6 @@ menubar { /* ::::: bookmark buttons ::::: */ -toolbarbutton.bookmark-item:not(.subviewbutton), -#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { -/* margin: 0; - padding: 2px 3px;*/ -} - -toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active, -toolbarbutton.bookmark-item[open="true"] { -/* padding-top: 3px; - padding-bottom: 1px; - -moz-padding-start: 4px; - -moz-padding-end: 2px;*/ -} - -.bookmark-item > .toolbarbutton-icon, -#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { - width: 16px; - height: 16px; - -moz-margin-start: 1px; - -moz-margin-end: 2px; -} - -/* Force the display of the label for bookmarks */ -.bookmark-item > .toolbarbutton-text, -#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { - display: -moz-box !important; -} - .bookmark-item > .toolbarbutton-menu-dropmarker { display: none; } @@ -342,6 +439,8 @@ toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-p list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; } +/* === BEGIN bookmarked-notification.inc.css === */ + /* ----- BOOKMARK STAR ANIMATION ----- */ @keyframes animation-bookmarkAdded { @@ -394,6 +493,7 @@ toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-p #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { list-style-image: none !important; +/* fill: transparent;*/ } #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { @@ -403,6 +503,8 @@ toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-p animation-timing-function: ease-out; } +/* === END bookmarked-notification.inc.css === */ + /* ::::: bookmark menus ::::: */ menu.bookmark-item, @@ -417,13 +519,13 @@ menuitem.bookmark-item { } .bookmark-item > .menu-iconic-left > .menu-iconic-icon { - -moz-padding-start: 0px; + padding-inline-start: 0px; } /* ::::: bookmark items ::::: */ .bookmark-item { - list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg"); -moz-image-region: auto; } @@ -486,4172 +588,3795 @@ menuitem.bookmark-item { opacity: 0.7; } -/* ::::: primary toolbar buttons ::::: */ - /* === BEGIN toolbarbuttons.inc.css === */ -/* Whole section of this included file: */ -:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, - #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, - #social-share-button, #open-file-button, #find-button, #developer-button, - #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, - #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, - #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, - #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button), +/* ::::: primary toolbar buttons ::::: */ -#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, +.toolbarbutton-1 > .toolbarbutton-menubutton-button, +.toolbarbutton-1[disabled="true"]:hover:active, +.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { + padding: 1px 2px; } -#back-button[disabled="true"] { - -moz-image-region: rect(36px, 36px, 54px, 18px); +.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; } -#forward-button { - -moz-image-region: rect(0, 72px, 18px, 54px); +#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 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon { } -#forward-button:hover:not([disabled="true"]) { - -moz-image-region: rect(18px, 72px, 36px, 54px); +.toolbarbutton-1 > .toolbarbutton-menu-dropmarker, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { } -#forward-button[disabled="true"] { - -moz-image-region: rect(36px, 72px, 54px, 54px); +toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { } -#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, -#forward-button:-moz-locale-dir(rtl) { - transform: scaleX(-1); +.toolbarbutton-1 > .toolbarbutton-icon, +.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { } -#home-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 126px, 18px, 108px); +.findbar-button, +#nav-bar .toolbarbutton-1, +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { } -#home-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 126px, 36px, 108px); +#nav-bar .toolbarbutton-1:not([type=menu-button]), +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { } -#bookmarks-menu-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 144px, 18px, 126px); +#nav-bar #PanelUI-menu-button { +/* padding-inline-start: 7px; + padding-inline-end: 5px;*/ } -#bookmarks-menu-button[cui-areatype="toolbar"]:hover, -#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 144px, 36px, 126px); +#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;*/ } -/* 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; +#nav-bar .toolbarbutton-1 > menupopup { +/* margin-top: -3px;*/ } -#bookmarks-menu-button[cui-areatype="toolbar"][starred] { - -moz-image-region: rect(0, 162px, 18px, 144px); +#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { + margin-top: -4px; } -#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); +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { +/* padding-inline-end: 0;*/ } -#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { - -moz-image-region: rect(0, 630px, 18px, 612px); +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { +/* padding-inline-start: 0; + -moz-box-align: center;*/ } -#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { - padding: 1px; - -moz-box-align: center; +.findbar-button > .toolbarbutton-text, +toolbarbutton.bookmark-item:not(.subviewbutton), +#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;*/ +} +/* +#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; } +*/ -#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); +/* 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; } -#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, -#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { - padding-top: 2px; - padding-bottom: 0px; - -moz-padding-start: 2px; - -moz-padding-end: 0px; +#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; } -#history-panelmenu[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 180px, 18px, 162px); +#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;*/ } -#history-panelmenu[cui-areatype="toolbar"]:hover, -#history-panelmenu[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 180px, 36px, 162px); +#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;*/ } -#downloads-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 198px, 18px, 180px); +#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { } -#downloads-button[cui-areatype="toolbar"]:hover, -#downloads-button[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 198px, 36px, 180px); +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { } -#add-ons-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 216px, 18px, 198px); +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { } -#add-ons-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 216px, 36px, 198px); +#nav-bar .toolbaritem-combined-buttons { +/* margin-left: 2px; + margin-right: 2px;*/ } -#open-file-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 234px, 18px, 216px); +#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { +/* padding-left: 0; + padding-right: 0;*/ } -#open-file-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 234px, 36px, 216px); +#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; +*/ } -#save-page-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 252px, 18px, 234px); -} - -#save-page-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 252px, 36px, 234px); -} - -#sync-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 270px, 18px, 252px); -} - -#sync-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 270px, 36px, 252px); -} - -#sync-button[cui-areatype="toolbar"][status="active"], -#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { - list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); - -moz-image-region: rect(0, 18px, 18px, 0px); -} - -/* -#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext, -#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) { - list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); -} -*/ - -#feed-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 288px, 18px, 270px); -} - -#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { - -moz-image-region: rect(18px, 288px, 36px, 270px); -} - -#feed-button[cui-areatype="toolbar"][disabled="true"] { - -moz-image-region: rect(36px, 288px, 54px, 270px); -} - -#social-share-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0px, 306px, 18px, 288px); -} - -#social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), -#social-share-button[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 306px, 36px, 288px); -} - -#social-share-button[cui-areatype="toolbar"][disabled="true"] { - -moz-image-region: rect(36px, 306px, 54px, 288px); -} - -#characterencoding-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 324px, 18px, 306px); -} - -#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), -#characterencoding-button[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 324px, 36px, 306px); -} - -#characterencoding-button[cui-areatype="toolbar"][disabled="true"] { - -moz-image-region: rect(36px, 324px, 54px, 306px); -} - -#new-window-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 342px, 18px, 324px); -} - -#new-window-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 342px, 36px, 324px); -} - -#e10s-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 342px, 18px, 324px); -} - -#e10s-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 342px, 36px, 324px); -} - -#e10s-button > .toolbarbutton-icon { - transform: scaleY(-1); -} - -#new-tab-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 360px, 18px, 342px); -} - -#new-tab-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 360px, 36px, 342px); -} - -#privatebrowsing-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 378px, 18px, 360px); -} - -#privatebrowsing-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 378px, 36px, 360px); -} - -#find-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 396px, 18px, 378px); -} - -#find-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 396px, 36px, 378px); -} - -#print-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 414px, 18px, 396px); -} - -#print-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 414px, 36px, 396px); -} - -#fullscreen-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 432px, 18px, 414px); -} - -#fullscreen-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 432px, 36px, 414px); -} - -#developer-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 450px, 18px, 432px); -} - -#developer-button[cui-areatype="toolbar"]:hover, -#developer-button[cui-areatype="toolbar"][open="true"] { - -moz-image-region: rect(18px, 450px, 36px, 432px); -} - -#preferences-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 468px, 18px, 450px); -} - -#preferences-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 468px, 36px, 450px); -} - -#PanelUI-menu-button { - -moz-image-region: rect(0, 486px, 18px, 468px); -} - -#PanelUI-menu-button:hover, -#PanelUI-menu-button[open="true"] { - -moz-image-region: rect(18px, 486px, 36px, 468px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { - -moz-image-region: rect(0, 504px, 18px, 486px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) { - -moz-image-region: rect(18px, 504px, 36px, 486px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { - -moz-image-region: rect(36px, 504px, 54px, 486px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { - -moz-image-region: rect(0, 522px, 18px, 504px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) { - -moz-image-region: rect(18px, 522px, 36px, 504px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { - -moz-image-region: rect(36px, 522px, 54px, 504px); -} - -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { - -moz-image-region: rect(0, 540px, 18px, 522px); +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { } -#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); +.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text, +toolbarbutton.bookmark-item:not(.subviewbutton):hover:not([disabled="true"]):not([open]), +#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 { } -#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { - -moz-image-region: rect(36px, 540px, 54px, 522px); +.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text, +toolbarbutton.bookmark-item:not(.subviewbutton):hover:active:not([disabled="true"]), +toolbarbutton.bookmark-item[open="true"], +#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 { } -#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { - -moz-image-region: rect(0, 558px, 18px, 540px); +#TabsToolbar .toolbarbutton-1, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { } -#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); +#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 { } -#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { - -moz-image-region: rect(36px, 558px, 54px, 540px); -} +/* unified back/forward button */ -#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { - -moz-image-region: rect(0, 576px, 18px, 558px); +#forward-button { + -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ } -#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); +#forward-button > menupopup { + margin-top: 1px !important; } -#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { - -moz-image-region: rect(36px, 576px, 54px, 558px); +#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;*/ } -#nav-bar-overflow-button { - -moz-image-region: rect(0, 612px, 18px, 594px); +#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; */ } -#nav-bar-overflow-button:hover, -#nav-bar-overflow-button[open="true"] { - -moz-image-region: rect(18px, 612px, 36px, 594px); +#forward-button:-moz-locale-dir(rtl) { + border-radius: 10000px 0 0 10000px; } -#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { - transform: scaleX(-1); +window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { + transition: margin-left 150ms ease-out; } -#tabview-button { - -moz-image-region: rect(0, 648px, 18px, 630px); +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { + margin-left: calc(0px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/); } -#tabview-button:hover { - -moz-image-region: rect(18px, 648px, 36px, 630px); +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; } -#email-link-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 666px, 18px, 648px); +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)*/); } -#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { - -moz-image-region: rect(18px, 666px, 36px, 648px); +#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; } -#email-button[cui-areatype="toolbar"][disabled="true"] { - -moz-image-region: rect(36px, 666px, 54px, 648px); +#back-button:-moz-locale-dir(rtl) { } -#sidebar-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 684px, 18px, 666px); +#back-button > menupopup { + margin-top: -1px !important; } -#sidebar-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 684px, 36px, 666px); +#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; } -#panic-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 702px, 18px, 684px); +#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { +/* background-color: hsla(210,4%,10%,.08) !important;*/ } -#panic-button[cui-areatype="toolbar"]:hover, -#panic-button[cui-areatype="toolbar"][open] { - -moz-image-region: rect(18px, 702px, 36px, 684px); +#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;*/ } -#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { transform: scaleX(-1); } -#web-apps-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 720px, 18px, 702px); -} - -#web-apps-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 720px, 36px, 702px); -} - -#loop-button-throttled > .toolbarbutton-badge-container, -#loop-button > .toolbarbutton-badge-container { - list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); - -moz-image-region: rect(0, 18px, 18px, 0); -} - -#loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, -#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 90px, 18px, 72px); -} - -#loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container, -#loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container, -#loop-button[state="disabled"] > .toolbarbutton-badge-container, -#loop-button[disabled="true"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 36px, 18px, 18px); -} - -#loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, -#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 126px, 18px, 108px); -} - -#loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, -#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 54px, 18px, 36px); -} - -#loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, -#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 72px, 18px, 54px); -} - -#loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, -#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 108px, 18px, 90px); -} - -#webide-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 738px, 18px, 720px); -} - -#webide-button[cui-areatype="toolbar"]:hover { - -moz-image-region: rect(18px, 738px, 36px, 720px); -} - -/* === END toolbarbuttons.inc.css === */ - -/* === BEGIN menupanel.inc.css === */ - -/* Menu panel and palette styles */ - -:root { - /* avoid aero overrides with changed filenames */ - --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png); - --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png); -} - -toolbaritem[sdkstylewidget="true"] > toolbarbutton, -:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, - #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, - #social-share-button, #open-file-button, #find-button, #developer-button, - #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, - #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, - #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, - #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, - #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, - #social-share-button, #open-file-button, #find-button, #developer-button, - #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, - #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, - #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, - #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) { - list-style-image: var(--menupanel-list-style-image); -} - -#home-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #home-button { - -moz-image-region: rect(0px, 128px, 32px, 96px); -} - -#home-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #home-button:hover { - -moz-image-region: rect(32px, 128px, 64px, 96px); -} - -#bookmarks-menu-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { - -moz-image-region: rect(0px, 192px, 32px, 160px); -} - -#bookmarks-menu-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { - -moz-image-region: rect(32px, 192px, 64px, 160px); -} - -#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 192px, 64px, 160px); -} - -#history-panelmenu[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #history-panelmenu { - -moz-image-region: rect(0px, 224px, 32px, 192px); -} - -#history-panelmenu[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { - -moz-image-region: rect(32px, 224px, 64px, 192px); -} - -#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 224px, 64px, 192px); -} - -#downloads-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #downloads-button { - -moz-image-region: rect(0px, 256px, 32px, 224px); -} - -#downloads-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #downloads-button:hover { - -moz-image-region: rect(32px, 256px, 64px, 224px); -} - -#add-ons-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #add-ons-button { - -moz-image-region: rect(0px, 288px, 32px, 256px); -} - -#add-ons-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #add-ons-button:hover { - -moz-image-region: rect(32px, 288px, 64px, 256px); -} - -#open-file-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #open-file-button { - -moz-image-region: rect(0px, 320px, 32px, 288px); -} - -#open-file-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #open-file-button:hover { - -moz-image-region: rect(32px, 320px, 64px, 288px); -} - -#save-page-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #save-page-button { - -moz-image-region: rect(0px, 352px, 32px, 320px); -} - -#save-page-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #save-page-button:hover { - -moz-image-region: rect(32px, 352px, 64px, 320px); -} - -#sync-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #sync-button { - -moz-image-region: rect(0px, 384px, 32px, 352px); -} - -#sync-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #sync-button:hover { - -moz-image-region: rect(32px, 384px, 64px, 352px); -} - -#sync-button[cui-areatype="menu-panel"][status="active"] { - list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); - -moz-image-region: rect(0px, 32px, 32px, 0px); -} - -#feed-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #feed-button { - -moz-image-region: rect(0px, 416px, 32px, 384px); -} - -#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { - -moz-image-region: rect(32px, 416px, 64px, 384px); -} - -#feed-button[cui-areatype="menu-panel"][disabled="true"], -toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { - -moz-image-region: rect(64px, 416px, 96px, 384px); -} - -#social-share-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #social-share-button { - -moz-image-region: rect(0px, 448px, 32px, 416px); -} - -#social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) { - -moz-image-region: rect(32px, 448px, 64px, 416px); -} - -#social-share-button[cui-areatype="menu-panel"][disabled="true"], -toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] { - -moz-image-region: rect(64px, 448px, 96px, 416px); -} - -#characterencoding-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #characterencoding-button { - -moz-image-region: rect(0px, 480px, 32px, 448px); -} - -#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { - -moz-image-region: rect(32px, 480px, 64px, 448px); -} - -#characterencoding-button[cui-areatype="menu-panel"][disabled="true"], -toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { - -moz-image-region: rect(64px, 480px, 96px, 448px); -} - -#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 480px, 64px, 448px); -} - -#new-window-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #new-window-button { - -moz-image-region: rect(0px, 512px, 32px, 480px); -} - -#new-window-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #new-window-button:hover { - -moz-image-region: rect(32px, 512px, 64px, 480px); -} - -#e10s-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #e10s-button { - -moz-image-region: rect(0px, 512px, 32px, 480px); -} - -#e10s-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #e10s-button:hover { - -moz-image-region: rect(32px, 512px, 64px, 480px); -} - -#new-tab-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #new-tab-button { - -moz-image-region: rect(0px, 544px, 32px, 512px); -} - -#new-tab-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #new-tab-button:hover { - -moz-image-region: rect(32px, 544px, 64px, 512px); +#forward-button > .toolbarbutton-menu-dropmarker, +#back-button > .toolbarbutton-menu-dropmarker { + display: none; } -#privatebrowsing-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #privatebrowsing-button { - -moz-image-region: rect(0px, 576px, 32px, 544px); +/* +.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; } -#privatebrowsing-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { - -moz-image-region: rect(32px, 576px, 64px, 544px); +.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; } -#tabview-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #tabview-button { - -moz-image-region: rect(0px, 608px, 32px, 576px); +#home-button.bookmark-item { + list-style-image: url("chrome://browser/skin/Toolbar.png"); } -#tabview-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #tabview-button:hover { - -moz-image-region: rect(32px, 608px, 64px, 576px); +#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"); } -#find-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #find-button { - -moz-image-region: rect(0px, 640px, 32px, 608px); +#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"); } +*/ -#find-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #find-button:hover { - -moz-image-region: rect(32px, 640px, 64px, 608px); +#downloads-button > .toolbarbutton-icon { + margin: 0; } -#print-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #print-button { - -moz-image-region: rect(0px, 672px, 32px, 640px); -} +/* tabview menu item */ -#print-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #print-button:hover { - -moz-image-region: rect(32px, 672px, 64px, 640px); +#menu_tabview { + list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); + -moz-image-region: rect(1px, 89px, 17px, 73px); } -#fullscreen-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #fullscreen-button { - -moz-image-region: rect(0px, 704px, 32px, 672px); +#menu_tabview[groups="0"] { + -moz-image-region: rect(1px, 17px, 17px, 1px); } -#fullscreen-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { - -moz-image-region: rect(32px, 704px, 64px, 672px); +#menu_tabview[groups="1"] { + -moz-image-region: rect(1px, 35px, 17px, 19px); } -#developer-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #developer-button { - -moz-image-region: rect(0px, 736px, 32px, 704px); +#menu_tabview[groups="2"] { + -moz-image-region: rect(1px, 53px, 17px, 37px); } -#developer-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #developer-button:hover { - -moz-image-region: rect(32px, 736px, 64px, 704px); +#menu_tabview[groups="3"] { + -moz-image-region: rect(1px, 71px, 17px, 55px); } -#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 736px, 64px, 704px); -} +/* zoom control text (reset) button special case: */ -#preferences-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #preferences-button { - -moz-image-region: rect(0px, 768px, 32px, 736px); +#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; } -#preferences-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #preferences-button:hover { - -moz-image-region: rect(32px, 768px, 64px, 736px); +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;*/ } -#email-link-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #email-link-button { - -moz-image-region: rect(0, 800px, 32px, 768px); +toolbarbutton.bookmark-item:not(.subviewbutton):hover:not([disabled="true"]):not([open]) { +/* border-color: var(--toolbarbutton-hover-bordercolor); + background: var(--toolbarbutton-hover-background);*/ } -#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { - -moz-image-region: rect(32px, 800px, 64px, 768px); +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);*/ } -#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); +.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; } -#sidebar-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #sidebar-button { - -moz-image-region: rect(0, 864px, 32px, 832px); +/* 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; } -#sidebar-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #sidebar-button:hover, -#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 864px, 64px, 832px); -} +/* === END toolbarbuttons.inc.css === */ -#panic-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #panic-button { - -moz-image-region: rect(0, 896px, 32px, 864px); +/* === BEGIN toolbarbutton-icons.inc.css === */ + +:root { + --toolbarbutton-icon-fill: #FFCF00; + --toolbarbutton-icon-fill-inverted: #000000; + --toolbarbutton-icon-fill-disabled: #8050B0; + --toolbarbutton-icon-fill-attention: #008484; } -#panic-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #panic-button:hover, -#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 896px, 64px, 864px); +/* 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"); } -#web-apps-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #web-apps-button { - -moz-image-region: rect(0, 928px, 32px, 896px); +#back-button { + -moz-image-region: rect(0, 36px, 18px, 18px); } -#web-apps-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #web-apps-button:hover { - -moz-image-region: rect(32px, 928px, 64px, 896px); +#back-button:hover:not([disabled="true"]) { + -moz-image-region: rect(18px, 36px, 36px, 18px); } -#webide-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #webide-button { - -moz-image-region: rect(0px, 960px, 32px, 928px); +#back-button[disabled="true"] { + -moz-image-region: rect(36px, 36px, 54px, 18px); } -#webide-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #webide-button:hover { - -moz-image-region: rect(32px, 960px, 64px, 928px); +#forward-button { + -moz-image-region: rect(0, 72px, 18px, 54px); } -toolbaritem[sdkstylewidget="true"] > toolbarbutton { - -moz-image-region: rect(0, 832px, 32px, 800px); +#forward-button:hover:not([disabled="true"]) { + -moz-image-region: rect(18px, 72px, 36px, 54px); } -#loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, -toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, -toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { - list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); - -moz-image-region: rect(0, 32px, 32px, 0); +#forward-button[disabled="true"] { + -moz-image-region: rect(36px, 72px, 54px, 54px); } -/* Make sure that the state icons are not shown in the customization palette. */ -toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, -toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 32px, 32px, 0) !important; +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); } -#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 160px, 32px, 128px); +#home-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 126px, 18px, 108px); } -#loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, -#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 64px, 32px, 32px); +#home-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 126px, 36px, 108px); } -#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 224px, 32px, 192px); +#bookmarks-menu-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 144px, 18px, 126px); } -#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 96px, 32px, 64px); +#bookmarks-menu-button[cui-areatype="toolbar"]:hover, +#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { + -moz-image-region: rect(18px, 144px, 36px, 126px); } -#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 128px, 32px, 96px); +/* 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; } -#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { - -moz-image-region: rect(0, 192px, 32px, 160px); +#bookmarks-menu-button[cui-areatype="toolbar"][starred] { + -moz-image-region: rect(0, 162px, 18px, 144px); } -/* Wide panel control icons */ +#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); +} -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, -#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, -toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, -toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { - list-style-image: var(--menupanel-small-list-style-image); +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + -moz-image-region: rect(0, 630px, 18px, 612px); } -#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); +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { + padding: 1px; + -moz-box-align: center; } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { - -moz-image-region: rect(16px, 32px, 32px, 16px); +#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); } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"], -toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { - -moz-image-region: rect(32px, 32px, 48px, 16px); +#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; } -#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); +#history-panelmenu[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 180px, 18px, 162px); } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { - -moz-image-region: rect(16px, 48px, 32px, 32px); +#history-panelmenu[cui-areatype="toolbar"]:hover, +#history-panelmenu[cui-areatype="toolbar"][open="true"] { + -moz-image-region: rect(18px, 180px, 36px, 162px); } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"], -toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { - -moz-image-region: rect(32px, 48px, 48px, 32px); +#downloads-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 198px, 18px, 180px); } -#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); +#downloads-button[cui-areatype="toolbar"]:hover, +#downloads-button[cui-areatype="toolbar"][open="true"] { + -moz-image-region: rect(18px, 198px, 36px, 180px); } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { - -moz-image-region: rect(16px, 64px, 32px, 48px); +#add-ons-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 216px, 18px, 198px); } -#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"], -toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { - -moz-image-region: rect(32px, 64px, 48px, 48px); +#add-ons-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 216px, 36px, 198px); } -#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); +#open-file-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 234px, 18px, 216px); } -#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { - -moz-image-region: rect(16px, 80px, 32px, 64px); +#open-file-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 234px, 36px, 216px); } -#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"], -toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { - -moz-image-region: rect(32px, 80px, 48px, 64px); +#save-page-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 252px, 18px, 234px); } -#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); +#save-page-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 252px, 36px, 234px); } -#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]), -toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { - -moz-image-region: rect(16px, 96px, 32px, 80px); +#sync-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 792px, 18px, 774px); } -#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"], -toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { - -moz-image-region: rect(32px, 96px, 48px, 80px); +#sync-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 792px, 36px, 774px); } -#add-share-provider { - list-style-image: var(--menupanel-small-list-style-image); - -moz-image-region: rect(0px, 96px, 16px, 80px); +#containers-panelmenu[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 810px, 18px, 792px); } -/* === END menupanel.inc.css === */ +#containers-panelmenu[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 810px, 36px, 792px); +} -.toolbarbutton-1:not([type="menu-button"]) { - -moz-box-orient: vertical; +#feed-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 288px, 18px, 270px); } -.toolbarbutton-1, -.toolbarbutton-1 > .toolbarbutton-menubutton-button { -/* min-width: 36px; - min-height: 36px;*/ +#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); } -.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; +#feed-button[cui-areatype="toolbar"][disabled="true"] { + -moz-image-region: rect(36px, 288px, 54px, 270px); } -.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; +#social-share-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0px, 306px, 18px, 288px); } -#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 { +#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); } -.toolbarbutton-1 > .toolbarbutton-menu-dropmarker, -.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { +#social-share-button[cui-areatype="toolbar"][disabled="true"] { + -moz-image-region: rect(36px, 306px, 54px, 288px); } -toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, -toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { +#characterencoding-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 324px, 18px, 306px); } -.toolbarbutton-1 > .toolbarbutton-icon, -.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { +#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), +#characterencoding-button[cui-areatype="toolbar"][open="true"] { + -moz-image-region: rect(18px, 324px, 36px, 306px); } -.findbar-button, -#nav-bar .toolbarbutton-1, -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { +#characterencoding-button[cui-areatype="toolbar"][disabled="true"] { + -moz-image-region: rect(36px, 324px, 54px, 306px); } -#nav-bar .toolbarbutton-1:not([type=menu-button]), -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { +#new-window-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 342px, 18px, 324px); } -#nav-bar #PanelUI-menu-button { -/* -moz-padding-start: 7px; - -moz-padding-end: 5px;*/ +#new-window-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 342px, 36px, 324px); } -#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;*/ +#e10s-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 342px, 18px, 324px); } -#nav-bar .toolbarbutton-1 > menupopup { -/* margin-top: -3px;*/ +#e10s-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 342px, 36px, 324px); } -#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { - margin-top: -4px; +#e10s-button > .toolbarbutton-icon { + transform: scaleY(-1); } -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { -/* -moz-padding-end: 0;*/ +#new-tab-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 360px, 18px, 342px); } -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { -/* -moz-padding-start: 0; - -moz-box-align: center;*/ +#new-tab-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 360px, 36px, 342px); } -.findbar-button > .toolbarbutton-text, -#nav-bar .toolbarbutton-1 > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1 > .toolbarbutton-text, -#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { -/* padding: 2px 6px; - border: 1px solid; - border-color: transparent; - transition-property: background-color, border-color; - transition-duration: 150ms;*/ -} -/* -#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container, -#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { - padding: 3px 7px; +#privatebrowsing-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 378px, 18px, 360px); } -*/ -/* Help SDK icons fit: */ -toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { - width: 16px; +#privatebrowsing-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 378px, 36px, 360px); } -#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { - /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ - width: 32px; +#find-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 396px, 18px, 378px); } -#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { -/* -moz-padding-end: 17px;*/ +#find-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 396px, 36px, 378px); } -#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { +#print-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 414px, 18px, 396px); } -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { +#print-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 414px, 36px, 396px); } -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { +#fullscreen-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 432px, 18px, 414px); } -#nav-bar .toolbaritem-combined-buttons { -/* margin-left: 2px; - margin-right: 2px;*/ +#fullscreen-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 432px, 36px, 414px); } -#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { -/* padding-left: 0; - padding-right: 0;*/ +#developer-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 450px, 18px, 432px); } -#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, -#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before { -/* - content: ""; - display: -moz-box; - width: 1px; - height: 16px; - -moz-margin-end: -1px; -*/ +#developer-button[cui-areatype="toolbar"]:hover, +#developer-button[cui-areatype="toolbar"][open="true"] { + -moz-image-region: rect(18px, 450px, 36px, 432px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { +#preferences-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 468px, 18px, 450px); } -.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text, -#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text, -#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container, -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon { +#preferences-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 468px, 36px, 450px); } -.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text, -#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text, -#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { +#PanelUI-menu-button { + -moz-image-region: rect(0, 486px, 18px, 468px); } -#TabsToolbar .toolbarbutton-1, -#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, -.tabbrowser-arrowscrollbox > .scrollbutton-up, -.tabbrowser-arrowscrollbox > .scrollbutton-down { +#PanelUI-menu-button:hover, +#PanelUI-menu-button[open="true"] { + -moz-image-region: rect(18px, 486px, 36px, 468px); } -#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 { +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { + -moz-image-region: rect(0, 504px, 18px, 486px); } -/* unified back/forward button */ +#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); +} -#forward-button { - -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { + -moz-image-region: rect(36px, 504px, 54px, 486px); } -#forward-button > menupopup { - margin-top: 1px !important; +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { + -moz-image-region: rect(0, 522px, 18px, 504px); } -#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;*/ +#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); } -#forward-button { - -moz-margin-start: -4px !important; - padding-left: 5px; - padding-right: 5px; - margin-top: 3px; - margin-bottom: 3px; - border-radius: 0 10000px 10000px 0; +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { + -moz-image-region: rect(36px, 522px, 54px, 504px); } -#forward-button:-moz-locale-dir(rtl) { - border-radius: 10000px 0 0 10000px; +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { + -moz-image-region: rect(0, 540px, 18px, 522px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { - transition: margin-left 150ms ease-out; +#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); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { - margin-left: -27px !important; +#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { + -moz-image-region: rect(36px, 540px, 54px, 522px); } -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; +#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { + -moz-image-region: rect(0, 558px, 18px, 540px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { - /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ - margin-left: -27.01px !important; +#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); } -#back-button { -/* padding-top: 3px !important; - padding-bottom: 3px !important; - -moz-padding-start: 5px !important; - -moz-padding-end: 0 !important;*/ - position: relative; - z-index: 1; - border-radius: 10000px; - width: 30px; - height: 30px; - margin-top: -2px; - margin-bottom: -2px; +#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { + -moz-image-region: rect(36px, 558px, 54px, 540px); } -#back-button:-moz-locale-dir(rtl) { +#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { + -moz-image-region: rect(0, 576px, 18px, 558px); } -#back-button > menupopup { - margin-top: -1px !important; +#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); } -#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; +#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { + -moz-image-region: rect(36px, 576px, 54px, 558px); } -#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { -/* background-color: hsla(210,4%,10%,.08) !important;*/ +#nav-bar-overflow-button { + -moz-image-region: rect(0, 612px, 18px, 594px); } -#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;*/ +#nav-bar-overflow-button:hover, +#nav-bar-overflow-button[open="true"] { + -moz-image-region: rect(18px, 612px, 36px, 594px); } -#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { +#nav-bar-overflow-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; + +#nav-bar-overflow-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image { + display: none; } -.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; +#tabview-button { + -moz-image-region: rect(0, 648px, 18px, 630px); } -#home-button.bookmark-item { - list-style-image: url("chrome://browser/skin/Toolbar.png"); +#tabview-button:hover { + -moz-image-region: rect(18px, 648px, 36px, 630px); } -#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"); +#email-link-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 666px, 18px, 648px); } -#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"); +#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { + -moz-image-region: rect(18px, 666px, 36px, 648px); } -*/ -#downloads-button > .toolbarbutton-icon { - margin: 0; +#email-button[cui-areatype="toolbar"][disabled="true"] { + -moz-image-region: rect(36px, 666px, 54px, 648px); } -/* tabview menu item */ +#sidebar-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 684px, 18px, 666px); +} -#menu_tabview { - list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); - -moz-image-region: rect(1px, 89px, 17px, 73px); +#sidebar-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 684px, 36px, 666px); } -#menu_tabview[groups="0"] { - -moz-image-region: rect(1px, 17px, 17px, 1px); +#panic-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 702px, 18px, 684px); } -#menu_tabview[groups="1"] { - -moz-image-region: rect(1px, 35px, 17px, 19px); +#panic-button[cui-areatype="toolbar"]:hover, +#panic-button[cui-areatype="toolbar"][open] { + -moz-image-region: rect(18px, 702px, 36px, 684px); } -#menu_tabview[groups="2"] { - -moz-image-region: rect(1px, 53px, 17px, 37px); +#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); } -#menu_tabview[groups="3"] { - -moz-image-region: rect(1px, 71px, 17px, 55px); +#webide-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 738px, 18px, 720px); } -/* undo close tab menu item */ -#alltabs_undoCloseTab { - list-style-image: url(chrome://browser/skin/undoCloseTab.png); +#webide-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 738px, 36px, 720px); } -@media (min-resolution: 1.25dppx) { - #alltabs_undoCloseTab { - list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); - } - #alltabs_undoCloseTab > .toolbarbutton-icon { - width: 16px; - } +#pocket-button { + fill: currentColor !important; } -/* zoom control text (reset) button special case: */ +/* === END toolbarbutton-icons.inc.css === */ -#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; -} +/* === BEGIN menupanel.inc.css === */ -/* ::::: fullscreen window controls ::::: */ +/* Menu panel and palette styles */ -#window-controls { - -moz-margin-start: 4px; +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); } -#minimize-button, -#restore-button, -#close-button { -/* list-style-image: url("chrome://global/skin/icons/windowControls.png"); - padding: 0; */ +:-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; } -#minimize-button { - list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); +#home-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #home-button { + -moz-image-region: rect(0px, 128px, 32px, 96px); } -#minimize-button:hover { - list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); +#bookmarks-menu-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { + -moz-image-region: rect(0px, 192px, 32px, 160px); } -#restore-button { - list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); +#history-panelmenu[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #history-panelmenu { + -moz-image-region: rect(0px, 224px, 32px, 192px); } -#restore-button:hover { - list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); +#downloads-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #downloads-button { + -moz-image-region: rect(0px, 256px, 32px, 224px); } -#close-button { - list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); +#add-ons-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #add-ons-button { + -moz-image-region: rect(0px, 288px, 32px, 256px); } -#close-button:hover { - list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); +#open-file-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #open-file-button { + -moz-image-region: rect(0px, 320px, 32px, 288px); } -/* ::::: Location Bar ::::: */ - -#urlbar, -.searchbar-textbox { - border-radius: 5px; - margin: 2px 0; - -moz-margin-start: 3px; +#save-page-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #save-page-button { + -moz-image-region: rect(0px, 352px, 32px, 320px); } -#urlbar { - /* make color as light as possible to deal with dark non-domain parts */ - color: #FFBFFF; +#sync-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #sync-button { + -moz-image-region: rect(0px, 1024px, 32px, 992px); } -#urlbar:-moz-lwtheme, -.searchbar-textbox:-moz-lwtheme { - /* background-color: rgba(255,255,255,.8); - @navbarTextboxCustomBorder@ - color: black; */ +#containers-panelmenu[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #containers-panelmenu { + -moz-image-region: rect(0px, 1056px, 32px, 1024px); } -#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), -.searchbar-textbox:-moz-lwtheme:hover:not([focused]) { -/* background-color: rgba(255,255,255,.9);*/ +#feed-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #feed-button { + -moz-image-region: rect(0px, 416px, 32px, 384px); } -#urlbar:-moz-lwtheme[focused]:not([readonly]), -.searchbar-textbox:-moz-lwtheme[focused] { -/* background-color: white;*/ +#social-share-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #social-share-button { + -moz-image-region: rect(0px, 448px, 32px, 416px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { -/* -moz-border-start: none; - margin-left: 0;*/ +#characterencoding-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #characterencoding-button { + -moz-image-region: rect(0px, 480px, 32px, 448px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { -/* border-top-left-radius: 0; - border-bottom-left-radius: 0; */ +#new-window-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #new-window-button { + -moz-image-region: rect(0px, 512px, 32px, 480px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { -/* border-top-right-radius: 0; - border-bottom-right-radius: 0; */ +#e10s-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #e10s-button { + -moz-image-region: rect(0px, 512px, 32px, 480px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper { -/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ -/* -moz-margin-start: -5px; */ +#new-tab-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #new-tab-button { + -moz-image-region: rect(0px, 544px, 32px, 512px); } -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); +#privatebrowsing-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #privatebrowsing-button { + -moz-image-region: rect(0px, 576px, 32px, 544px); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { - -moz-box-direction: reverse; +#tabview-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #tabview-button { + -moz-image-region: rect(0px, 608px, 32px, 576px); } -html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, -.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { - color: #E7ADE7; +#find-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #find-button { + -moz-image-region: rect(0px, 640px, 32px, 608px); } -#urlbar-container { - -moz-box-orient: horizontal; - -moz-box-align: stretch; +#print-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #print-button { + -moz-image-region: rect(0px, 672px, 32px, 640px); } -.urlbar-textbox-container { - -moz-box-align: stretch; +#fullscreen-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #fullscreen-button { + -moz-image-region: rect(0px, 704px, 32px, 672px); } -.urlbar-input-box { - -moz-margin-start: 0; +#developer-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #developer-button { + -moz-image-region: rect(0px, 736px, 32px, 704px); } -#urlbar-icons { - -moz-box-align: center; +#preferences-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #preferences-button { + -moz-image-region: rect(0px, 768px, 32px, 736px); } -.urlbar-icon { - padding: 0 2px; +#email-link-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #email-link-button { + -moz-image-region: rect(0, 800px, 32px, 768px); } -.searchbar-engine-button, -.search-go-container { - padding: 2px; +#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); } -.search-go-container > .search-go-button { - padding: 0; +#sidebar-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #sidebar-button { + -moz-image-region: rect(0, 864px, 32px, 832px); } -.urlbar-icon:hover { +#panic-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #panic-button { + -moz-image-region: rect(0, 896px, 32px, 864px); } -.urlbar-icon[open="true"], -.urlbar-icon:hover:active { +#webide-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #webide-button { + -moz-image-region: rect(0px, 960px, 32px, 928px); } -#urlbar-search-splitter { - min-width: 6px; - -moz-margin-start: -3px; - border: none; - background: transparent; +toolbaritem[sdkstylewidget="true"] > toolbarbutton { + -moz-image-region: rect(0, 832px, 32px, 800px); } -#urlbar-search-splitter + #urlbar-container > #urlbar, -#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { - -moz-margin-start: 0; +/* Wide panel control icons */ + +#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, +#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, +toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, +toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { + list-style-image: url(chrome://browser/skin/menuPanel-small.svg); } -#urlbar-display-box { +#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; } -.urlbar-display { - -moz-border-end: 1px solid #9C9CFF; - -moz-margin-end: 3px; - margin-top: 0; - margin-bottom: 0; - -moz-margin-start: 0; - color: #8050B0; +#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); } -#search-container { - min-width: calc(54px + 11ch); +#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); } -/* identity box */ +#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); +} -#identity-box { - border-radius: 2px; - font-size: .9em; +#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); } -#identity-box:-moz-locale-dir(ltr) { -/* border-top-left-radius: 1.5px; - border-bottom-left-radius: 1.5px;*/ +#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); } -#identity-box:-moz-locale-dir(rtl) { -/* border-top-right-radius: 1.5px; - border-bottom-right-radius: 1.5px;*/ +#add-share-provider { + list-style-image: url(chrome://browser/skin/menuPanel-small.svg); + -moz-image-region: rect(0px, 96px, 16px, 80px); } -#notification-popup-box:not([hidden]) + #identity-box { - -moz-padding-start: 10px !important; - border-radius: 0; +/* === END menupanel.inc.css === */ + +/* ::::: fullscreen window controls ::::: */ + +#minimize-button, +#restore-button, +#close-button { + -moz-appearance: none; + border: none; +/* margin: 0 !important; + padding: 6px 12px;*/ } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { -/* border-radius: 0; */ - -moz-padding-start: 2px; - -moz-padding-end: 2px; - -moz-margin-end: 1px; +#minimize-button { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { - transition: padding-left, padding-right; +#minimize-button:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-hover); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { - padding-left: 2px; +#restore-button { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { - padding-right: 2px; +#restore-button:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-hover); } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box { - /* forward button hiding is delayed when hovered */ - transition-delay: 100s; +#minimize-button:hover, +#restore-button:hover { +/* background-color: hsla(0, 0%, 0%, .12);*/ } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { - /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ - padding-left: 2.01px; +#minimize-button:hover:active, +#restore-button:hover:active { +/* background-color: hsla(0, 0%, 0%, .22);*/ } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { - /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ - padding-right: 2.01px; +#close-button { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close); } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI, -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { - -moz-margin-end: 3px; +#close-button:hover { +/* background-color: hsl(355, 86%, 49%);*/ + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-hover); } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; +#close-button:hover:active { +/* background-color: hsl(355, 82%, 69%);*/ } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; +/* ::::: Location Bar ::::: */ + +#urlbar, +.searchbar-textbox { + border-radius: 5px; + margin: 2px 0; + margin-inline-start: 3px; } -#identity-box.verifiedIdentity:not(:-moz-lwtheme) { - var(--verified-identity-box-backgroundcolor); +#urlbar { + /* make color as light as possible to deal with dark non-domain parts */ + color: #FFBFFF; } -#identity-box:-moz-focusring { - outline: 1px dotted #008484; - outline-offset: -1px; +#urlbar:-moz-lwtheme, +.searchbar-textbox:-moz-lwtheme { + /* background-color: rgba(255,255,255,.8); + @navbarTextboxCustomBorder@ + color: black; */ } -#identity-box.verifiedDomain:-moz-focusring, -#identity-box.verifiedIdentity:-moz-focusring { - outline-color: #000000; +#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), +.searchbar-textbox:-moz-lwtheme:hover:not([focused]) { +/* background-color: rgba(255,255,255,.9);*/ } -#identity-icon-labels { - -moz-margin-start: 1px; - -moz-margin-end: 3px; +#urlbar:-moz-lwtheme[focused]:not([readonly]), +.searchbar-textbox:-moz-lwtheme[focused] { +/* background-color: white;*/ } -/* Location bar dropmarker */ +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { +/* border-inline-start: none; + margin-left: 0;*/ +} -.urlbar-history-dropmarker:not(:hover):not([open="true"]) { - background-color: transparent; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { +/* border-top-left-radius: 0; + border-bottom-left-radius: 0; */ } -#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, -#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { - border: none; - border-radius: 0px; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { +/* border-top-right-radius: 0; + border-bottom-right-radius: 0; */ } -.urlbar-history-dropmarker:hover { +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)); */ } -.urlbar-history-dropmarker:hover:active, -.urlbar-history-dropmarker[open="true"] { +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); } -/* page proxy icon */ +window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { + -moz-box-direction: reverse; +} -/* === BEGIN identity-block.inc.css === */ +html|*.urlbar-input:-moz-lwtheme::placeholder, +.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::placeholder { + color: #E7ADE7; +} -:root { - --identity-box-verified-color: #008484; - /* Default theme does different color per channel, we can't as they do it build-time. */ - --identity-box-chrome-color: #9C9CFF; +#urlbar-container { + -moz-box-orient: horizontal; + -moz-box-align: stretch; } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { - color: var(--identity-box-chrome-color); - -moz-border-end: 1px solid var(--identity-box-chrome-color); +.urlbar-textbox-container { + -moz-box-align: stretch; } -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { - color: var(--identity-box-verified-color); - -moz-border-end: 1px solid var(--identity-box-verified-color); +.urlbar-input-box { + margin: 0; } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI, -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { - background-position: right; - background-size: 1px; - background-repeat: no-repeat; +.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; */ } -/* page proxy icon */ +#urlbar-icons { + -moz-box-align: center; +} -#page-proxy-favicon { - width: 16px; +.urlbar-icon { + padding: 0 2px; + /* 16x16 icon with border-box sizing */ + width: 20px; height: 16px; - list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); - margin: 2px; } -.chromeUI > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://branding/content/identity-icons-brand.png"); +/* ::::: URL Bar Zoom Reset Button ::::: */ + +@keyframes urlbar-zoom-reset-pulse { + 0% { + transform: scale(0); + } + 75% { + transform: scale(1.5); + } + 100% { + transform: scale(1.0); + } } -.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-icons-https.png"); +#urlbar-zoom-button { +/* -moz-appearance: none;*/ +/* color: inherit;*/ } -.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); +.search-go-container { + padding: 2px; } -.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); +.search-go-container > .search-go-button { + padding: 0; } -.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); +#urlbar-search-footer { + border-top: 1px solid var(--panel-separator-color); } -.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); +#urlbar-search-settings { } -#page-proxy-favicon[pageproxystate="invalid"] { - opacity: 0.3; +#urlbar-search-settings:hover { } -#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { - list-style-image: url("chrome://branding/content/icon64.png"); +#urlbar-search-settings:hover:active { } -#identity-popup-brandName { - font-weight: bold; - font-size: 1.25em; - margin-top: .5em; - margin-bottom: .5em; +#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; + background: transparent; } -#identity-popup-content-box { - max-width: 50ch; +.urlbar-display { + border-inline-end: 1px solid #9C9CFF; + margin-inline-end: 3px; + margin-top: 0; + margin-bottom: 0; + margin-inline-start: 0; + color: #8050B0; } -/* === END identity-block.inc.css === */ +/* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */ -#page-proxy-favicon { - -moz-image-region: rect(0, 16px, 16px, 0); +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] { + border-bottom: 1px solid var(--panel-separator-color); + padding-inline-start: 0; + padding-inline-end: 6px; + min-height: 3em; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { -/* -moz-margin-end: 1px;*/ -} +/* Limit the size of the hidden description, since a deck takes the size of the biggest child */ -#identity-box:hover > #page-proxy-favicon { - -moz-image-region: rect(0, 32px, 16px, 16px); +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][selectedIndex="0"] #search-suggestions-hint, +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][selectedIndex="1"] #search-suggestions-question { + max-height: 5em; } -#identity-box:hover:active > #page-proxy-favicon, -#identity-box[open=true] > #page-proxy-favicon { - -moz-image-region: rect(0, 48px, 16px, 32px); -} +/* Opt-in notification */ -#identity-box:hover { - background-color: #FFCF00; - color: #000000; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] > hbox[anonid="search-suggestions-opt-in"] { + padding: 6px 0; + padding-inline-start: 44px; + background-color: #000000; + background-image: url("chrome://browser/skin/info.svg"); + background-clip: padding-box; + background-position: 20px center; + background-repeat: no-repeat; + background-size: 16px 16px; } -#identity-box:hover:active, -#identity-box[open=true] { - background-color: #FF9F00; - color: #000000; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) { + background-position: right 20px center; } -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { - background-color: #9C9CFF; - color: #000000; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] > hbox[anonid="search-suggestions-notification"] > description { + margin: 0; + padding: 0; } -#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; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] > hbox[anonid="search-suggestions-notification"] > description > label.text-link { + margin-inline-start: 0; } -/* autocomplete */ +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] button { + -moz-appearance: none; + min-width: 80px; + border-radius: 3px; + padding: 4px 16px; + margin: 0; + margin-inline-start: 10px; +} -#treecolAutoCompleteImage { - max-width: 36px; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] button[anonid="search-suggestions-notification-disable"] { } -.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; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] button[anonid="search-suggestions-notification-disable"]:hover { } -richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, -.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { -/* -moz-image-region: rect(0px 48px 16px 32px);*/ +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] button[anonid="search-suggestions-notification-enable"] { } -.ac-result-type-keyword, -.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), -richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { - list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); - width: 16px; - height: 16px; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] button[anonid="search-suggestions-notification-enable"]:hover { } - .ac-result-type-keyword[selected="true"], - .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), - richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { - list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); - } +/* Opt-out hint */ -.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; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] > hbox[anonid="search-suggestions-opt-out"] { +/* font: message-box;*/ + display: flex; + flex-direction: row; + align-items: center; + flex-wrap: nowrap; } -.ac-comment { - font-size: 1.06em; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-box"] { + flex-basis: 100%; } -.ac-extra > .ac-comment { - font-size: 1em; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-box"] > description { + margin: auto; + padding: 4px 8px; + background-color: #000000; + border: 1px solid #FFCF00; + border-radius: 4px; + color: #A09090; } -.ac-url-text, -.ac-action-text { - font-size: 1em; - color: #9C9CFF; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-box"] > description > html|span { + unicode-bidi: embed; } -richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { - list-style-image: url("chrome://browser/skin/actionicon-tab.png"); - -moz-image-region: rect(0, 16px, 16px, 0); - padding: 0 3px; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-box"] > description > html|span.prefix { + font-weight: bold; } -richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { - -moz-image-region: rect(16px, 16px, 32px, 0); +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] > hbox[anonid="search-suggestions-opt-out"] > .ac-site-icon { + transform: scale(0); + animation-name: search-suggestions-hint-grow; + animation-duration: 500ms; + animation-delay: 500ms; + animation-iteration-count: 1; + animation-timing-function: ease-in-out; + animation-fill-mode: forwards; + min-width: 16px; } -.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { - color: #8050B0; +@keyframes search-suggestions-hint-grow { + 0% { transform: scale(0); } + 40% { transform: scale(1.5); } + 60% { transform: scale(1); } + 80% { transform: scale(1.25); } + 100% { transform: scale(1); } } -.ac-comment[selected="true"], -.ac-url-text[selected="true"], -.ac-action-text[selected="true"] { - color: inherit !important; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-typing"] > .ac-title-text { + text-overflow: clip; } -.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), -.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) -{ - color: #8050B0; - font-size: smaller; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-typing"] { + overflow: hidden; + max-width: 12ch; + width: 0; + animation-name: search-suggestions-hint-typing; + animation-duration: 500ms; + animation-delay: 750ms; + animation-iteration-count: 1; + animation-fill-mode: forwards; } -.autocomplete-treebody::-moz-tree-cell(suggesthint) { - border-top: 1px solid #9C9CFF; +@media all and (max-width: 800px) { + /* Hide the typing animation block */ + #PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-typing"] { + display: none; + } } -/* combined go/reload/stop button in location bar */ +@keyframes search-suggestions-hint-typing { + from { width: 0; } + to { width: 12ch; } +} -#urlbar > toolbarbutton { - -moz-margin-start: 0; - padding: 0 2px; - background-origin: border-box; - border: none; - list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); - -moz-border-start: 1px solid #9C9CFF; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-box"] { + opacity: 0; + animation-duration: 250ms; + animation-delay: 1500ms; + animation-iteration-count: 1; + animation-fill-mode: forwards; } -#urlbar:-moz-locale-dir(ltr) > toolbarbutton { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; +/* Margin-inline-start can't be animated yet */ +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-box"]:-moz-locale-dir(ltr) { + margin-left: 160px; + animation-name: search-suggestions-hint-buildin-ltr; } -#urlbar:-moz-locale-dir(rtl) > toolbarbutton { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; +@keyframes search-suggestions-hint-buildin-ltr { + from { margin-left: 160px; opacity: 0; } + to { margin-left: 0; opacity: 1; } } -#urlbar > toolbarbutton:not([disabled=true]):active:hover, -#urlbar-reload-button:not(:hover) { - -moz-border-start-style: none; - -moz-padding-start: 3px; +#PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-box"]:-moz-locale-dir(rtl) { + /* Should be margin-inline-start but that can't be animated yet */ + margin-right: 160px; + animation-name: search-suggestions-hint-buildin-rtl; } -#urlbar-reload-button { - -moz-image-region: rect(0px, 14px, 14px, 0px); +@keyframes search-suggestions-hint-buildin-rtl { + from { margin-right: 160px; opacity: 0; } + to { margin-right: 0; opacity: 1; } } -#urlbar-reload-button[disabled=true] { - -moz-image-region: rect(28px, 14px, 42px, 0px); +#search-suggestions-change-settings { + opacity: 0; + animation-name: search-suggestions-hint-fadein; + animation-duration: 500ms; + animation-delay: 1800ms; + animation-iteration-count: 1; + animation-fill-mode: forwards; } -#urlbar-reload-button:not([disabled=true]):hover { - -moz-image-region: rect(14px, 14px, 28px, 0px); +@keyframes search-suggestions-hint-fadein { + from { opacity: 0 } + to { opacity: 1 } } -#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { - transform: scaleX(-1); +/* === END urlbarSearchSuggestionsNotification.inc.css === */ + +#search-container { + min-width: calc(54px + 11ch); } -#urlbar-go-button { - -moz-image-region: rect(0, 42px, 14px, 28px); +/* identity box */ + +#identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) { + background-color: var(--identity-box-verified-background-color); } -#urlbar-go-button:hover { - -moz-image-region: rect(14px, 42px, 28px, 28px); +#identity-box:-moz-focusring { + outline: 1px dotted; + outline-offset: -1px; } -#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { - transform: scaleX(-1); +#identity-box.verifiedDomain:-moz-focusring, +#identity-box.verifiedIdentity:-moz-focusring { + outline-color: #000000; } -#urlbar-stop-button { - -moz-image-region: rect(0px, 28px, 14px, 14px); +/* Location bar dropmarker */ + +.urlbar-history-dropmarker:not(:hover):not([open="true"]) { + background-color: transparent; } -#urlbar-stop-button:hover { - -moz-image-region: rect(14px, 28px, 28px, 14px); +#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; } -/* popup blocker button */ +#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { + transition: none; +} -#page-report-button { - list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); - -moz-image-region: rect(0, 16px, 16px, 0); +#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { + opacity: 0; } -#page-report-button:hover , -#page-report-button:hover:active, -#page-report-button[open="true"] { - -moz-image-region: rect(0, 32px, 16px, 16px); +.urlbar-history-dropmarker:hover { } -/* === BEGIN readinglist.inc.css === */ +.urlbar-history-dropmarker:hover:active, +.urlbar-history-dropmarker[open="true"] { +} -/* Reading List button */ +/* page proxy icon */ +/* === BEGIN identity-block.inc.css === */ -#urlbar:not([focused]):not(:hover) #readinglist-addremove-button { - opacity: 0; - width: 0px; +#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; } -#readinglist-addremove-button { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage"); - -moz-image-region: rect(0, 14px, 14px, 0); - transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms; - opacity: 1; - width: 20px; +#identity-box:-moz-locale-dir(ltr) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; } -#readinglist-addremove-button:hover { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover"); +#identity-box:-moz-locale-dir(rtl) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; } -#readinglist-addremove-button:active { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active"); +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { + border-inline-end: 1px solid #008484; } -#readinglist-addremove-button[already-added="true"] { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded"); +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels { + color: #008484; } -#readinglist-addremove-button[already-added="true"]:hover { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover"); +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { + border-inline-end: 1px solid #9C9CFF; } -#readinglist-addremove-button[already-added="true"]:active { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active"); +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon-labels { + color: #9C9CFF; } -/* === END readinglist.inc.css === */ - -/* Reader mode button */ -#reader-mode-button { - list-style-image: url("chrome://browser/skin/readerMode.svg"); - -moz-image-region: rect(0, 16px, 16px, 0); +#identity-icon-labels:-moz-locale-dir(ltr) { + padding-left: 2px; } -#reader-mode-button:hover, -#reader-mode-button[readeractive]:hover { - -moz-image-region: rect(0, 32px, 16px, 16px); +#identity-icon-labels:-moz-locale-dir(rtl) { + padding-right: 2px; } -#reader-mode-button:hover:active, -#reader-mode-button[readeractive] { - -moz-image-region: rect(0, 48px, 16px, 32px); +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { +/* border-radius: 0; + padding-inline-start: 2px; */ + padding-inline-end: 2px; + margin-inline-end: 1px; } -/* social share panel */ - -.social-share-frame { - min-width: 756px; - height: 150px; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #identity-box { + padding-inline-start: 2px; } -#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; +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; } -.social-share-toolbar { - border-bottom: 1px solid #9C9CFF; - padding: 2px; +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; } -#social-share-provider-buttons { - padding: 0; - margin: 0; +#identity-icon, +#tracking-protection-icon, +#connection-icon, +.notification-anchor-icon, +#blocked-permissions-container > .blocked-permission-icon, +#extension-icon { + width: 16px; + height: 16px; + margin-inline-start: 2px; + -moz-context-properties: fill; + fill: #A09090; } -.share-provider-button { - padding: 5px; - margin: 2px; +#identity-icon:-moz-lwtheme, +#tracking-protection-icon:-moz-lwtheme, +#connection-icon:-moz-lwtheme, +.notification-anchor-icon:-moz-lwtheme, +#blocked-permissions-container > .blocked-permission-icon:-moz-lwtheme, +#extension-icon:-moz-lwtheme { +/* fill: rgba(0,0,0,.6);*/ } -.share-provider-button > .toolbarbutton-text { - display: none; -} -.share-provider-button > .toolbarbutton-icon { +/* MAIN IDENTITY ICON */ + +#identity-icon { + margin-inline-start: 0; width: 16px; - min-height: 16px; - max-height: 16px; + height: 16px; + list-style-image: url(chrome://browser/skin/identity-icon.svg#normal); } -toolbarbutton[type="socialmark"] > .toolbarbutton-icon { - width: auto; - height: auto; - max-width: 32px; - max-height: 24px; +#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); } -/* fixup corners for share panel */ -.social-panel > .social-panel-frame { - border-radius: inherit; +#identity-box.grantedPermissions > #identity-icon { + list-style-image: url(chrome://browser/skin/identity-icon.svg#notice); } -#social-share-panel { - min-height: 100px; - min-width: 766px; +#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); } -#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; +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon { + list-style-image: url(chrome://branding/content/identity-icons-brand.svg); } -#social-share-panel > .social-share-toolbar { - border-top-left-radius: inherit; - border-top-right-radius: inherit; +#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon { + opacity: .3; } -#social-share-provider-buttons { - border-top-left-radius: inherit; - border-top-right-radius: inherit; +#urlbar[actiontype="searchengine"] > #identity-box > #identity-icon { + list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg); } -/* social recommending panel */ - -#social-mark-button { - -moz-image-region: rect(0, 16px, 16px, 0); +#urlbar[actiontype="extension"] > #identity-box > #identity-icon { + list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg); } -/* bookmarks menu-button */ +/* SHARING ICON */ -#bookmarks-menu-button.bookmark-item { - list-style-image: url("chrome://browser/skin/places/bookmark.png"); - -moz-image-region: rect(0px 16px 16px 0px); +#sharing-icon { + width: 16px; + height: 16px; + margin-inline-start: -16px; + position: relative; + -moz-context-properties: fill; + fill: #FF0000; + display: none; } -#bookmarks-menu-button.bookmark-item[starred] { - -moz-image-region: rect(0px 32px 16px 16px); +#identity-box[sharing="camera"] > #sharing-icon { + list-style-image: url("chrome://browser/skin/notification-icons.svg#camera-sharing"); } -#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { - -moz-margin-start: 5px; +#identity-box[sharing="microphone"] > #sharing-icon { + list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone-sharing"); } -#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { - padding-top: 2px; - padding-bottom: 2px; -} +#identity-box[sharing="screen"] > #sharing-icon { + list-style-image: url("chrome://browser/skin/notification-icons.svg#screen-sharing"); -#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; +#identity-box[sharing] > #sharing-icon { + display: -moz-box; + animation-delay: -1.5s; } -/* bookmarking panel */ - -#editBookmarkPanelStarIcon { - list-style-image: url("chrome://browser/skin/places/starred48.png"); - width: 48px; - height: 48px; +#identity-box[sharing] > #identity-icon, +#sharing-icon { + animation: 3s linear identity-box-sharing-icon-pulse infinite; } -#editBookmarkPanelStarIcon[unstarred] { - list-style-image: url("chrome://browser/skin/places/unstarred48.png"); +@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; + } } -#editBookmarkPanelTitle { - font-size: 130%; -} +/* TRACKING PROTECTION ICON */ -#editBookmarkPanelHeader, -#editBookmarkPanelContent { - margin-bottom: .5em; +#tracking-protection-icon { + list-style-image: url(chrome://browser/skin/tracking-protection-16.svg#enabled); + margin-inline-end: 0; } -/* Implements editBookmarkPanel resizing on folderTree un-collapse. */ -#editBMPanel_folderTree { - min-width: 27em; +#tracking-protection-icon[state="loaded-tracking-content"] { + list-style-image: url(chrome://browser/skin/tracking-protection-16.svg#disabled); } -.panel-promo-box { - margin: 5px 0 -6px; - padding: 5px 0; - border-top: 1px solid #9C9CFF; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; +#tracking-protection-icon[animate] { + transition: margin-left 200ms ease-out, margin-right 200ms ease-out; } -.panel-promo-icon { - list-style-image: url("chrome://browser/skin/sync-notification-24.png"); - -moz-margin-end: 10px; - vertical-align: middle; +#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; } -.panel-promo-closebutton { - list-style-image: url("chrome://global/skin/icons/close-button.gif"); - -moz-margin-end: -3px; - margin-top: -3px; +#urlbar[pageproxystate="invalid"] > #identity-box > #extension-icon, +#urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon { + visibility: collapse; } -.panel-promo-closebutton:hover { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); -} +/* CONNECTION ICON, EXTENSION ICON */ -.panel-promo-closebutton:hover:active { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +#connection-icon, +#extension-icon { + width: 16px; + height: 16px; + visibility: collapse; } -.panel-promo-closebutton > .toolbarbutton-text { - padding: 0; +#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; } -/* ::::: content area ::::: */ - -#sidebar-box { - background-color: #9C9CFF; - color: #000000; +#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; } -#sidebar { - background-color: #000000; +#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; } -#sidebar-splitter { - -moz-margin-start: 0; +#identity-box.extensionPage > #extension-icon { + list-style-image: url(chrome://browser/skin/controlcenter/extension.svg); + visibility: visible; } -#sidebar-header { - color: #000000; - padding: 2px; -} +/* REMOTE CONTROL ICON */ -#sidebar-title { - -moz-padding-start: 0px; +#main-window[remotecontrol] #remote-control-icon { + list-style-image: url(chrome://browser/content/static-robot.png); + visibility: visible; + width: 16px; + height: 16px; + margin-inline-start: 2px; } -#sidebar-header > .close-icon { -/* padding: 4px 2px; - margin: 0; - border: none;*/ - list-style-image: url("chrome://global/skin/icons/close-button.gif"); -} +/* === END identity-block.inc.css === */ -#sidebar-header > .close-icon:hover, -#sidebar-header > .close-icon:hover:active { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +#page-proxy-favicon { + -moz-image-region: rect(0, 16px, 16px, 0); } -#sidebar-splitter:-moz-locale-dir(ltr), -#sidebar:-moz-locale-dir(ltr) { - border-radius: 0 5px 0 0; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { +/* margin-inline-end: 1px;*/ } -#sidebar-splitter:-moz-locale-dir(rtl), -#sidebar:-moz-locale-dir(rtl) { - border-radius: 5px 0 0 0; +#identity-box:hover > #page-proxy-favicon { + -moz-image-region: rect(0, 32px, 16px, 16px); } -.browserContainer > findbar { -/* - background-color: -moz-dialog; - color: -moz-DialogText; -*/ +#identity-box:hover:active > #page-proxy-favicon, +#identity-box[open=true] > #page-proxy-favicon { + -moz-image-region: rect(0, 48px, 16px, 32px); } -/* Tabstrip */ - -#TabsToolbar { - min-height: 0; - padding: 0; - -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); +#identity-box:hover { + background-color: #FFCF00; + color: #000000; } -#TabsToolbar .toolbar-holder { - background-color: #000000; /* correct effect of being an actual toolbar */ +#identity-box:hover:active, +#identity-box[open=true] { + background-color: #FF9F00; + color: #000000; } -#main-window[disablechrome] #TabsToolbar, -#TabsToolbar[tabsontop="false"] { - border-bottom: 1px solid #008484; +#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; } -/* === BEGIN tabs.inc.css === */ - -:root { - /* --tab-toolbar-navbar-overlap: 1px; */ - /* --tab-min-height: 31px; */ - /* --tab-curve-width: 30px; */ - /* --tab-curve-half-width: 15px; */ +#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; } -.tabbrowser-tab, -.tabs-newtab-button, -#TabsToolbar > #new-tab-button { - margin-top: 0px; +#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; } -.tabbrowser-tab { - padding: 1px 4px 2px; +#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; } -.tabbrowser-tab:first-of-type { - -moz-margin-start: 2px; +#identity-box:hover > image, +#identity-box:hover:active > image, +#identity-box[open=true] > image { + filter: url(chrome://global/skin/filters.svg#active-icon-state); } -.tabs-newtab-button, -#TabsToolbar > #new-tab-button { - border-radius: 8px 8px 0px 0px; - -moz-margin-start: 0; -} +/* autocomplete */ -.tabs-newtab-button:not(:hover), -#TabsToolbar > #new-tab-button:not(:hover) { - background-color: #C09070; +/* === BEGIN autocomplete.inc.css === */ + +#PopupAutoComplete > richlistbox > richlistitem { + height: 20px; + min-height: 20px; + border: 0; + border-radius: 0; + padding: 0px 1px 0px 1px; } -.tabbrowser-tab[remote] { - text-decoration: underline; +#PopupAutoComplete > richlistbox > richlistitem > .ac-site-icon { + margin-inline-start: 4px; + margin-inline-end: 0; } -/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ -.tabbrowser-tab[selected=true] { -/* position: relative; - z-index: 2;*/ +#PopupAutoComplete > richlistbox > richlistitem > .ac-title { + font: icon; + margin-inline-start: 4px; } -.tab-background-middle { +#PopupAutoComplete > richlistbox { + padding: 0; } -.tab-content { +/* Login form autocompletion */ +#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon { + display: initial; + list-style-image: url(chrome://browser/skin/notification-icons.svg#login); + -moz-context-properties: fill; + fill: #A09090; } -.tab-content[pinned] { +#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon[selected] { + fill: #FFCF00; } -.tab-throbber, -.tab-icon-image, -.tab-close-button { +/* 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; } -.tab-throbber, -.tab-icon-image { - height: 16px; - width: 16px; - -moz-margin-end: 3px; +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] { + background-color: var(--arrowpanel-dimmed-further); + color: #FFCF00; } -.tab-icon-image { - list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title { + color: #A09090; + font-size: 1em; } -.tab-icon-overlay { - width: 16px; - height: 16px; - /* margin-top: 10px; */ - -moz-margin-start: -16px; - display: none; +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] > .ac-title { + color: inherit; } -.tab-icon-overlay[crashed] { - display: -moz-box; - list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg"); +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon { + list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon); } -.tab-throbber[busy] { - list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); +/* === END autocomplete.inc.css === */ + +#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] { + border-top: 1px solid #A09090; } -.tab-throbber[progress] { - list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); +#treecolAutoCompleteImage { + max-width: 36px; } -.tab-throbber[pinned], -.tab-icon-image[pinned] { - -moz-margin-start: 2px; - -moz-margin-end: 2px; +/* +.autocomplete-richlistbox { + padding: 4px; } -.tab-label { - /* this needs to add up to the 16px of the icon image */ - height: 12px; - margin-top: 2px !important; - margin-bottom: 2px !important; +.autocomplete-richlistitem { + height: 30px; + min-height: 30px; + font: message-box; + border-radius: 2px; + border: 1px solid transparent; +} +*/ +.ac-title { + font-size: 14px; } -.tab-close-button { - margin-top: 1px; - padding: 0; +.ac-tags { + font-size: 12px; +} +/* +html|span.ac-tag { + border-radius: 2px; + border: 1px solid transparent; + padding: 0 1px; } +*/ -.tab-background, -.tabs-newtab-button { - /* overlap the tab curves */ +.ac-separator, +.ac-url, +.ac-action { + font-size: 12px; } -.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { +html|span.ac-emphasize-text-title, +html|span.ac-emphasize-text-tag, +html|span.ac-emphasize-text-url { + font-weight: 600; } -/* Tab Overflow */ -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { +.ac-type-icon[type=bookmark] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star"); } -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { +.ac-type-icon[type=bookmark][selected][current] { +/* list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");*/ } -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { +.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; } -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { +richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark { +/* -moz-image-region: rect(0px 48px 16px 32px);*/ } -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { +.ac-type-icon[type=keyword], +.ac-site-icon[type=searchengine] { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg"); + context-properties: fill; + fill: #FFCF00; } -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, -.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { +.ac-type-icon[type=keyword][selected], +.ac-site-icon[type=searchengine][selected] { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg"); + context-properties: fill; + fill: #000000; } -.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 { +.ac-result-type-tag { + list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); + width: 16px; + height: 16px; } -.tabbrowser-tab:not([selected=true]), -.tabbrowser-tab:-moz-lwtheme { +.ac-type-icon[type=switchtab], +.ac-type-icon[type=remotetab] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); } -/* tabbrowser-tab focus ring */ -.tabbrowser-tab:focus { - outline: 1px dotted; +.ac-type-icon[type=switchtab][selected], +.ac-type-icon[type=remotetab][selected] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); } -/* Selected tab */ +.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), +.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) +{ + color: #8050B0; + font-size: smaller; +} -.tabbrowser-tab[selected="true"] { +.autocomplete-treebody::-moz-tree-cell(suggesthint) { + border-top: 1px solid #9C9CFF; } -/* End selected tab */ +/* combined go/reload/stop button in location bar */ -/* Tab pointer-events */ -/* -.tabbrowser-tab { - pointer-events: none; +#urlbar-go-button, +#reload-button, +#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; +} + +/* XXX: temporary for Photon preview changes */ +#reload-button, +#stop-button { + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); } -.tab-background-middle, -.tabs-newtab-button, -.tab-close-button { - pointer-events: auto; +#urlbar:-moz-locale-dir(ltr) > toolbarbutton { + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; } -*/ -/* Pinned tabs */ -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { - background-color: #E7ADE7; +#urlbar:-moz-locale-dir(rtl) > toolbarbutton { + border-top-right-radius: 0px; + border-bottom-right-radius: 0px; } -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { - background-color: #3333FF; - color: #000000; +#urlbar > toolbarbutton:not([disabled=true]):active:hover, +#reload-button:not(:hover) { + border-inline-start-style: none; + padding-inline-start: 3px; } -/* Handle a case where the last separator in a customized tab bar with a - separated new tab button causes the width of the tab to extend and causes - jittering with a small tab curve width (Bug 1111091). */ -#TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after { +#reload-button, +#reload-button { + -moz-image-region: rect(0px, 14px, 14px, 0px); } -/* New tab button */ +#reload-button[disabled=true], +#reload-button[disabled=true] { + -moz-image-region: rect(28px, 14px, 42px, 0px); +} -.tabs-newtab-button { - width: 28px; - /* width: calc(36px + var(--tab-curve-width)); */ +#reload-button:not([disabled=true]):hover, +#reload-button:not([disabled=true]):hover { + -moz-image-region: rect(14px, 14px, 28px, 0px); } -/* === END tabs.inc.css === */ +#reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} -/* Background tabs: - * - * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top - * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by - * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. - */ -#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { -/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ +#urlbar-go-button { + -moz-image-region: rect(0, 42px, 14px, 28px); } -/* Tab DnD indicator */ -.tab-drop-indicator { - list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); - margin-bottom: -11px; +#urlbar-go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); } -/* Tab close button */ -.tab-close-button { - list-style-image: url("chrome://global/skin/icons/close-button.gif"); +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); } -.tab-close-button:hover, -.tab-close-button:hover[selected="true"] { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +#stop-button, +#stop-button { + -moz-image-region: rect(0px, 28px, 14px, 14px); } -.tab-close-button:hover:active, -.tab-close-button:hover:active[selected="true"] { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +#stop-button:hover, +#stop-button:hover { + -moz-image-region: rect(14px, 28px, 28px, 14px); } -/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ +@media (min-resolution: 1.1dppx) { + #reload-button, + #stop-button, + #urlbar-go-button, + #reload-button, + #stop-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + } -.tabbrowser-arrowscrollbox > .scrollbutton-up, -.tabbrowser-arrowscrollbox > .scrollbutton-down { - margin: 0; - padding-top: 0; - padding-bottom: 0; - background-origin: border-box; -} + #reload-button > .toolbarbutton-icon, + #stop-button > .toolbarbutton-icon, + #urlbar-go-button > .toolbarbutton-icon, + #reload-button > .toolbarbutton-icon, + #stop-button > .toolbarbutton-icon { + width: 14px; + } -#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 { - } + #urlbar-go-button { + -moz-image-region: rect(0, 84px, 28px, 56px); + } -.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], -.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { - } + #urlbar-go-button:hover { + -moz-image-region: rect(28px, 84px, 56px, 56px); + } -.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), -.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { -/* transform: scaleX(-1);*/ -} + #urlbar-go-button:hover:active { + -moz-image-region: rect(56px, 84px, 84px, 56px); + } -.tabbrowser-arrowscrollbox > .scrollbutton-down { - transition: 1s background-color ease-out; -} + #reload-button, + #reload-button { + -moz-image-region: rect(0, 28px, 28px, 0); + } -.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { - background-color: #008484; -} + #reload-button:not([disabled]):hover, + #reload-button:not([disabled]):hover { + -moz-image-region: rect(28px, 28px, 56px, 0); + } -.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;*/ -} + #reload-button:not([disabled]):hover:active, + #reload-button:not([disabled]):hover:active { + -moz-image-region: rect(56px, 28px, 84px, 0); + } -.tabs-newtab-button > .toolbarbutton-icon { - margin-top: -1px; - margin-bottom: -1px; -} + #stop-button, + #stop-button { + -moz-image-region: rect(0, 56px, 28px, 28px); + } -.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/newtabFx.png"); - -moz-image-region: rect(0, 16px, 18px, 0); -} + #stop-button:not([disabled]):hover, + #stop-button:not([disabled]):hover { + -moz-image-region: rect(28px, 56px, 56px, 28px); + } -.tabs-newtab-button, -.tabs-newtab-button:hover, -#TabsToolbar > #new-tab-button, -#TabsToolbar > #new-tab-button:hover { - -moz-image-region: rect(0, 32px, 18px, 16px); + #stop-button:hover:active, + #stop-button:hover:active { + -moz-image-region: rect(56px, 56px, 84px, 28px); + } } -#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 { -} +/* popup blocker button */ -#TabsToolbar > #new-tab-button { - width: 26px; +#page-report-button { + list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); + -moz-image-region: rect(0, 16px, 16px, 0); } -#alltabs-button { - list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +#page-report-button:hover , +#page-report-button:hover:active, +#page-report-button[open="true"] { + -moz-image-region: rect(0, 32px, 16px, 16px); } -#alltabs-button:hover, -#alltabs-button:hover:active, -#alltabs-button[open="true"] { - list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); +/* Reader mode button */ + +#reader-mode-button { + list-style-image: url("chrome://browser/skin/readerMode.svg"); + -moz-image-region: rect(0, 16px, 16px, 0); } -#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), -#alltabs-button:-moz-lwtheme-brighttext { +#reader-mode-button:hover, +#reader-mode-button[readeractive]:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); } -#alltabs-button > .toolbarbutton-icon { -/* margin: 0 2px;*/ +#reader-mode-button:hover:active, +#reader-mode-button[readeractive] { + -moz-image-region: rect(0, 48px, 16px, 32px); } -#alltabs-button > .toolbarbutton-menu-dropmarker { - display: none; +/* 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); } -/* 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; +#manage-share-providers > .toolbarbutton-icon { + min-height: 18px; + min-width: 18px; } -.alltabs-item[selected="true"] { - font-weight: bold; +.social-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; } - -.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { - list-style-image: url("chrome://global/skin/icons/loading.gif"); +/* fixup corners for share panel */ +.social-panel > .social-panel-frame { + border-radius: inherit; } -.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { - background-color: #402800; +/* === END social.inc.css === */ + +.social-panel-frame { + border-radius: inherit; } -toolbarbutton.chevron { - list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; +.social-share-frame { + min-width: 756px; + height: 150px; } -toolbarbutton.chevron:hover { - list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; +#share-container { + min-width: 756px; + background-color: white; + background-repeat: no-repeat; + background-position: center center; } -/* -toolbar[brighttext] toolbarbutton.chevron { - list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; +#share-container[loading] { + background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png); } -*/ -toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, -toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { - transform: scaleX(-1); +#share-container > browser { + transition: opacity 150ms ease-in-out; + opacity: 1; +} +#share-container[loading] > browser { + opacity: 0; } -toolbarbutton.chevron > .toolbarbutton-text, -toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { - display: none; +.social-share-toolbar { + border-bottom: 1px solid #9C9CFF; + padding: 2px; } -toolbarbutton.chevron > .toolbarbutton-icon { +#social-share-provider-buttons { + padding: 0; margin: 0; } -#sidebar-throbber[loading="true"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); - -moz-margin-end: 4px; +.share-provider-button { + padding: 5px; + margin: 2px; } -/* Bookmarks toolbar */ -#PlacesToolbarDropIndicator { - list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); +.share-provider-button > .toolbarbutton-text { + display: none; } - -toolbarbutton.bookmark-item[dragover="true"][open="true"] { - background-color: #008484 !important; - color: #FFCF00 !important; +.share-provider-button > .toolbarbutton-icon { + width: 16px; + min-height: 16px; + max-height: 16px; } -/* 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; +#social-share-panel { + min-height: 100px; + min-width: 766px; } -.menupopup-drop-indicator { - list-style-image: none; - height: 2px; - -moz-margin-end: -4em; - background-color: #008484; +#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; } -/* ::::: Identity Indicator Styling ::::: */ - -/* Popup Icons */ -#identity-popup-icon { - height: 64px; - width: 64px; - padding: 0; - list-style-image: url("chrome://browser/skin/identity.png"); - -moz-image-region: rect(0px, 64px, 64px, 0px); +#social-share-panel > .social-share-toolbar { + border-top-left-radius: inherit; + border-top-right-radius: inherit; } -#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { - -moz-image-region: rect(64px, 64px, 128px, 0px); +#social-share-provider-buttons { + border-top-left-radius: inherit; + border-top-right-radius: inherit; } -#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { - -moz-image-region: rect(128px, 64px, 192px, 0px); +/* 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); } -/* Popup Body Text */ -.identity-popup-description { - white-space: pre-wrap; - -moz-padding-start: 15px; - margin: 2px 0 4px; +#bookmarks-menu-button.bookmark-item[starred] { + -moz-image-region: rect(0px 32px 16px 16px); } -.identity-popup-label { - white-space: pre-wrap; - -moz-padding-start: 15px; - margin: 0; +#nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + padding-top: 2px; + padding-bottom: 2px; } -#identity-popup-content-host, -#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { - font-size: 1.2em; +#BMB_bookmarksPopup[side="top"], +#BMB_bookmarksPopup[side="bottom"] { + margin-left: -20px; + margin-right: -20px; } -#identity-popup-content-host { - margin-top: 3px; - margin-bottom: 5px; - font-weight: bold; - max-width: 300px; +#BMB_bookmarksPopup[side="left"], +#BMB_bookmarksPopup[side="right"] { + margin-top: -20px; + margin-bottom: -20px; } -#identity-popup-content-owner { - margin-top: 4px; - margin-bottom: 0 !important; - font-weight: bold; - max-width: 300px; +/* bookmarking panel */ + +#editBookmarkPanelStarIcon { + list-style-image: url("chrome://browser/skin/places/starred48.png"); + width: 48px; + height: 48px; } -.verifiedDomain > #identity-popup-content-owner { - font-weight: normal; +#editBookmarkPanelStarIcon[unstarred] { + list-style-image: url("chrome://browser/skin/places/unstarred48.png"); } -#identity-popup-content-verifier { - margin: 4px 0 2px; +#editBookmarkPanelTitle { + font-size: 130%; } -#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , -#identity-popup-content-box.verifiedDomain > #identity-popup-encryption { - margin-top: 10px; - -moz-margin-start: -24px; +#editBookmarkPanelHeader, +#editBookmarkPanelContent { + margin-bottom: .5em; } -#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"); +/* Implements editBookmarkPanel resizing on folderTree un-collapse. */ +#editBMPanel_folderTree { + min-width: 27em; } -#identity-popup-help-icon { - border: none; - margin: 7px 0 0 -3px; - background: none; - min-width: 0; - list-style-image: url("chrome://global/skin/icons/question-16.png"); - cursor: pointer; +/* ::::: content area ::::: */ + +/* === BEGIN sidebar.inc.css === */ + +#sidebar-box { + --icon-fill: #FFCF00; + --header-background-color: #9C9CFF; + --header-background-color-hover: #FFCF00; + --title-font-size: 13px; + + background-color: #9C9CFF; + color: #000000; } -#identity-popup-help-icon > .button-box > .button-text { - display: none; +#sidebar-header { + color: #000000; + padding: 2px; } -#identity-popup-help-icon > .button-box > .button-icon { - height: 16px; - width: 16px; +#sidebar-splitter { + margin-inline-start: 0; } -#identity-popup-more-info-button { - margin-top: 6px; - margin-bottom: 0; - -moz-margin-end: 0; +#sidebar-splitter:-moz-locale-dir(ltr), +#sidebar:-moz-locale-dir(ltr) { + border-radius: 0 5px 0 0; } -#identity-popup > .panel-arrowcontainer > .panel-arrowcontent { - padding: 0; +#sidebar-splitter:-moz-locale-dir(rtl), +#sidebar:-moz-locale-dir(rtl) { + border-radius: 5px 0 0 0; } -#identity-popup-container { - min-width: 280px; - padding: 10px; +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); } -#identity-popup-button-container { -/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ - padding: 10px; - margin-top: 5px; +@media (min-resolution: 2dppx) { + .sidebar-throbber[loading="true"], + #sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + width: 16px; + } } -.popup-notification-icon { - width: 64px; - height: 64px; - -moz-margin-end: 10px; +#sidebar-title { + padding-inline-start: 0px; } -.popup-notification-icon[popupid="geolocation"] { - list-style-image: url("chrome://browser/skin/Geolocation-64.png"); +#sidebar-title { + margin: 0; + padding: 0; + padding-inline-start: 8px; + padding-inline-end: 4px; } -.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; +#sidebar-switcher-arrow, +#sidebar-close > .toolbarbutton-icon { + -moz-context-properties: fill; + fill: currentColor; + opacity: 0.8; } -.popup-notification-icon[popupid="click-to-play-plugins"] { - list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); +#sidebar-switcher-arrow { +/* list-style-image: url(chrome://browser/skin/arrow-dropdown.svg);*/ + list-style-image: url(chrome://global/skin/arrow/arrow-down.gif); + width: 12px; + height: 12px; } -.popup-notification-icon[popupid="web-notifications"] { - list-style-image: url("chrome://browser/skin/notification-64.png"); +#sidebar-switcher-arrow:hover { + list-style-image: url(chrome://global/skin/arrow/arrow-down-hover.gif); } -.addon-progress-description { - width: 350px; - max-width: 350px; +#sidebar-header > .close-icon { +/* padding: 4px 2px; + margin: 0; + border: none;*/ + list-style-image: url("chrome://global/skin/icons/close-button.gif"); } -.popup-progress-label, -.popup-progress-meter { - -moz-margin-start: 0; - -moz-margin-end: 0; +#sidebar-header > .close-icon:hover, +#sidebar-header > .close-icon:hover:active { + list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); } -.popup-progress-cancel { +#sidebar-close { -moz-appearance: none; - background: transparent; - border: none; - padding: 0; + list-style-image: url(chrome://browser/skin/sidebar/close.svg); 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); + padding: 4px; + border-radius: 4px; } - -.popup-progress-cancel:hover { - -moz-image-region: rect(16px, 32px, 32px, 16px); +/* +#sidebar-switcher-target { + -moz-appearance: none; + color: inherit; + margin-inline-end: 4px; + border-radius: 4px; + border: 1px solid transparent; + padding: 2px 4px; } -.popup-progress-cancel:active { - -moz-image-region: rect(32px, 32px, 48px, 16px); +#sidebar-switcher-target:hover, +#sidebar-close:hover { + background: hsla(240, 5%, 5%, 0.05); } -.popup-notification-icon[popupid="indexedDB-permissions-prompt"], -.popup-notification-icon[popupid*="offline-app-requested"], -.popup-notification-icon[popupid="offline-app-usage"] { - list-style-image: url("chrome://global/skin/icons/alert-question.gif"); +#sidebar-switcher-target:hover { + border-color: rgba(0, 0, 0, 0.2); } -.popup-notification-icon[popupid="password-save"], -.popup-notification-icon[popupid="password-change"] { - list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); +#sidebar-close:hover:active, +#sidebar-switcher-target:hover:active, +#sidebar-switcher-target.active { + background: hsla(240, 5%, 5%, 0.1); } -.popup-notification-icon[popupid="webapps-install-progress"], -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url("chrome://global/skin/icons/webapps-64.png"); +#sidebar-switcher-target:hover:active, +#sidebar-switcher-target.active { + border-color: rgba(0, 0, 0, 0.25); } - -.popup-notification-icon[popupid="bad-content"] { - list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); +*/ +#sidebarMenu-popup .subviewbutton { + min-width: 190px; } -.popup-notification-icon[popupid="bad-content"][mixedblockdisabled], -.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] { - list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png); +#sidebar-extensions:empty + toolbarseparator { + display: none; } -.popup-notification-icon[popupid="webRTC-sharingDevices"], -.popup-notification-icon[popupid="webRTC-shareDevices"] { - list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); +/* Allow room for the checkbox drawn as a background image at the start of the toolbarbutton */ +#sidebarMenu-popup .subviewbutton-iconic > .toolbarbutton-icon { + padding-inline-start: 16px; +} +#sidebarMenu-popup .subviewbutton-iconic > .toolbarbutton-text { + padding-inline-start: 0; } -.popup-notification-icon[popupid="webRTC-sharingMicrophone"], -.popup-notification-icon[popupid="webRTC-shareMicrophone"] { - list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png"); +#sidebar-box[sidebarcommand="viewWebPanelsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon { + list-style-image: url(chrome://mozapps/skin/places/defaultFavicon.svg); } -.popup-notification-icon[popupid="webRTC-sharingScreen"], -.popup-notification-icon[popupid="webRTC-shareScreen"] { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png); +#sidebar-switcher-bookmarks > .toolbarbutton-icon, +#sidebar-box[sidebarcommand="viewBookmarksSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon { +/* list-style-image: url(chrome://browser/skin/bookmark.svg); + -moz-context-properties: fill; + fill: currentColor; + opacity: 0.8;*/ + list-style-image: url(chrome://browser/skin/places/bookmark.png); + -moz-image-region: rect(0px 16px 16px 0px); } -.popup-notification-icon[popupid="pointerLock"] { - list-style-image: url("chrome://browser/skin/pointerLock-64.png"); +#sidebar-switcher-history > .toolbarbutton-icon, +#sidebar-box[sidebarcommand="viewHistorySidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon { +/* list-style-image: url(chrome://browser/skin/history.svg); + -moz-context-properties: fill; + fill: currentColor; + opacity: 0.8;*/ + list-style-image: url(chrome://browser/skin/places/history.png); } -/* Notification icon box */ -#notification-popup .panel-promo-box { -/* margin: 10px -10px -10px; */ +#sidebar-switcher-tabs > .toolbarbutton-icon, +#sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon { + list-style-image: url(chrome://browser/skin/synced-tabs.svg); + -moz-context-properties: fill; + fill: currentColor; +/* opacity: 0.8;*/ } -#notification-popup-box { - position: relative; +/* === END sidebar.inc.css === */ + +#sidebar { background-color: #000000; - background-clip: padding-box; - padding-left: 3px; - padding-right: 8px; - border-radius: 3px 0 0 3px; - border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; - -moz-margin-end: -8px; - border-right-width: 8px; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box { -/* padding-left: 7px; */ +.browserContainer > findbar { +/* + background-color: -moz-dialog; + color: -moz-DialogText; +*/ } -#notification-popup-box:-moz-locale-dir(rtl), -.notification-anchor-icon:-moz-locale-dir(rtl) { - transform: scaleX(-1); +/* Tabstrip */ + +#TabsToolbar { + min-height: 0; + padding: 0; + -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); } -.notification-anchor-icon { - width: 16px; - height: 16px; - margin: 0 2px; +#TabsToolbar .toolbar-holder { + background-color: #000000; /* correct effect of being an actual toolbar */ } -.notification-anchor-icon:-moz-focusring { - outline: 1px dotted #008484; +#main-window[disablechrome] #TabsToolbar, +#TabsToolbar[tabsontop="false"] { + border-bottom: 1px solid #008484; } -.default-notification-icon, -#default-notification-icon { - list-style-image: url("chrome://global/skin/icons/information-16.png"); +/* === 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%; */ } -.identity-notification-icon, -#identity-notification-icon { - list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +.tabbrowser-tab, +.tabs-newtab-button, +#TabsToolbar > #new-tab-button { + margin-top: 0px; } -.geo-notification-icon, -#geo-notification-icon { - list-style-image: url("chrome://browser/skin/Geolocation-16.png"); +.tabbrowser-tab { + padding: 1px 4px 2px; } -#addons-notification-icon { - list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); +.tabbrowser-tab:first-of-type { + margin-inline-start: 2px; } -.indexedDB-notification-icon, -#indexedDB-notification-icon { - list-style-image: url("chrome://global/skin/icons/question-16.png"); +.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; } -#password-notification-icon { - list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); +.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; } -#webapps-notification-icon { - list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); +/* 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;*/ } -#plugins-notification-icon { - list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); +.tab-background-middle { } -#plugins-notification-icon.plugin-hidden { - list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); +.tab-content { } -#plugins-notification-icon.plugin-blocked { - list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); +.tab-content[pinned] { } -#plugins-notification-icon { -/* -moz-image-region: rect(0, 16px, 16px, 0);*/ +.tab-throbber, +.tab-icon-image, +.tab-sharing-icon-overlay, +.tab-icon-sound, +.tab-close-button { } -#plugins-notification-icon:hover { -/* -moz-image-region: rect(0, 32px, 16px, 16px);*/ +.tab-throbber, +.tab-sharing-icon-overlay, +.tab-icon-image { + height: 16px; + width: 16px; + margin-inline-end: 3px; } -#notification-popup-box[hidden] { - /* Override display:none to make the pluginBlockedNotification animation work - when showing the notification repeatedly. */ - display: -moz-box; - visibility: collapse; +.tab-icon-image { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg"); } -#plugins-notification-icon.plugin-blocked[showing] { - animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; +.tab-icon-image[sharing]:not([selected]), +.tab-sharing-icon-overlay { + animation: 3s linear tab-sharing-icon-pulse infinite; } -@keyframes pluginBlockedNotification { - from { +@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; } - to { + 33.33%, 66.66% { opacity: 1; } } -.bad-content-blocked-notification-icon, -#bad-content-blocked-notification-icon { - list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); -} - -.bad-content-unblocked-notification-icon, -#bad-content-unblocked-notification-icon { - list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png); -} - -.webRTC-shareDevices-notification-icon, -#webRTC-shareDevices-notification-icon { - list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); -} - -.webRTC-sharingDevices-notification-icon, -#webRTC-sharingDevices-notification-icon { - list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); -} - -.webRTC-shareMicrophone-notification-icon, -#webRTC-shareMicrophone-notification-icon { - list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png"); +.tab-icon-image[sharing]:not([selected]) { + animation-delay: -1.5s; } -.webRTC-sharingMicrophone-notification-icon, -#webRTC-sharingMicrophone-notification-icon { - list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png"); +.tab-sharing-icon-overlay { + /* 16px of the icon + 6px of margin-inline-end of .tab-icon-image */ + margin-inline-start: -22px; + position: relative; + -moz-context-properties: fill; + fill: #FF0000; } -.webRTC-shareScreen-notification-icon, -#webRTC-shareScreen-notification-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); +.tab-sharing-icon-overlay[sharing="camera"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#camera-sharing"); } -.webRTC-sharingScreen-notification-icon, -#webRTC-sharingScreen-notification-icon { - list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png); +.tab-sharing-icon-overlay[sharing="microphone"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone-sharing"); } -.web-notifications-notification-icon, -#web-notifications-notification-icon { - list-style-image: url("chrome://browser/skin/notification-16.png"); +.tab-sharing-icon-overlay[sharing="screen"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#screen-sharing"); } -#pointerLock-notification-icon { - list-style-image: url("chrome://browser/skin/pointerLock-16.png"); -} -#pointerLock-cancel { - margin: 0px; +.tab-icon-overlay { + width: 16px; + height: 16px; + margin-top: -8px; + margin-inline-start: -15px; + margin-inline-end: -1px; + position: relative; } -/* 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); +.tab-icon-overlay[crashed] { + list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg"); } -@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); - } +.tab-icon-overlay[soundplaying], +.tab-icon-overlay[muted]:not([crashed]), +.tab-icon-overlay[blocked]:not([crashed]) { + border-radius: 10px; } -notification[value="translation"][state="translating"] .messageImage { - list-style-image: url("chrome://browser/skin/translating-16.png"); - -moz-image-region: auto; +.tab-icon-overlay[soundplaying]:hover, +.tab-icon-overlay[muted]:hover, +.tab-icon-overlay[blocked]:not([crashed]):hover { + background-color: #FFCF00; } -@media (min-resolution: 1.25dppx) { - notification[value="translation"][state="translating"] .messageImage { - list-style-image: url("chrome://browser/skin/translating-16@2x.png"); - } +.tab-icon-overlay[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio"); } -notification[value="translation"] button, -notification[value="translation"] menulist { - min-width: 0; +.tab-icon-overlay[muted]:not([crashed]) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted"); } -notification[value="translation"] menulist > .menulist-dropmarker { +.tab-icon-overlay[blocked]:not([crashed]) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-blocked"); } -.translation-menupopup arrowscrollbox { - padding-bottom: 0; +#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"); } -.translation-attribution { - cursor: pointer; - -moz-box-align: end; - font-size: small; +#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"); } -.translation-attribution > label { - margin-bottom: 0; +#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"); } -.translation-attribution > image { - width: 70px; +.tab-throbber[busy] { + list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); } -.translation-welcome-panel { - width: 305px; +.tab-throbber[progress] { + list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); } -.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); -} +@media (min-resolution: 1.1dppx) { + .tab-throbber[busy] { + list-style-image: url("chrome://communicator/skin/brand/throbber-anim-connect.png"); + } -.translation-welcome-content { - -moz-margin-start: 16px; + .tab-throbber[progress] { + list-style-image: url("chrome://communicator/skin/brand/throbber-anim.png"); + } } -.translation-welcome-headline { - font-size: larger; - font-weight: bold; +.tab-throbber[pinned], +.tab-icon-image[pinned] { + margin-inline-start: 2px; + margin-inline-end: 2px; } -.translation-welcome-body { - padding: 1em 0; - margin: 0 0; +.tab-label { + /* this needs to add up to the 16px of the icon image */ + height: 12px; + margin-top: 2px !important; + margin-bottom: 2px !important; } -/* === END infobar.inc.css === */ - -notification[value="translation"] { - min-height: 40px; +.tab-icon-sound { + margin-inline-start: 4px; + width: 16px; + height: 16px; + padding: 0; } -.translate-notification-icon, -#translate-notification-icon { - list-style-image: url("chrome://browser/skin/translation-16.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +.tab-icon-sound[soundplaying], +.tab-icon-sound[muted], +.tab-icon-sound[blocked] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-playing.svg); + -moz-context-properties: fill; + fill: currentColor; } -.translated-notification-icon, -#translated-notification-icon { - list-style-image: url("chrome://browser/skin/translation-16.png"); - -moz-image-region: rect(0px, 32px, 16px, 16px); +.tab-icon-sound[muted] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-muted.svg); } -.translation-menupopup { - -moz-appearance: none; +.tab-icon-sound[blocked] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-blocked.svg); } -/* Bookmarks roots menu-items */ -#subscribeToPageMenuitem:not([disabled]), -#subscribeToPageMenupopup, -#BMB_subscribeToPageMenuitem:not([disabled]), -#BMB_subscribeToPageMenupopup { - list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); +.tab-close-button { + margin-top: 1px; + padding: 0; } -#bookmarksToolbarFolderMenu, -#BMB_bookmarksToolbar, -#panelMenu_bookmarksToolbar { - list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); - -moz-image-region: auto; +.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; } -#BMB_unsortedBookmarks, -#panelMenu_unsortedBookmarks { - list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); - -moz-image-region: auto; +.tab-background, +.tabs-newtab-button { + /* overlap the tab curves */ } -#menu_readingList, -#BMB_readingList { - list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg"); - -moz-image-region: auto; +.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { } -/* ::::: Keyboard UI Panel ::::: */ - -.KUI-panel { - color: #FF9F00; - border-style: none; - border-radius: 20px; +/* Tab Overflow */ +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { } -.KUI-panel[level="top"] { - /*background-color: rgba(27%,27%,27%,.65);*/ +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { } -/* Ctrl-Tab */ - -#ctrlTab-panel { - padding: 20px 10px 10px; - font-weight: bold; +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { } -.ctrlTab-favicon[src] { - background-color: #000000; - width: 20px; - height: 20px; - padding: 2px; +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { } -.ctrlTab-preview-inner > .tabPreview-canvas { +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { } -.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { - margin-bottom: 2px; +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { } -.ctrlTab-preview-inner { - padding-bottom: 10px; +.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 { } -#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { - padding: 10px; - background-color: #000000; - border-radius: .5em; +.tabbrowser-tab:not([visuallyselected=true]), +.tabbrowser-tab:-moz-lwtheme { } -.ctrlTab-preview:focus > * > .ctrlTab-preview-inner { - color: white; - background-color: #000000; - text-shadow: none; - padding: 8px; - border: 2px solid #9C9CFF; - border-radius: .5em; +/* tabbrowser-tab focus ring */ +.tabbrowser-tab:focus { + outline: 1px dotted; } -.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { - margin: -10px -10px 0; -} +/* Selected tab */ -#ctrlTab-showAll { - margin-top: .5em; +.tabbrowser-tab[visuallyselected="true"] { } -/* Sync Panel */ +/* End selected tab */ -.sync-panel-icon { - height:32px; - width: 32px; - background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; +/* Tab pointer-events */ +/* +.tabbrowser-tab { + pointer-events: none; } -.sync-panel-inner { - width: 0; - padding-left: 10px; +.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 */ -.sync-panel-button-box { - margin-top: 1em; +/* +.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; } -#sync-error-panel-title, -#sync-start-panel-title { - font-size: 120%; +.tab-label[attention]:not([selected="true"]) { font-weight: bold; - margin-bottom: 5px; -} - -#sync-start-panel-subtitle, -#sync-error-panel-subtitle { - margin: 0; -} - -/* 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; +.tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover { + background-color: #3333FF; + color: #000000; } -.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; +/* 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; } -/* HACK to abolish devily color on main content */ - -#content { - background-color: transparent !important; +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before, +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after { + opacity: 0.4; } - -#full-screen-warning-message { - background-color: #000000; - color: #FF9F00; - border-radius: 8px; - margin-top: 30px; - padding: 30px 50px; - box-shadow: 0 0 2px #9C9CFF; +*/ +/* 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 */ -#full-screen-warning-container[obscure-browser] { - background-color: rgba(0,0,0,0.3); +.tabs-newtab-button { + width: 28px; + /* width: calc(36px + var(--tab-curve-width)); */ } -.full-screen-description { - font-size: 150%; +.tabs-newtab-button > .toolbarbutton-menu-dropmarker { + display: none; } -#full-screen-domain-text { - font-size: 300%; +.tabs-newtab-button > .toolbarbutton-icon { + /* override drop marker image padding */ + margin-inline-end: 0; } -.full-screen-approval-button, -#full-screen-remember-decision { - font-size: 120%; -} +@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 { + } -/* === BEGIN commandline.inc.css === */ + .tab-background-middle[selected=true] { + } -/* Developer toolbar */ + .tab-background-start[selected=true]:-moz-locale-dir(ltr)::after, + .tab-background-end[selected=true]:-moz-locale-dir(rtl)::after { + } -#developer-toolbar { - border-top: 3px solid #000000; - border-bottom: none; + .tab-background-end[selected=true]:-moz-locale-dir(ltr)::after, + .tab-background-start[selected=true]:-moz-locale-dir(rtl)::after { + } } -#developer-toolbar .toolbar-holder { - background-color: #8050B0; - color: #FFCF00; +/* All tabs menupopup */ + +.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { + background-color: #402800; } -#developer-toolbar .toolbar-holder { - background-color: #8050B0; - color: #FFCF00; +.alltabs-endimage[soundplaying], +.alltabs-endimage[muted], +.alltabs-endimage[blocked] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-playing.svg); + -moz-context-properties: fill; + fill: currentColor; } -#developer-toolbar .toolbar-startcap, -#developer-toolbar .toolbar-endcap{ - background-color: #6000CF; +.alltabs-endimage[muted] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-muted.svg); } -#developer-toolbar { -/* padding: 0; - min-height: 32px; */ +.alltabs-endimage[blocked] { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio-blocked.svg); } -#developer-toolbar > toolbarbutton { -/* margin: 0; - padding: 0 10px; - width: 32px; */ +/* === END tabs.inc.css === */ + +/* Tab DnD indicator */ +.tab-drop-indicator { + list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); + margin-bottom: -11px; } -.developer-toolbar-button > image { -/* margin: auto 10px; */ +/* Tab close button */ +.tab-close-button { + list-style-image: url("chrome://global/skin/icons/close-button.gif") !important; + -moz-image-region: auto !important; } -#developer-toolbar-toolbox-button > label { - display: none; +.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; } -.developer-toolbar-button > .toolbarbutton-icon, -#developer-toolbar-closebutton > .toolbarbutton-icon { - width: 16px; - height: 16px; +.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; } -#developer-toolbar-toolbox-button { - list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +.tab-close-button > .button-icon, +.tab-close-button > .button-box > .button-icon, +.tab-close-button > .toolbarbutton-icon { + width: auto !important; } -#developer-toolbar-toolbox-button > label { - display: none; + +/* 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; } -#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); +#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);*/ } -@media (min-resolution: 2dppx) { - #developer-toolbar-toolbox-button { - list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png"); - -moz-image-region: rect(0px, 32px, 32px, 0px); - } +.tabbrowser-arrowscrollbox > .scrollbutton-down { + transition: 1s background-color ease-out; +} - #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); - } +.tabbrowser-arrowscrollbox > .scrollbutton-down[highlight] { + background-color: #008484; } -#developer-toolbar-closebutton { - list-style-image: url("chrome://browser/skin/devtools/close.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); - min-width: 16px; - width: 16px; +.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;*/ } -#developer-toolbar-closebutton > .toolbarbutton-icon { +.tabs-newtab-button > .toolbarbutton-icon { + margin-top: -1px; + margin-bottom: -1px; } -#developer-toolbar-closebutton > .toolbarbutton-text { - display: none; +.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; } -#developer-toolbar-closebutton:hover, -#developer-toolbar-closebutton:hover:active { - -moz-image-region: rect(0px, 32px, 16px, 16px); +.tabs-newtab-button, +.tabs-newtab-button:hover, +#TabsToolbar > #new-tab-button, +#TabsToolbar > #new-tab-button:hover { } -@media (min-resolution: 2dppx) { - #developer-toolbar-closebutton { - list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); - -moz-image-region: rect(0px, 32px, 32px, 0px); - } +#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 { +} - #developer-toolbar-closebutton:hover, - #developer-toolbar-closebutton:hover:active { - -moz-image-region: rect(0px, 64px, 32px, 32px); - } +#TabsToolbar > #new-tab-button { + width: 26px; + -moz-box-orient: horizontal; } -/* GCLI */ +#alltabs-button { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +} -html|*#gcli-tooltip-frame, -html|*#gcli-output-frame { - padding: 0; - border-width: 0; - background-color: transparent; +#alltabs-button:hover, +#alltabs-button:hover:active, +#alltabs-button[open="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } -#gcli-output, -#gcli-tooltip { - border-width: 0; - background-color: transparent; +#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), +#alltabs-button:-moz-lwtheme-brighttext { } -.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; +#alltabs-button > .toolbarbutton-icon { +/* margin: 0 2px;*/ } -.gclitoolbar-input-node { -/* line-height: 32px; - outline-style: none; */ - background-repeat: no-repeat; - background-color: rgba(0, 0, 0, .75); +#alltabs-button > .toolbarbutton-menu-dropmarker { + display: none; } -.gclitoolbar-input-node[focused="true"] { - background-color: #000000; +/* All tabs menupopup */ +.alltabs-item > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg"); + -moz-image-region: auto; } -.gclitoolbar-input-node::before { - content: ""; - display: inline-block; - -moz-box-ordinal-group: 0; - width: 16px; - height: 16px; - margin: 0 2px; - background-image: url("chrome://browser/skin/devtools/commandline-icon.png"); - background-position: 0 center; - background-size: 32px 16px; +.alltabs-item[selected="true"] { + font-weight: bold; } -.gclitoolbar-input-node[focused="true"]::before { - background-position: -16px center; +.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading.png"); } -@media (min-resolution: 2dppx) { - .gclitoolbar-input-node::before { - background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.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"); } } -.gclitoolbar-input-node:not([focused="true"]) { - border-color: transparent; +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; } -.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { - background-color: #008484; - color: #000000; - text-shadow: none; +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); } -.gclitoolbar-complete-node { - padding-left: 21px; - background-color: transparent; - color: transparent; - z-index: 100; - pointer-events: none; +toolbarbutton.chevron > .toolbarbutton-text, +toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { + display: none; } -.gcli-in-incomplete, -.gcli-in-error, -.gcli-in-ontab, -.gcli-in-todo, -.gcli-in-closebrace, -.gcli-in-param, -.gcli-in-valid { +toolbarbutton.chevron > .toolbarbutton-icon { margin: 0; - padding: 0; } -.gcli-in-incomplete { - border-bottom: 2px dotted #8050B0; +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); + margin-inline-end: 4px; } -.gcli-in-error { - border-bottom: 2px dotted #FF0000; +@media (min-resolution: 1.1dppx) { + #sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + width: 16px; + } } -.gcli-in-ontab { - color: #9C9CFF; +/* Bookmarks toolbar */ +#PlacesToolbarDropIndicator { + list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); } -.gcli-in-todo { - color: #795900; +toolbarbutton.bookmark-item[dragover="true"][open="true"] { + background-color: #008484 !important; + color: #FFCF00 !important; } -.gcli-in-closebrace { - color: #8050B0; +/* 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; } -/* === END commandline.inc.css === */ - -/* === BEGIN responsivedesign.inc.css === */ +.menupopup-drop-indicator { + list-style-image: none; + height: 2px; + margin-inline-end: -4em; + background-color: #008484; +} -/* Responsive Mode */ +/* === BEGIN notification-icons.inc.css === */ -.browserContainer[responsivemode] { - background-color: #221500; - padding: 0 20px 20px 20px; +.popup-notification-icon, +.identity-popup-permission-icon { + -moz-context-properties: fill; + fill: #A09090; } -.browserStack[responsivemode] { - box-shadow: 0 0 7px #9C9CFF; +#notification-popup-box { + border-radius: 3px 0 0 3px; + padding: 5px 0px; + margin: -5px 0px; + margin-inline-end: -5px; + padding-inline-end: 5px; } -.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; +/* 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); } -.devtools-responsiveui-menulist, -.devtools-responsiveui-toolbarbutton { - -moz-box-align: center; - min-width: 32px; -/* min-height: 22px;*/ -/* margin: 0 3px; */ +.notification-anchor-icon:-moz-focusring { + outline: 1px dotted #008484; } -.devtools-responsiveui-menulist .menulist-editable-box { - background-color: transparent; +@media (min-resolution: 1.1dppx) { + .notification-anchor-icon { + list-style-image: url(chrome://global/skin/icons/info.svg); + } } -.devtools-responsiveui-menulist html|*.menulist-editable-input { - color: inherit; - text-align: center; -} +/* INDIVIDUAL NOTIFICATIONS */ -.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { -/* background: hsla(212,7%,57%,.35);*/ +.focus-tab-by-prompt-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#focus-tab-by-prompt); } -.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { - width: 16px; - height: 16px; +.popup-notification-icon[popupid="persistent-storage"], +.persistent-storage-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#persistent-storage); } -.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { - -moz-box-orient: horizontal; +.persistent-storage-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#persistent-storage-blocked); } -.devtools-responsiveui-menulist:-moz-focusring, -.devtools-responsiveui-toolbarbutton:-moz-focusring { -/* outline: 1px dotted hsla(210,30%,85%,0.7); - outline-offset: -4px;*/ +.popup-notification-icon[popupid="web-notifications"], +.desktop-notification-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification); } -.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { - display: none; +.desktop-notification-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification-blocked); } -.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); */ +.geo-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows); } -.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); */ +.geo-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-blocked); } -.devtools-responsiveui-toolbarbutton[checked=true] { -/* color: hsl(208,100%,60%); */ +.popup-notification-icon[popupid="geolocation"] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-detailed); } -.devtools-responsiveui-toolbarbutton[checked=true]:hover { -/* background-color: transparent !important;*/ +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.indexedDB-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB); } -.devtools-responsiveui-toolbarbutton[checked=true]:hover:active { -/* background-color: hsla(210,8%,5%,.2) !important;*/ +.indexedDB-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB-blocked); } -.devtools-responsiveui-menulist > .menulist-label-box { - text-align: center; +.login-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#login); } -.devtools-responsiveui-menulist > .menulist-dropmarker { -/* display: -moz-box; - background-color: transparent; - list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); - -moz-box-align: center; - border-width: 0; - min-width: 16px;*/ +.popup-notification-icon[popupid="password"] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#login-detailed); } -.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { -/* color: inherit; - border-width: 0; - -moz-border-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);*/ +.camera-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#camera); } -.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);*/ +.camera-icon.in-use { + list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-sharing); } -.devtools-responsiveui-toolbarbutton[type=menu-button] { -/* padding: 0 1px;*/ - -moz-box-align: stretch; +.camera-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-blocked); } -.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, -.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { -/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); - -moz-box-align: center; - padding: 0 3px;*/ +.microphone-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone); } -.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, -.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { - margin-left: 3px; +.microphone-icon.in-use { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-sharing); } -.devtools-responsiveui-close { - list-style-image: url("chrome://browser/skin/devtools/close.png"); - -moz-image-region: rect(0px,16px,16px,0px); +.microphone-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-blocked); } -.devtools-responsiveui-close:hover { - -moz-image-region: rect(0px,32px,16px,16px); +.popup-notification-icon.microphone-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-detailed); } -.devtools-responsiveui-rotate { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); - -moz-image-region: rect(0px,16px,16px,0px); +.screen-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#screen); } -.devtools-responsiveui-rotate:hover { - -moz-image-region: rect(0px,32px,16px,16px); +.screen-icon.in-use { + list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-sharing); } -@media (min-resolution: 2dppx) { - .devtools-responsiveui-close { - list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); - } - - .devtools-responsiveui-close:hover { - -moz-image-region: rect(0px,64px,32px,32px); - } - - .devtools-responsiveui-rotate { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png"); - } - - .devtools-responsiveui-rotate:hover { - -moz-image-region: rect(0px,64px,32px,32px); - } +.screen-icon.blocked-permission-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-blocked); } -.devtools-responsiveui-touch { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); - -moz-image-region: rect(0px,16px,16px,0px); +#webRTC-preview:not([hidden]) { + display: -moz-stack; + border-radius: 4px; + border: 1px solid #A09090; + overflow: hidden; + min-width: 300px; + min-height: 10em; } -.devtools-responsiveui-touch:hover, -.devtools-responsiveui-touch[checked], -.devtools-responsiveui-touch[checked]:hover { - -moz-image-region: rect(0px,32px,16px,16px); +html|*#webRTC-previewVideo { + width: 300px; + /* If we don't set the min-width, width is ignored. */ + min-width: 300px; + max-height: 200px; } -@media (min-resolution: 2dppx) { - .devtools-responsiveui-touch { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png"); - -moz-image-region: rect(0px,32px,32px,0px); - } - - .devtools-responsiveui-touch:hover, - .devtools-responsiveui-touch[checked], - .devtools-responsiveui-touch[checked]:hover { - -moz-image-region: rect(0px,64px,32px,32px); - } +#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; } -.devtools-responsiveui-screenshot { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); - -moz-image-region: rect(0px,16px,16px,0px); +#webRTC-previewWarning > .text-link { + margin-inline-start: 0; } -.devtools-responsiveui-screenshot:hover { - -moz-image-region: rect(0px,32px,16px,16px); +/* 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"); } -@media (min-resolution: 2dppx) { - .devtools-responsiveui-screenshot { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png"); - } +/* EME */ - .devtools-responsiveui-screenshot:hover { - -moz-image-region: rect(0px,64px,32px,32px); - } +.popup-notification-icon[popupid="drmContentPlaying"], +.drm-icon { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); } -.devtools-responsiveui-resizebarV { - width: 7px; - height: 24px; - cursor: ew-resize; - transform: translate(12px, -12px); - background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); +.drm-icon:hover:active { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed"); } -.devtools-responsiveui-resizebarH { - width: 24px; - height: 7px; - cursor: ns-resize; - transform: translate(-12px, 12px); - background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); +#eme-notification-icon[firstplay=true] { + animation: emeTeachingMoment 0.2s linear 0s 5 normal; } -.devtools-responsiveui-resizehandle { - width: 16px; - height: 16px; - cursor: se-resize; - transform: translate(12px, 12px); - background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); +@keyframes emeTeachingMoment { + 0% {transform: translateX(0); } + 25% {transform: translateX(3px) } + 75% {transform: translateX(-3px) } + 100% { transform: translateX(0); } } -/* FxOS custom mode with additional buttons and phone look'n feel */ +/* INSTALL ADDONS */ -/* 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; +.install-icon { + list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg); } -/* 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; +.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); } -.devtools-responsiveui-hardware-buttons { - -moz-appearance: none; - padding: 20px; +.popup-notification-icon[popupid="addon-progress"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg); +} - border: 1px solid #FFFFFF; - border-bottom-left-radius: 25px; - border-bottom-right-radius: 25px; - border-top-width: 0; +.popup-notification-icon[popupid="addon-install-failed"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg); +} - box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset; +.popup-notification-icon[popupid="addon-install-confirmation"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg); +} - background-image: linear-gradient(to right, #111 11%, #333 56%); +#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg); } -.devtools-responsiveui-home-button { - width: 40px; - height: 30px; - list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png"); +.popup-notification-icon[popupid="addon-install-complete"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg); } -.devtools-responsiveui-sleep-button { - -moz-appearance: none; - /* compensate browserStack top padding */ - margin-top: -67px; - margin-right: 10px; +.popup-notification-icon[popupid="addon-install-restart"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg); +} - min-width: 10px; - width: 50px; - height: 5px; +.popup-notification-icon[popupid="click-to-play-plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); +} - border: 1px solid #444; - border-top-right-radius: 12px; - border-top-left-radius: 12px; - border-bottom-color: transparent; +/* OFFLINE APPS */ - background-image: linear-gradient(to top, #111 11%, #333 56%); +.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); } -.devtools-responsiveui-sleep-button:hover:active { - background-image: linear-gradient(to top, #aaa 11%, #ddd 56%); +/* PLUGINS */ + +.plugin-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin); } -.devtools-responsiveui-volume-buttons { - margin-left: -29px; +#plugin-icon-badge { + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-badge); + opacity: 0; + transition: opacity 1.5s; } -.devtools-responsiveui-volume-up-button, -.devtools-responsiveui-volume-down-button { - -moz-appearance: none; - border: 1px solid red; - min-width: 8px; - height: 40px; +#plugins-notification-icon[extraAttr="inactive"] > .plugin-icon { + fill: #8050B0; +} - border: 1px solid #444; - border-right-color: transparent; +#plugins-notification-icon[extraAttr="inactive"] > #plugin-icon-badge { + opacity: 1; +} - background-image: linear-gradient(to right, #111 11%, #333 56%); +#plugins-notification-icon[extraAttr="inactive"] > #plugin-icon-badge[animate] { + animation: blink-badge 1000ms ease 0s 5 alternate both; } -.devtools-responsiveui-volume-up-button:hover:active, -.devtools-responsiveui-volume-down-button:hover:active { - background-image: linear-gradient(to right, #aaa 11%, #ddd 56%); +@keyframes blink-badge { + from { + opacity: 0; + } + to { + opacity: 1; + } } -.devtools-responsiveui-volume-up-button { - border-top-left-radius: 12px; +.plugin-icon.plugin-blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); + fill: #FF0000 !important; } -.devtools-responsiveui-volume-down-button { - border-bottom-left-radius: 12px; +#notification-popup-box[hidden] { + /* Override display:none to make the pluginBlockedNotification animation work + when showing the notification repeatedly. */ + display: -moz-box; + visibility: collapse; } -@media (min-resolution: 2dppx) { - .devtools-responsiveui-resizebarV { - background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); - } +#plugins-notification-icon.plugin-blocked[showing] { + animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; +} - .devtools-responsiveui-resizebarH { - background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png"); +@keyframes pluginBlockedNotification { + from { + opacity: 0; } - - .devtools-responsiveui-resizehandle { - background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png"); + to { + opacity: 1; } } -/* === END responsivedesign.inc.css === */ - -/* === including indicator.css is done at the start of the file === */ +/* SOCIAL API */ -/* Error counter */ +.popup-notification-icon[popupid="servicesInstall"] { + list-style-image: url(chrome://browser/skin/social/services-64.png); +} -#developer-toolbar-toolbox-button[error-count]:before { - color: #000000; - min-width: 16px; - text-shadow: none; - background-color: #FF0000; - border-radius: 1px; - -moz-margin-end: 5px; +.service-icon { + list-style-image: url(chrome://browser/skin/social/services-16.png); } -/* Social toolbar item */ +/* TRANSLATION */ -#social-notification-icon-mentions { - background-color: #000000; - border-radius: 3px; - -moz-margin-start: 2px; +.translation-icon { + list-style-image: url(chrome://browser/skin/translation-16.png); + -moz-image-region: rect(0px, 16px, 16px, 0px); } -#social-notification-icon-mentions:hover { - background-color: #FFCF00; +.translation-icon.in-use { + -moz-image-region: rect(0px, 32px, 16px, 16px); } -#social-notification-icon-mentions[open="true"] { - background-color: #FF9F00; -} +/* UPDATE */ -#social-sidebar-splitter { - border: 0; +.popup-notification-icon[popupid="update-available"], +.popup-notification-icon[popupid="update-manual"], +.popup-notification-icon[popupid="update-restart"] { + background: #74BF43 url(chrome://browser/skin/notification-icons.svg#update) no-repeat center; + border-radius: 50%; } -.popup-notification-icon[popupid="servicesInstall"] { - list-style-image: url("chrome://browser/skin/social/services-64.png"); -} -#servicesInstall-notification-icon { - list-style-image: url("chrome://browser/skin/social/services-16.png"); -} -#social-undoactivation-button { - -moz-margin-start: 0; /* override default label margin to match description margin */ +/* === END notification-icons.inc.css === */ + +.popup-notification-body[popupid="addon-progress"], +.popup-notification-body[popupid="addon-install-confirmation"] { + width: 28em; + max-width: 28em; } -#socialActivatedNotification .popup-notification-button-container { - margin-left: 6px; +.addon-install-confirmation-name { + font-weight: bold; } -.social-activation-icon { - width: auto; - height: auto; - max-height: 64px; - max-width: 64px; +html|*.addon-webext-perm-list { + margin-block-end: 0; + padding-inline-start: 10px; } -#social-activation-message { - max-width: 250px; +.addon-webext-perm-text { + margin-inline-start: 0; } -#social-activation-message > label { - margin: 0; +.popup-notification-description[popupid="addon-webext-permissions"], +.popup-notification-description[popupid="addon-installed"] { + display: none; } -/* social toolbar provider menu */ -.social-statusarea-popup { +.addon-webext-perm-notification-content, +.addon-installed-notification-content { margin-top: 0; - margin-left: -12px; - margin-right: -12px; } -.social-statusarea-user { - border-bottom: 1px solid #9C9CFF; - background-color: #000000; - color: #FF9F00; - position: relative; - cursor: pointer; +#addon-webext-perm-header { + /* Align the text more closely with the icon by clearing some top line height. */ + margin-top: -1px; + margin-inline-start: 0; } -.social-statusarea-user-portrait { - width: 32px; - height: 32px; - border-radius: 2px; - margin: 10px; +#addon-installed-notification-header { + /* Align the text more closely with the icon by clearing some top line height. */ + margin-top: -1px; } -.social-statusarea-loggedInStatus { - background: transparent; - border: none; - color: #3333FF; - min-width: 0; - margin: 0 6px; - list-style-image: none; +.addon-webext-name { + display: inline; + font-weight: bold; + margin: 0; } -#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { - text-decoration: underline; +.addon-addon-icon, +.addon-toolbar-icon { + width: 14px; + height: 14px; + vertical-align: bottom; + margin-bottom: 1px; } -.social-panel > .panel-arrowcontainer > .panel-arrowcontent { - padding: 0; +.addon-addon-icon { + list-style-image: url("chrome://browser/skin/menuPanel.svg"); + -moz-image-region: rect(0px, 288px, 32px, 256px); } -.social-panel-frame { - border-radius: inherit; +.addon-toolbar-icon { + list-style-image: url("chrome://browser/skin/ToolbarFx.png"); + -moz-image-region: rect(0, 486px, 18px, 468px); } -/* === BEGIN chat.inc.css === */ - -#social-sidebar-header { - padding: 3px; -} +/* Notification icon box */ -#manage-share-providers, -#social-sidebar-button { - list-style-image: url("chrome://browser/skin/ToolbarFx.png"); - -moz-image-region: rect(0, 468px, 18px, 450px); +.notification-anchor-icon:-moz-focusring { +/* outline: 1px dotted -moz-DialogText;*/ } -#social-sidebar-button { - -moz-appearance: none; - border: none; - padding: 0; - margin: 2px; -} -#manage-share-providers > .toolbarbutton-icon, -#social-sidebar-button > .toolbarbutton-icon { - min-height: 18px; - min-width: 18px; -} -#manage-share-providers:hover, -#manage-share-providers:hover:active, -#social-sidebar-button:hover, -#social-sidebar-button:hover:active { - -moz-image-region: rect(18px, 468px, 36px, 450px); -} -#social-sidebar-button > .toolbarbutton-menu-dropmarker { - display: none; -} +/* Translation infobar */ -#social-sidebar-button[loading="true"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); -} +/* === BEGIN infobar.inc.css === */ -#social-sidebar-favico { - max-height: 16px; - max-width: 16px; - padding: 0; - margin: 2px; +notification[value="translation"] .messageImage { + list-style-image: url("chrome://browser/skin/translation-16.png"); + -moz-image-region: rect(0, 32px, 16px, 16px); } -.chat-status-icon { - max-height: 16px; - max-width: 16px; - padding: 0; +@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); + } } -.chat-toolbarbutton { - -moz-appearance: none; - border: none; - padding: 0 3px; - margin: 0; - background: none; +notification[value="translation"][state="translating"] .messageImage { + list-style-image: url("chrome://browser/skin/translating-16.png"); + -moz-image-region: auto; } -.chat-toolbarbutton:hover { -/* background-color: rgba(255,255,255,.35);*/ +@media (min-resolution: 1.25dppx) { + notification[value="translation"][state="translating"] .messageImage { + list-style-image: url("chrome://browser/skin/translating-16@2x.png"); + } } -.chat-toolbarbutton:hover:active { -/* background-color: rgba(255,255,255,.5);*/ +notification[value="translation"] hbox[anonid="details"] { + overflow: hidden; } -.chat-toolbarbutton > .toolbarbutton-text { - display: none; +notification[value="translation"] button, +notification[value="translation"] menulist { + min-width: 0; } -.chat-toolbarbutton > .toolbarbutton-icon { - width: 16px; - height: 16px; +notification[value="translation"] menulist > .menulist-dropmarker { } -.chat-close-button { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close"); +.translation-menupopup arrowscrollbox { + padding-bottom: 0; } -.chat-close-button:-moz-any(:hover,:hover:active) { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active"); +.translation-attribution { + cursor: pointer; + -moz-box-align: end; + font-size: small; } -.chat-minimize-button { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize"); +.translation-attribution > label { + margin-bottom: 0; } -.chat-minimize-button:-moz-any(:hover,:hover:active) { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active"); +.translation-attribution > image { + width: 70px; } -.chat-swap-button { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand"); - transform: rotate(180deg); +.translation-welcome-panel { + width: 305px; } -.chat-swap-button:-moz-any(:hover,:hover:active) { - list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active"); +.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); } -chatbar > chatbox > .chat-titlebar > .chat-swap-button { - transform: none; +.translation-welcome-content { + margin-inline-start: 16px; } -.chat-title { +.translation-welcome-headline { + font-size: larger; font-weight: bold; - font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; - text-shadow: none; - cursor: inherit; } -.chat-titlebar { - background-color: #9C9CFF; - color: #000000; - height: 30px; - min-height: 30px; - width: 100%; - margin: 0; - padding: 7px 6px; - border: none; - border-bottom: 1px solid #008484; - cursor: pointer; +.translation-welcome-body { + padding: 1em 0; + margin: 0 0; } -.chat-titlebar > .notification-anchor-icon { - margin-left: 2px; - margin-right: 2px; -} +/* === END infobar.inc.css === */ -.chat-titlebar[minimized="true"] { - border-bottom: none; +notification[value="translation"] { + min-height: 40px; } -.chat-titlebar[selected] { - background-color: #008484; +.translation-menupopup { + -moz-appearance: none; } -.chat-titlebar[activity] { - background-color: #E7ADE7; +/* Bookmarks roots menu-items */ +#subscribeToPageMenuitem:not([disabled]), +#subscribeToPageMenupopup { + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); } -chatbox[dark=true] > .chat-titlebar, -chatbox[dark=true] > .chat-titlebar[selected] { -/* border-bottom: none; - background-color: #000; - background-image: none;*/ +#bookmarksToolbarFolderMenu, +#BMB_bookmarksToolbar, +#panelMenu_bookmarksToolbar { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); + -moz-image-region: auto; } -chatbox[dark=true] > .chat-titlebar > hbox > .chat-title { -/* font-weight: normal; - color: #c1c1c1;*/ +#BMB_unsortedBookmarks, +#panelMenu_unsortedBookmarks { + list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); + -moz-image-region: auto; } -.chat-frame { - padding: 0; - margin: 0; - overflow: hidden; -} +/* Status panel */ -.chatbar-button { - list-style-image: url("chrome://browser/skin/social/services-16.png"); - background-color: #000000; - border: none; +.statuspanel-label { margin: 0; - padding: 2px; - height: 21px; - width: 21px; - border-top: 1px solid #008484; - -moz-border-end: 1px solid #008484; + padding: 2px 4px; + background: #404000; + border: 1px none #9C9CFF; + border-top-style: solid; + color: #FF9F00; + text-shadow: none; } -@media (min-resolution: 2dppx) { - .chatbar-button { - list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); - } +.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; } -.chatbar-button > .toolbarbutton-icon { - width: 16px; +.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; } -.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { - width: auto; - height: auto; - max-height: 16px; - max-width: 16px; -} +/* HACK to abolish devily color on main content */ -.chatbar-button > .toolbarbutton-icon { - opacity: .6; - -moz-margin-end: 0; +#content { + background-color: transparent !important; } -.chatbar-button:hover > .toolbarbutton-icon, -.chatbar-button[open="true"] > .toolbarbutton-icon { - opacity: 1; + +/* === 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; } -.chatbar-button:hover, -.chatbar-button[open="true"] { +html|*.pointerlockfswarning::before { + margin: 0; + width: 24px; height: 24px; } -.chatbar-button > .toolbarbutton-text, -.chatbar-button > .toolbarbutton-menu-dropmarker { - display: none; +html|*.pointerlockfswarning[data-identity="verifiedIdentity"]::before, +html|*.pointerlockfswarning[data-identity="verifiedDomain"]::before { + content: url("chrome://browser/skin/fullscreen/secure.svg"); } -.chatbar-button[activity]:not([open="true"]) { - background-color: #E7ADE7; +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; } -.chatbar-button > menupopup > menuitem[activity] { +html|*.pointerlockfswarning-domain { font-weight: bold; + margin: 0; } -.chatbar-innerbox { - background: transparent; - margin: -285px 0 0; - overflow: hidden; +html|*#fullscreen-exit-button, +html|*.pointerlockfswarning-exit-button { + margin: 0; + + border-radius: 300px; + border: none; + background-color: #C09070; + color: #000000; } -chatbar { - -moz-margin-end: 20px; +/* === 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; } -chatbar > chatbox { - height: 285px; - width: 260px; - -moz-margin-start: 4px; +.ctrlTab-favicon[src] { background-color: #000000; - border: 1px solid #9C9CFF; - border-bottom: none; - border-top-left-radius: 2.5px; - border-top-right-radius: 2.5px; -} - -chatbox[minimized="true"] { - width: 160px; + width: 20px; height: 20px; + padding: 2px; } -window > chatbox { - -moz-margin-start: 0px; - margin: 0px; - border: none; - padding: 0px; +.ctrlTab-preview-inner > .tabPreview-canvas { +/* box-shadow: 1px 1px 2px hsl(0,0%,12%);*/ } -/* === END chat.inc.css === */ - -.chat-titlebar { -/* background-color: #c4cfde; */ +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { + margin-bottom: 2px; } -.chat-titlebar[selected] { -/* background-color: #dae3f0; */ +.ctrlTab-preview-inner { + padding: 8px; + border: 2px solid transparent; + border-radius: .5em; } -.chatbar-button { - -moz-appearance: none; -/* background-color: #c4cfde; */ +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner { + margin: -10px -10px 0; } -.chatbar-button > .toolbarbutton-icon { -/* -moz-margin-end: 0; */ +#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { + background-color: #000000; } -.chatbar-button:hover, -.chatbar-button[open="true"] { -/* background-color: #dae3f0; */ +.ctrlTab-preview:focus > * > .ctrlTab-preview-inner { + color: #A09090; + background-color: #000000; + text-shadow: none; + border-color: #9C9CFF; } -.chatbar-button[activity]:not([open="true"]) { +#ctrlTab-showAll { + margin-top: .5em; } -chatbox { -/* border-top-left-radius: 2.5px; - border-top-right-radius: 2.5px; */ +/* === END ctrlTab.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; } /* === BEGIN plugin-doorhanger.inc.css === */ @@ -4677,11 +4402,11 @@ chatbox { } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; - -moz-margin-start: 6px; + margin-inline-start: 6px; } .click-to-play-plugins-notification-button-container { @@ -4708,7 +4433,7 @@ chatbox { } .messageImage[value="plugin-hidden"] { - list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin); } /* Keep any changes to this style in sync with pluginProblem.css */ @@ -4716,52 +4441,35 @@ notification.pluginVulnerable { } notification.pluginVulnerable .messageImage { - list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); } /* === END plugin-doorhanger.inc.css === */ -/* === BEGIN badcontent-doorhanger.inc.css === */ - -.popup-notification-item-title[popupid="bad-content"] { - font-weight: bold; -} - -.popup-notification-item-message[popupid="bad-content"] { - width: 17em; -} - -.popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical), -.popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) { - color: #8050B0; -} - -.popup-notification-item-message-critical[popupid="bad-content"] { - color: #FF0000; - font-style: italic; -} - -.popup-notification-footer[popupid="bad-content"] { - padding-top: 1em; -} - -/* === END badcontent-doorhanger.inc.css === */ +/* === BEGIN customizeMode.inc.css === */ -/* EME notifications */ +/* Customization mode */ -.popup-notification-icon[popupid="drmContentPlaying"], -#eme-notification-icon { - list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); +:root { + --drag-drop-transition-duration: .3s; } -#eme-notification-icon:hover:active { - list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed"); +#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)); } -/* === BEGIN customizeMode.inc.css === */ - -/* Customization mode */ - #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox { margin-bottom: 1em; } @@ -4817,7 +4525,7 @@ notification.pluginVulnerable .messageImage { #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: #A09090; + outline-color: currentColor; } #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { @@ -4826,7 +4534,7 @@ notification.pluginVulnerable .messageImage { #PanelUI-contents[showoutline=true] > .panel-customization-placeholder { transition: outline-color 250ms linear; - outline-color: #9C9CFF; + outline-color: var(--panel-separator-color); } #PanelUI-contents > .panel-customization-placeholder { @@ -4882,21 +4590,52 @@ notification.pluginVulnerable .messageImage { margin: 5px; } -.customizationmode-button:hover { +.customizationmode-checkbox { +} + +#customization-reset-button, +#customization-undo-reset-button, +#customization-done-button { +} + +#customization-done-button { +} + +.customizationmode-button > .box-inherit { +} + +/* We use a smaller padding to ensure images don't have padding. + * We can't detect whether a button has an image. This button doesn't + * so it needs more padding, so we unfortunately hardcode the extra + * padding in here: + */ +#customization-toolbar-visibility-button { +} + +.customizationmode-button[type=menu] > .box-inherit > .box-inherit > .button-text { +} + +.customizationmode-button > .button-icon { +} + +.customizationmode-button:not([type=menu]) > .button-text { +} + +.customizationmode-button > .box-inherit > .button-menu-dropmarker { } -#customization-titlebar-visibility-button[checked], -#customization-devedition-theme-button[checked] { +.customizationmode-button[checked] { background-color: #008484; } -#customization-titlebar-visibility-button[checked]:hover, -#customization-devedition-theme-button[checked]:hover { +.customizationmode-button[checked]:hover:not([disabled]), +.customizationmode-button:hover:not([disabled]) { background-color: #FFCF00; } -#customization-titlebar-visibility-button[checked]:hover:active, -#customization-devedition-theme-button[checked]:hover:active { +.customizationmode-button[checked]:hover:active:not([disabled]), +.customizationmode-button:hover:active:not([disabled]), +.customizationmode-button[open] { background-color: #FF9F00; } @@ -4905,13 +4644,12 @@ notification.pluginVulnerable .messageImage { .customizationmode-button > .box-inherit > .box-inherit > .button-icon, .customizationmode-button > .button-box > .button-icon { -/* height: 24px;*/ +/* height: 16px;*/ } #customization-titlebar-visibility-button { list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); -moz-image-region: rect(0, 16px, 16px, 0); - padding: 0px 5px; } #customization-titlebar-visibility-button:hover { @@ -4928,9 +4666,18 @@ notification.pluginVulnerable .messageImage { padding-bottom: 0; } +#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. */ - -moz-margin-start: 5px !important; + margin-inline-start: 5px !important; +} + +#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon { + width: 16px; + height: 16px; + border-radius: 2px; + background-image: url("chrome://browser/content/default-theme-icon.svg"); + background-size: contain; } #customization-titlebar-visibility-button > .button-box > .button-icon { @@ -4951,6 +4698,25 @@ notification.pluginVulnerable .messageImage { background-color: #FF9F00; } +@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); + } + + #customization-titlebar-visibility-button:hover { + -moz-image-region: rect(48px, 48px, 96px, 0); + } + + #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); + } +} + #main-window[customize-entered] #customization-panel-container { background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); background-position: left top; @@ -4959,6 +4725,7 @@ notification.pluginVulnerable .messageImage { background-attachment: fixed; } +#widget-overflow-fixed-list > toolbarpaletteitem[place="panel"], toolbarpaletteitem[place="toolbar"] { transition: border-width 250ms ease-in-out; } @@ -4972,7 +4739,7 @@ toolbarpaletteitem[mousedown] { .panel-customization-placeholder, toolbarpaletteitem[place="palette"], toolbarpaletteitem[place="panel"] { - transition: transform .3s ease-in-out; + transition: transform var(--drag-drop-transition-duration) ease-in-out; } #customization-palette { @@ -4984,6 +4751,11 @@ toolbarpaletteitem[place="panel"] { opacity: 1; } +toolbarpaletteitem toolbarbutton[disabled] { +/* color: inherit !important;*/ +} + +#widget-overflow-fixed-list > toolbarpaletteitem[notransition][place="panel"], toolbarpaletteitem[notransition].panel-customization-placeholder, toolbarpaletteitem[notransition][place="toolbar"], toolbarpaletteitem[notransition][place="palette"], @@ -4992,14 +4764,14 @@ toolbarpaletteitem[notransition][place="panel"] { } toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, -toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon, +toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon, toolbarpaletteitem > toolbaritem.panel-wide-item, toolbarpaletteitem > toolbarbutton[type="menu-button"] { - transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important; + transition: transform var(--drag-drop-transition-duration) cubic-bezier(.6, 2, .75, 1.5) !important; } toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, -toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon { +toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon { transform: scale(1.3); } @@ -5016,10 +4788,34 @@ toolbarpaletteitem[place="toolbar"] { margin-left: 0; } +#widget-overflow-fixed-list > toolbarpaletteitem[place="panel"] { + border-top: 0px solid transparent; + border-bottom: 0px solid transparent; +} + #customization-palette:not([hidden]) { margin-bottom: 25px; } +toolbarpaletteitem[place="palette"]:-moz-focusring, +toolbarpaletteitem[place="panel"]:-moz-focusring, +toolbarpaletteitem[place="toolbar"]:-moz-focusring { + outline-width: 0; +} + +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; +} + +toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { + outline-offset: -5px; +} + #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, #wrapper-edit-controls[place="palette"] > #edit-controls > separator, #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, @@ -5058,7 +4854,7 @@ toolbarpaletteitem[place="toolbar"] { } #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { - -moz-margin-end: 5px; + margin-inline-end: 5px; } #customization-palette > toolbarpaletteitem > label { @@ -5083,13 +4879,13 @@ toolbarpaletteitem[place="toolbar"] { -moz-appearance: none; margin: 0 -5px 5px; padding-top: 0; - -moz-padding-end: 5px; + padding-inline-end: 5px; padding-bottom: 0; - -moz-padding-start: 0; + padding-inline-start: 0; } .customization-lwtheme-menu-theme[defaulttheme] { - list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png); + list-style-image: url(chrome://browser/content/default-theme-icon.svg); } .customization-lwtheme-menu-theme[active="true"] { @@ -5221,7 +5017,7 @@ toolbarpaletteitem[place="toolbar"] { .customization-tipPanel-closeBox > .close-icon { -moz-appearance: none; border: 0; - -moz-margin-end: -25px; + margin-inline-end: -25px; } #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], @@ -5246,15 +5042,6 @@ toolbarpaletteitem[place="toolbar"] { background-attachment: fixed; } -#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { - background-repeat: no-repeat; - background-position: right top; - background-attachment: fixed; - /* The image will get set from CustomizeMode.jsm */ - background-image: none; - background-color: transparent; -} - #main-window[customization-lwtheme]:-moz-lwtheme { background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); background-repeat: repeat; @@ -5313,7 +5100,7 @@ toolbarpaletteitem[place="toolbar"] { #TabsToolbar > .private-browsing-indicator { background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px; - -moz-margin-start: 4px; + margin-inline-start: 4px; width: 48px; } @@ -5324,7 +5111,7 @@ toolbarpaletteitem[place="toolbar"] { #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; - -moz-margin-end: 4px; + margin-inline-end: 4px; width: 40px; height: 20px; position: relative; @@ -5346,7 +5133,8 @@ toolbarpaletteitem[place="toolbar"] { -moz-appearance: none; border: none; background-color: transparent; - /* This is a buffer to compensate for the movement in the "wobble" effect */ + /* This is a buffer to compensate for the movement in the "wobble" effect, + and for the box-shadow of #UITourHighlight. */ padding: 4px; } @@ -5362,22 +5150,18 @@ toolbarpaletteitem[place="toolbar"] { } #UITourTooltipBody { - -moz-margin-end: 14px; + -moz-box-align: start; } -#UITourTooltipBody > vbox { - padding-top: 4px; -} - -#UITourTooltipIconContainer { - -moz-margin-start: -16px; +#UITourTooltipTitleContainer { + -moz-box-align: start; + margin-bottom: 10px; } #UITourTooltipIcon { width: 48px; height: 48px; - -moz-margin-start: 28px; - -moz-margin-end: 28px; + margin-inline-end: 10px; } #UITourTooltipTitle, @@ -5388,25 +5172,24 @@ toolbarpaletteitem[place="toolbar"] { #UITourTooltipTitle { font-size: 1.45rem; font-weight: bold; - -moz-margin-start: 0; - -moz-margin-end: 0; - margin: 0 0 9px 0; + margin: 0; } #UITourTooltipDescription { - -moz-margin-start: 0; - -moz-margin-end: 0; + margin-inline-start: 0; + margin-inline-end: 0; font-size: 1.15rem; line-height: 1.8rem; margin-bottom: 0; /* Override global.css */ } #UITourTooltipClose { + position: relative; -moz-appearance: none; border: none; background-color: transparent; min-width: 0; - -moz-margin-start: 4px; + margin-inline-start: 4px; margin-top: -2px; } @@ -5418,24 +5201,32 @@ toolbarpaletteitem[place="toolbar"] { -moz-box-pack: end; background-color: rgba(0,0,0,.2); border-top: 1px solid rgba(0,0,0,.4); - margin: 24px -16px -16px; - padding: 2em 15px; + margin: 10px -16px -16px; + padding: 16px; } +#UITourTooltipButtons > label, #UITourTooltipButtons > button { margin: 0 15px; } +#UITourTooltipButtons > label:first-child, #UITourTooltipButtons > button:first-child { - -moz-margin-start: 0; + margin-inline-start: 0; +} + +#UITourTooltipButtons > label:last-child, +#UITourTooltipButtons > button:last-child { + margin-inline-end: 0; } #UITourTooltipButtons > button[image] > .button-box > .button-icon { width: 16px; height: 16px; - -moz-margin-end: 5px; + margin-inline-end: 5px; } +#UITourTooltipButtons > label, #UITourTooltipButtons > button .button-text { font-size: 1.15rem; } @@ -5456,6 +5247,7 @@ toolbarpaletteitem[place="toolbar"] { color: #000000; } +#UITourTooltipButtons > label, #UITourTooltipButtons > button.button-link { -moz-appearance: none; background: transparent; @@ -5483,161 +5275,16 @@ toolbarpaletteitem[place="toolbar"] { color: #000000; } -.SearchHighlight { - -moz-margin-end: 6px; - font-size: 110%; - width: 225px; -} - -.SearchHighlight label, -.SearchHighlight description { - color: #008484; - margin: 0 0 8px 0; - padding: 0; -} - -.SearchHighlightTitle { - font-weight: bold; -} - -.SearchHighlight .dot { - width: 7px; - height: 7px; - background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9); - background-size: 7px; - background-position: center center; - background-repeat: no-repeat; - -moz-margin-end: 2px; -} - -.SearchHighlight .dot.filled { - background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0); -} - -.SearchHighlight button { - margin: 0; - /* On some platforms clicking the button will steal focus from the search box - causing the popup to close. */ - -moz-user-focus: ignore; -} - -@media not all and (max-resolution: 1dppx) { - .SearchHighlight .dot { - background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18); - } - - .SearchHighlight .dot.filled { - background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0); - } -} - -/* Notification overrides for Heartbeat UI */ - -notification.heartbeat { - background-color: #A09090; -} - -@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; -/* font-weight: normal; - font-family: "Lucida Grande", Segoe, Ubuntu; - font-size: 14px; - line-height: 16px; - text-shadow: none; */ -} - -.messageImage.heartbeat { - width: 36px; - height: 36px; - -moz-margin-end: 10px; -} - -.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); -} - -.messageImage.heartbeat.pulse-twice { - animation-name: pulse-twice; - animation-duration: 1s; - animation-iteration-count: 2; - animation-timing-function: linear; -} - -/* Heartbeat UI Rating Star Classes */ -.heartbeat > #star-rating-container { - display: -moz-box; -} - -.heartbeat > #star-rating-container > #star5 { - -moz-box-ordinal-group: 5; -} - -.heartbeat > #star-rating-container > #star4 { - -moz-box-ordinal-group: 4; -} - -.heartbeat > #star-rating-container > #star3 { - -moz-box-ordinal-group: 3; -} - -.heartbeat > #star-rating-container > #star2 { - -moz-box-ordinal-group: 2; -} - -.heartbeat > #star-rating-container > .star-x { - background: url("chrome://browser/skin/heartbeat-star-off.svg"); - cursor: pointer; - width: 24px; - height: 24px; -} - -.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"); - cursor: pointer; - width: 24px; - height: 24px; -} - /* === END UITour.inc.css === */ #UITourTooltipButtons { - margin: 24px -4px -4px; + /** + * 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; } /* === BEGIN contextmenu.inc.css === */ @@ -5659,114 +5306,137 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { -moz-appearance: none; } -#context-back > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */ - list-style-image: url("chrome://browser/skin/ToolbarFx.png"); - -moz-image-region: rect(0, 54px, 18px, 36px); +#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; } -#context-back:not([disabled="true"]):hover > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */ - -moz-image-region: rect(18px, 54px, 36px, 36px); +#context-back { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); } -#context-back[disabled="true"] > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */ - -moz-image-region: rect(36px, 54px, 54px, 36px); +#context-forward { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); } -#context-forward > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */ - list-style-image: url("chrome://browser/skin/ToolbarFx.png"); - -moz-image-region: rect(0, 72px, 18px, 54px); +#context-reload { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); } -#context-forward:not([disabled="true"]):hover > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */ - -moz-image-region: rect(18px, 72px, 36px, 54px); +#context-stop { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); } -#context-forward[disabled="true"] > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */ - -moz-image-region: rect(36px, 72px, 54px, 54px); +#context-bookmarkpage { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); } -#context-reload > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */ - list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); - -moz-image-region: rect(0, 14px, 14px, 0); +#context-bookmarkpage[starred=true] { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); } -#context-reload:not([disabled="true"]):hover > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */ - -moz-image-region: rect(14px, 14px, 28px, 0); +#context-back:-moz-locale-dir(rtl), +#context-forward:-moz-locale-dir(rtl), +#context-reload:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +#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; } -#context-reload[disabled="true"] > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */ - -moz-image-region: rect(28px, 14px, 42px, 0); +#context-media-eme-learnmore { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); } -#context-stop > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */ - list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); - -moz-image-region: rect(0, 28px, 14px, 14px); +#context-media-eme-learnmore { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); } -#context-stop:not([disabled="true"]):hover > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */ - -moz-image-region: rect(14px, 28px, 28px, 14px); +/* === END contextmenu.inc.css === */ + +/* Make context menu items larger when opened through touch. */ +#contentAreaContextMenu[touchmode] menu, +#contentAreaContextMenu[touchmode] menuitem { + padding-top: 12px; + padding-bottom: 12px; } -#context-stop[disabled="true"] > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */ - -moz-image-region: rect(28px, 28px, 42px, 14px); +#contentAreaContextMenu[touchmode] > #context-navigation > menuitem { + padding-top: 7px; + padding-bottom: 7px; } -#context-bookmarkpage > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */ - list-style-image: url("chrome://browser/skin/ToolbarFx.png"); - -moz-image-region: rect(0, 144px, 18px, 126px); +#context-navigation { } -#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */ - -moz-image-region: rect(18px, 144px, 36px, 126px); +#context-sep-navigation { +/* margin-top: -4px; */ } -#context-bookmarkpage[disabled="true"] > .menu-iconic-left { - /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */ - -moz-image-region: rect(36px, 144px, 54px, 126px); +.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; + overflow: hidden; } -#context-back:-moz-locale-dir(rtl), -#context-forward:-moz-locale-dir(rtl), -#context-reload:-moz-locale-dir(rtl) { - transform: scaleX(-1); +.webextension-popup-browser { + border-radius: inherit; } -#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { - width: 18px; /*16px;*/ - height: 18px; /*16px;*/ - margin: 7px; +.contentSelectDropdown-ingroup > .menu-iconic-text { + padding-inline-start: 20px; } -#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; +#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; } -#context-media-eme-learnmore { - list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); +#ContentSelectDropdown > menupopup > menucaption, +#ContentSelectDropdown > menupopup > menuitem { + padding: 0 6px; + border-width: 0; +/* font: -moz-list;*/ } -/* === END contextmenu.inc.css === */ +#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; +} -#context-navigation { +#ContentSelectDropdown > menupopup > menucaption > .menu-iconic-text { + font-weight: bold; } -#context-sep-navigation { -/* margin-top: -4px; */ +#ContentSelectDropdown > menupopup > menuitem[_moz-menuactive="true"][disabled="true"] { + color: #A09090; + background-color: unset; +} + +#ContentSelectDropdown > menupopup > menucaption { + background-color: buttonface; +} + +#ContentSelectDropdown > menupopup > menucaption[disabled="true"] { + color: #A09090; +} + +#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; }