/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @import url("chrome://global/skin/"); %include shared.inc %filter substitution %define forwardTransitionLength 150ms %define conditionalForwardWithUrlbar window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #unified-back-forward-button %define conditionalForwardWithUrlbarWidth 27 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace html url("http://www.w3.org/1999/xhtml"); #urlbar:-moz-lwtheme:not([focused="true"]), .searchbar-textbox:-moz-lwtheme:not([focused="true"]) { opacity: .9; } #navigator-toolbox toolbarbutton:-moz-lwtheme { color: inherit; text-shadow: inherit; } #PersonalToolbar:-moz-lwtheme, #nav-bar:-moz-lwtheme, #main-window[privatebrowsingmode=temporary] #nav-bar[tabsontop=false] { -moz-appearance: none !important; background: none !important; /* Switching to a lightweight theme shouldn't move the content area, so avoid changing border widths here. */ border-color: transparent !important; } #main-window { -moz-appearance: none; background-color: #eeeeee; } #titlebar-buttonbox-container, #main-window:not([drawintitlebar=true]) > #titlebar { display: none; } #titlebar { height: 22px; } #main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] { border-top: 1px solid rgba(0,0,0,0.65); } #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) { -moz-box-align: center; padding: 2px 4px; } /* Because of -moz-box-align: center above, separators will be invisible unless we set their min-height. See bug 583510 for more information. */ toolbarseparator { min-height: 22px; } /* We need more height when toolbar buttons show both icon and text. */ toolbar[mode="full"] toolbarseparator { min-height: 36px; } #nav-bar { padding-bottom: 4px !important; } #PersonalToolbar { -moz-appearance: none; margin-top: -2px; /* overlay the bottom border of the toolbar above us */ padding-top: 1px !important; background-color: -moz-mac-chrome-active; border-bottom: 1px solid rgba(0, 0, 0, 0.57); } #nav-bar[tabsontop=true], #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar, #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar { -moz-appearance: none; margin-top: 0; /* don't overlay the bottom border of the tabs toolbar */ padding-top: 4px !important; border-bottom: 1px solid rgba(0, 0, 0, 0.57); background-color: -moz-mac-chrome-active; background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0)) !important; /* override lwtheme style */ background-origin: border-box !important; } #PersonalToolbar:-moz-lwtheme, #nav-bar[tabsontop=true]:-moz-lwtheme, #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar:-moz-lwtheme, #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar:-moz-lwtheme { background-color: transparent; border-bottom-color: transparent; } #PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive, #nav-bar[tabsontop=true]:not(:-moz-lwtheme):-moz-window-inactive, #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar:not(:-moz-lwtheme):-moz-window-inactive, #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive { background-color: -moz-mac-chrome-inactive; border-bottom-color: rgba(0, 0, 0, 0.32); } /* ----- BOOKMARK TOOLBAR ----- */ #personal-bookmarks { min-height: 17px; /* 16px button height + 1px margin-bottom */ } toolbarbutton.chevron { list-style-image: url("chrome://global/skin/icons/chevron.png"); margin: 1px 0 0; padding: 0; } toolbarbutton.chevron > .toolbarbutton-text { display: none; } toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { display: -moz-box; /* display chevron icon in text mode */ } toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { transform: scaleX(-1); } @media (min-resolution: 2dppx) { toolbarbutton.chevron { list-style-image: url("chrome://global/skin/icons/chevron@2x.png"); } toolbarbutton.chevron > .toolbarbutton-icon { width: 13px; } } /* ----- BOOKMARK BUTTONS ----- */ toolbarbutton.bookmark-item { font-weight: bold; color: #222; border: 0; border-radius: 10000px; padding: 1px 8px; margin: 0 0 1px; } .bookmark-item > .toolbarbutton-menu-dropmarker { list-style-image: url("chrome://browser/skin/places/folderDropArrow.png"); -moz-image-region: rect(0, 7px, 5px, 0); margin-top: 1px; -moz-margin-start: 3px; -moz-margin-end: -2px; } @media (min-resolution: 2dppx) { .bookmark-item > .toolbarbutton-menu-dropmarker { list-style-image: url("chrome://browser/skin/places/folderDropArrow@2x.png"); -moz-image-region: rect(0, 14px, 10px, 0); } .bookmark-item > .toolbarbutton-menu-dropmarker > .dropmarker-icon { width: 7px; } } .bookmark-item > .toolbarbutton-text { display: -moz-box !important; /* prevent [mode="icons"] from hiding the label */ margin: 0 !important; } toolbarbutton.bookmark-item:hover, toolbarbutton.bookmark-item[open="true"] { background-color: rgba(0, 0, 0, .205); } toolbarbutton.bookmark-item:hover, toolbarbutton.bookmark-item[open="true"] { color: #FFF !important; text-shadow: 0 1px rgba(0, 0, 0, .4) !important; } .bookmark-item:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker { -moz-image-region: rect(5px, 7px, 10px, 0); } @media (min-resolution: 2dppx) { .bookmark-item:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker { -moz-image-region: rect(10px, 14px, 20px, 0); } } toolbarbutton.bookmark-item:active:hover, toolbarbutton.bookmark-item[open="true"] { box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4); background-color: rgba(0, 0, 0, .5); } toolbarbutton.bookmark-item > menupopup { margin-top: 2px; -moz-margin-start: 3px; } .bookmark-item > .toolbarbutton-icon { width: 16px; min-height: 16px; max-height: 16px; } .bookmark-item > .toolbarbutton-icon[label]:not([label=""]), .bookmark-item > .toolbarbutton-icon[type="menu"] { -moz-margin-end: 5px; } .bookmark-item[container] { list-style-image: url("chrome://global/skin/tree/folder.png"); } .bookmark-item[container][livemark] { list-style-image: url("chrome://browser/skin/page-livemarks.png"); } .bookmark-item[container][livemark] .bookmark-item { list-style-image: url("chrome://browser/skin/places/livemark-item.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); } .bookmark-item[container][livemark] .bookmark-item[visited] { -moz-image-region: rect(0px, 32px, 16px, 16px); } .bookmark-item[container][query] { list-style-image: url("chrome://browser/skin/places/query.png"); } .bookmark-item[query][tagContainer] { list-style-image: url("chrome://browser/skin/places/tag.png"); } .bookmark-item[query][dayContainer] { list-style-image: url("chrome://browser/skin/places/history.png"); } .bookmark-item[query][hostContainer] { list-style-image: url("chrome://global/skin/tree/folder.png"); } .bookmark-item[query][hostContainer][open] { list-style-image: url("chrome://global/skin/tree/folder.png"); } @media (min-resolution: 2dppx) { .bookmark-item[container] { list-style-image: url("chrome://global/skin/tree/folder@2x.png"); } .bookmark-item[container][livemark] { list-style-image: url("chrome://browser/skin/page-livemarks@2x.png"); } .bookmark-item[container][livemark] .bookmark-item { list-style-image: url("chrome://browser/skin/places/livemark-item.png"); } .bookmark-item[container][query] { list-style-image: url("chrome://browser/skin/places/query@2x.png"); } .bookmark-item[query][tagContainer] { list-style-image: url("chrome://browser/skin/places/tag@2x.png"); } .bookmark-item[query][dayContainer] { list-style-image: url("chrome://browser/skin/places/history@2x.png"); } .bookmark-item[query][hostContainer] { list-style-image: url("chrome://global/skin/tree/folder@2x.png"); } .bookmark-item[query][hostContainer][open] { list-style-image: url("chrome://global/skin/tree/folder@2x.png"); } } /* Workaround for native menubar inheritance */ .openintabs-menuitem, .openlivemarksite-menuitem, .livemarkstatus-menuitem { list-style-image: none; } .bookmark-item[cutting] > .toolbarbutton-icon, .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { opacity: 0.5; } .bookmark-item[cutting] > .toolbarbutton-text, .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { opacity: 0.7; } #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center; } .bookmarks-toolbar-customize { max-width: 15em !important; list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; } @media (min-resolution: 2dppx) { #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { background-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png"); background-size: 16px; } .bookmarks-toolbar-customize { list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important; } .bookmarks-toolbar-customize > .toolbarbutton-icon { width: 16px; } } /* ----- BOOKMARK MENUS ----- */ .bookmark-item > .menu-iconic-left > .menu-iconic-icon { width: 16px; height: 16px; } #bookmarksToolbarFolderMenu, #BMB_bookmarksToolbar { list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); } #BMB_unsortedBookmarks { list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png"); } @media (min-resolution: 2dppx) { #bookmarksToolbarFolderMenu, #BMB_bookmarksToolbar { list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png"); } #BMB_unsortedBookmarks { list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png"); } } /* ----- PRIMARY TOOLBAR BUTTONS ----- */ .toolbarbutton-1:not([type="menu-button"]), .toolbarbutton-1 > .toolbarbutton-menubutton-button, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker, #restore-button { -moz-box-orient: vertical; -moz-appearance: toolbarbutton; height: 22px; padding: 0; border: 0; } .toolbarbutton-1:not([type="menu-button"]):-moz-lwtheme, .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-lwtheme, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme, #restore-button:-moz-lwtheme { -moz-appearance: none; padding: 0 3px; border: 1px solid rgba(0, 0, 0, 0.4); border-radius: @toolbarbuttonCornerRadius@; background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.2)) repeat-x; background-origin: border-box; box-shadow: inset 0 1px rgba(255,255,255,0.3), 0 1px rgba(255,255,255,0.2); } .toolbarbutton-1:not([type="menu-button"]):-moz-lwtheme-darktext, .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-lwtheme-darktext, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-darktext, #restore-button:-moz-lwtheme-darktext { background-image: linear-gradient(rgba(255,255,255,0.3), rgba(50,50,50,0.2) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.13)); } .toolbarbutton-1[type="menu-button"] { padding: 0; } .toolbarbutton-1 > .toolbarbutton-menubutton-button, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { margin: 0; } .toolbarbutton-1, #restore-button { margin: 0 4px; list-style-image: url("chrome://browser/skin/Toolbar.png"); } @media (min-resolution: 2dppx) { /* Whitelist built-in buttons, instead of .toolbarbutton-1, to avoid potentially breaking add-on toolbar buttons. */ :-moz-any(@primaryToolbarButtons@):not(#tabview-button) { list-style-image: url("chrome://browser/skin/Toolbar@2x.png"); } :-moz-any(@primaryToolbarButtons@):not(#tabview-button) > .toolbarbutton-icon { width: 20px; } } toolbar:not([mode="icons"]) .toolbarbutton-1:not([type="menu-button"]), toolbar:not([mode="icons"]) .toolbarbutton-1 > .toolbarbutton-menubutton-button, toolbar:not([mode="icons"]) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker, toolbar:not([mode="icons"]) #restore-button { -moz-appearance: none; padding: 0; height: auto; border: none; box-shadow: none; background: none; } .toolbarbutton-1:not([type="menu-button"]), .toolbarbutton-1 > .toolbarbutton-menubutton-button, #restore-button { min-width: 28px; } toolbar:not([mode="icons"]) .toolbarbutton-1:not([type="menu-button"]), toolbar:not([mode="icons"]) .toolbarbutton-1 > .toolbarbutton-menubutton-button, toolbar:not([mode="icons"]) #restore-button { min-width: 0; } .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { margin: 2px; } .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon, .toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon, #restore-button[disabled="true"] > .toolbarbutton-icon { opacity: .4; } @media (-moz-mac-lion-theme) { .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon, .toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon, #restore-button[disabled="true"] > .toolbarbutton-icon, .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon, .toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon, #restore-button:not(:hover):-moz-window-inactive > .toolbarbutton-icon, .toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menu-dropmarker, .toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-dropmarker { opacity: .5; } .toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon, .toolbarbutton-1:-moz-window-inactive[type="menu-button"] > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon, #restore-button:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon { opacity: .25; } } .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png); } @media (min-resolution: 2dppx) { .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker@2x.png); } .toolbarbutton-1 > .toolbarbutton-menu-dropmarker > .dropmarker-icon, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { width: 7px; } } .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { -moz-margin-end: 1px; } .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { width: 14px; padding-top: 2px; -moz-border-start: none !important; } toolbar:not([mode="icons"]) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { width: auto; padding-top: 0; } .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(rtl), .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(ltr) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(ltr), .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) { border-top-right-radius: 0; border-bottom-right-radius: 0; } toolbar:not([mode="icons"]) .toolbarbutton-1:not([open="true"]) > .toolbarbutton-menubutton-dropmarker { opacity: .7; } .toolbarbutton-1 > .toolbarbutton-text, .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text { margin: 2px 0 0; } toolbar[mode="icons"] .toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):active:hover:-moz-lwtheme, toolbar[mode="icons"] .toolbarbutton-1:not([type="menu-button"])[open="true"]:-moz-lwtheme, toolbar[mode="icons"] .toolbarbutton-1:not([disabled="true"]) > .toolbarbutton-menubutton-button:active:hover:-moz-lwtheme, toolbar[mode="icons"] .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme, toolbar[mode="icons"] #restore-button:not([disabled="true"]):active:hover:-moz-lwtheme { text-shadow: @loweredShadow@; background-color: rgba(0,0,0,0.2); box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2); } toolbar[mode="icons"] .toolbarbutton-1:not([type="menu-button"]):not(#fullscreen-button)[checked="true"]:-moz-lwtheme { background-color: rgba(0,0,0,0.4); box-shadow: inset 0 2px 5px rgba(0,0,0,0.7), 0 1px rgba(255,255,255,0.2); } toolbar[mode="icons"] .toolbarbutton-1:not([type="menu-button"]):not(#fullscreen-button)[checked="true"]:not([disabled="true"]):active:hover:-moz-lwtheme { background-color: rgba(0, 0, 0, 0.6); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 1px rgba(255, 255, 255, 0.2); } toolbar[mode="icons"] .toolbarbutton-1 > menupopup { margin-top: 1px; } #navigator-toolbox > toolbar { /* force iconsize="small" on these toolbars */ counter-reset: smallicons; } /* unified back/forward button */ #unified-back-forward-button { -moz-box-align: center; } #back-button, #forward-button:-moz-locale-dir(rtl), toolbar[mode="icons"] #back-button:-moz-locale-dir(rtl):-moz-lwtheme { -moz-image-region: rect(0, 40px, 20px, 20px); } @media (min-resolution: 2dppx) { #back-button, #forward-button:-moz-locale-dir(rtl), toolbar[mode="icons"] #back-button:-moz-locale-dir(rtl):-moz-lwtheme { -moz-image-region: rect(0, 80px, 40px, 40px); } } #forward-button, #back-button:-moz-locale-dir(rtl), #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl), toolbar[mode="icons"] #forward-button:-moz-locale-dir(rtl):-moz-lwtheme { -moz-image-region: rect(0, 60px, 20px, 40px); } @media (min-resolution: 2dppx) { #forward-button, #back-button:-moz-locale-dir(rtl), #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl), toolbar[mode="icons"] #forward-button:-moz-locale-dir(rtl):-moz-lwtheme { -moz-image-region: rect(0, 120px, 40px, 80px); } } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:-moz-locale-dir(rtl), #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl), toolbar[mode="icons"] #back-button:-moz-locale-dir(rtl):-moz-lwtheme, toolbar[mode="icons"] #forward-button:-moz-locale-dir(rtl):-moz-lwtheme { transform: scaleX(-1); } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { -moz-appearance: none; -moz-margin-end: -7px; position: relative; z-index: 1; -moz-image-region: rect(0, 20px, 20px, 0); width: 30px; height: 30px; padding: 4px 5px 4px 3px; border-radius: 10000px; } @media (min-resolution: 2dppx) { #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { -moz-image-region: rect(0, 40px, 40px, 0); } } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not(:-moz-lwtheme) { height: 31px; padding: 4px 5px 5px 3px; margin-bottom: -1px; background: url(chrome://browser/skin/keyhole-circle.png) 0 0 no-repeat; border-radius: 0; } @media (min-resolution: 2dppx) { #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not(:-moz-lwtheme) { background-image: url(chrome://browser/skin/keyhole-circle@2x.png); background-size: 90px; } } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:-moz-window-inactive:not(:-moz-lwtheme) { background-position: -60px 0; } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):active:hover:not(:-moz-lwtheme), #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"]:not(:-moz-lwtheme) { background-position: -30px 0; } toolbar[mode="icons"] #forward-button { -moz-margin-start: 0; } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button > .toolbarbutton-icon { /* shift the icon away from the back button */ margin-left: 3px; margin-right: -1px; } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button { clip-path: url(chrome://browser/content/browser.xul#osx-keyhole-forward-clip-path); } @conditionalForwardWithUrlbar@ > #forward-button:not(:-moz-lwtheme) { -moz-appearance: none; -moz-padding-start: 2px; background: linear-gradient(hsl(0,0%,99%), hsl(0,0%,67%)) padding-box; border: 1px solid; border-color: hsl(0,0%,31%) hsla(0,0%,29%,.6) hsl(0,0%,27%); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35), 0 1px 0 hsla(0,0%,100%,.2); } @conditionalForwardWithUrlbar@ > #forward-button { border-radius: 0; -moz-margin-end: 0; } @conditionalForwardWithUrlbar@ > #forward-button:-moz-lwtheme { -moz-padding-start: 2px; -moz-padding-end: 0; } @conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { transition: opacity @forwardTransitionLength@ ease-out; } @conditionalForwardWithUrlbar@ > #forward-button:hover:active:not(:-moz-lwtheme) { background-image: linear-gradient(hsl(0,0%,74%), hsl(0,0%,61%)); box-shadow: inset rgba(0,0,0,.3) 0 -6px 10px, inset #000 0 1px 3px, inset rgba(0,0,0,.2) 0 1px 3px, 0 1px 0 hsla(0,0%,100%,.2); } @conditionalForwardWithUrlbar@ > #forward-button:-moz-window-inactive:not(:-moz-lwtheme) { border-color: hsl(0,0%,64%) hsl(0,0%,65%) hsl(0,0%,66%); background-image: linear-gradient(hsl(0,0%,99%), hsl(0,0%,82%)); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35); } @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] { opacity: 0; } @media (-moz-mac-lion-theme) { @conditionalForwardWithUrlbar@ > #forward-button:not(:-moz-lwtheme) { background-image: linear-gradient(hsla(0,0%,100%,.73), hsla(0,0%,100%,.05) 85%); border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.2); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.2), inset 0 0 1px hsla(0,0%,100%,.1), 0 1px 0 hsla(0,0%,100%,.2); } @conditionalForwardWithUrlbar@ > #forward-button:hover:active:not(:-moz-lwtheme) { background-image: linear-gradient(hsla(0,0%,60%,.37), hsla(0,0%,100%,.35) 95%); border-color: hsla(0,0%,0%,.43) hsla(0,0%,0%,.25) hsla(0,0%,0%,.37); box-shadow: inset 0 1px 0 hsla(0,0%,0%,.02), inset 0 1px 2px hsla(0,0%,0%,.2), 0 1px 0 hsla(0,0%,100%,.2); } @conditionalForwardWithUrlbar@ > #forward-button:-moz-window-inactive:not(:-moz-lwtheme) { background-image: none; border-color: hsla(0,0%,0%,.2); } } #navigator-toolbox[iconsize="small"][mode="icons"] > #nav-bar #forward-button { width: 27px; } #navigator-toolbox[iconsize="small"][mode="icons"] > #nav-bar #forward-button:-moz-lwtheme { padding-left: 2px; } toolbar[mode="icons"] #forward-button:-moz-lwtheme { border-top-left-radius: 0; border-bottom-left-radius: 0; } #navigator-toolbox[iconsize="small"][mode="icons"] > #nav-bar #back-button { -moz-margin-end: 0; width: 26px; } #navigator-toolbox[iconsize="small"][mode="icons"] > #nav-bar #back-button:-moz-lwtheme { padding-right: 2px; border-right-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; } .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/menu-back.png") !important; } .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/menu-forward.png") !important; } /* reload button */ #reload-button { -moz-image-region: rect(0, 80px, 20px, 60px); } @media (min-resolution: 2dppx) { #reload-button { -moz-image-region: rect(0, 160px, 40px, 120px); } } /* stop button */ #stop-button { -moz-image-region: rect(0, 100px, 20px, 80px); } @media (min-resolution: 2dppx) { #stop-button { -moz-image-region: rect(0, 200px, 40px, 160px); } } /* home button */ #home-button { -moz-image-region: rect(0, 120px, 20px, 100px); } #home-button.bookmark-item { list-style-image: url("chrome://browser/skin/home.png"); -moz-image-region: rect(0, 12px, 12px, 0); } #home-button.bookmark-item:hover { -moz-image-region: rect(0, 24px, 12px, 12px); } #home-button.bookmark-item > .toolbarbutton-icon { display: -moz-box !important; -moz-margin-start: -2px; -moz-margin-end: 3px; } @media (min-resolution: 2dppx) { #home-button:not(.bookmark-item) { -moz-image-region: rect(0, 240px, 40px, 200px); } } /* tabview button */ #tabview-button, #menu_tabview { list-style-image: url(chrome://browser/skin/tabview/tabview.png); } #tabview-button { -moz-image-region: rect(0, 100px, 20px, 80px); } #tabview-button[groups="0"] { -moz-image-region: rect(0, 20px, 20px, 0); } #tabview-button[groups="1"] { -moz-image-region: rect(0, 40px, 20px, 20px); } #tabview-button[groups="2"] { -moz-image-region: rect(0, 60px, 20px, 40px); } #tabview-button[groups="3"] { -moz-image-region: rect(0, 80px, 20px, 60px); } #menu_tabview { -moz-image-region: rect(2px, 98px, 18px, 82px); } #menu_tabview[groups="0"] { -moz-image-region: rect(2px, 18px, 18px, 2px); } #menu_tabview[groups="1"] { -moz-image-region: rect(2px, 38px, 18px, 22px); } #menu_tabview[groups="2"] { -moz-image-region: rect(2px, 58px, 18px, 42px); } #menu_tabview[groups="3"] { -moz-image-region: rect(2px, 78px, 18px, 62px); } /* download manager button */ #downloads-button { -moz-image-region: rect(0, 140px, 20px, 120px); } @media (min-resolution: 2dppx) { #downloads-button { -moz-image-region: rect(0, 280px, 40px, 240px); } } /* history sidebar button */ #history-button { -moz-image-region: rect(0, 160px, 20px, 140px); } #history-button[checked="true"] { -moz-image-region: rect(20px, 160px, 40px, 140px); } @media (min-resolution: 2dppx) { #history-button { -moz-image-region: rect(0, 320px, 40px, 280px); } #history-button[checked="true"] { -moz-image-region: rect(40px, 320px, 80px, 280px); } } /* bookmark sidebar & menu buttons */ #bookmarks-button, #bookmarks-menu-button { -moz-image-region: rect(0, 180px, 20px, 160px); } #bookmarks-button[checked="true"] { -moz-image-region: rect(20px, 180px, 40px, 160px); } #bookmarks-menu-button.bookmark-item { -moz-image-region: rect(2px, 178px, 18px, 162px); list-style-image: url("chrome://browser/skin/Toolbar.png"); } @media (min-resolution: 2dppx) { #bookmarks-button, #bookmarks-menu-button { -moz-image-region: rect(0, 360px, 40px, 320px); } #bookmarks-button[checked="true"] { -moz-image-region: rect(40px, 360px, 80px, 320px); } #bookmarks-menu-button.bookmark-item { -moz-image-region: rect(4px, 356px, 36px, 324px); list-style-image: url("chrome://browser/skin/Toolbar@2x.png"); } #bookmarks-menu-button.bookmark-item > .toolbarbutton-icon { width: 16px; } } #bookmarks-menu-button.toolbarbutton-1 { -moz-box-orient: horizontal; } /* print button */ #print-button { -moz-image-region: rect(0, 200px, 20px, 180px); } @media (min-resolution: 2dppx) { #print-button { -moz-image-region: rect(0, 400px, 40px, 360px); } } /* toolbar new tab button */ #new-tab-button { -moz-image-region: rect(0, 220px, 20px, 200px); } @media (min-resolution: 2dppx) { #new-tab-button { -moz-image-region: rect(0, 440px, 40px, 400px); } } /* new window button */ #new-window-button { -moz-image-region: rect(0, 240px, 20px, 220px); } @media (min-resolution: 2dppx) { #new-window-button { -moz-image-region: rect(0, 480px, 40px, 440px); } } /* cut button */ #cut-button { -moz-image-region: rect(0, 260px, 20px, 240px); } @media (min-resolution: 2dppx) { #cut-button { -moz-image-region: rect(0, 520px, 40px, 480px); } } /* copy button */ #copy-button { -moz-image-region: rect(0, 280px, 20px, 260px); } @media (min-resolution: 2dppx) { #copy-button { -moz-image-region: rect(0, 560px, 40px, 520px); } } /* paste button */ #paste-button { -moz-image-region: rect(0, 300px, 20px, 280px); } @media (min-resolution: 2dppx) { #paste-button { -moz-image-region: rect(0, 600px, 40px, 560px); } } /* alltabs button */ #alltabs-button { -moz-image-region: rect(0, 380px, 20px, 360px); } @media (min-resolution: 2dppx) { #alltabs-button { -moz-image-region: rect(0, 760px, 40px, 720px); } } /* fullscreen button */ #fullscreen-button { -moz-image-region: rect(0, 340px, 20px, 320px); } #fullscreen-button[checked="true"], #restore-button { -moz-image-region: rect(0, 360px, 20px, 340px); } @media (min-resolution: 2dppx) { #fullscreen-button { -moz-image-region: rect(0, 680px, 40px, 640px); } #fullscreen-button[checked="true"], #restore-button { -moz-image-region: rect(0, 720px, 40px, 680px); } } /* zoom controls */ #zoom-controls { -moz-box-align: center; } #zoom-out-button { -moz-image-region: rect(0, 400px, 20px, 380px); } #zoom-in-button { -moz-image-region: rect(0, 420px, 20px, 400px); } @media (min-resolution: 2dppx) { #zoom-out-button { -moz-image-region: rect(0, 800px, 40px, 760px); } #zoom-in-button { -moz-image-region: rect(0, 840px, 40px, 800px); } } toolbar[mode="icons"] #zoom-out-button { -moz-margin-end: 0; } toolbar[mode="icons"] #zoom-in-button { -moz-border-start: none; -moz-margin-start: 0; } #zoom-out-button:-moz-locale-dir(ltr), #zoom-in-button:-moz-locale-dir(rtl) { border-top-right-radius: 0; border-bottom-right-radius: 0; } #zoom-out-button:-moz-locale-dir(rtl), #zoom-in-button:-moz-locale-dir(ltr) { border-top-left-radius: 0; border-bottom-left-radius: 0; } /* sync button */ #sync-button { -moz-image-region: rect(0, 440px, 20px, 420px); } #sync-button[status="active"] { list-style-image: url("chrome://browser/skin/sync-throbber.png"); -moz-image-region: rect(0, 20px, 20px, 0px); } @media (min-resolution: 2dppx) { #sync-button:not([status="active"]) { -moz-image-region: rect(0, 880px, 40px, 840px); } } /* feed button */ #feed-button { -moz-image-region: rect(0, 460px, 20px, 440px); } @media (min-resolution: 2dppx) { #feed-button { -moz-image-region: rect(0, 920px, 40px, 880px); } } /* webRTC indicator button */ #webrtc-status-button { -moz-image-region: rect(0, 480px, 20px, 460px); } @media (min-resolution: 2dppx) { #webrtc-status-button { -moz-image-region: rect(0, 960px, 40px, 920px); } } /* ----- FULLSCREEN WINDOW CONTROLS ----- */ #minimize-button, #close-button, #fullscreen-button ~ #window-controls > #restore-button { display: none; } /* ::::: nav-bar-inner ::::: */ #urlbar, .searchbar-textbox { font: icon; width: 7em; -moz-appearance: none; box-shadow: 0 1px rgba(255, 255, 255, 0.2), inset 0 1px hsla(0,0%,0%,.05); margin: 0 4px; padding: 0; border: 1px solid; border-color: #626262 #787878 #8c8c8c; background-clip: padding-box; } @media (-moz-mac-lion-theme) { #urlbar, .searchbar-textbox { background-image: linear-gradient(hsl(0,0%,97%), hsl(0,0%,100%)); border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.15); box-shadow: 0 1px 0 hsla(0,0%,100%,.2), inset 0 0 1px hsla(0,0%,0%,.05), inset 0 1px 2px hsla(0,0%,0%,.1); } } @media not all and (-moz-mac-lion-theme) { #urlbar:-moz-window-inactive, .searchbar-textbox:-moz-window-inactive { border-color: @toolbarbuttonInactiveBorderColor@; } } #urlbar[focused="true"], .searchbar-textbox[focused="true"] { border-color: -moz-mac-focusring; box-shadow: @focusRingShadow@; } #urlbar { -moz-padding-end: 4px; border-radius: @toolbarbuttonCornerRadius@; } @conditionalForwardWithUrlbar@ + #urlbar-container { padding-left: @conditionalForwardWithUrlbarWidth@px; -moz-margin-start: -@conditionalForwardWithUrlbarWidth@px; position: relative; pointer-events: none; } @conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar { -moz-border-start: none; margin-left: 0; pointer-events: all; } @conditionalForwardWithUrlbar@:not([switchingtabs]) + #urlbar-container > #urlbar { transition: margin-left @forwardTransitionLength@ ease-out; } @conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(ltr) { border-top-left-radius: 0; border-bottom-left-radius: 0; } @conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { border-top-right-radius: 0; border-bottom-right-radius: 0; } @conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container { clip-path: url("chrome://browser/content/browser.xul#osx-urlbar-back-button-clip-path"); } @conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar { margin-left: -@conditionalForwardWithUrlbarWidth@px; } @conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar { /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ transition-delay: 100s; } @conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar { /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ margin-left: -@conditionalForwardWithUrlbarWidth@.01px; } @conditionalForwardWithUrlbar@ + #urlbar-container:-moz-locale-dir(rtl), @conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { /* let osx-urlbar-back-button-clip-path clip the urlbar's right side for RTL */ transform: scaleX(-1); } #identity-box { -moz-margin-end: 3px; padding-top: 1px; padding-bottom: 1px; -moz-padding-start: 4px; -moz-padding-end: 0; font-size: .9em; } #identity-box:-moz-locale-dir(ltr) { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } #identity-box:-moz-locale-dir(rtl) { border-top-right-radius: 2px; border-bottom-right-radius: 2px; } #notification-popup-box:not([hidden]) + #identity-box { -moz-padding-start: 10px; border-radius: 0; } @conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box { border-radius: 0; } @conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { transition: 0s padding-left; padding-left: 10px; } @conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { transition: 0s padding-right; padding-right: 10px; } @conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box { /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ transition-delay: 100s; } @conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { padding-left: 10.01px; } @conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { padding-right: 10.01px; } #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { color: hsl(92,100%,30%); -moz-padding-end: 4px; background-image: linear-gradient(hsla(92,81%,16%,0), hsla(92,81%,16%,.2) 25%, hsla(92,81%,16%,.2) 75%, hsla(92,81%,16%,0)); background-position: right; background-size: 1px; background-repeat: no-repeat; } #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { background-position: left; } #identity-box:-moz-focusring { box-shadow: 0 0 2px 1px -moz-mac-focusring inset, 0 0 2px 2px -moz-mac-focusring; -moz-border-end-style: none; -moz-padding-end: 5px; } #identity-icon-labels { -moz-margin-start: 4px; } .urlbar-input-box { -moz-margin-start: 0; padding: 3px 0 2px; min-width: 4em; } .urlbar-history-dropmarker { padding: 0 3px; list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png"); -moz-image-region: rect(0px, 11px, 14px, 0px); } .urlbar-history-dropmarker[open="true"], .urlbar-history-dropmarker:hover:active { -moz-image-region: rect(0px, 22px, 14px, 11px); background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0)); } @media (min-resolution: 2dppx) { .urlbar-history-dropmarker { list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker@2x.png"); -moz-image-region: rect(0px, 22px, 28px, 0px); } .urlbar-history-dropmarker[open="true"], .urlbar-history-dropmarker:hover:active { -moz-image-region: rect(0px, 44px, 28px, 22px); } .urlbar-history-dropmarker > .dropmarker-icon { width: 11px; } } #urlbar-icons { -moz-box-align: center; } .urlbar-icon { padding: 0 3px; } .urlbar-icon[open="true"], .urlbar-icon:hover:active { background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0)); } #urlbar-search-splitter { min-width: 8px; width: 8px; background-image: none; margin: 0 -4px; position: relative; height: 22px; } #page-proxy-favicon { width: 16px; height: 16px; margin: 0px; padding: 0px; list-style-image: url(chrome://browser/skin/identity-icons-generic.png); -moz-image-region: rect(0, 16px, 16px, 0); } .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https.png); } .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png); } .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png); } #identity-box:hover:active > #page-proxy-favicon, #identity-box[open=true] > #page-proxy-favicon { -moz-image-region: rect(0, 32px, 16px, 16px); } @media (min-resolution: 2dppx) { #page-proxy-favicon { list-style-image: url(chrome://browser/skin/identity-icons-generic@2x.png); -moz-image-region: rect(0, 32px, 32px, 0); } .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https@2x.png); } .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https-ev@2x.png); } .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active@2x.png); } #identity-box:hover:active > #page-proxy-favicon, #identity-box[open=true] > #page-proxy-favicon { -moz-image-region: rect(0, 64px, 32px, 32px); } } #page-proxy-favicon[pageproxystate="invalid"] { opacity: 0.3; } #wrapper-urlbar-container[place="palette"] { max-width: 20em; } #urlbar-display-box { -moz-border-end: 1px solid #AAA; -moz-margin-end: 3px; } #urlbar-display { margin-top: 0; margin-bottom: 0; color: GrayText; } #PopupAutoCompleteRichResult { margin-top: 2px; } /* ----- AUTOCOMPLETE ----- */ #treecolAutoCompleteImage { max-width: 36px; } .ac-result-type-bookmark, .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { list-style-image: url("chrome://browser/skin/places/star-icons.png"); -moz-image-region: rect(0, 32px, 16px, 16px); } .ac-result-type-keyword, .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { list-style-image: url(chrome://global/skin/icons/search-textbox.png); margin: 2px; width: 12px; height: 12px; } richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { list-style-image: url("chrome://browser/skin/places/star-icons.png"); -moz-image-region: rect(0, 64px, 16px, 48px); } .ac-result-type-tag, .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { list-style-image: url("chrome://browser/skin/places/tag.png"); width: 16px; height: 16px; } .ac-extra > .ac-comment { font-size: inherit; } .ac-url-text, .ac-action-text { color: -moz-nativehyperlinktext; font: message-box; } 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, 11px, 0); padding: 0 3px; } richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(11px, 16px, 22px, 0); } window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(0, 32px, 11px, 16px); } window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(11px, 32px, 22px, 16px); } @media (min-resolution: 2dppx) { .ac-result-type-bookmark { list-style-image: url("chrome://browser/skin/places/star-icons@2x.png"); -moz-image-region: rect(0, 64px, 32px, 32px); } richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark { list-style-image: url("chrome://browser/skin/places/star-icons@2x.png"); -moz-image-region: rect(0, 128px, 32px, 96px); } .ac-result-type-tag { list-style-image: url("chrome://browser/skin/places/tag@2x.png"); } richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png"); -moz-image-region: rect(0, 32px, 22px, 0); width: 22px; } richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(22px, 32px, 44px, 0); } window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(0, 64px, 22px, 32px); } window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { -moz-image-region: rect(22px, 64px, 44px, 32px); } } .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { color: GrayText; } .ac-comment[selected="true"], .ac-url-text[selected="true"], .ac-action-text[selected="true"] { color: inherit !important; } .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { color: GrayText; font-size: smaller; } .autocomplete-treebody::-moz-tree-cell(suggesthint) { border-top: 1px solid GrayText; } /* ----- COMBINED GO/RELOAD/STOP BUTTON IN LOCATION BAR ----- */ #go-button, #urlbar > toolbarbutton { margin: 0; -moz-padding-start: 2px; -moz-padding-end: 1px; background-origin: border-box; list-style-image: url("chrome://browser/skin/reload-stop-go.png"); } #urlbar > toolbarbutton:not([disabled]):hover:active { background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0)); } #go-button { padding: 0 3px; } #go-button, #urlbar-go-button { -moz-image-region: rect(0, 42px, 14px, 28px); } #go-button:hover:active, #urlbar-go-button:hover:active { -moz-image-region: rect(14px, 42px, 28px, 28px); } #go-button:-moz-locale-dir(rtl), #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { transform: scaleX(-1); } #urlbar-reload-button { -moz-image-region: rect(0, 14px, 14px, 0); } #urlbar-reload-button:not([disabled]):hover:active { -moz-image-region: rect(14px, 14px, 28px, 0); } #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { transform: scaleX(-1); } #urlbar-stop-button { -moz-image-region: rect(0, 28px, 14px, 14px); } #urlbar-stop-button:hover:active { -moz-image-region: rect(14px, 28px, 28px, 14px); } @media (min-resolution: 2dppx) { #go-button, #urlbar > toolbarbutton { list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); } #go-button, #urlbar-go-button { -moz-image-region: rect(0, 84px, 28px, 56px); } #go-button:hover:active, #urlbar-go-button:hover:active { -moz-image-region: rect(28px, 84px, 56px, 56px); } #urlbar-reload-button { -moz-image-region: rect(0, 28px, 28px, 0); } #urlbar-reload-button:not([disabled]):hover:active { -moz-image-region: rect(28px, 28px, 56px, 0); } #urlbar-stop-button { -moz-image-region: rect(0, 56px, 28px, 28px); } #urlbar-stop-button:hover:active { -moz-image-region: rect(28px, 56px, 56px, 28px); } #go-button > .toolbarbutton-icon, #urlbar > toolbarbutton > .toolbarbutton-icon { width: 14px; } } /* POPUP BLOCKER BUTTON */ #page-report-button { list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); -moz-image-region: rect(0, 16px, 16px, 0); } #page-report-button:hover:active, #page-report-button[open="true"] { -moz-image-region: rect(0, 32px, 16px, 16px); } @media (min-resolution: 2dppx) { #page-report-button { list-style-image: url("chrome://browser/skin/urlbar-popup-blocked@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); width: 22px; } #page-report-button:hover:active, #page-report-button[open="true"] { -moz-image-region: rect(0, 64px, 32px, 32px); } } /* social recommending panel */ #share-button { -moz-image-region: rect(0, 16px, 16px, 0); } #socialUserPortrait { width: 48px; height: 48px; list-style-image:url("chrome://global/skin/icons/information-32.png"); } #socialUserDisplayName, #socialUserPortrait { cursor: pointer; } #socialUserDisplayName { -moz-appearance: none; border: none; background-color: transparent; margin: 1px; padding: 0; font-size: 130%; font-weight: bold; } #socialUserDisplayName > .button-box { -moz-padding-start: 0; padding-top: 0; border-top-width: 0; } #socialUserDisplayName:hover { color: -moz-nativehyperlinktext; text-decoration: underline; } #unsharePopupText { height: 48px; } #unsharePopupBottomButtons { margin-top: 1em; } /* STAR BUTTON */ #star-button { list-style-image: url("chrome://browser/skin/places/star-icons.png"); -moz-image-region: rect(0, 16px, 16px, 0); } #star-button:hover:active, #star-button[starred="true"] { -moz-image-region: rect(0, 32px, 16px, 16px); } #star-button:hover:active[starred="true"] { -moz-image-region: rect(0, 48px, 16px, 32px); } @media (min-resolution: 2dppx) { #star-button { list-style-image: url("chrome://browser/skin/places/star-icons@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); width: 22px; } #star-button:hover:active, #star-button[starred="true"] { -moz-image-region: rect(0, 64px, 32px, 32px); } #star-button:hover:active[starred="true"] { -moz-image-region: rect(0, 96px, 32px, 64px); } } /* BOOKMARKING PANEL */ #editBookmarkPanelStarIcon { list-style-image: url("chrome://browser/skin/places/starred48.png"); width: 48px; height: 48px; } #editBookmarkPanelStarIcon[unstarred] { list-style-image: url("chrome://browser/skin/places/unstarred48.png"); } #editBookmarkPanelTitle { font-size: 130%; font-weight: bold; } #editBMPanel_rows > row { margin-bottom: 8px; } #editBMPanel_rows > row:last-of-type { margin-bottom: 0; } /**** Input elements ****/ #editBMPanel_rows > row > textbox, #editBMPanel_rows > row > hbox > textbox { -moz-appearance: none; background: linear-gradient(#fafafa, #fff); background-clip: padding-box; border-radius: 3px; border: 1px solid rgba(0,0,0,.3) !important; box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05), 0 1px rgba(255,255,255,.3); margin: 0; padding: 3px 6px; } #editBMPanel_rows > row > textbox[focused="true"], #editBMPanel_rows > row > hbox > textbox[focused="true"] { border-color: -moz-mac-focusring !important; box-shadow: @focusRingShadow@; } /**** HUD style buttons ****/ .editBookmarkPanelHeaderButton, .editBookmarkPanelBottomButton { @hudButton@ margin: 0; min-width: 82px; min-height: 22px; } .editBookmarkPanelHeaderButton:hover:active, .editBookmarkPanelBottomButton:hover:active { @hudButtonPressed@ } .editBookmarkPanelHeaderButton:-moz-focusring, .editBookmarkPanelBottomButton:-moz-focusring { @hudButtonFocused@ } .editBookmarkPanelBottomButton[default="true"] { background-color: #666; } #editBookmarkPanelHeader { margin-bottom: 6px; } .editBookmarkPanelBottomButton:last-child { -moz-margin-start: 8px; } /* The following elements come from editBookmarkOverlay.xul. Styling that's specific to the editBookmarkPanel should be in browser.css. Styling that should be shared by all editBookmarkOverlay.xul consumers should be in editBookmarkOverlay.css. */ #editBMPanel_newFolderBox { background: linear-gradient(#fff, #f2f2f2); background-origin: padding-box; background-clip: padding-box; border-radius: 0 0 3px 3px; border: 1px solid #a5a5a5; box-shadow: inset 0 1px rgba(255,255,255,.8), inset 0 0 1px rgba(255,255, 255,.25), 0 1px rgba(255,255,255,.3); margin: 0; padding: 0; height: 20px; } #editBMPanel_newFolderButton { -moz-appearance: none; border: 0 solid #a5a5a5; -moz-border-end-width: 1px; padding: 0 9px; margin: 0; min-width: 21px; min-height: 20px; height: 20px; color: #fff; list-style-image: url("chrome://browser/skin/panel-plus-sign.png"); position: relative; } #editBMPanel_newFolderButton:hover:active { background: linear-gradient(rgba(40,40,40,.9), rgba(70,70,70,.9)); box-shadow: inset 0 0 3px rgba(0,0,0,.2), inset 0 1px 7px rgba(0,0,0,.4); } #editBMPanel_newFolderButton:-moz-focusring { @hudButtonFocused@ } #editBMPanel_newFolderButton .button-text { display: none; } #editBMPanel_folderMenuList { @hudButton@ background-clip: padding-box; margin: 0; min-height: 22px; padding-top: 2px; padding-bottom: 1px; -moz-padding-start: 8px; -moz-padding-end: 4px; } #editBMPanel_folderMenuList:-moz-focusring { @hudButtonFocused@ } #editBMPanel_folderMenuList[open="true"], #editBMPanel_folderMenuList:hover:active { @hudButtonPressed@ } #editBMPanel_folderMenuList > .menulist-dropmarker { -moz-appearance: none; display: -moz-box; background-color: transparent; border: 0; margin: 0; padding: 0; -moz-padding-end: 4px; width: 7px; } #editBMPanel_folderMenuList > .menulist-dropmarker > .dropmarker-icon { list-style-image: url("chrome://global/skin/icons/panel-dropmarker.png"); } /**** folder tree and tag selector ****/ #editBMPanel_folderTree, #editBMPanel_tagsSelector { -moz-appearance: none; background: linear-gradient(#fafafa, #fff); background-clip: padding-box; border-radius: 3px; border: 1px solid rgba(0,0,0,.3); box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05), 0 1px rgba(255,255,255,.3); margin: 0; } #editBMPanel_folderTree:-moz-focusring, #editBMPanel_tagsSelector:-moz-focusring { border-color: -moz-mac-focusring; box-shadow: @focusRingShadow@; } #editBMPanel_folderTree { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ margin: 0 !important; min-width: 27em; position: relative; } /**** expanders ****/ #editBookmarkPanel .expander-up, #editBookmarkPanel .expander-down { @hudButton@ margin: 0; -moz-margin-start: 4px; min-width: 27px; min-height: 22px; } #editBookmarkPanel .expander-up:-moz-focusring, #editBookmarkPanel .expander-down:-moz-focusring { @hudButtonFocused@ } #editBookmarkPanel .expander-up:hover:active, #editBookmarkPanel .expander-down:hover:active { @hudButtonPressed@ } #editBookmarkPanel .expander-up { list-style-image: url("chrome://browser/skin/panel-expander-open.png"); } #editBookmarkPanel .expander-down { list-style-image: url("chrome://browser/skin/panel-expander-closed.png"); } #editBookmarkPanel .expander-up > .button-box > .button-icon, #editBookmarkPanel .expander-down > .button-box > .button-icon { margin: 1px 0 0; } #editBookmarkPanel .expander-up > .button-box > .button-text, #editBookmarkPanel .expander-down > .button-box > .button-text { display: none; } @media (min-resolution: 2dppx) { #editBookmarkPanel .expander-up { list-style-image: url("chrome://browser/skin/panel-expander-open@2x.png"); } #editBookmarkPanel .expander-down { list-style-image: url("chrome://browser/skin/panel-expander-closed@2x.png"); } #editBookmarkPanel .expander-up > .button-box > .button-icon, #editBookmarkPanel .expander-down > .button-box > .button-icon { width: 9px; } } #editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { opacity: 1.0; color: #bbb; } .editBMPanel_rowLabel { text-align: end; } .panel-promo-box { margin: 8px -16px -16px -16px; padding: 8px 16px; background: #e5e5e5; border-top: 1px solid hsla(0,0%,0%,.1); border-radius: 0 0 5px 5px; box-shadow: 0 -1px hsla(0,0%,100%,.5) inset, 0 1px 1px hsla(0,0%,0%,.03) inset; color: #808080; } .panel-promo-icon { list-style-image: url("chrome://browser/skin/sync-notification-24.png"); -moz-margin-end: 10px; vertical-align: middle; } .panel-promo-closebutton { list-style-image: url("chrome://global/skin/icons/close.png"); -moz-image-region: rect(0, 16px, 16px, 0); border: none; -moz-margin-end: -14px; margin-top: -8px; } .panel-promo-closebutton:hover { -moz-image-region: rect(0, 32px, 16px, 16px); } .panel-promo-closebutton:hover:active { -moz-image-region: rect(0, 48px, 16px, 32px); } .panel-promo-closebutton > .toolbarbutton-text { padding: 0; margin: 0; } @media (min-resolution: 2dppx) { .panel-promo-closebutton { list-style-image: url("chrome://global/skin/icons/close@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); } .panel-promo-closebutton:hover { -moz-image-region: rect(0, 64px, 32px, 32px); } .panel-promo-closebutton:hover:active { -moz-image-region: rect(0, 96px, 32px, 64px); } .panel-promo-closebutton > .toolbarbutton-icon { width: 16px; } } /* ----- SIDEBAR ELEMENTS ----- */ #sidebar, sidebarheader { background-color: #d4dde5; } #sidebar:-moz-window-inactive, sidebarheader:-moz-window-inactive { background-color: #e8e8e8; } sidebarheader { padding: 2px; text-shadow: none; } #sidebar-box { -moz-appearance: dialog; -moz-appearance: none; } .sidebar-splitter { -moz-border-start: none; -moz-border-end: 1px solid #404040; min-width: 1px; width: 3px; background-image: none !important; background-color: transparent; -moz-margin-start: -3px; position: relative; } #appcontent ~ .sidebar-splitter { -moz-border-start: 1px solid #ccc; -moz-border-end: none; -moz-margin-start: 0; -moz-margin-end: -3px; } #sidebar-title { color: #535f6d; font-weight: bold; } #sidebar-throbber[loading="true"] { list-style-image: url("chrome://global/skin/icons/loading_16.png"); } sidebarheader > .tabs-closebutton > .toolbarbutton-text { display: none; } /* ----- THROBBER ----- */ #navigator-throbber { width: 17px; min-height: 16px; margin: 0 4px; } #navigator-throbber[busy="true"] { list-style-image: url("chrome://global/skin/icons/loading_16.png"); } #wrapper-navigator-throbber > #navigator-throbber { list-style-image: url("chrome://global/skin/icons/notloading_16.png"); } toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { display: none; } .bookmark-item { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); } @media (min-resolution: 2dppx) { .bookmark-item { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); } image.bookmark-item { width: 16px; } } .openintabs-menuitem { list-style-image: none; } /* ::::: tabbrowser ::::: */ .tabbrowser-tabbox { margin: 0; } .tab-throbber, .tab-icon-image { width: 16px; height: 16px; list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); } .tab-throbber { list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); } .tab-throbber[progress] { list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); } @media (min-resolution: 2dppx) { .tab-icon-image { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); image-rendering: -moz-crisp-edges; } .tab-throbber { list-style-image: url("chrome://browser/skin/tabbrowser/connecting@2x.png"); } .tab-throbber[progress] { list-style-image: url("chrome://browser/skin/tabbrowser/loading@2x.png"); } } .tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) { opacity: .8; } .tabbrowser-tab:not([pinned]):not([fadein]) { transition: min-width 200ms ease-out /* copied from browser/base/content/browser.css */, max-width 250ms ease-out /* copied from browser/base/content/browser.css */, opacity 50ms ease-out 100ms /* hide the tab for the last 100ms of the max-width transition */; } .tab-stack { /* ensure stable tab height with and without toolbarbuttons on the tab bar */ height: 26px; } .tabbrowser-tab, .tabs-newtab-button { -moz-appearance: none; font: message-box; font-weight: bold; text-shadow: @loweredShadow@; margin: 0; padding: 0; border: none; text-align: center; -moz-box-align: stretch; } %define TABSONTOP_TAB #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-tab %define TABSONBOTTOM_TAB #tabbrowser-tabs[tabsontop="false"] > .tabbrowser-tab %define TABSONTOP_TAB_STACK #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-tab > .tab-stack %define TABSONBOTTOM_TAB_STACK #tabbrowser-tabs[tabsontop="false"] > .tabbrowser-tab > .tab-stack %define TABSONTOP_NEWTAB_BUTTON #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-arrowscrollbox > .tabs-newtab-button %define TABSONBOTTOM_NEWTAB_BUTTON #tabbrowser-tabs[tabsontop="false"] > .tabbrowser-arrowscrollbox > .tabs-newtab-button @TABSONTOP_TAB_STACK@ > .tab-background { margin-top: 3px; } @TABSONBOTTOM_TAB_STACK@ > .tab-background { margin-bottom: 3px; } @TABSONTOP_TAB_STACK@ > .tab-background:not([selected="true"]):not(:-moz-lwtheme) { margin-bottom: 2px; } @TABSONBOTTOM_TAB_STACK@ > .tab-background:not([selected="true"]) { margin-top: 2px; } .tab-background, .tab-content, .tabs-newtab-button > .toolbarbutton-icon { -moz-margin-start: -5px; -moz-margin-end: -4px; pointer-events: none; } .tab-close-button { pointer-events: auto; } .tabbrowser-tabs[closebuttons="hidden"] > * > * > * > .tab-close-button:not([pinned]) { display: -moz-box; visibility: hidden; } .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { -moz-padding-start: 5px; -moz-padding-end: 4px; } .tab-content, .tabs-newtab-button > .toolbarbutton-icon { -moz-box-align: center; border: solid transparent; border-width: 0 11px; } .tab-background-start, .tab-background-end { width: 12px; height: 21px; } .tab-background-middle { -moz-box-flex: 1; } @TABSONTOP_TAB_STACK@ > .tab-background > .tab-background-start:-moz-locale-dir(ltr), @TABSONTOP_TAB_STACK@ > .tab-background > .tab-background-end:-moz-locale-dir(rtl) { clip-path: url(chrome://browser/content/browser.xul#osx-tab-ontop-left-curve-clip-path); } @TABSONTOP_TAB_STACK@ > .tab-background > .tab-background-end:-moz-locale-dir(ltr), @TABSONTOP_TAB_STACK@ > .tab-background > .tab-background-start:-moz-locale-dir(rtl) { clip-path: url(chrome://browser/content/browser.xul#osx-tab-ontop-right-curve-clip-path); } @TABSONBOTTOM_TAB_STACK@ > .tab-background > .tab-background-start:-moz-locale-dir(ltr), @TABSONBOTTOM_TAB_STACK@ > .tab-background > .tab-background-end:-moz-locale-dir(rtl) { clip-path: url(chrome://browser/content/browser.xul#osx-tab-onbottom-left-curve-clip-path); } @TABSONBOTTOM_TAB_STACK@ > .tab-background > .tab-background-end:-moz-locale-dir(ltr), @TABSONBOTTOM_TAB_STACK@ > .tab-background > .tab-background-start:-moz-locale-dir(rtl) { clip-path: url(chrome://browser/content/browser.xul#osx-tab-onbottom-right-curve-clip-path); } .tab-background-start[selected="true"]:not(:-moz-lwtheme), .tab-background-middle[selected="true"]:not(:-moz-lwtheme), .tab-background-end[selected="true"]:not(:-moz-lwtheme) { background-color: -moz-mac-chrome-active; } .tab-background-start[selected="true"]:not(:-moz-lwtheme):-moz-window-inactive, .tab-background-middle[selected="true"]:not(:-moz-lwtheme):-moz-window-inactive, .tab-background-end[selected="true"]:not(:-moz-lwtheme):-moz-window-inactive { background-color: -moz-mac-chrome-inactive; } .tab-background-start[pinned][titlechanged]:not([selected="true"]), .tab-background-end[pinned][titlechanged]:not([selected="true"]) { background-image: linear-gradient(rgba(148,205,253,.2), rgba(148,205,253,.2)) !important; } @TABSONBOTTOM_TAB_STACK@ > .tab-background > .tab-background-middle[pinned][titlechanged]:not([selected="true"]) { background-image: radial-gradient(circle farthest-corner at 50% 99%, rgba(254,254,255,1) 3%, rgba(210,235,255,.9) 12%, rgba(148,205,253,.6) 30%, rgba(148,205,253,.2) 70%); } @TABSONTOP_TAB_STACK@ > .tab-background > .tab-background-middle[pinned][titlechanged]:not([selected="true"]) { background-image: radial-gradient(circle farthest-corner at 50% 2px, rgba(254,254,255,1) 3%, rgba(210,235,255,.9) 12%, rgba(148,205,253,.6) 30%, rgba(148,205,253,.2) 70%); } .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start:-moz-lwtheme-brighttext:not([selected="true"]), .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle:-moz-lwtheme-brighttext:not([selected="true"]), .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end:-moz-lwtheme-brighttext:not([selected="true"]) { background-image: linear-gradient(hsla(0,0%,40%,.6), hsla(0,0%,30%,.6) 50%); } .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start:-moz-lwtheme-darktext:not([selected="true"]), .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle:-moz-lwtheme-darktext:not([selected="true"]), .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end:-moz-lwtheme-darktext:not([selected="true"]) { background-image: linear-gradient(hsla(0,0%,60%,.5), hsla(0,0%,45%,.5) 50%); } @TABSONTOP_TAB_STACK@ > .tab-content, @TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active.png) 0 11 fill repeat stretch; } @TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]), @TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active.png) 0 11 fill repeat stretch; } @TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active.png) 0 11 fill repeat stretch; } @TABSONBOTTOM_TAB_STACK@ > .tab-content, @TABSONBOTTOM_NEWTAB_BUTTON@ > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-normal-active.png) 0 11 fill repeat stretch; } @media (min-resolution: 2dppx) { @TABSONTOP_TAB_STACK@ > .tab-content, @TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active@2x.png) 0 22 fill repeat stretch; } @TABSONTOP_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]), @TABSONTOP_NEWTAB_BUTTON@:hover > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-hover-active@2x.png) 0 22 fill repeat stretch; } @TABSONTOP_TAB_STACK@ > .tab-content[selected="true"] { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-top-selected-active@2x.png) 0 22 fill repeat stretch; } } @TABSONBOTTOM_TAB@:hover > .tab-stack > .tab-content:not([selected="true"]), @TABSONBOTTOM_NEWTAB_BUTTON@:hover > .toolbarbutton-icon { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-hover-active.png) 0 11 fill repeat stretch; } @TABSONBOTTOM_TAB_STACK@ > .tab-content[selected="true"] { -moz-border-image: url(chrome://browser/skin/tabbrowser/tab-bottom-selected-active.png) 0 11 fill repeat stretch; } /* preloading hack */ #TabsToolbar::after { content: ''; display: block; background-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active.png), url(chrome://browser/skin/tabbrowser/tab-top-hover-active.png), url(chrome://browser/skin/tabbrowser/tab-top-selected-active.png), url(chrome://browser/skin/tabbrowser/tab-bottom-normal-active.png), url(chrome://browser/skin/tabbrowser/tab-bottom-hover-active.png), url(chrome://browser/skin/tabbrowser/tab-bottom-selected-active.png), url(chrome://browser/skin/tabbrowser/tabbar-top-bg-active.png), url(chrome://browser/skin/tabbrowser/tabbar-top-bg-inactive.png), url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-active.png), url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-inactive.png); } @media (min-resolution: 2dppx) { #TabsToolbar::after { content: ''; display: block; background-image: url(chrome://browser/skin/tabbrowser/tab-top-normal-active@2x.png), url(chrome://browser/skin/tabbrowser/tab-top-hover-active@2x.png), url(chrome://browser/skin/tabbrowser/tab-top-selected-active@2x.png), url(chrome://browser/skin/tabbrowser/tab-bottom-normal-active.png), url(chrome://browser/skin/tabbrowser/tab-bottom-hover-active.png), url(chrome://browser/skin/tabbrowser/tab-bottom-selected-active.png), url(chrome://browser/skin/tabbrowser/tabbar-top-bg-active.png), url(chrome://browser/skin/tabbrowser/tabbar-top-bg-inactive.png), url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-active.png), url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-inactive.png); } } .tabbrowser-tab:focus > .tab-stack { box-shadow: @focusRingShadow@; } .tabbrowser-tab:not([selected="true"]):not(:hover):not(:-moz-lwtheme) { color: #222; } .tabbrowser-tab[selected="true"] { color: #000; z-index: 1; position: relative; } .tabbrowser-tab:-moz-lwtheme { color: inherit; text-shadow: inherit; } #main-window:not([privatebrowsingmode=temporary]) #navigator-toolbox[tabsontop="true"]:not(:-moz-lwtheme)::before { /* We want the titlebar to be unified, but we still want to be able * to give #TabsToolbar a background. So we can't set -moz-appearance: * toolbar on #TabsToolbar itself. Instead, we set it on a box of the * right size which is put underneath #TabsToolbar. */ content: ''; display: block; -moz-appearance: toolbar; height: 25px; margin-bottom: -25px; } #TabsToolbar { -moz-appearance: none; height: 26px; background-repeat: repeat-x; } #TabsToolbar[tabsontop="false"] { margin-top: -2px; padding-top: 2px; } /* For tabs-on-top, only fill the bottom 2px with the chrome background * color, so that the borders in tabbar-top-bg-*.png can mix with it. * In the top 24px the unified toolbar (from the ::before above) will show. */ #TabsToolbar[tabsontop="true"]:not(:-moz-lwtheme) { padding-bottom: 2px; background: url(chrome://browser/skin/tabbrowser/tabbar-top-bg-active.png), linear-gradient(to top, -moz-mac-chrome-active 2px, transparent 2px); } #TabsToolbar[tabsontop="true"]:not(:-moz-lwtheme):-moz-window-inactive { background: url(chrome://browser/skin/tabbrowser/tabbar-top-bg-inactive.png), linear-gradient(to top, -moz-mac-chrome-inactive 2px, transparent 2px); } /* In tabs-on-bottom mode, fill the whole toolbar with the chrome * background color. */ #TabsToolbar[tabsontop="false"]:not(:-moz-lwtheme) { background: url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-active.png) -moz-mac-chrome-active; } #TabsToolbar[tabsontop="false"]:not(:-moz-lwtheme):-moz-window-inactive { background: url(chrome://browser/skin/tabbrowser/tabbar-bottom-bg-inactive.png) -moz-mac-chrome-inactive; } #tabbrowser-tabs { -moz-box-align: stretch; height: 26px; } #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox:not(:-moz-lwtheme) { margin-bottom: -2px; } #tabbrowser-tabs[tabsontop="false"] > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { margin-top: -2px; } @TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon { padding: 4px 0 2px; } @TABSONTOP_TAB_STACK@ > .tab-content { padding-top: 2px; } @TABSONBOTTOM_NEWTAB_BUTTON@ > .toolbarbutton-icon { padding: 2px 0 4px; } @TABSONBOTTOM_TAB_STACK@ > .tab-content { padding-bottom: 2px; } /** * Tab Drag and Drop */ .tab-drop-indicator { list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); margin-bottom: -8px; } @media (min-resolution: 2dppx) { .tab-drop-indicator { list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png); width: 12px; } } /** * In-tab close button */ .tab-close-button > .toolbarbutton-icon { -moz-margin-end: 0px !important; } .tab-close-button { list-style-image: url("chrome://global/skin/icons/close.png"); -moz-appearance: none; border: none !important; padding: 0; margin: 0; background: none; cursor: default; -moz-image-region: rect(0, 16px, 16px, 0); } .tab-close-button:hover { -moz-image-region: rect(0, 32px, 16px, 16px); } .tab-close-button:hover:active { -moz-image-region: rect(0, 48px, 16px, 32px); } @media (min-resolution: 2dppx) { .tab-close-button { list-style-image: url("chrome://global/skin/icons/close@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); } .tab-close-button:hover { -moz-image-region: rect(0, 64px, 32px, 32px); } .tab-close-button:hover:active { -moz-image-region: rect(0, 96px, 32px, 64px); } .tab-close-button > .toolbarbutton-icon { width: 16px; } } .tabbrowser-arrowscrollbox > .scrollbutton-up, .tabbrowser-arrowscrollbox > .scrollbutton-down { -moz-image-region: rect(0, 13px, 20px, 0); margin: 0; padding: 0 4px; border: none; } #tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-up, #tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-down, #tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon, #tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon { transform: scaleY(-1); } .tabbrowser-arrowscrollbox > .scrollbutton-up { -moz-border-end: 2px solid transparent; } .tabbrowser-arrowscrollbox > .scrollbutton-down { -moz-border-start: 2px solid transparent; transition: 1s background-color ease-out; } .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { background-color: Highlight; transition: none; } .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); } .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png"); } .tabbrowser-arrowscrollbox > .scrollbutton-up:hover, .tabbrowser-arrowscrollbox > .scrollbutton-down:hover { -moz-image-region: rect(0, 26px, 20px, 13px); } .tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active, .tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { -moz-image-region: rect(0, 39px, 20px, 26px); } .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon, .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon { -moz-image-region: rect(0, 13px, 20px, 0) !important; opacity: .5; } @media (min-resolution: 2dppx) { .tabbrowser-arrowscrollbox > .scrollbutton-up, .tabbrowser-arrowscrollbox > .scrollbutton-down { -moz-image-region: rect(0, 26px, 40px, 0); } .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left@2x.png"); } .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right@2x.png"); } .tabbrowser-arrowscrollbox > .scrollbutton-up:hover, .tabbrowser-arrowscrollbox > .scrollbutton-down:hover { -moz-image-region: rect(0, 52px, 40px, 26px); } .tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active, .tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { -moz-image-region: rect(0, 78px, 40px, 52px); } .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon, .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon { -moz-image-region: rect(0, 26px, 40px, 0) !important; } .tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon, .tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon { width: 13px; } } .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) { border-width: 0 2px 0 0; border-style: solid; -moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; } .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr), .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) { border-width: 0 0 0 2px; border-style: solid; -moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; } /** * Tabstrip & add-on bar toolbar buttons */ :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { -moz-appearance: none; /* !important flags needed because of bug 561154: */ margin: 0 !important; padding: 0 !important; border: none !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; } :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]), :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { margin: 0; padding: 0 1px; } .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover, .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]):not([disabled]):not([open]):hover, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([disabled]):not([buttonover]):hover > .toolbarbutton-menubutton-dropmarker { background-image: linear-gradient(transparent, rgba(0,0,0,.15)) !important; } .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active, .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]):not([disabled]):hover:active, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu"][open], :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover:active, :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[open]:not([disabled]):hover > .toolbarbutton-menubutton-dropmarker { background-image: linear-gradient(transparent, rgba(0,0,0,.3)) !important; } .tabs-newtab-button, #TabsToolbar > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button { list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png); -moz-image-region: rect(0, 18px, 20px, 0); } .tabs-newtab-button:hover, #TabsToolbar > #new-tab-button:hover { -moz-image-region: rect(0, 36px, 20px, 18px); } .tabs-newtab-button:hover:active, #TabsToolbar > #new-tab-button:hover:active { -moz-image-region: rect(0, 54px, 20px, 36px); } @media (min-resolution: 2dppx) { .tabs-newtab-button, #TabsToolbar > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button { list-style-image: url(chrome://browser/skin/tabbrowser/newtab@2x.png); -moz-image-region: rect(0, 36px, 40px, 0); } .tabs-newtab-button:hover, #TabsToolbar > #new-tab-button:hover { -moz-image-region: rect(0, 72px, 40px, 36px); } .tabs-newtab-button:hover:active, #TabsToolbar > #new-tab-button:hover:active { -moz-image-region: rect(0, 108px, 40px, 72px); } .tabs-newtab-button > .toolbarbutton-icon { width: 40px; } #TabsToolbar > #new-tab-button > .toolbarbutton-icon, #TabsToolbar > toolbarpaletteitem > #new-tab-button > .toolbarbutton-icon { width: 18px; } } #TabsToolbar #alltabs-button { list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png); -moz-image-region: rect(0, 17px, 20px, 0); } #TabsToolbar > #alltabs-button:not([disabled="true"]):hover { -moz-image-region: rect(0, 34px, 20px, 17px); } #TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]), #TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0, 51px, 20px, 34px); } @media (min-resolution: 2dppx) { #TabsToolbar #alltabs-button { list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png); -moz-image-region: rect(0, 34px, 40px, 0); } #TabsToolbar > #alltabs-button:not([disabled="true"]):hover { -moz-image-region: rect(0, 68px, 40px, 34px); } #TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]), #TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0, 102px, 40px, 68px); } #TabsToolbar #alltabs-button > .toolbarbutton-icon { width: 17px; } } #alltabs-button > .toolbarbutton-menu-dropmarker { display: none; } #alltabs-button > .toolbarbutton-icon { -moz-margin-end: 2px; } /* All Tabs Menupopup */ .alltabs-item > .menu-iconic-left > .menu-iconic-icon { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); } @media (min-resolution: 2dppx) { .alltabs-item > .menu-iconic-left > .menu-iconic-icon { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); } } .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { list-style-image: url("chrome://global/skin/icons/loading_16.png") !important; } .alltabs-item[tabIsVisible] { /* box-shadow instead of background-color to work around native styling */ box-shadow: inset -5px 0 ThreeDShadow; } /* Tabstrip close button */ .tabs-closebutton { -moz-padding-end: 4px; list-style-image: url("chrome://global/skin/icons/close.png"); -moz-image-region: rect(0, 16px, 16px, 0); border: none; } #sidebar-header > .tabs-closebutton { list-style-image: url("chrome://global/skin/icons/close-sidebar.png"); } .tabs-closebutton:hover { -moz-image-region: rect(0, 32px, 16px, 16px); } .tabs-closebutton:hover:active { -moz-image-region: rect(0, 48px, 16px, 32px); } @media (min-resolution: 2dppx) { :not(#sidebar-header) > .tabs-closebutton { list-style-image: url("chrome://global/skin/icons/close@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); } :not(#sidebar-header) > .tabs-closebutton:hover { -moz-image-region: rect(0, 64px, 32px, 32px); } :not(#sidebar-header) > .tabs-closebutton:hover:active { -moz-image-region: rect(0, 96px, 32px, 64px); } :not(#sidebar-header) > .tabs-closebutton > .toolbarbutton-icon { width: 16px; } } /* Bookmarks toolbar */ #PlacesToolbarDropIndicator { list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); } /* Bookmark drag and drop styles */ .bookmark-item[dragover-into="true"] { background: Highlight !important; color: HighlightText !important; } /* rules for menupopup drop indicators */ .menupopup-drop-indicator-bar { position: relative; /* these two margins must together compensate the indicator's height */ margin-top: -1px; margin-bottom: -1px; } .menupopup-drop-indicator { list-style-image: none; height: 2px; -moz-margin-end: -4em; background-color: Highlight; } #customizeToolbarSheetPopup { -moz-window-shadow: sheet; } /* Popup Icons */ #identity-popup-icon { height: 64px; width: 64px; padding: 0; list-style-image: url("chrome://browser/skin/identity.png"); -moz-image-region: rect(0px, 64px, 64px, 0px); } #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { -moz-image-region: rect(64px, 64px, 128px, 0px); } #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { -moz-image-region: rect(128px, 64px, 192px, 0px); } @media (min-resolution: 2dppx) { #identity-popup-icon { list-style-image: url("chrome://browser/skin/identity@2x.png"); -moz-image-region: rect(0px, 128px, 128px, 0px); } #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { -moz-image-region: rect(128px, 128px, 256px, 0px); } #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { -moz-image-region: rect(256px, 128px, 384px, 0px); } } /* Popup Body Text */ .identity-popup-description { white-space: pre-wrap; -moz-padding-start: 15px; margin: 2px 0 4px; } .identity-popup-label { white-space: pre-wrap; -moz-padding-start: 15px; margin: 0; } #identity-popup-content-host , #identity-popup-content-owner { font-weight: bold; max-width: 300px; } #identity-popup-content-host , #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { font-size: 140%; } #identity-popup-content-owner { margin-bottom: 0 !important; } #identity-popup-content-verifier { margin: 4px 0 2px; } #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { margin-top: 10px; -moz-margin-start: -24px; } #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { margin-top: 5px; list-style-image: url("chrome://browser/skin/Secure-Glyph.png"); } @media (min-resolution: 2dppx) { #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { list-style-image: url("chrome://browser/skin/Secure-Glyph@2x.png"); width: 24px; } } #notification-popup-box { position: relative; background-color: #fff; background-clip: padding-box; padding-left: 3px; border-radius: 2px 0 0 2px; border-width: 0 8px 0 0; border-style: solid; -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill; -moz-margin-end: -8px; } @media (min-resolution: 2dppx) { #notification-popup-box { -moz-border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill; } } @conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { padding-left: 7px; } #notification-popup-box:-moz-locale-dir(rtl), .notification-anchor-icon:-moz-locale-dir(rtl) { transform: scaleX(-1); } .notification-anchor-icon { width: 16px; height: 16px; margin: 0 2px; } .notification-anchor-icon:-moz-focusring { box-shadow: 0 0 2px 1px -moz-mac-focusring inset, 0 0 3px 2px -moz-mac-focusring; } #default-notification-icon { list-style-image: url(chrome://global/skin/icons/information-16.png); } @media (min-resolution: 2dppx) { #default-notification-icon { list-style-image: url(chrome://global/skin/icons/information-32.png); } } #identity-notification-icon { list-style-image: url(chrome://mozapps/skin/profile/profileicon.png); } /* XXX: need HiDPI version */ #geo-notification-icon { list-style-image: url(chrome://browser/skin/Geolocation-16.png); } @media (min-resolution: 2dppx) { #geo-notification-icon { list-style-image: url(chrome://browser/skin/Geolocation-16@2x.png); } } #geolocation-learnmore-link { -moz-margin-start: 0; /* override default label margin to match description margin */ } #indexedDB-notification-icon { list-style-image: url(chrome://global/skin/icons/question-16.png); } @media (min-resolution: 2dppx) { #indexedDB-notification-icon { list-style-image: url(chrome://global/skin/icons/question-32.png); } } #addons-notification-icon { list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png); } @media (min-resolution: 2dppx) { #addons-notification-icon { list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); } } #password-notification-icon { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); } @media (min-resolution: 2dppx) { #password-notification-icon { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16@2x.png); } } #webapps-notification-icon { list-style-image: url(chrome://browser/skin/webapps-16.png); } @media (min-resolution: 2dppx) { #webapps-notification-icon { list-style-image: url(chrome://browser/skin/webapps-16@2x.png); } } #plugins-notification-icon { list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric-16.png); } #blocked-plugins-notification-icon { list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png); } @media (min-resolution: 2dppx) { #blocked-plugins-notification-icon { list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked.png); } } #notification-popup-box[hidden] { /* Override display:none to make the pluginBlockedNotification animation work when showing the notification repeatedly. */ display: -moz-box; visibility: collapse; } #blocked-plugins-notification-icon[showing] { animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; } @keyframes pluginBlockedNotification { from { opacity: 0; } to { opacity: 1; } } @media (min-resolution: 2dppx) { #plugins-notification-icon { list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); } } #mixed-content-blocked-notification-icon { list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png); } @media (min-resolution: 2dppx) { #mixed-content-blocked-notification-icon { list-style-image: url(chrome://browser/skin/mixed-content-blocked-16@2x.png); } } #webRTC-shareDevices-notification-icon { list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); } @media (min-resolution: 2dppx) { #webRTC-shareDevices-notification-icon { list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png); } } #webRTC-sharingDevices-notification-icon { list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); } @media (min-resolution: 2dppx) { #webRTC-sharingDevices-notification-icon { list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png); } } .popup-notification-icon { width: 64px; height: 64px; -moz-margin-end: 10px; } .popup-notification-icon[popupid="geolocation"] { list-style-image: url(chrome://browser/skin/Geolocation-64.png); } @media (min-resolution: 2dppx) { .popup-notification-icon[popupid="geolocation"] { list-style-image: url(chrome://browser/skin/Geolocation-64@2x.png); } } .popup-notification-icon[popupid="xpinstall-disabled"], .popup-notification-icon[popupid="addon-progress"], .popup-notification-icon[popupid="addon-install-cancelled"], .popup-notification-icon[popupid="addon-install-blocked"], .popup-notification-icon[popupid="addon-install-failed"], .popup-notification-icon[popupid="addon-install-complete"] { list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); width: 32px; height: 32px; } .popup-notification-icon[popupid="click-to-play-plugins"] { list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); } .addon-progress-description { width: 350px; max-width: 350px; } .popup-progress-label, .popup-progress-meter { -moz-margin-start: 0; -moz-margin-end: 0; } .popup-progress-cancel { -moz-appearance: none; min-height: 16px; min-width: 16px; max-height: 16px; max-width: 16px; padding: 0; margin: 0 1px 0 1px; list-style-image: url(chrome://mozapps/skin/downloads/buttons.png); -moz-image-region: rect(0px, 16px, 16px, 0px); } .popup-progress-cancel:hover { -moz-image-region: rect(0px, 32px, 16px, 16px); } .popup-progress-cancel:active { -moz-image-region: rect(0px, 48px, 16px, 32px); } .popup-notification-icon[popupid="indexedDB-permissions-prompt"], .popup-notification-icon[popupid="indexedDB-quota-prompt"] { list-style-image: url(chrome://global/skin/icons/question-64.png); } .popup-notification-icon[popupid="password-save"], .popup-notification-icon[popupid="password-change"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } .popup-notification-icon[popupid="webapps-install"] { list-style-image: url(chrome://browser/skin/webapps-64.png); } .popup-notification-icon[popupid="mixed-content-blocked"] { list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); } @media (min-resolution: 2dppx) { .popup-notification-icon[popupid="mixed-content-blocked"] { list-style-image: url(chrome://browser/skin/mixed-content-blocked-64@2x.png); } } #mixed-content-blocked-helplink { margin: 0px; } .popup-notification-icon[popupid="webRTC-sharingDevices"], .popup-notification-icon[popupid="webRTC-shareDevices"] { list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); } @media (min-resolution: 2dppx) { .popup-notification-icon[popupid="webRTC-sharingDevices"], .popup-notification-icon[popupid="webRTC-shareDevices"] { list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png); } } /* Popup Buttons */ #identity-popup-more-info-button { @hudButton@ margin: 10px 0 0; min-height: 0px; } #identity-popup-more-info-button:focus { @hudButtonFocused@ } #identity-popup-more-info-button:hover:active { @hudButtonPressed@ } /* ::::: Keyboard UI Panel ::::: */ .KUI-panel { -moz-appearance: none; background: rgba(27%,27%,27%,.9) url(KUI-background.png) repeat-x; color: white; border-style: none; border-radius: 20px; } .KUI-panel[level="top"] { background-color: rgba(27%,27%,27%,.65); -moz-window-shadow: none; } /* Ctrl-Tab */ #ctrlTab-panel { padding: 20px 10px 10px; text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%); } .ctrlTab-favicon[src] { background-color: white; width: 20px; height: 20px; padding: 2px; } .ctrlTab-preview-inner > .tabPreview-canvas { box-shadow: 1px 1px 2px rgb(12%,12%,12%); } .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { margin-bottom: 2px; } .ctrlTab-preview-inner { padding-bottom: 10px; } #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { padding: 10px; background-color: rgba(255,255,255,.2); border-radius: .5em; } .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { color: white; background-color: rgba(0,0,0,.6); text-shadow: none; padding: 8px; border: 2px solid white; border-radius: .5em; } .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { margin: -10px -10px 0; } #ctrlTab-showAll { margin-top: .5em; } /* Add-on bar */ #addon-bar { min-height: 18px; padding-right: 16px; /* replace with -moz-padding-end when/if bug 631729 gets fixed */ } #addon-bar:not(:-moz-lwtheme) { -moz-appearance: statusbar; } #status-bar { -moz-appearance: none; padding-right: 0; } #addon-bar[customizing] > #status-bar { opacity: .5; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px); } #status-bar > statusbarpanel { border-width: 0; -moz-appearance: none; } #addonbar-closebutton { padding: 0; margin: 0 6px; list-style-image: url("chrome://global/skin/icons/close.png"); border: none; -moz-image-region: rect(0, 16px, 16px, 0); } #addonbar-closebutton:hover { -moz-image-region: rect(0, 32px, 16px, 16px); } #addonbar-closebutton:hover:active { -moz-image-region: rect(0, 48px, 16px, 32px); } @media (min-resolution: 2dppx) { #addonbar-closebutton { list-style-image: url("chrome://global/skin/icons/close@2x.png"); -moz-image-region: rect(0, 32px, 32px, 0); } #addonbar-closebutton:hover { -moz-image-region: rect(0, 64px, 32px, 32px); } #addonbar-closebutton:hover:active { -moz-image-region: rect(0, 96px, 32px, 64px); } #addonbar-closebutton > .toolbarbutton-icon { width: 16px; } } /* Status panel */ .statuspanel-label { margin: 0; padding: 2px 4px; background: linear-gradient(#fff, #ddd); border: 1px none #ccc; border-top-style: solid; color: #333; text-shadow: none; } .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), .statuspanel-label:-moz-locale-dir(rtl)[mirror] { border-right-style: solid; border-top-right-radius: .3em; margin-right: 1em; } .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), .statuspanel-label:-moz-locale-dir(ltr)[mirror] { border-left-style: solid; border-top-left-radius: .3em; margin-left: 1em; } /* Lion Fullscreen window styling */ @media (-moz-mac-lion-theme) { #navigator-toolbox[inFullscreen][tabsontop="true"]:not(:-moz-lwtheme)::before { height: 36px; } #main-window[inFullscreen]:-moz-lwtheme { /* This additional padding matches the change in height in the pseudo-element * above. The rules combined force the top 22px of the background image to * be hidden, so there image doesn't jump around with the loss of the titlebar */ padding-top: 11px; background-position: right -11px; } } #full-screen-warning-message { background-color: hsl(0,0%,15%); color: white; border-radius: 8px; margin-top: 30px; padding: 30px 50px; box-shadow: 0 0 2px white; } #full-screen-warning-container[obscure-browser] { background-color: rgba(0,0,0,0.3); } .full-screen-description { font-size: 150%; } #full-screen-domain-text { font-size: 300%; } .full-screen-approval-button, #full-screen-remember-decision { font-size: 120%; } /* Developer toolbar */ #developer-toolbar { border-top: 1px solid hsla(210, 8%, 5%, .65); padding-top: 4px; padding-bottom: 4px; } #developer-toolbar:-moz-locale-dir(ltr) { padding-left: 2px; padding-right: 16px; /* use -moz-padding-end when/if bug 631729 gets fixed */ } #developer-toolbar:-moz-locale-dir(rtl) { padding-left: 4px; padding-right: 18px; /* use -moz-padding-end when/if bug 631729 gets fixed */ } %include ../shared/devtools/responsivedesign.inc.css %include ../shared/devtools/highlighter.inc.css %include ../shared/devtools/commandline.inc.css .gclitoolbar-input-node, .gclitoolbar-complete-node, .gclitoolbar-prompt { border-radius: @toolbarbuttonCornerRadius@; } .gclitoolbar-input-node { border-color: hsl(210,11%,10%); box-shadow: 0 1px 1px hsla(210,8%,5%,.3) inset, 0 0 0 1px hsla(210,16%,76%,.1) inset, 0 1px 0 hsla(210,16%,76%,.15); } .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { color: hsl(210,11%,16%); } .gclitoolbar-prompt { background-color: hsl(210,11%,16%); } /* Web Console */ .web-console-frame { border-bottom: 1px solid #aaa; } .web-console-frame[animated] { transition: height 100ms; } /* Developer Toolbar */ #developer-toolbar-toolbox-button { min-width: 18px; } #developer-toolbar-toolbox-button > .toolbarbutton-text { display: none; } .developer-toolbar-button { -moz-appearance: none; min-width: 78px; min-height: 22px; text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); border-radius: @toolbarbuttonCornerRadius@; color: inherit; border: 1px solid transparent; margin: 0 5px; padding: 0 10px; list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png"); } .developer-toolbar-button[open=true], .developer-toolbar-button:active:hover, .developer-toolbar-button[checked=true] { border-color: hsla(210,8%,5%,.6); background: rgba(0,0,0,.6); box-shadow: 0 1px 2px rgba(0,0,0,.5) inset, 0 1px 0 hsla(210,16%,76%,.15); } .developer-toolbar-button[checked=true] { color: hsl(208,100%,60%) !important; background: rgba(0,0,0,.4); text-shadow: 0 0 6px hsl(208,100%,60%); } #developer-toolbar-toolbox-button { -moz-image-region: rect(64px, 16px, 80px, 0); } /* Error counter */ #developer-toolbar-toolbox-button[error-count]:before { color: #FDF3DE; min-width: 16px; text-shadow: none; background-image: linear-gradient(#B4211B, #8A1915); border-radius: 1px; } /* === social toolbar button === */ toolbar[mode="icons"] > *|* > .social-notification-container { -moz-appearance: toolbarbutton; } .social-notification-container > .toolbarbutton-1 { -moz-appearance: none; margin-left: 0; margin-right: 0; } #social-toolbar-item { margin: 0 4px; } #social-provider-button { -moz-image-region: rect(0, 16px, 16px, 0); /* Needed to make the adjacent buttons combine */ margin-left: 0; margin-right: 0; } #social-provider-button > .toolbarbutton-menu-dropmarker { display: none; } .social-notification-container { /* position:relative on .toolbarbutton-1 does not get position:absolute to work as expected on .toolbarbutton-1 generated content. Placing a simple container outside of .toolbarbutton-1 and setting position:relative on the simple container however will work. */ position: relative; } .social-notification-container > .toolbarbutton-1[badge]:not([badge=""])::after { /* The |content| property is set in the content stylesheet. */ font-size: 9px; font-weight: bold; padding: 0 1px; color: #fff; background-color: rgb(240,61,37); border: 1px solid rgb(216,55,34); border-radius: 2px; box-shadow: 0 1px 0 rgba(0,39,121,0.77); position: absolute; top: 2px; right: 0; } .social-notification-container > .toolbarbutton-1[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { left: 0; right: auto; } toolbar[mode="icons"] > *|* > .social-notification-container > .toolbarbutton-1[badge]:not([badge=""])::after { right: -2px; } toolbar[mode="icons"] > *|* > .social-notification-container > .toolbarbutton-1[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { left: -2px; } /* === end of social toolbar button === */ /* === social toolbar provider menu === */ .social-statusarea-user { list-style-image:url("chrome://global/skin/icons/information-32.png"); } .social-statusarea-user-portrait { width: 32px; height: 32px; margin: 4px; -moz-margin-start: 0; } .social-panel > .panel-arrowcontainer > .panel-arrowcontent { padding: 0; } .social-panel-frame { border-radius: inherit; } /* === end of social toolbar provider menu === */ %include ../shared/social/chat.inc.css .chat-titlebar { background-color: #d9d9d9; background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0)); } .chat-titlebar[selected] { background-color: #f0f0f0; } .chatbar-button { background-color: #d9d9d9; } .chatbar-button[open="true"] { background-color: #f0f0f0; } .chatbar-button[activity] { background-image: radial-gradient(circle farthest-corner at center 2px, rgb(254,254,255) 3%, rgba(210,235,255,0.9) 12%, rgba(148,205,253,0.6) 30%, rgba(148,205,253,0.2) 70%); } chatbox { border-top-left-radius: @toolbarbuttonCornerRadius@; border-top-right-radius: @toolbarbuttonCornerRadius@; } panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="top"], panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="bottom"] { list-style-image: url("chrome://global/skin/arrow/panelarrow-light-vertical.png"); } @media (min-resolution: 2dppx) { panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="top"], panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="bottom"] { list-style-image: url("chrome://global/skin/arrow/panelarrow-light-vertical@2x.png"); } } .click-to-play-plugins-notification-content { margin: -16px; border-radius: 5px; } .click-to-play-plugins-notification-icon-box { background: hsla(0,0%,100%,.4); -moz-border-end: 1px solid hsla(0,0%,100%,.2); padding-top: 16px; -moz-padding-end: 12px; -moz-padding-start: 20px; } .click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) { border-bottom-left-radius: 5px; border-top-left-radius: 5px; } .click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) { border-bottom-right-radius: 5px; border-top-right-radius: 5px; } .click-to-play-plugins-notification-separator { -moz-border-start: 1px solid hsla(211,79%,6%,.1); border-top: 1px solid hsla(211,79%,6%,.1); } .click-to-play-plugins-notification-description-box { border-bottom: 1px solid hsla(0,0%,100%,.2); -moz-border-start: 1px solid hsla(0,0%,100%,.2); max-width: 28em; padding: 14px 16px 9px 16px; } .click-to-play-plugins-notification-center-box { border-top: 1px solid hsla(0,0%,100%,.2); border-bottom: 1px solid hsla(0,0%,100%,.2); background-color: hsla(211,79%,6%,.05); } .click-to-play-plugins-notification-button-container { border-top: 1px solid hsla(0,0%,100%,.2); -moz-border-start: 1px solid hsla(0,0%,100%,.2); margin: 0px; padding: 16px 16px 17px 16px; } .center-item-box { -moz-border-start: 1px solid hsla(0,0%,100%,.2); padding-top: 7px; -moz-padding-end: 11px; -moz-padding-start: 16px; margin-bottom: -3px; } .center-item-box[padbottom="true"] { padding-bottom: 12px; } .center-item-icon { background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); background-repeat: no-repeat; height: 16px; width: 16px; margin-bottom: 4px; -moz-margin-end: 6px; } .center-item-box[warn="true"] { background-image: url("chrome://browser/skin/click-to-play-warning-stripes.png"); background-repeat: repeat-x; padding-top: 3px; -moz-padding-end: 11px; padding-bottom: 9px; -moz-padding-start: 16px; } .center-item-box[padbottom="true"][warn="true"] { padding-bottom: 7px; } .center-item-box[showseparator="true"] { border-top: 1px solid hsla(211,79%,6%,.1); } .center-item-box[warn="false"] > .center-item-warning { display: none; } .center-item-warning > .text-link { color: #3d8cd7; } .center-item-warning > .text-link[href=""] { display: none; } .center-item-warning-icon { background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); background-repeat: no-repeat; width: 16px; height: 15px; margin-bottom: 4px; } .center-item-warning-description { color: #828282; } .center-item-button { min-width: 0; } #main-window[privatebrowsingmode=temporary] { background-image: url("chrome://browser/skin/privatebrowsing-mask.png"); background-position: top right; background-repeat: no-repeat; background-color: -moz-mac-chrome-active; } @media (min-resolution: 2dppx) { #main-window[privatebrowsingmode=temporary] { background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png"); background-size: 38px; } } #main-window[privatebrowsingmode=temporary] { background-position: top right 40px; } #main-window[privatebrowsingmode=temporary][inFullscreen] { background-position: top right 10px; } #main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) { background-position: top left 70px; } #main-window[privatebrowsingmode=temporary][inFullscreen]:-moz-locale-dir(rtl) { background-position: top left 10px; } #main-window[privatebrowsingmode=temporary]:-moz-window-inactive { background-color: -moz-mac-chrome-inactive; } #main-window[privatebrowsingmode=temporary][inFullscreen] #nav-bar[tabsontop=false] { -moz-padding-end: 50px !important; } @media (-moz-mac-lion-theme) { #main-window[privatebrowsingmode=temporary][inFullscreen] #TabsToolbar[tabsontop=true] { -moz-padding-end: 50px; } } @media not all and (-moz-mac-lion-theme) { #main-window[privatebrowsingmode=temporary] { background-position: top right 10px; } #main-window[privatebrowsingmode=temporary][inFullscreen][tabsontop=true] #window-controls { -moz-padding-end: 50px; } }