X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=73a1ab9c2839721d7cc942b4f839575ad868c124;hp=acff1bc704f75f6e662e92806d9de9155b72a57b;hb=b3bf08b110943f4abc9642b613f0dcb078c22b0b;hpb=9168a62c02f1b9fe7953f2fba5f32305980ac1a3 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index acff1bc7..73a1ab9c 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -36,6 +36,10 @@ menubar { -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); } +:root { + --verified-identity-box-backgroundcolor: #000000; +} + #menubar-items { -moz-box-orient: vertical; /* for flex hack */ } @@ -110,7 +114,7 @@ menubar { height: 1px; } -#navigator-toolbox > toolbar:not(:-moz-lwtheme) { +#navigator-toolbox > toolbar { } #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { @@ -218,7 +222,8 @@ menubar { * can swallow those events. It will also place the buttons above the fog on * themes with Aero Glass. */ -#titlebar-buttonbox { +#titlebar-buttonbox, +#main-window[sizemode="maximized"] #titlebar-buttonbox { -moz-appearance: none; margin-top: 6px; margin-top: 4px; @@ -313,6 +318,8 @@ toolbarbutton.bookmark-item[open="true"] { #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 */ @@ -485,11 +492,11 @@ menuitem.bookmark-item { /* 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, - #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-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), + #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button), #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { list-style-image: url("chrome://browser/skin/ToolbarFx.png"); @@ -660,10 +667,15 @@ menuitem.bookmark-item { -moz-image-region: rect(0px, 306px, 18px, 288px); } -#social-share-button[cui-areatype="toolbar"]:hover { +#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); } @@ -823,15 +835,6 @@ menuitem.bookmark-item { -moz-image-region: rect(36px, 576px, 54px, 558px); } -#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) { - -moz-image-region: rect(0, 594px, 18px, 576px); -} - -#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover, -#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] { - -moz-image-region: rect(18px, 594px, 36px, 576px); -} - #nav-bar-overflow-button { -moz-image-region: rect(0, 612px, 18px, 594px); } @@ -857,10 +860,14 @@ menuitem.bookmark-item { -moz-image-region: rect(0, 666px, 18px, 648px); } -#email-button[cui-areatype="toolbar"]:hover { +#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { -moz-image-region: rect(18px, 666px, 36px, 648px); } +#email-button[cui-areatype="toolbar"][disabled="true"] { + -moz-image-region: rect(36px, 666px, 54px, 648px); +} + #sidebar-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 684px, 18px, 666px); } @@ -869,57 +876,101 @@ menuitem.bookmark-item { -moz-image-region: rect(18px, 684px, 36px, 666px); } -#loop-call-button > .toolbarbutton-badge-container { +#panic-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 702px, 18px, 684px); +} + +#panic-button[cui-areatype="toolbar"]:hover, +#panic-button[cui-areatype="toolbar"][open] { + -moz-image-region: rect(18px, 702px, 36px, 684px); +} + +#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#web-apps-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 720px, 18px, 702px); +} + +#web-apps-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 720px, 36px, 702px); +} + +#loop-button-throttled > .toolbarbutton-badge-container, +#loop-button > .toolbarbutton-badge-container { list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); -moz-image-region: rect(0, 18px, 18px, 0); } -#loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { +#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-call-button[disabled="true"] > .toolbarbutton-badge-container { +#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-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { +#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-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { +#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-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { +#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-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { +#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, - #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-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)[cui-areatype="menu-panel"], + #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, - #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-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) { - list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */ + #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"], @@ -1035,11 +1086,16 @@ toolbarpaletteitem[place="palette"] > #social-share-button { -moz-image-region: rect(0px, 448px, 32px, 416px); } -#social-share-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #social-share-button:hover { +#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); @@ -1168,61 +1224,105 @@ toolbarpaletteitem[place="palette"] > #email-link-button { -moz-image-region: rect(0, 800px, 32px, 768px); } -#email-link-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #email-link-button:hover { +#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), +toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { -moz-image-region: rect(32px, 800px, 64px, 768px); } +#email-link-button[cui-areatype="menu-panel"][disabled="true"], +toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] { + -moz-image-region: rect(64px, 800px, 96px, 768px); +} + #sidebar-button[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #sidebar-button { -moz-image-region: rect(0, 864px, 32px, 832px); } #sidebar-button[cui-areatype="menu-panel"]:hover, -toolbarpaletteitem[place="palette"] > #sidebar-button:hover { +toolbarpaletteitem[place="palette"] > #sidebar-button:hover, +#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { -moz-image-region: rect(32px, 864px, 64px, 832px); } -#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { - -moz-image-region: rect(32px, 864px, 64px, 832px); +#panic-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #panic-button { + -moz-image-region: rect(0, 896px, 32px, 864px); +} + +#panic-button[cui-areatype="menu-panel"]:hover, +toolbarpaletteitem[place="palette"] > #panic-button:hover, +#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { + -moz-image-region: rect(32px, 896px, 64px, 864px); +} + +#web-apps-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #web-apps-button { + -moz-image-region: rect(0, 928px, 32px, 896px); +} + +#web-apps-button[cui-areatype="menu-panel"]:hover, +toolbarpaletteitem[place="palette"] > #web-apps-button:hover { + -moz-image-region: rect(32px, 928px, 64px, 896px); +} + +#webide-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #webide-button { + -moz-image-region: rect(0px, 960px, 32px, 928px); +} + +#webide-button[cui-areatype="menu-panel"]:hover, +toolbarpaletteitem[place="palette"] > #webide-button:hover { + -moz-image-region: rect(32px, 960px, 64px, 928px); } toolbaritem[sdkstylewidget="true"] > toolbarbutton { -moz-image-region: rect(0, 832px, 32px, 800px); } -#loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, -toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, +toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, +toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); -moz-image-region: rect(0, 32px, 32px, 0); } /* Make sure that the state icons are not shown in the customization palette. */ -toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container { +toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, +toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { -moz-image-region: rect(0, 32px, 32px, 0) !important; } -#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { -moz-image-region: rect(0, 160px, 32px, 128px); } -#loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, +#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { -moz-image-region: rect(0, 64px, 32px, 32px); } -#loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { -moz-image-region: rect(0, 224px, 32px, 192px); } -#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { -moz-image-region: rect(0, 96px, 32px, 64px); } -#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { +#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, +#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { -moz-image-region: rect(0, 128px, 32px, 96px); } -#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { +#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); } @@ -1232,7 +1332,7 @@ toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-c #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/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */ + list-style-image: var(--menupanel-small-list-style-image); } #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, @@ -1310,6 +1410,11 @@ toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled= -moz-image-region: rect(32px, 96px, 48px, 80px); } +#add-share-provider { + list-style-image: var(--menupanel-small-list-style-image); + -moz-image-region: rect(0px, 96px, 16px, 80px); +} + /* === END menupanel.inc.css === */ .toolbarbutton-1:not([type="menu-button"]) { @@ -1371,7 +1476,7 @@ toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-bri -moz-padding-end: 5px;*/ } -#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) { +#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;*/ } @@ -1423,7 +1528,7 @@ toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { width: 32px; } -#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-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-icon, #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { /* -moz-padding-end: 17px;*/ } @@ -1626,7 +1731,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* tabview menu item */ #menu_tabview { - list-style-image: url("chrome://browser/skin/tabview/tabview.png"); + list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); -moz-image-region: rect(1px, 89px, 17px, 73px); } @@ -1825,7 +1930,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, #urlbar-display-box { } -#urlbar-display { +.urlbar-display { -moz-border-end: 1px solid #9C9CFF; -moz-margin-end: 3px; margin-top: 0; @@ -1917,7 +2022,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but } #identity-box.verifiedIdentity:not(:-moz-lwtheme) { - background-color: #000000; + var(--verified-identity-box-backgroundcolor); } #identity-box:-moz-focusring { @@ -1958,15 +2063,20 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* === BEGIN identity-block.inc.css === */ -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { +:root { + --identity-box-verified-color: #008484; /* Default theme does different color per channel, we can't as they do it build-time. */ - color: #9C9CFF; - -moz-border-end: 1px solid #9C9CFF; + --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: #008484; - -moz-border-end: 1px solid #008484; + color: var(--identity-box-verified-color); + -moz-border-end: 1px solid var(--identity-box-verified-color); } #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, @@ -2092,13 +2202,19 @@ richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type- } .ac-result-type-keyword, -.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { - list-style-image: url("chrome://global/skin/icons/Search-glass.png"); - -moz-image-region: rect(0px 32px 16px 16px); +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), +richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); width: 16px; height: 16px; } + .ac-result-type-keyword[selected="true"], + .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), + richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); + } + .ac-result-type-tag, .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); @@ -2158,7 +2274,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- padding: 0 2px; background-origin: border-box; border: none; - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-border-start: 1px solid #9C9CFF; } @@ -2641,10 +2757,17 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { color: #000000; } +/* Handle a case where the last separator in a customized tab bar with a + separated new tab button causes the width of the tab to extend and causes + jittering with a small tab curve width (Bug 1111091). */ +#TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after { +} + /* New tab button */ .tabs-newtab-button { width: 28px; + /* width: calc(36px + @tabCurveWidth@); */ } /* === END tabs.inc.css === */ @@ -2729,7 +2852,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { #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.png"); + list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png"); -moz-image-region: rect(0, 16px, 18px, 0); } @@ -2799,7 +2922,11 @@ toolbarbutton.chevron { 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); @@ -2978,10 +3105,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); } -.popup-notification-icon[popupid="plugins-not-found"] { - list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); -} - .popup-notification-icon[popupid="web-notifications"] { list-style-image: url("chrome://browser/skin/notification-64.png"); } @@ -3034,7 +3157,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://global/skin/icons/webapps-64.png"); } -.popup-notification-icon[popupid="mixed-content-blocked"], .popup-notification-icon[popupid="bad-content"] { list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); } @@ -3151,10 +3273,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ } -#plugin-install-notification-icon { - list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); -} - #notification-popup-box[hidden] { /* Override display:none to make the pluginBlockedNotification animation work when showing the notification repeatedly. */ @@ -3175,8 +3293,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled } } -.mixed-content-blocked-notification-icon, -#mixed-content-blocked-notification-icon, .bad-content-blocked-notification-icon, #bad-content-blocked-notification-icon { list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); @@ -3282,6 +3398,31 @@ notification[value="translation"] menulist > .menulist-dropmarker { width: 70px; } +.translation-welcome-panel { + width: 305px; +} + +.translation-welcome-logo { + height: 32px; + width: 32px; + list-style-image: url(chrome://browser/skin/translation-16@2x.png); + -moz-image-region: rect(0, 64px, 32px, 32px); +} + +.translation-welcome-content { + -moz-margin-start: 16px; +} + +.translation-welcome-headline { + font-size: larger; + font-weight: bold; +} + +.translation-welcome-body { + padding: 1em 0; + margin: 0 0; +} + /* === END infobar.inc.css === */ notification[value="translation"] { @@ -3446,136 +3587,6 @@ notification[value="translation"] { background-color: transparent !important; } -/* === BEGIN highlighter.inc.css === */ - -/* Box model highlighter */ -svg|g.box-model-container { - opacity: 0.4; -} - -svg|polygon.box-model-content { - fill: #008484; -} - -svg|polygon.box-model-padding { - fill: #9C9CFF; -} - -svg|polygon.box-model-border { - fill: #FFCF00; -} - -svg|polygon.box-model-margin { - fill: #A09090; -} - -svg|polygon.box-model-content, -svg|polygon.box-model-padding, -svg|polygon.box-model-border, -svg|polygon.box-model-margin { - stroke: none; -} - -svg|line.box-model-guide-top, -svg|line.box-model-guide-right, -svg|line.box-model-guide-bottom, -svg|line.box-model-guide-left { - stroke: #E7ADE7; - stroke-dasharray: 5 3; - shape-rendering: crispEdges; -} - -/* Highlighter - Node Infobar */ - -.highlighter-nodeinfobar { - color: #FF9F00; - border-radius: 3px; - background-color: #000000; - background-clip: padding-box; - border: 1px solid #008484; - padding: 5px; - /* Avoid cases where the infobar is smaller than the arrow, when the text is - short */ - min-width: 75px; -} - -/* Highlighter - Node Infobar - text */ - -.highlighter-nodeinfobar-text { - text-align: center; - /* 100% - size of the buttons and margins */ - max-width: calc(100% - 2 * (26px + 6px)); - padding-bottom: 1px; -} - -html|*.highlighter-nodeinfobar-tagname { - color: #FFCF00; -} - -html|*.highlighter-nodeinfobar-id { - color: #9C9CFF; -} - -html|*.highlighter-nodeinfobar-pseudo-classes { - color: #FF9F00; -} - -html|*.highlighter-nodeinfobar-dimensions { - color: #A09090; - -moz-border-start: 1px solid #9C9CFF; - -moz-margin-start: 6px; - -moz-padding-start: 6px; -} - -/* Highlighter - Node Infobar - box & arrow */ - -.highlighter-nodeinfobar-arrow { - width: 14px; - height: 14px; - -moz-margin-start: calc(50% - 7px); - transform: rotate(-45deg); - background-clip: padding-box; - background-repeat: no-repeat; -} - -.highlighter-nodeinfobar-arrow-top { - margin-bottom: -8px; - margin-top: 8px; - background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); -} - -.highlighter-nodeinfobar-arrow-bottom { - margin-top: -8px; - margin-bottom: 8px; - background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); -} - -.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { - margin: 7px 0; -} - -/* Css transform highlighter */ - -svg|polygon.css-transform-transformed { - fill: #9C9CFF; - opacity: 0.8; -} - -svg|polygon.css-transform-untransformed { - fill: #A09090; - opacity: 0.8; -} - -svg|polygon.css-transform-transformed, -svg|polygon.css-transform-untransformed, -svg|line.css-transform-line { - stroke: #E7ADE7; - stroke-dasharray: 5 3; - stroke-width: 2; -} - -/* === END highlighter.inc.css === */ - #full-screen-warning-message { background-color: #000000; color: #FF9F00; @@ -3852,6 +3863,19 @@ html|*#gcli-output-frame { /* margin: 0 3px; */ } +.devtools-responsiveui-menulist .menulist-editable-box { + background-color: transparent; +} + +.devtools-responsiveui-menulist html|*.menulist-editable-input { + color: inherit; + text-align: center; +} + +.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { +/* background: hsla(212,7%,57%,.35);*/ +} + .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { width: 16px; height: 16px; @@ -4044,6 +4068,105 @@ html|*#gcli-output-frame { background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); } +/* FxOS custom mode with additional buttons and phone look'n feel */ + +/* Hide devtools manual resizer */ +.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle, +.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH, +.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV { + display: none; +} + +/* 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; +} + +.devtools-responsiveui-hardware-buttons { + -moz-appearance: none; + padding: 20px; + + border: 1px solid #FFFFFF; + border-bottom-left-radius: 25px; + border-bottom-right-radius: 25px; + border-top-width: 0; + + box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset; + + background-image: linear-gradient(to right, #111 11%, #333 56%); +} + +.devtools-responsiveui-home-button { + width: 40px; + height: 30px; + list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png"); +} + +.devtools-responsiveui-sleep-button { + -moz-appearance: none; + /* compensate browserStack top padding */ + margin-top: -67px; + margin-right: 10px; + + min-width: 10px; + width: 50px; + height: 5px; + + border: 1px solid #444; + border-top-right-radius: 12px; + border-top-left-radius: 12px; + border-bottom-color: transparent; + + background-image: linear-gradient(to top, #111 11%, #333 56%); +} + +.devtools-responsiveui-sleep-button:hover:active { + background-image: linear-gradient(to top, #aaa 11%, #ddd 56%); +} + +.devtools-responsiveui-volume-buttons { + margin-left: -29px; +} + +.devtools-responsiveui-volume-up-button, +.devtools-responsiveui-volume-down-button { + -moz-appearance: none; + border: 1px solid red; + min-width: 8px; + height: 40px; + + border: 1px solid #444; + border-right-color: transparent; + + background-image: linear-gradient(to right, #111 11%, #333 56%); +} + +.devtools-responsiveui-volume-up-button:hover:active, +.devtools-responsiveui-volume-down-button:hover:active { + background-image: linear-gradient(to right, #aaa 11%, #ddd 56%); +} + +.devtools-responsiveui-volume-up-button { + border-top-left-radius: 12px; +} + +.devtools-responsiveui-volume-down-button { + border-bottom-left-radius: 12px; +} + @media (min-resolution: 2dppx) { .devtools-responsiveui-resizebarV { background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); @@ -4075,67 +4198,6 @@ html|*#gcli-output-frame { /* Social toolbar item */ -#social-provider-button { - -moz-image-region: rect(0, 16px, 16px, 0); - list-style-image: url("chrome://browser/skin/social/services-16.png"); -} - -#social-provider-button > .toolbarbutton-menu-dropmarker { - display: none; -} - -.toolbarbutton-badge-container { - margin: 0; - padding: 0; - position: relative; -} - -#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { - padding: 2px 2px; -} - -.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { - position: absolute; - top: 2px; - right: 2px; -} - -.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { - -moz-margin-end: 0; -} - -.toolbarbutton-badge[badge=""] { - display: none; -} -.toolbarbutton-badge[badge]:not([badge=""])::after { - /* The |content| property is set in the content stylesheet. */ - font-size: 9px; - font-weight: bold; - padding: 0 1px; - color: #FF9F00; - background-color: #000000; - border: 1px solid #9C9CFF; - border-radius: 2px; - position: absolute; - top: 0; - right: 0; -} - -#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { - top: 1px; - right: 1px; -} - -.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { - left: 0; - right: auto; -} - -#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { - left: 1px; - right: auto; -} - #social-notification-icon-mentions { background-color: #000000; border-radius: 3px; @@ -4271,10 +4333,17 @@ html|*#gcli-output-frame { .chat-toolbarbutton { -moz-appearance: none; border: none; - padding: 0; + padding: 0 3px; margin: 0; background: none; - width: 16px; +} + +.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 { @@ -4282,52 +4351,37 @@ html|*#gcli-output-frame { } .chat-toolbarbutton > .toolbarbutton-icon { - width: inherit; -} - -.chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon { - width: inherit; - margin-top: -2px; + width: 16px; + height: 16px; } .chat-close-button { - list-style-image: url('chrome://browser/skin/social/chat-icons.png'); - -moz-image-region: rect(0, 16px, 16px, 0); + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close"); } -.chat-close-button:hover, -.chat-close-button:hover:active { - -moz-image-region: rect(0, 32px, 16px, 16px); +.chat-close-button:-moz-any(:hover,:hover:active) { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active"); } .chat-minimize-button { - list-style-image: url('chrome://browser/skin/social/chat-icons.png'); - -moz-image-region: rect(16px, 16px, 32px, 0); + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize"); } -.chat-minimize-button:hover:active, -.chat-minimize-button:hover { - -moz-image-region: rect(16px, 32px, 32px, 16px); +.chat-minimize-button:-moz-any(:hover,:hover:active) { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active"); } .chat-swap-button { - list-style-image: url('chrome://browser/skin/social/chat-icons.png'); - -moz-image-region: rect(48px, 16px, 64px, 0); + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand"); + transform: rotate(180deg); } -.chat-swap-button:hover:active, -.chat-swap-button:hover { - -moz-image-region: rect(48px, 32px, 64px, 16px); +.chat-swap-button:-moz-any(:hover,:hover:active) { + list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active"); } chatbar > chatbox > .chat-titlebar > .chat-swap-button { - list-style-image: url('chrome://browser/skin/social/chat-icons.png'); - -moz-image-region: rect(32px, 16px, 48px, 0); -} - -chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, -chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { - -moz-image-region: rect(32px, 32px, 48px, 16px); + transform: none; } .chat-title { @@ -4340,12 +4394,11 @@ chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { .chat-titlebar { background-color: #9C9CFF; color: #000000; - height: 20px; - min-height: 16px; + height: 30px; + min-height: 30px; width: 100%; margin: 0; - padding: 2px; - -moz-padding-start: 6px; + padding: 7px 6px; border: none; border-bottom: 1px solid #008484; cursor: pointer; @@ -4368,6 +4421,18 @@ chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { 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; @@ -4571,6 +4636,11 @@ notification.pluginVulnerable .messageImage { 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; @@ -4679,12 +4749,13 @@ notification.pluginVulnerable .messageImage { } #customization-header { - font-size: 1.5em; - line-height: 1.5em; + font-size: 1.75em; + line-height: 1.75em; color: #9C9CFF; - font-weight: lighter; - margin-bottom: 1em; - padding: 15px 15px 0; + font-weight: 200; + margin: 25px 25px 12px; + padding-bottom: 12px; + border-bottom: 1px solid #A09090; } #customization-panel-container { @@ -4708,6 +4779,21 @@ notification.pluginVulnerable .messageImage { .customizationmode-button:hover { } +#customization-titlebar-visibility-button[checked], +#customization-devedition-theme-button[checked] { + background-color: #008484; +} + +#customization-titlebar-visibility-button[checked]:hover, +#customization-devedition-theme-button[checked]:hover { + background-color: #FFCF00; +} + +#customization-titlebar-visibility-button[checked]:hover:active, +#customization-devedition-theme-button[checked]:hover:active { + background-color: #FF9F00; +} + .customizationmode-button[disabled="true"] { } @@ -4871,6 +4957,91 @@ toolbarpaletteitem[place="toolbar"] { margin-right: 0; } +#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent { + -moz-box-orient: vertical; + /* Make the panel padding uniform across all platforms due to the + styling of the section headers and footer. */ + padding: 10px; +} + +.customization-lwtheme-menu-theme > .toolbarbutton-icon { + width: 32px; + height: 32px; +} + +.customization-lwtheme-menu-theme { + -moz-appearance: none; + margin: 0 -5px 5px; + padding-top: 0; + -moz-padding-end: 5px; + padding-bottom: 0; + -moz-padding-start: 0; +} + +.customization-lwtheme-menu-theme[defaulttheme] { + list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png); +} + +.customization-lwtheme-menu-theme[active="true"] { + background-color: #008484; +} + +.customization-lwtheme-menu-theme > .toolbarbutton-icon { + margin: 5px; +} + +.customization-lwtheme-menu-theme > .toolbarbutton-text { + text-align: start; +} + +#customization-lwtheme-menu-header, +#customization-lwtheme-menu-recommended { + padding: 10px; + margin-bottom: 5px; +} + +#customization-lwtheme-menu-header, +#customization-lwtheme-menu-recommended, +#customization-lwtheme-menu-footer { + background-color: #A09090; + color: #000000; + margin-right: -10px; + margin-left: -10px; +} + +#customization-lwtheme-menu-header { + margin-top: -10px; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +#customization-lwtheme-menu-recommended { +} + +#customization-lwtheme-menu-footer { + margin-bottom: -10px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.customization-lwtheme-menu-footeritem { + -moz-appearance: none; + -moz-box-flex: 1; + background-color: #C09070; + color: #000000; + border: 1px solid transparent; + padding: 10px; + margin-left: 0; + margin-right: 0; +} + +.customization-lwtheme-menu-footeritem:hover { + background-color: #FFCF00; +} + +.customization-lwtheme-menu-footeritem:first-child { +} + /* === END customizeMode.inc.css === */ /* === BEGIN customizeTip.inc.css === */ @@ -4884,6 +5055,7 @@ toolbarpaletteitem[place="toolbar"] { border-radius: 3px; /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/ border: 1px solid #9C9CFF; + color: #FF9F00; } #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { @@ -5201,6 +5373,54 @@ 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); + } +} + /* === END UITour.inc.css === */ #UITourTooltipButtons { @@ -5260,7 +5480,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #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-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-image-region: rect(0, 14px, 14px, 0); } @@ -5276,7 +5496,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #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-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-image-region: rect(0, 28px, 14px, 14px); }