X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=357514460c2a471da7a0324a8f36a6bf93066d35;hp=e6d12d74124d7ae8826b6e8c2e318bd98b7fac74;hb=46cd9beb533a3363d60484afaf8c808a6e44b4aa;hpb=19988d2d5bba419a5f24824e3c7edf3119d95898 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index e6d12d74..35751446 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -37,11 +37,17 @@ menubar { } :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; - /*--urlbar-separator-color: rgba(0,0,0,.2);*/ --urlbar-separator-color: #9C9CFF; } @@ -83,13 +89,6 @@ menubar { /* margin-top: var(--space-above-tabbar);*/ } -@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { - /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ - #toolbar-menubar:not([autohide="true"]) { - -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); - } -} - @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { @@ -511,15 +510,10 @@ menuitem.bookmark-item { #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, #web-apps-button, #webide-button, #loop-button, - #pocket-button), + #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button), #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { list-style-image: url("chrome://browser/skin/ToolbarFx.png"); } -toolbar[brighttext] #pocket-button, -#pocket-button { - list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */ -} #back-button { -moz-image-region: rect(0, 36px, 18px, 18px); @@ -650,25 +644,12 @@ toolbar[brighttext] #pocket-button, } #sync-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 270px, 18px, 252px); + -moz-image-region: rect(0, 792px, 18px, 774px); } #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"); + -moz-image-region: rect(18px, 792px, 36px, 774px); } -*/ #feed-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 288px, 18px, 270px); @@ -909,52 +890,6 @@ toolbar[brighttext] #pocket-button, 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, -#loop-button > .toolbarbutton-badge-stack { - list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); - -moz-image-region: rect(0, 18px, 18px, 0); -} - -#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]), -#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 90px, 18px, 72px); -} - -#loop-button[state="disabled"], -#loop-button[disabled="true"], -#loop-button[state="disabled"] > .toolbarbutton-badge-stack, -#loop-button[disabled="true"] > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 36px, 18px, 18px); -} - -#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]), -#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 126px, 18px, 108px); -} - -#loop-button:not([disabled="true"])[state="error"], -#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 54px, 18px, 36px); -} - -#loop-button:not([disabled="true"])[state="action"], -#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 72px, 18px, 54px); -} - -#loop-button:not([disabled="true"])[state="active"], -#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack { - -moz-image-region: rect(0, 108px, 18px, 90px); -} - #webide-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 738px, 18px, 720px); } @@ -963,15 +898,6 @@ toolbar[brighttext] #pocket-button, -moz-image-region: rect(18px, 738px, 36px, 720px); } -#pocket-button[cui-areatype="toolbar"] { - -moz-image-region: rect(0, 774px, 18px, 756px); -} - -#pocket-button[cui-areatype="toolbar"]:hover, -#pocket-button[cui-areatype="toolbar"][open] { - -moz-image-region: rect(18px, 774px, 36px, 756px); -} - /* === END toolbarbuttons.inc.css === */ /* === BEGIN menupanel.inc.css === */ @@ -991,16 +917,14 @@ toolbaritem[sdkstylewidget="true"] > toolbarbutton, #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, #web-apps-button, #webide-button, #loop-button, - #pocket-button)[cui-areatype="menu-panel"], + #copy-button, #paste-button, #e10s-button, #panic-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, #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, #loop-button, - #pocket-button) { + #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button) { list-style-image: var(--menupanel-list-style-image); } @@ -1084,17 +1008,12 @@ toolbarpaletteitem[place="palette"] > #save-page-button:hover { #sync-button[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #sync-button { - -moz-image-region: rect(0px, 384px, 32px, 352px); + -moz-image-region: rect(0px, 1024px, 32px, 992px); } #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); + -moz-image-region: rect(32px, 1024px, 64px, 992px); } #feed-button[cui-areatype="menu-panel"], @@ -1287,16 +1206,6 @@ toolbarpaletteitem[place="palette"] > #panic-button:hover, -moz-image-region: rect(32px, 896px, 64px, 864px); } -#web-apps-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #web-apps-button { - -moz-image-region: rect(0, 928px, 32px, 896px); -} - -#web-apps-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #web-apps-button:hover { - -moz-image-region: rect(32px, 928px, 64px, 896px); -} - #webide-button[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #webide-button { -moz-image-region: rect(0px, 960px, 32px, 928px); @@ -1307,55 +1216,10 @@ toolbarpaletteitem[place="palette"] > #webide-button:hover { -moz-image-region: rect(32px, 960px, 64px, 928px); } -#pocket-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #pocket-button { - -moz-image-region: rect(0px, 992px, 32px, 960px); -} - -#pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 992px, 64px, 960px); -} - toolbaritem[sdkstylewidget="true"] > toolbarbutton { -moz-image-region: rect(0, 832px, 32px, 800px); } -#loop-button[cui-areatype="menu-panel"], -toolbarpaletteitem[place="palette"] > #loop-button { - list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); - -moz-image-region: rect(0, 32px, 32px, 0); -} - -/* Make sure that the state icons are not shown in the customization palette. */ -toolbarpaletteitem[place="palette"] > #loop-button { - -moz-image-region: rect(0, 32px, 32px, 0) !important; -} - -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) { - -moz-image-region: rect(0, 160px, 32px, 128px); -} - -#loop-button[cui-areatype="menu-panel"][state="disabled"], -#loop-button[cui-areatype="menu-panel"][disabled="true"] { - -moz-image-region: rect(0, 64px, 32px, 32px); -} - -#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) { - -moz-image-region: rect(0, 224px, 32px, 192px); -} - -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] { - -moz-image-region: rect(0, 96px, 32px, 64px); -} - -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] { - -moz-image-region: rect(0, 128px, 32px, 96px); -} - -#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] { - -moz-image-region: rect(0, 192px, 32px, 160px); -} - /* Wide panel control icons */ #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, @@ -1507,7 +1371,7 @@ toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-bri -moz-padding-end: 5px;*/ } -#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button), +#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;*/ @@ -1562,14 +1426,20 @@ toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-ba width: 32px; } -#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon, -#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack, -#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]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack, +#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) > .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 */ { /* -moz-padding-end: 17px;*/ } +#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon, +#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon { + /* horizontal padding + border + icon width */ +/* max-width: 43px;*/ +} + #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { } @@ -1658,6 +1528,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([ope margin-top: 3px; margin-bottom: 3px; border-radius: 0 10000px 10000px 0; +/* max-width: calc(var(--forwardbutton-width) + var(--backbutton-urlbar-overlap)) !important; */ } #forward-button:-moz-locale-dir(rtl) { @@ -1669,7 +1540,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #fo } window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { - margin-left: -27px !important; + margin-left: calc(0px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/); } window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { @@ -1679,7 +1550,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) 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; + margin-left: calc(-0.01px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/); } #back-button { @@ -1865,11 +1736,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but color: #FFBFFF; } -/* overlap the urlbar's border */ -#PopupAutoCompleteRichResult { - margin-top: -1px; -} - #urlbar:-moz-lwtheme, .searchbar-textbox:-moz-lwtheme { /* background-color: rgba(255,255,255,.8); @@ -1904,7 +1770,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir( window:not([chromehidden~="toolbar"]) #urlbar-wrapper { /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ -/* -moz-margin-start: -5px; */ +/* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */ } window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), @@ -1941,9 +1807,11 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, .urlbar-icon { padding: 0 2px; + /* 16x16 icon with border-box sizing */ + width: 20px; + height: 16px; } -.searchbar-engine-button, .search-go-container { padding: 2px; } @@ -1952,13 +1820,6 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, padding: 0; } -.urlbar-icon:hover { -} - -.urlbar-icon[open="true"], -.urlbar-icon:hover:active { -} - #urlbar-search-footer { border-top: 1px solid #A09090; } @@ -1996,95 +1857,65 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, color: #8050B0; } -#PopupAutoCompleteRichResult > richlistbox { - transition: height 100ms; -} - -#search-container { - min-width: calc(54px + 11ch); -} - -/* identity box */ - -#identity-box { - border-radius: 2px; - font-size: .9em; -} - -#identity-box:-moz-locale-dir(ltr) { -/* border-top-left-radius: 1.5px; - border-bottom-left-radius: 1.5px;*/ -} +/* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */ -#identity-box:-moz-locale-dir(rtl) { -/* border-top-right-radius: 1.5px; - border-bottom-right-radius: 1.5px;*/ +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] { + border-bottom: 1px solid #A09090; + background-color: #000000; + padding: 6px 0; + -moz-padding-start: 44px; + -moz-padding-end: 6px; + background-image: url("chrome://browser/skin/info.svg"); + background-clip: padding-box; + background-position: 20px center; + background-repeat: no-repeat; + background-size: 16px 16px; } -#notification-popup-box:not([hidden]) + #identity-box { - -moz-padding-start: 10px !important; - border-radius: 0; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) { + background-position: right 20px center; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { -/* border-radius: 0; */ - -moz-padding-start: 2px; - -moz-padding-end: 2px; - -moz-margin-end: 1px; -} - -window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { - transition: padding-left, padding-right; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description { + margin: 0; + padding: 0; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { - padding-left: 2px; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link { + -moz-margin-start: 0; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > - #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { - padding-right: 2px; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button { + -moz-appearance: none; + min-width: 80px; + border-radius: 3px; + padding: 4px 16px; + margin: 0; + -moz-margin-start: 10px; } -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; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] { } -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; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover { } -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; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] { } -#identity-box { - -moz-margin-end: 3px; +#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover { } -#identity-box:-moz-locale-dir(ltr) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} +/* === END urlbarSearchSuggestionsNotification.inc.css === */ -#identity-box:-moz-locale-dir(rtl) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; +#search-container { + min-width: calc(54px + 11ch); } -#identity-box:hover, -#identity-box[open=true] { -} +/* identity box */ #identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) { - var(--verified-identity-box-backgroundcolor); + background-color: var(--identity-box-verified-background-color); } #identity-box:-moz-focusring { @@ -2097,11 +1928,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but outline-color: #000000; } -#identity-icon-labels { - -moz-margin-start: 1px; - -moz-margin-end: 3px; -} - /* Location bar dropmarker */ .urlbar-history-dropmarker:not(:hover):not([open="true"]) { @@ -2113,6 +1939,15 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { border: none; border-radius: 0px; + transition: opacity 0.15s ease; +} + +#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { + transition: none; +} + +#navigator-toolbox:not(:hover) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { + opacity: 0; } .urlbar-history-dropmarker:hover { @@ -2126,101 +1961,86 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* === BEGIN identity-block.inc.css === */ -:root { +#identity-box { +/* --identity-box-hover-background-color: #FFCF00; + --identity-box-selected-background-color: #FF9F00; */ --identity-box-verified-color: #008484; /* Default theme does different color per channel, we can't as they do it build-time. */ --identity-box-chrome-color: #9C9CFF; -} -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { - color: var(--identity-box-chrome-color); - -moz-border-end: 1px solid var(--identity-box-chrome-color); -} - -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { - color: var(--identity-box-verified-color); - -moz-border-end: 1px solid var(--identity-box-verified-color); -} - -#identity-box { - background-position: right; - background-size: 1px; - background-repeat: no-repeat; -} - -/* TRACKING PROTECTION ICON */ - -#tracking-protection-icon { - width: 16px; - height: 16px; - list-style-image: url("chrome://browser/skin/tracking-protection-16.svg"); -} - -#tracking-protection-icon[state="loaded-tracking-content"] { - list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg"); + border-inline-end: 1px solid var(--urlbar-separator-color); + font-size: .9em; + border-radius: 2px; + padding: 3px 5px; + margin-inline-end: 4px; + overflow: hidden; + /* The latter two properties have a transition to handle the delayed hiding of + the forward button when hovered. */ + transition: background-color 150ms ease, padding-left, padding-right; } -#tracking-protection-icon:not([state]) { - display: none; +#identity-box:-moz-locale-dir(ltr) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; } -/* MAIN IDENTITY ICON */ - -#page-proxy-favicon { - width: 16px; - height: 16px; - list-style-image: url("chrome://browser/skin/identity-not-secure.svg"); - margin: 2px; +#identity-box:-moz-locale-dir(rtl) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; } -.chromeUI > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://branding/content/identity-icons-brand.svg"); +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { + color: var(--identity-box-chrome-color); + -moz-border-end: 1px solid var(--identity-box-chrome-color); } -.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"], -.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-secure.svg"); +#identity-box:hover > :not(#identity-icon), +#identity-box[open=true] > :not(#identity-icon) { +/* filter: grayscale(100%);*/ } -.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg"); +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { + color: var(--identity-box-verified-color); + -moz-border-end: 1px solid var(--identity-box-verified-color); } -.weakCipher > #page-proxy-favicon[pageproxystate="valid"], -.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"], -.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg"); +#identity-icon-labels:-moz-locale-dir(ltr) { + padding-left: 2px; } -.mixedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { - list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg"); +#identity-icon-labels:-moz-locale-dir(rtl) { + padding-right: 2px; } -#page-proxy-favicon[pageproxystate="invalid"] { - opacity: 0.3; +#notification-popup-box:not([hidden]) + #identity-box { + padding-inline-start: 10px; + border-radius: 0; } -#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { - list-style-image: url("chrome://branding/content/icon64.png"); +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { +/* border-radius: 0; + padding-inline-start: 2px; */ + padding-inline-end: 2px; + margin-inline-end: 1px; } -#identity-popup-brandName { - font-weight: bold; - font-size: 1.25em; - margin-top: .5em; - margin-bottom: .5em; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > + #notification-popup-box[hidden] + #identity-box { + padding-inline-start: 2px; } -#identity-popup-content-box { - max-width: 50ch; +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, 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; } -#urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon { - -moz-image-region: inherit; - list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon); - width: 16px; - height: 16px; - opacity: 1; +window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > + #notification-popup-box[hidden] + #identity-box { + /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ + padding-inline-start: 2.01px; } /* MAIN IDENTITY ICON */ @@ -2316,6 +2136,11 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but visibility: visible; } +#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon { + list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); + visibility: visible; +} + /* === END identity-block.inc.css === */ #page-proxy-favicon { @@ -2366,6 +2191,85 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box max-width: 36px; } +/* +.autocomplete-richlistbox { + padding: 4px; +} + +.autocomplete-richlistitem { + height: 30px; + min-height: 30px; + font: message-box; + border-radius: 2px; + border: 1px solid transparent; +} + +.autocomplete-richlistitem[selected=true] { + background-color: hsl(210, 80%, 52%); +} +*/ +.ac-title { + font-size: 14px; +/* color: hsl(0, 0%, 0%);*/ +} + +.ac-tags { + font-size: 12px; +} +/* +html|span.ac-tag { + background-color: hsl(216, 0%, 88%); + color: hsl(0, 0%, 0%); + border-radius: 2px; + border: 1px solid transparent; + padding: 0 1px; +} +*/ + +.ac-separator, +.ac-url, +.ac-action { + font-size: 12px; +} + +.ac-separator { +/* color: hsl(0, 0%, 50%);*/ +} + +.ac-url { + color: #9C9CFF; +} + +.ac-action { + color: #9C9CFF; +} + +.ac-title[selected=true], +.ac-separator[selected], +.ac-url[selected=true], +.ac-action[selected=true] { + color: #000000; +} + +.ac-tags-text[selected] > html|span.ac-tag { + background-color: #A09090; + color: #000000; +} + +html|span.ac-emphasize-text-title, +html|span.ac-emphasize-text-tag, +html|span.ac-emphasize-text-url { + font-weight: 600; +} + +.ac-type-icon[type=bookmark] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star"); +} + +.ac-type-icon[type=bookmark][selected][current] { +/* list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");*/ +} + .ac-result-type-bookmark, .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { list-style-image: url("chrome://browser/skin/places/bookmark.png"); @@ -2379,19 +2283,17 @@ richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type- /* -moz-image-region: rect(0px 48px 16px 32px);*/ } -.ac-result-type-keyword, -.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), -richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { +.ac-type-icon[type=keyword], +.ac-site-icon[type=searchengine], +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); - width: 16px; - height: 16px; } - .ac-result-type-keyword[selected="true"], - .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), - richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { - list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); - } +.ac-type-icon[type=keyword][selected], +.ac-site-icon[type=searchengine][selected], +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected) { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); +} .ac-result-type-tag, .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { @@ -2400,38 +2302,14 @@ richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-si height: 16px; } -.ac-comment { - font-size: 1.06em; -} - -.ac-extra > .ac-comment { - font-size: 1em; -} - -.ac-url-text, -.ac-action-text { - font-size: 1em; - color: #9C9CFF; -} - -richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { - list-style-image: url("chrome://browser/skin/actionicon-tab.png"); - -moz-image-region: rect(0, 16px, 16px, 0); - padding: 0 3px; -} - -richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { - -moz-image-region: rect(16px, 16px, 32px, 0); -} - -.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { - color: #8050B0; +.ac-type-icon[type=switchtab], +.ac-type-icon[type=remotetab] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); } -.ac-comment[selected="true"], -.ac-url-text[selected="true"], -.ac-action-text[selected="true"] { - color: inherit !important; +.ac-type-icon[type=switchtab][selected], +.ac-type-icon[type=remotetab][selected] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); } .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), @@ -2453,7 +2331,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- border-style: none; list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); /* padding: 0 9px;*/ - margin-inline-start: 2px; + margin-inline-start: 0px; border-inline-start: 1px solid var(--urlbar-separator-color); border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, @@ -2577,45 +2455,6 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-image-region: rect(0, 32px, 16px, 16px); } -/* === BEGIN readinglist.inc.css === */ - -/* Reading List button */ - -#urlbar:not([focused]):not(:hover) #readinglist-addremove-button { - opacity: 0; - width: 0px; -} - -#readinglist-addremove-button { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage"); - -moz-image-region: rect(0, 14px, 14px, 0); - transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms; - opacity: 1; - width: 20px; -} - -#readinglist-addremove-button:hover { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover"); -} - -#readinglist-addremove-button:active { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active"); -} - -#readinglist-addremove-button[already-added="true"] { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded"); -} - -#readinglist-addremove-button[already-added="true"]:hover { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover"); -} - -#readinglist-addremove-button[already-added="true"]:active { - list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active"); -} - -/* === END readinglist.inc.css === */ - /* Reader mode button */ #reader-mode-button { @@ -2726,11 +2565,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-image-region: rect(0px 32px 16px 16px); } -#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { - -moz-margin-start: 5px; -} - -#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { +#nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { padding-top: 2px; padding-bottom: 2px; } @@ -2879,9 +2714,11 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- :root { /* --tab-toolbar-navbar-overlap: 1px; */ + /* --navbar-tab-toolbar-highlight-overlap: 1px; */ /* --tab-min-height: 31px; */ - /* --tab-curve-width: 30px; */ - /* --tab-curve-half-width: 15px; */ +} +#TabsToolbar { + /* --tab-stroke-background-size: auto 100%; */ } .tabbrowser-tab, @@ -2899,13 +2736,17 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- } .tabs-newtab-button, -#TabsToolbar > #new-tab-button { +#TabsToolbar > #new-tab-button, +#TabsToolbar > toolbarpaletteitem > #new-tab-button, +#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { border-radius: 8px 8px 0px 0px; -moz-margin-start: 0; } .tabs-newtab-button:not(:hover), -#TabsToolbar > #new-tab-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; } @@ -2926,6 +2767,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- .tab-throbber, .tab-icon-image, +.tab-icon-sound, .tab-close-button { } @@ -2943,16 +2785,44 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- .tab-icon-overlay { width: 16px; height: 16px; - /* margin-top: 10px; */ - -moz-margin-start: -16px; - display: none; + margin-top: -8px; + -moz-margin-start: -15px; + margin-inline-end: -1px; + position: relative; } .tab-icon-overlay[crashed] { - display: -moz-box; list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg"); } +.tab-icon-overlay[soundplaying], +.tab-icon-overlay[muted]:not([crashed]) { + border-radius: 10px; +} + +.tab-icon-overlay[soundplaying]:hover, +.tab-icon-overlay[muted]:hover { + background-color: #FFCF00; +} + +.tab-icon-overlay[soundplaying] { + display: -moz-box; + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio"); +} + +.tab-icon-overlay[muted]:not([crashed]) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted"); +} + +#TabsToolbar[brighttext] .tab-icon-overlay[soundplaying]:not(:hover) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white"); +} + + +#TabsToolbar[brighttext] .tab-icon-overlay[muted]:not([crashed]):not(:hover) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted"); +} + .tab-throbber[busy] { list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); } @@ -2961,6 +2831,16 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); } +@media (min-resolution: 1.1dppx) { + .tab-throbber[busy] { + list-style-image: url("chrome://communicator/skin/brand/throbber-anim-connect.png"); + } + + .tab-throbber[progress] { + list-style-image: url("chrome://communicator/skin/brand/throbber-anim.png"); + } +} + .tab-throbber[pinned], .tab-icon-image[pinned] { -moz-margin-start: 2px; @@ -2974,6 +2854,97 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- margin-bottom: 2px !important; } +.tab-icon-sound { + -moz-margin-start: 4px; + width: 16px; + height: 16px; + padding: 0; +} + +.tab-icon-sound[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted"); +} + +.tab-icon-sound[muted]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover"); +} + +.tab-icon-sound[muted]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed"); +} + +.tab-icon-sound[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab"); +} + +.tab-icon-sound[soundplaying]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-hover"); +} + +.tab-icon-sound[soundplaying]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-pressed"); +} + +.tab-icon-sound[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted"); +} + +.tab-icon-sound[muted]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-hover"); +} + +.tab-icon-sound[muted]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-pressed"); +} + +.tab-icon-sound[visuallyselected=true][soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio"); +} + +.tab-icon-sound[visuallyselected=true][soundplaying]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-hover"); +} + +.tab-icon-sound[visuallyselected=true][soundplaying]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-pressed"); +} + +.tab-icon-sound[visuallyselected=true][muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted"); +} + +.tab-icon-sound[visuallyselected=true][muted]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover"); +} + +.tab-icon-sound[visuallyselected=true][muted]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-hover"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-pressed"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[muted]:hover { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-hover"); +} + +#TabsToolbar[brighttext] .tab-icon-sound[muted]:hover:active { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-pressed"); +} + .tab-close-button { margin-top: 1px; padding: 0; @@ -3034,6 +3005,31 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- /* End selected tab */ +/* User Context UI - change tab decoration depending on userContextId. + Defaults to gray for unknown usercontextids. */ +.tabbrowser-tab[usercontextid] { + background-image: linear-gradient(to right, transparent 20%, #A09090 30%, #A09090 70%, transparent 80%); + background-size: auto 2px; + background-repeat: no-repeat; +} + +/* Personal User Context */ +.tabbrowser-tab[usercontextid="1"] { + background-image: linear-gradient(to right, transparent 20%, #9C9CFF 30%, #9C9CFF 70%, transparent 80%); +} +/* Work User Context */ +.tabbrowser-tab[usercontextid="2"] { + background-image: linear-gradient(to right, transparent 20%, #FF9F00 30%, #FF9F00 70%, transparent 80%); +} +/* Banking User Context */ +.tabbrowser-tab[usercontextid="3"] { + background-image: linear-gradient(to right, transparent 20%, #008484 30%, #008484 70%, transparent 80%); +} +/* Shopping User Context */ +.tabbrowser-tab[usercontextid="4"] { + background-image: linear-gradient(to right, transparent 20%, #E7ADE7 30%, #E7ADE7 70%, transparent 80%); +} + /* Tab pointer-events */ /* .tabbrowser-tab { @@ -3042,21 +3038,59 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- .tab-background-middle, .tabs-newtab-button, +.tab-icon-overlay[soundplaying], +.tab-icon-overlay[muted]:not([crashed]), +.tab-icon-sound, .tab-close-button { pointer-events: auto; } */ /* Pinned tabs */ -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { +/* +.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]), +.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) { +*/ +.tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) { background-color: #E7ADE7; } -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { +.tab-label[attention]:not([visuallyselected="true"]) { + font-weight: bold; +} + +.tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover { background-color: #3333FF; color: #000000; } +/* Tab separators */ +/* +.tabbrowser-tab::after, +.tabbrowser-tab::before { + width: 1px; + -moz-margin-start: -1px; + background-image: linear-gradient(transparent 5px, + currentColor 5px, + currentColor calc(100% - 4px), + transparent calc(100% - 4px)); + opacity: 0.2; +} + +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before, +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after { + opacity: 0.4; +} +*/ +/* Also show separators beside the selected tab when dragging it. */ +/* +#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after, +.tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before, +#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after { + content: ""; + display: -moz-box; +} +*/ /* New tab button */ .tabs-newtab-button { @@ -3146,15 +3180,14 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- #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); + list-style-image: url("chrome://browser/skin/tabbrowser/newtab.svg"); + -moz-image-region: auto; } .tabs-newtab-button, .tabs-newtab-button:hover, #TabsToolbar > #new-tab-button, #TabsToolbar > #new-tab-button:hover { - -moz-image-region: rect(0, 32px, 18px, 16px); } #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), @@ -3202,13 +3235,27 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- } .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { - list-style-image: url("chrome://global/skin/icons/loading.gif"); + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 1.1dppx) { + .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } } .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { background-color: #402800; } +.alltabs-endimage[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted"); +} + +.alltabs-endimage[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio"); +} + toolbarbutton.chevron { list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; } @@ -3236,10 +3283,17 @@ toolbarbutton.chevron > .toolbarbutton-icon { } #sidebar-throbber[loading="true"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); + list-style-image: url("chrome://global/skin/icons/loading.png"); -moz-margin-end: 4px; } +@media (min-resolution: 1.1dppx) { + #sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + width: 16px; + } +} + /* Bookmarks toolbar */ #PlacesToolbarDropIndicator { list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); @@ -3277,10 +3331,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://browser/skin/Geolocation-64.png"); } -.popup-notification-icon[popupid="push"] { - list-style-image: url(chrome://browser/skin/Push-64.png); -} - .popup-notification-icon[popupid="xpinstall-disabled"], .popup-notification-icon[popupid="addon-install-blocked"], .popup-notification-icon[popupid="addon-install-origin-blocked"] { @@ -3316,7 +3366,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { } .popup-notification-icon[popupid="web-notifications"] { - list-style-image: url("chrome://browser/skin/notification-64.png"); + list-style-image: url("chrome://browser/skin/web-notifications-icon.svg"); } .popup-notification-icon[popupid="indexedDB-permissions-prompt"], @@ -3329,20 +3379,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); } -.popup-notification-icon[popupid="webapps-install-progress"], -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url("chrome://global/skin/icons/webapps-64.png"); -} - -.popup-notification-icon[popupid="bad-content"] { - list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); -} - -.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); -} - .popup-notification-icon[popupid="webRTC-sharingDevices"], .popup-notification-icon[popupid="webRTC-shareDevices"] { list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); @@ -3383,11 +3419,20 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled /* padding-left: 7px; */ } +/* This changes the direction of the main notification box on the url bar. */ #notification-popup-box:-moz-locale-dir(rtl), +/* This adds a second flip for the notification anchors, as they don't switch direction + for RTL mode. */ .notification-anchor-icon:-moz-locale-dir(rtl) { transform: scaleX(-1); } +/* For the anchor icons in the chat window, we don't have the notification popup box, + so we need to cancel the RTL transform. */ +.notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) { + transform: none; +} + .notification-anchor-icon { list-style-image: url("chrome://global/skin/icons/information-16.png"); @@ -3400,20 +3445,11 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled outline: 1px dotted #008484; } -.identity-notification-icon, -#identity-notification-icon { - list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); -} - .geo-notification-icon, #geo-notification-icon { list-style-image: url("chrome://browser/skin/Geolocation-16.png"); } -#push-notification-icon { - list-style-image: url(chrome://browser/skin/Push-16.png); -} - #addons-notification-icon { list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default); } @@ -3441,10 +3477,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled transform: scaleX(-1); } -#webapps-notification-icon { - list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); -} - #plugins-notification-icon { list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); } @@ -3485,16 +3517,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled } } -.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"); @@ -3527,7 +3549,18 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled .web-notifications-notification-icon, #web-notifications-notification-icon { - list-style-image: url("chrome://browser/skin/notification-16.png"); + list-style-image: url("chrome://browser/skin/web-notifications-tray.svg"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.web-notifications-notification-icon:hover, +#web-notifications-notification-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.web-notifications-notification-icon:hover:active, +#web-notifications-notification-icon:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); } #pointerLock-notification-icon { @@ -3731,23 +3764,9 @@ notification[value="translation"] { -moz-appearance: none; } -/* Loop/ Hello browser styles */ - -notification[value="loop-sharing-notification"] .button-menubutton-button { - min-width: 0; - border: 0; - margin: 0; -} - -notification[value="loop-sharing-notification"] .messageImage { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); -} - /* Bookmarks roots menu-items */ #subscribeToPageMenuitem:not([disabled]), -#subscribeToPageMenupopup, -#BMB_subscribeToPageMenuitem:not([disabled]), -#BMB_subscribeToPageMenupopup { +#subscribeToPageMenupopup { list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); } @@ -3764,18 +3783,6 @@ notification[value="loop-sharing-notification"] .messageImage { -moz-image-region: auto; } -#menu_readingList, -#BMB_readingList { - list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg"); - -moz-image-region: auto; -} - -#panelMenu_pocket, -#menu_pocket, -#BMB_pocket { - list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png"); -} - /* ::::: Keyboard UI Panel ::::: */ .KUI-panel { @@ -3853,16 +3860,14 @@ notification[value="loop-sharing-notification"] .messageImage { margin-top: 1em; } -#sync-error-panel-title, #sync-start-panel-title { font-size: 120%; font-weight: bold; margin-bottom: 5px; } -#sync-start-panel-subtitle, -#sync-error-panel-subtitle { - margin: 0; +#sync-start-panel-subtitle { + margin-bottom: 0; } /* Status panel */ @@ -3897,23 +3902,61 @@ notification[value="loop-sharing-notification"] .messageImage { background-color: transparent !important; } -#full-screen-warning-message { - background-color: #000000; - color: #FF9F00; +/* === BEGIN fullscreen/warning.inc.css === */ + +html|*#fullscreen-warning { + 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; - margin-top: 30px; - padding: 30px 50px; - box-shadow: 0 0 2px #9C9CFF; + padding: 24px 16px; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +html|*#fullscreen-warning::before { + margin: 0; + width: 24px; height: 24px; +} + +html|*#fullscreen-warning.verifiedIdentity::before, +html|*#fullscreen-warning.verifiedDomain::before { + content: url("chrome://browser/skin/fullscreen/secure.svg"); +} + +html|*#fullscreen-warning.unknownIdentity::before { + content: url("chrome://browser/skin/fullscreen/insecure.svg"); +} + +html|*#fullscreen-domain-text, +html|*#fullscreen-generic-text { + font-size: 21px; + font-weight: lighter; + color: #A09090; + margin: 0 16px; } -.full-screen-description { - font-size: 150%; +html|*#fullscreen-domain { + font-weight: bold; + margin: 0; } -#full-screen-domain-text { - font-size: 300%; +html|*#fullscreen-exit-button { + padding: 5px 30px; + font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + font-size: 14px; + font-weight: lighter; + margin: 0; + box-sizing: content-box; + + border-radius: 300px; + border: none; + background-color: #C09070; + color: #000000; } +/* === END fullscreen/warning.inc.css === */ + /* === BEGIN commandline.inc.css === */ /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS. @@ -3957,7 +4000,9 @@ notification[value="loop-sharing-notification"] .messageImage { } #developer-toolbar > toolbarbutton { -/* margin: 0; +/* border: none; + background-color: transparent; + margin: 0; padding: 0 10px; width: 32px; */ } @@ -3970,14 +4015,13 @@ notification[value="loop-sharing-notification"] .messageImage { display: none; } -.developer-toolbar-button > .toolbarbutton-icon, -#developer-toolbar-closebutton > .toolbarbutton-icon { +.developer-toolbar-button > .toolbarbutton-icon { width: 16px; height: 16px; } #developer-toolbar-toolbox-button { - list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); + list-style-image: url("chrome://devtools/skin/images/toggle-tools.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); } @@ -3993,7 +4037,7 @@ notification[value="loop-sharing-notification"] .messageImage { @media (min-resolution: 2dppx) { #developer-toolbar-toolbox-button { - list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png"); + list-style-image: url("chrome://devtools/skin/images/toggle-tools@2x.png"); -moz-image-region: rect(0px, 32px, 32px, 0px); } @@ -4004,37 +4048,6 @@ notification[value="loop-sharing-notification"] .messageImage { } } -#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; -} - -#developer-toolbar-closebutton > .toolbarbutton-icon { -} - -#developer-toolbar-closebutton > .toolbarbutton-text { - display: none; -} - -#developer-toolbar-closebutton:hover, -#developer-toolbar-closebutton:hover:active { - -moz-image-region: rect(0px, 32px, 16px, 16px); -} - -@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); - } - - #developer-toolbar-closebutton:hover, - #developer-toolbar-closebutton:hover:active { - -moz-image-region: rect(0px, 64px, 32px, 32px); - } -} - /* GCLI */ html|*#gcli-tooltip-frame, @@ -4078,7 +4091,7 @@ html|*#gcli-output-frame { width: 16px; height: 16px; margin: 0 2px; - background-image: url("chrome://browser/skin/devtools/commandline-icon.png"); + background-image: url("chrome://devtools/skin/images/commandline-icon.png"); background-position: 0 center; background-size: 32px 16px; } @@ -4089,7 +4102,7 @@ html|*#gcli-output-frame { @media (min-resolution: 2dppx) { .gclitoolbar-input-node::before { - background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png"); + background-image: url("chrome://devtools/skin/images/commandline-icon@2x.png"); } } @@ -4168,6 +4181,22 @@ html|*#gcli-output-frame { border-bottom-width: 0; } +.devtools-responsiveui-textinput { +/* -moz-appearance: none; + background: #333; + color: #fff; + border: 1px solid #111; + border-radius: 2px; + padding: 5px;*/ + width: 200px; + margin: 0; +} + +.devtools-responsiveui-textinput[attention] { +/* border-color: #38ace6; + background: rgba(56,172,230,0.4);*/ +} + .devtools-responsiveui-menulist, .devtools-responsiveui-toolbarbutton { -moz-box-align: center; @@ -4241,7 +4270,7 @@ html|*#gcli-output-frame { .devtools-responsiveui-menulist > .menulist-dropmarker { /* display: -moz-box; background-color: transparent; - list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); + list-style-image: url("chrome://devtools/skin/dropmarker.svg"); -moz-box-align: center; border-width: 0; min-width: 16px;*/ @@ -4265,7 +4294,7 @@ html|*#gcli-output-frame { .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"); +/* list-style-image: url("chrome://devtools/skin/dropmarker.svg"); -moz-box-align: center; padding: 0 3px;*/ } @@ -4276,16 +4305,15 @@ html|*#gcli-output-frame { } .devtools-responsiveui-close { - list-style-image: url("chrome://browser/skin/devtools/close.png"); - -moz-image-region: rect(0px,16px,16px,0px); + list-style-image: url("chrome://devtools/skin/close.svg"); } .devtools-responsiveui-close:hover { - -moz-image-region: rect(0px,32px,16px,16px); + filter: url(images/filters.svg#checked-icon-state); } .devtools-responsiveui-rotate { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate.png"); -moz-image-region: rect(0px,16px,16px,0px); } @@ -4294,16 +4322,8 @@ html|*#gcli-output-frame { } @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"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate@2x.png"); } .devtools-responsiveui-rotate:hover { @@ -4312,7 +4332,7 @@ html|*#gcli-output-frame { } .devtools-responsiveui-touch { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-touch.png"); -moz-image-region: rect(0px,16px,16px,0px); } @@ -4324,7 +4344,7 @@ html|*#gcli-output-frame { @media (min-resolution: 2dppx) { .devtools-responsiveui-touch { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-touch@2x.png"); -moz-image-region: rect(0px,32px,32px,0px); } @@ -4336,7 +4356,7 @@ html|*#gcli-output-frame { } .devtools-responsiveui-screenshot { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot.png"); -moz-image-region: rect(0px,16px,16px,0px); } @@ -4346,7 +4366,7 @@ html|*#gcli-output-frame { @media (min-resolution: 2dppx) { .devtools-responsiveui-screenshot { - list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot@2x.png"); } .devtools-responsiveui-screenshot:hover { @@ -4360,7 +4380,7 @@ html|*#gcli-output-frame { cursor: ew-resize; transform: translate(12px, -12px); background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); + background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer.png"); } .devtools-responsiveui-resizebarH { @@ -4369,7 +4389,7 @@ html|*#gcli-output-frame { cursor: ns-resize; transform: translate(-12px, 12px); background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); + background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer.png"); } .devtools-responsiveui-resizehandle { @@ -4378,7 +4398,7 @@ html|*#gcli-output-frame { cursor: se-resize; transform: translate(12px, 12px); background-size: cover; - background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); + background-image: url("chrome://devtools/skin/images/responsive-se-resizer.png"); } /* FxOS custom mode with additional buttons and phone look'n feel */ @@ -4423,12 +4443,14 @@ html|*#gcli-output-frame { } .devtools-responsiveui-home-button { + -moz-user-focus: ignore; width: 40px; height: 30px; - list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png"); + list-style-image: url("chrome://devtools/skin/images/responsiveui-home.png"); } .devtools-responsiveui-sleep-button { + -moz-user-focus: ignore; -moz-appearance: none; /* compensate browserStack top padding */ margin-top: -67px; @@ -4456,6 +4478,7 @@ html|*#gcli-output-frame { .devtools-responsiveui-volume-up-button, .devtools-responsiveui-volume-down-button { + -moz-user-focus: ignore; -moz-appearance: none; border: 1px solid red; min-width: 8px; @@ -4482,15 +4505,15 @@ html|*#gcli-output-frame { @media (min-resolution: 2dppx) { .devtools-responsiveui-resizebarV { - background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); + background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer@2x.png"); } .devtools-responsiveui-resizebarH { - background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png"); + background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer@2x.png"); } .devtools-responsiveui-resizehandle { - background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png"); + background-image: url("chrome://devtools/skin/images/responsive-se-resizer@2x.png"); } } @@ -4625,7 +4648,7 @@ html|*#gcli-output-frame { } #social-sidebar-button[loading="true"] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); + list-style-image: url("chrome://global/skin/icons/loading.png"); } #social-sidebar-favico { @@ -4649,14 +4672,6 @@ html|*#gcli-output-frame { background: none; } -.chat-toolbarbutton:hover { -/* background-color: rgba(255,255,255,.35);*/ -} - -.chat-toolbarbutton:hover:active { -/* background-color: rgba(255,255,255,.5);*/ -} - .chat-toolbarbutton > .toolbarbutton-text { display: none; } @@ -4670,7 +4685,11 @@ html|*#gcli-output-frame { list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close"); } -.chat-close-button:-moz-any(:hover,:hover:active) { +.chat-close-button:hover { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-hover"); +} + +.chat-close-button:hover:active { list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active"); } @@ -4678,7 +4697,11 @@ html|*#gcli-output-frame { list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize"); } -.chat-minimize-button:-moz-any(:hover,:hover:active) { +.chat-minimize-button:hover { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-hover"); +} + +.chat-minimize-button:hover:active { list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active"); } @@ -4687,7 +4710,11 @@ html|*#gcli-output-frame { transform: rotate(180deg); } -.chat-swap-button:-moz-any(:hover,:hover:active) { +.chat-swap-button:hover { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-hover"); +} + +.chat-swap-button:hover:active { list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active"); } @@ -4696,8 +4723,7 @@ chatbar > chatbox > .chat-titlebar > .chat-swap-button { } .chat-title { - font-weight: bold; - font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + color: #000000; text-shadow: none; cursor: inherit; } @@ -4705,14 +4731,21 @@ chatbar > chatbox > .chat-titlebar > .chat-swap-button { .chat-titlebar { background-color: #9C9CFF; color: #000000; - height: 30px; - min-height: 30px; + height: 26px; + min-height: 26px; width: 100%; margin: 0; - padding: 7px 6px; - border: none; - border-bottom: 1px solid #008484; + padding: 5px 4px; + border: 1px solid #008484; + border-bottom: 0; + border-top-left-radius: 4px; + border-top-right-radius: 4px; cursor: pointer; + background-color: #A09090; +} + +.chat-titlebar[selected] { + background-color: #008484; } .chat-titlebar > .notification-anchor-icon { @@ -4732,18 +4765,6 @@ chatbar > chatbox > .chat-titlebar > .chat-swap-button { background-color: #E7ADE7; } -chatbox[dark=true] > .chat-titlebar, -chatbox[dark=true] > .chat-titlebar[selected] { -/* border-bottom: none; - background-color: #000; - background-image: none;*/ -} - -chatbox[dark=true] > .chat-titlebar > hbox > .chat-title { -/* font-weight: normal; - color: #c1c1c1;*/ -} - .chat-frame { padding: 0; margin: 0; @@ -4768,6 +4789,17 @@ chatbox[dark=true] > .chat-titlebar > hbox > .chat-title { } } +.chatbar-button:hover { + background-color: #FFCF00; +} +.chatbar-button[open="true"] { + background-color: #FF9F00; +} + +.chatbar-button[activity]:not([open]) { + background-image: radial-gradient(circle farthest-corner at center 2px, rgb(160,144,144) 3%, rgba(160,144,144,0.9) 12%, rgba(156,156,255,0.6) 30%, rgba(156,156,255,0.2) 70%); +} + .chatbar-button > .toolbarbutton-icon { width: 16px; } @@ -4814,15 +4846,19 @@ chatbar { -moz-margin-end: 20px; } -chatbar > chatbox { - height: 285px; - width: 260px; +chatbox { -moz-margin-start: 4px; - background-color: #000000; - border: 1px solid #9C9CFF; - border-bottom: none; - border-top-left-radius: 2.5px; - border-top-right-radius: 2.5px; + background-color: transparent; +} + +chatbar > chatbox { + /* Apply the same border-radius as the .chat-titlebar to make the box-shadow + go round nicely. */ +/* border-top-left-radius: 4px; + border-top-right-radius: 4px;*/ + /* Offset the chatbox the same amount as the box-shadows' spread, to make it + visible. */ +/* -moz-margin-end: 5px;*/ } chatbox[minimized="true"] { @@ -4839,36 +4875,6 @@ window > chatbox { /* === END chat.inc.css === */ -.chat-titlebar { -/* background-color: #c4cfde; */ -} - -.chat-titlebar[selected] { -/* background-color: #dae3f0; */ -} - -.chatbar-button { - -moz-appearance: none; -/* background-color: #c4cfde; */ -} - -.chatbar-button > .toolbarbutton-icon { -/* -moz-margin-end: 0; */ -} - -.chatbar-button:hover, -.chatbar-button[open="true"] { -/* background-color: #dae3f0; */ -} - -.chatbar-button[activity]:not([open="true"]) { -} - -chatbox { -/* border-top-left-radius: 2.5px; - border-top-right-radius: 2.5px; */ -} - /* === BEGIN plugin-doorhanger.inc.css === */ /** @@ -4936,32 +4942,6 @@ notification.pluginVulnerable .messageImage { /* === 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 login-doorhanger.inc.css === */ #notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent { @@ -5337,6 +5317,14 @@ toolbarpaletteitem[place="toolbar"] { margin-bottom: 25px; } +toolbarpaletteitem[place="palette"]:-moz-focusring, +toolbarpaletteitem[place="panel"]:-moz-focusring, +toolbarpaletteitem[place="toolbar"]:-moz-focusring { + outline: 1px dotted #A09090; + outline-offset: -5px; + -moz-outline-radius: 2.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, @@ -5680,21 +5668,16 @@ toolbarpaletteitem[place="toolbar"] { #UITourTooltipBody { -moz-margin-end: 14px; -} - -#UITourTooltipBody > vbox { - padding-top: 4px; -} - -#UITourTooltipIconContainer { - -moz-margin-start: -16px; + -moz-margin-start: 14px; + margin-top: -16px; + margin-bottom: 8px; } #UITourTooltipIcon { width: 48px; height: 48px; - -moz-margin-start: 28px; - -moz-margin-end: 28px; + -moz-margin-start: 14px; + -moz-margin-end: 14px; } #UITourTooltipTitle, @@ -5706,8 +5689,10 @@ toolbarpaletteitem[place="toolbar"] { font-size: 1.45rem; font-weight: bold; -moz-margin-start: 0; - -moz-margin-end: 0; - margin: 0 0 9px 0; + /* Avoid the title overlapping the close button */ + -moz-margin-end: 14px; + margin-top: 0; + margin-bottom: 9px; } #UITourTooltipDescription { @@ -5719,6 +5704,7 @@ toolbarpaletteitem[place="toolbar"] { } #UITourTooltipClose { + position: relative; -moz-appearance: none; border: none; background-color: transparent; @@ -5735,7 +5721,7 @@ 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; + margin: 10px -16px -16px; padding: 2em 15px; } @@ -6082,3 +6068,82 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #context-sep-navigation { /* margin-top: -4px; */ } + +.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; + overflow: hidden; +} + +/* === BEGIN usercontext.inc.css === */ + +/* User Context UI browser styles */ + +#menu_newUserContextTabPersonal { + list-style-image: url("chrome://browser/skin/usercontext/personal.svg"); +} + +#menu_newUserContextTabWork { + list-style-image: url("chrome://browser/skin/usercontext/work.svg"); +} + +#menu_newUserContextTabBanking { + list-style-image: url("chrome://browser/skin/usercontext/banking.svg"); +} + +#menu_newUserContextTabShopping { + list-style-image: url("chrome://browser/skin/usercontext/shopping.svg"); +} + +/* URL Bar Decoration */ + +#userContext-indicator { + height: 16px; + width: 16px; +} + +#userContext-label { + margin-inline-end: 3px; + color: #A09090; +} + +#userContext-icons:not([usercontextid]) { + display: none; +} + +#userContext-icons { + -moz-box-align: center; +} + +/* Personal User Context */ +#userContext-icons[usercontextid="1"] > #userContext-label { + color: #9C9CFF; +} +#userContext-icons[usercontextid="1"] > #userContext-indicator { + list-style-image: url("chrome://browser/skin/usercontext/personal.svg"); +} + +/* Work User Context */ +#userContext-icons[usercontextid="2"] > #userContext-label { + color: #FF9F00; +} +#userContext-icons[usercontextid="2"] > #userContext-indicator { + list-style-image: url("chrome://browser/skin/usercontext/work.svg"); +} + +/* Banking User Context */ +#userContext-icons[usercontextid="3"] > #userContext-label { + color: #008484; +} +#userContext-icons[usercontextid="3"] > #userContext-indicator { + list-style-image: url("chrome://browser/skin/usercontext/banking.svg"); +} + +/* Shopping User Context */ +#userContext-icons[usercontextid="4"] > #userContext-label { + color: #E7ADE7; +} +#userContext-icons[usercontextid="4"] > #userContext-indicator { + list-style-image: url("chrome://browser/skin/usercontext/shopping.svg"); +} + +/* === END usercontext.inc.css === */