michael@0: %if 0 michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: %endif michael@0: michael@0: @import url("chrome://global/skin/"); michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: @namespace html url("http://www.w3.org/1999/xhtml"); michael@0: @namespace svg url("http://www.w3.org/2000/svg"); michael@0: michael@0: %include ../shared/browser.inc michael@0: %include linuxShared.inc michael@0: %filter substitution michael@0: michael@0: %define forwardTransitionLength 150ms michael@0: %define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper michael@0: %define conditionalForwardWithUrlbarWidth 30 michael@0: michael@0: #menubar-items { michael@0: -moz-box-orient: vertical; /* for flex hack */ michael@0: } michael@0: michael@0: #main-menubar { michael@0: -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ michael@0: } michael@0: michael@0: #navigator-toolbox { michael@0: -moz-appearance: none; michael@0: background-color: transparent; michael@0: border-top: none; michael@0: } michael@0: michael@0: #navigator-toolbox::after { michael@0: content: ""; michael@0: display: -moz-box; michael@0: -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ michael@0: height: 1px; michael@0: background-color: ThreeDShadow; michael@0: } michael@0: michael@0: #navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) { michael@0: -moz-appearance: none; michael@0: border-style: none; michael@0: background-color: -moz-Dialog; michael@0: } michael@0: michael@0: #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) { michael@0: padding-top: 1px; michael@0: padding-bottom: 1px; michael@0: } michael@0: michael@0: #TabsToolbar:not([collapsed="true"]) + #nav-bar { michael@0: margin-top: -@tabToolbarNavbarOverlap@; /* Move up into the TabsToolbar */ michael@0: /* Position the toolbar above the bottom of background tabs */ michael@0: position: relative; michael@0: z-index: 1; michael@0: } michael@0: michael@0: #nav-bar { michael@0: background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); michael@0: box-shadow: 0 1px 0 @toolbarHighlight@ inset; michael@0: padding-top: 2px; michael@0: padding-bottom: 2px; michael@0: } michael@0: michael@0: #nav-bar-overflow-button { michael@0: -moz-image-region: rect(-5px, 12px, 11px, -4px); michael@0: } michael@0: michael@0: /* This only has an effect when this element is placed on the bookmarks toolbar. michael@0: * It's 30px to make sure buttons with 18px icons fit along with the default 16px michael@0: * icons, without changing the size of the toolbar. michael@0: */ michael@0: #personal-bookmarks { michael@0: min-height: 30px; michael@0: } michael@0: michael@0: #browser-bottombox { michael@0: /* opaque for layers optimization */ michael@0: background-color: -moz-Dialog; michael@0: } michael@0: michael@0: #urlbar:-moz-lwtheme:not([focused="true"]), michael@0: .searchbar-textbox:-moz-lwtheme:not([focused="true"]) { michael@0: opacity: .85; michael@0: } michael@0: michael@0: /* Places toolbar */ michael@0: toolbarbutton.bookmark-item:not(.subviewbutton), michael@0: #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { michael@0: margin: 0; michael@0: padding: 2px 3px; michael@0: } michael@0: michael@0: toolbarbutton.bookmark-item:not(.subviewbutton):hover:active, michael@0: toolbarbutton.bookmark-item[open="true"] { michael@0: padding-top: 3px; michael@0: padding-bottom: 1px; michael@0: -moz-padding-start: 4px; michael@0: -moz-padding-end: 2px; michael@0: } michael@0: michael@0: .bookmark-item:not(#home-button) > .toolbarbutton-icon, michael@0: #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: /* Force the display of the label for bookmarks */ michael@0: .bookmark-item > .toolbarbutton-text, michael@0: #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { michael@0: display: -moz-box !important; michael@0: } michael@0: michael@0: .bookmark-item > .toolbarbutton-menu-dropmarker { michael@0: display: none; michael@0: } michael@0: michael@0: /* Dropmarker for folder bookmarks */ michael@0: .bookmark-item[container] > .toolbarbutton-menu-dropmarker { michael@0: display: -moz-box !important; michael@0: } michael@0: michael@0: #bookmarks-toolbar-placeholder { michael@0: list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; michael@0: } michael@0: michael@0: toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, michael@0: #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { michael@0: list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; michael@0: } michael@0: michael@0: /* ----- BOOKMARK STAR ANIMATION ----- */ michael@0: michael@0: @keyframes animation-bookmarkAdded { michael@0: from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } michael@0: 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } michael@0: 80% { opacity: 1; } michael@0: to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } michael@0: } michael@0: michael@0: @keyframes animation-bookmarkPulse { michael@0: from { transform: scale(1); } michael@0: 50% { transform: scale(1.3); } michael@0: to { transform: scale(1); } michael@0: } michael@0: michael@0: #bookmarked-notification-container { michael@0: min-height: 1px; michael@0: min-width: 1px; michael@0: height: 1px; michael@0: margin-bottom: -1px; michael@0: z-index: 5; michael@0: position: relative; michael@0: } michael@0: michael@0: #bookmarked-notification { michael@0: background-size: 16px; michael@0: background-position: center; michael@0: background-repeat: no-repeat; michael@0: width: 16px; michael@0: height: 16px; michael@0: opacity: 0; michael@0: } michael@0: michael@0: #bookmarked-notification-dropmarker-anchor { michael@0: z-index: -1; michael@0: position: relative; michael@0: } michael@0: michael@0: #bookmarked-notification-dropmarker-icon { michael@0: width: 18px; michael@0: height: 18px; michael@0: visibility: hidden; michael@0: } michael@0: michael@0: #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { michael@0: background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); michael@0: animation: animation-bookmarkAdded 800ms; michael@0: animation-timing-function: ease, ease, ease; michael@0: } michael@0: michael@0: #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { michael@0: list-style-image: none !important; michael@0: } michael@0: michael@0: #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { michael@0: visibility: visible; michael@0: animation: animation-bookmarkPulse 300ms; michael@0: animation-delay: 600ms; michael@0: animation-timing-function: ease-out; michael@0: } michael@0: michael@0: /* Bookmark menus */ michael@0: menu.bookmark-item, michael@0: menuitem.bookmark-item { michael@0: min-width: 0; michael@0: max-width: 32em; michael@0: } michael@0: michael@0: .bookmark-item:not(.subviewbutton) > .menu-iconic-left { michael@0: margin-top: 0; michael@0: margin-bottom: 0; michael@0: } michael@0: michael@0: .bookmark-item > .menu-iconic-left > .menu-iconic-icon { michael@0: -moz-padding-start: 0px; michael@0: } michael@0: michael@0: /* Bookmark drag and drop styles */ michael@0: .bookmark-item[dragover-into="true"] { michael@0: background: Highlight !important; michael@0: color: HighlightText !important; michael@0: } michael@0: michael@0: /* rules for menupopup drop indicators */ michael@0: .menupopup-drop-indicator-bar { michael@0: position: relative; michael@0: /* these two margins must together compensate the indicator's height */ michael@0: margin-top: -1px; michael@0: margin-bottom: -1px; michael@0: } michael@0: michael@0: .menupopup-drop-indicator { michael@0: list-style-image: none; michael@0: height: 2px; michael@0: -moz-margin-end: -4em; michael@0: background-color: Highlight; michael@0: } michael@0: michael@0: /* Bookmarks toolbar */ michael@0: #PlacesToolbarDropIndicator { michael@0: list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); michael@0: } michael@0: michael@0: /* Bookmark items */ michael@0: .bookmark-item { michael@0: list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); michael@0: } michael@0: michael@0: .bookmark-item[container] { michael@0: list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); michael@0: } michael@0: michael@0: .bookmark-item[container][livemark] { michael@0: list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); michael@0: } michael@0: michael@0: .bookmark-item[container][livemark] .bookmark-item { michael@0: list-style-image: url("chrome://browser/skin/places/livemark-item.png"); michael@0: -moz-image-region: rect(0px, 16px, 16px, 0px); michael@0: } michael@0: michael@0: .bookmark-item[container][livemark] .bookmark-item[visited] { michael@0: -moz-image-region: rect(0px, 32px, 16px, 16px); michael@0: } michael@0: michael@0: .bookmark-item[container][query] { michael@0: list-style-image: url("chrome://browser/skin/places/query.png"); michael@0: } michael@0: michael@0: .bookmark-item[query][tagContainer] { michael@0: list-style-image: url("chrome://browser/skin/places/tag.png"); michael@0: } michael@0: michael@0: .bookmark-item[query][dayContainer] { michael@0: list-style-image: url("chrome://browser/skin/places/calendar.png"); michael@0: } michael@0: michael@0: .bookmark-item[query][hostContainer] { michael@0: list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); michael@0: } michael@0: michael@0: .bookmark-item[query][hostContainer][open] { michael@0: list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); michael@0: } michael@0: michael@0: .bookmark-item[cutting] > .toolbarbutton-icon, michael@0: .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { michael@0: opacity: 0.5; michael@0: } michael@0: michael@0: .bookmark-item[cutting] > .toolbarbutton-text, michael@0: .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { michael@0: opacity: 0.7; michael@0: } michael@0: michael@0: /* Stock icons for the menu bar items */ michael@0: menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { michael@0: -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); michael@0: } michael@0: michael@0: #placesContext_open\:newwindow, michael@0: #menu_newNavigator, michael@0: #context-openlink, michael@0: #context-openframe { michael@0: list-style-image: url("chrome://browser/skin/Toolbar-small.png"); michael@0: -moz-image-region: rect(0px 80px 16px 64px); michael@0: } michael@0: michael@0: #placesContext_open\:newtab, michael@0: #placesContext_openContainer\:tabs, michael@0: #menu_newNavigatorTab, michael@0: #context-openlinkintab, michael@0: #context-openframeintab { michael@0: list-style-image: url("chrome://browser/skin/Toolbar-small.png"); michael@0: -moz-image-region: rect(0px 64px 16px 48px); michael@0: } michael@0: michael@0: #menu_openFile { michael@0: list-style-image: url("moz-icon://stock/gtk-open?size=menu"); michael@0: } michael@0: michael@0: #menu_close { michael@0: list-style-image: url("moz-icon://stock/gtk-close?size=menu"); michael@0: } michael@0: michael@0: #context-media-play { michael@0: list-style-image: url("moz-icon://stock/gtk-media-play?size=menu"); michael@0: } michael@0: michael@0: #context-media-pause { michael@0: list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu"); michael@0: } michael@0: michael@0: #menu_savePage, michael@0: #context-savelink, michael@0: #context-saveimage, michael@0: #context-savevideo, michael@0: #context-saveaudio, michael@0: #context-savepage, michael@0: #context-saveframe { michael@0: list-style-image: url("moz-icon://stock/gtk-save-as?size=menu"); michael@0: } michael@0: michael@0: #menu_printPreview { michael@0: list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu"); michael@0: } michael@0: michael@0: #menu_print, michael@0: #context-printframe { michael@0: list-style-image: url("moz-icon://stock/gtk-print?size=menu"); michael@0: } michael@0: michael@0: #menu_FileQuitItem { michael@0: list-style-image: url("moz-icon://stock/gtk-quit?size=menu"); michael@0: } michael@0: michael@0: #menu_undo, michael@0: #context-undo { michael@0: list-style-image: url("moz-icon://stock/gtk-undo?size=menu"); michael@0: } michael@0: michael@0: #menu_undo[disabled], michael@0: #context-undo[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_redo { michael@0: list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); michael@0: } michael@0: michael@0: #menu_redo[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_cut, michael@0: #placesContext_cut, michael@0: #context-cut { michael@0: list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); michael@0: } michael@0: michael@0: #menu_cut[disabled], michael@0: #placesContext_cut[disabled], michael@0: #context-cut[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_copy, michael@0: #placesContext_copy, michael@0: #context-copy, michael@0: #context-copyimage, michael@0: #context-copyvideourl, michael@0: #context-copyaudiourl, michael@0: #context-copylink, michael@0: #context-copyemail { michael@0: list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); michael@0: } michael@0: michael@0: #menu_copy[disabled], michael@0: #placesContext_copy[disabled], michael@0: #context-copy[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_paste, michael@0: #placesContext_paste, michael@0: #context-paste { michael@0: list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); michael@0: } michael@0: michael@0: #menu_paste[disabled], michael@0: #placesContext_paste[disabled], michael@0: #context-paste[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_delete, michael@0: #placesContext_delete, michael@0: #placesContext_delete_history, michael@0: #context-delete { michael@0: list-style-image: url("moz-icon://stock/gtk-delete?size=menu"); michael@0: } michael@0: michael@0: #menu_delete[disabled], michael@0: #placesContext_delete[disabled], michael@0: #placesContext_delete_history[disabled], michael@0: #context-delete[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_selectAll, michael@0: #context-selectall { michael@0: list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); michael@0: } michael@0: michael@0: #menu_find { michael@0: list-style-image: url("moz-icon://stock/gtk-find?size=menu"); michael@0: } michael@0: michael@0: #menu_find[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-find?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_preferences { michael@0: list-style-image: url("moz-icon://stock/gtk-preferences?size=menu"); michael@0: } michael@0: michael@0: #context-stop { michael@0: list-style-image: url("moz-icon://stock/gtk-stop?size=menu"); michael@0: } michael@0: michael@0: #context-stop[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #placesContext_reload, michael@0: #context-reload, michael@0: #context-reloadframe { michael@0: list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); michael@0: } michael@0: michael@0: #context-reload[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_zoomEnlarge { michael@0: list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); michael@0: } michael@0: michael@0: #menu_zoomReduce { michael@0: list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); michael@0: } michael@0: michael@0: #menu_zoomReset { michael@0: list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu"); michael@0: } michael@0: michael@0: #context-back { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu"); michael@0: } michael@0: michael@0: #context-back[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #context-back:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu"); michael@0: } michael@0: michael@0: #context-back[disabled]:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #context-forward { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu"); michael@0: } michael@0: michael@0: #context-forward[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #context-forward:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu"); michael@0: } michael@0: michael@0: #context-forward[disabled]:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #menu_showAllHistory { michael@0: list-style-image: url("chrome://browser/skin/Toolbar-small.png"); michael@0: -moz-image-region: rect(0px 32px 16px 16px); michael@0: } michael@0: michael@0: #bookmarksShowAll { michael@0: list-style-image: url("chrome://browser/skin/Toolbar-small.png"); michael@0: -moz-image-region: rect(0px 48px 16px 32px); michael@0: } michael@0: michael@0: #subscribeToPageMenuitem:not([disabled]), michael@0: #subscribeToPageMenupopup, michael@0: #BMB_subscribeToPageMenuitem:not([disabled]), michael@0: #BMB_subscribeToPageMenupopup { michael@0: list-style-image: url("chrome://browser/skin/page-livemarks.png"); michael@0: } michael@0: michael@0: #bookmarksToolbarFolderMenu, michael@0: #BMB_bookmarksToolbar, michael@0: #panelMenu_bookmarksToolbar { michael@0: list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); michael@0: } michael@0: michael@0: #BMB_unsortedBookmarks, michael@0: #panelMenu_unsortedBookmarks { michael@0: list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); michael@0: } michael@0: michael@0: #menu_openDownloads { michael@0: list-style-image: url("chrome://browser/skin/Toolbar-small.png"); michael@0: -moz-image-region: rect(0px 16px 16px 0px); michael@0: } michael@0: michael@0: #menu_openAddons { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); michael@0: } michael@0: michael@0: #menu_pageInfo, michael@0: #context-viewinfo, michael@0: #context-viewframeinfo { michael@0: list-style-image: url("moz-icon://stock/gtk-info?size=menu"); michael@0: } michael@0: michael@0: #privateBrowsingItem { michael@0: list-style-image: url("chrome://browser/skin/Privacy-16.png"); michael@0: } michael@0: michael@0: #placesContext_show\:info { michael@0: list-style-image: url("moz-icon://stock/gtk-properties?size=menu"); michael@0: } michael@0: michael@0: #sanitizeItem { michael@0: list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); michael@0: } michael@0: michael@0: #menu_openHelp { michael@0: list-style-image: url("moz-icon://stock/gtk-help?size=menu"); michael@0: } michael@0: michael@0: #aboutName { michael@0: list-style-image: url("moz-icon://stock/gtk-about?size=menu"); michael@0: } michael@0: michael@0: #javascriptConsole { michael@0: list-style-image: url("chrome://global/skin/console/console.png"); michael@0: } michael@0: michael@0: /* Primary toolbar buttons */ michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 { michael@0: -moz-appearance: none; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"], michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active { michael@0: padding: 3px; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon { michael@0: -moz-margin-end: 0; michael@0: padding: 2px 6px; michael@0: border: 1px solid transparent; michael@0: border-radius: 2px; michael@0: transition-property: background-color, border-color; michael@0: transition-duration: 150ms; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { michael@0: padding: 3px 7px; michael@0: } michael@0: michael@0: toolbarbutton[type="badged"] > .toolbarbutton-badge-container > .toolbarbutton-icon, michael@0: toolbarbutton[type="socialmark"] > .toolbarbutton-icon { michael@0: max-width: 32px !important; michael@0: } michael@0: michael@0: /* Help SDK icons fit: */ michael@0: toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { michael@0: width: 16px; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { michael@0: /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ michael@0: width: 32px; michael@0: } michael@0: michael@0: #nav-bar #PanelUI-menu-button { michael@0: -moz-padding-start: 7px; michael@0: -moz-padding-end: 5px; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-badge-container > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-icon { michael@0: background-color: hsla(0,0%,100%,.3); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.2)); michael@0: border: 1px solid rgb(154,154,154); michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, michael@0: 0 0 0 1px hsla(0,0%,100%,.2) inset, michael@0: 0 1px 0 hsla(0,0%,0%,.03); michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { michael@0: margin-top: 4px; michael@0: margin-bottom: 4px; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open="true"]) > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container > .toolbarbutton-icon, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon { michael@0: background-color: rgba(154,154,154,.5); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4)); michael@0: border: 1px solid rgb(154,154,154); michael@0: box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, michael@0: 0 0 1px hsla(0,0%,0%,.3) inset; michael@0: transition-duration: 10ms; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon { michael@0: background-color: rgba(90%,90%,90%,.4); michael@0: transition: background-color 150ms; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button[open], michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:hover:active, michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active { michael@0: padding: 3px; michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { michael@0: content: ""; michael@0: display: -moz-box; michael@0: width: 1px; michael@0: height: 18px; michael@0: -moz-margin-end: -1px; michael@0: background-image: linear-gradient(hsla(210,54%,20%,.2) 0, hsla(210,54%,20%,.2) 18px); michael@0: background-clip: padding-box; michael@0: background-position: center; michael@0: background-repeat: no-repeat; michael@0: background-size: 1px 18px; michael@0: box-shadow: 0 0 0 1px hsla(0,0%,100%,.2); michael@0: } michael@0: michael@0: :-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { michael@0: -moz-margin-start: -4px; michael@0: margin-top: 3px; michael@0: margin-bottom: 3px; michael@0: } michael@0: michael@0: #back-button { michael@0: padding-top: 3px; michael@0: padding-bottom: 3px; michael@0: -moz-padding-start: 5px; michael@0: -moz-padding-end: 0; michael@0: position: relative; michael@0: z-index: 1; michael@0: border-radius: 0 10000px 10000px 0; michael@0: } michael@0: michael@0: #back-button:-moz-locale-dir(rtl) { michael@0: border-radius: 10000px 0 0 10000px; michael@0: } michael@0: michael@0: #back-button > menupopup { michael@0: margin-top: -1px; michael@0: } michael@0: michael@0: #back-button > .toolbarbutton-icon { michael@0: border-radius: 10000px; michael@0: background-clip: padding-box; michael@0: padding: 6px; michael@0: border: none; michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, michael@0: 0 0 0 1px hsla(0,0%,100%,.3) inset, michael@0: 0 0 0 1px hsla(210,54%,20%,.25), michael@0: 0 1px 0 hsla(210,54%,20%,.35); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1)); michael@0: transition-property: background-color, box-shadow; michael@0: transition-duration: 250ms; michael@0: } michael@0: michael@0: #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { michael@0: background-color: hsla(210,48%,96%,.75); michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, michael@0: 0 0 0 1px hsla(0,0%,100%,.3) inset, michael@0: 0 0 0 1px hsla(210,54%,20%,.3), michael@0: 0 1px 0 hsla(210,54%,20%,.4), michael@0: 0 0 4px hsla(210,54%,20%,.2); michael@0: } michael@0: michael@0: #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, michael@0: #back-button[open="true"] > .toolbarbutton-icon { michael@0: background-color: hsla(210,54%,20%,.15); michael@0: box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset, michael@0: 0 0 1px hsla(210,54%,20%,.2) inset, michael@0: 0 0 0 1px hsla(210,54%,20%,.4), michael@0: 0 1px 0 hsla(210,54%,20%,.2); michael@0: transition: none; michael@0: } michael@0: michael@0: #main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon { michael@0: box-shadow: 0 0 0 1px hsla(210,54%,20%,.55), michael@0: 0 1px 0 hsla(210,54%,20%,.65) !important; michael@0: transition: none; michael@0: } michael@0: michael@0: #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: #forward-button { michael@0: -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ michael@0: padding: 0; michael@0: } michael@0: michael@0: #forward-button > .toolbarbutton-icon { michael@0: background-clip: padding-box; michael@0: padding-left: 9px; michael@0: padding-right: 3px; michael@0: border: 1px solid #9a9a9a; michael@0: border-left-style: none; michael@0: border-radius: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { michael@0: transition: margin-left @forwardTransitionLength@ ease-out; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #forward-button[disabled] { michael@0: margin-left: -@conditionalForwardWithUrlbarWidth@px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] { michael@0: /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ michael@0: transition-delay: 100s; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] { michael@0: /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ michael@0: margin-left: -@conditionalForwardWithUrlbarWidth@.01px; michael@0: } michael@0: michael@0: /* tabview menu item */ michael@0: michael@0: #menu_tabview { michael@0: list-style-image: url(chrome://browser/skin/tabview/tabview.png); michael@0: -moz-image-region: rect(0, 80px, 16px, 64px); michael@0: } michael@0: michael@0: #menu_tabview[groups="0"] { michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: } michael@0: michael@0: #menu_tabview[groups="1"] { michael@0: -moz-image-region: rect(0, 32px, 16px, 16px); michael@0: } michael@0: michael@0: #menu_tabview[groups="2"] { michael@0: -moz-image-region: rect(0, 48px, 16px, 32px); michael@0: } michael@0: michael@0: #menu_tabview[groups="3"] { michael@0: -moz-image-region: rect(0, 64px, 16px, 48px); michael@0: } michael@0: michael@0: #bookmarks-button { michael@0: -moz-image-region: rect(0px 72px 24px 48px); michael@0: } michael@0: michael@0: #new-tab-button { michael@0: -moz-image-region: rect(0px 96px 24px 72px); michael@0: } michael@0: michael@0: #new-window-button { michael@0: -moz-image-region: rect(0px 120px 24px 96px); michael@0: } michael@0: michael@0: #sync-button { michael@0: -moz-image-region: rect(0px 144px 24px 120px); michael@0: } michael@0: #sync-button[cui-areatype="toolbar"][status="active"] { michael@0: list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); michael@0: -moz-image-region: rect(0px 18px 18px 0px); michael@0: } michael@0: #sync-button[cui-areatype="menu-panel"][status="active"] { michael@0: list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); michael@0: -moz-image-region: rect(0px 32px 32px 0px); michael@0: } michael@0: michael@0: #feed-button { michael@0: -moz-image-region: rect(0px 168px 24px 144px); michael@0: } michael@0: michael@0: #feed-button[disabled] > .toolbarbutton-icon { michael@0: opacity: .4; michael@0: } michael@0: michael@0: #webrtc-status-button { michael@0: -moz-image-region: rect(0px 192px 24px 168px); michael@0: } michael@0: michael@0: .unified-nav-back[_moz-menuactive] { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important; michael@0: } michael@0: .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important; michael@0: } michael@0: .unified-nav-forward[_moz-menuactive] { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important; michael@0: } michael@0: .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { michael@0: list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important; michael@0: } michael@0: michael@0: /* Menu panel buttons */ michael@0: michael@0: %include ../shared/toolbarbuttons.inc.css michael@0: %include ../shared/menupanel.inc.css michael@0: michael@0: #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, michael@0: #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, michael@0: #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, michael@0: #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, michael@0: #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { michael@0: opacity: 0.4; michael@0: } michael@0: michael@0: /* Fullscreen window controls */ michael@0: #window-controls { michael@0: -moz-box-align: start; michael@0: -moz-margin-start: 10px; michael@0: } michael@0: michael@0: #minimize-button { michael@0: list-style-image: url("chrome://global/skin/icons/Minimize.gif"); michael@0: } michael@0: #restore-button { michael@0: list-style-image: url("chrome://global/skin/icons/Restore.gif"); michael@0: } michael@0: #close-button { michael@0: list-style-image: url("chrome://global/skin/icons/Close.gif"); michael@0: } michael@0: michael@0: /* Location bar */ michael@0: #urlbar, michael@0: .searchbar-textbox { michael@0: -moz-appearance: none; michael@0: padding: 1px; michael@0: border: 1px solid ThreeDShadow; michael@0: border-radius: 2px; michael@0: margin: 0 3px; michael@0: } michael@0: michael@0: #urlbar[focused], michael@0: .searchbar-textbox[focused] { michael@0: border-color: Highlight; michael@0: } michael@0: michael@0: #urlbar { michael@0: background-color: -moz-field; michael@0: } michael@0: michael@0: .urlbar-textbox-container { michael@0: -moz-appearance: none; michael@0: -moz-box-align: stretch; michael@0: } michael@0: michael@0: .urlbar-input-box { michael@0: -moz-margin-start: 0; michael@0: } michael@0: michael@0: .urlbar-history-dropmarker { michael@0: -moz-appearance: toolbarbutton-dropdown; michael@0: } michael@0: michael@0: #urlbar-container { michael@0: -moz-box-align: center; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #urlbar { michael@0: -moz-border-start: none; michael@0: margin-left: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) { michael@0: border-top-left-radius: 0; michael@0: border-bottom-left-radius: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { michael@0: border-top-right-radius: 0; michael@0: border-bottom-right-radius: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ { michael@0: clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path"); michael@0: -moz-margin-start: -5px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:-moz-locale-dir(rtl), michael@0: @conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { michael@0: /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) { michael@0: -moz-box-direction: reverse; michael@0: } michael@0: michael@0: #urlbar-icons { michael@0: -moz-box-align: center; michael@0: } michael@0: michael@0: .urlbar-icon { michael@0: cursor: pointer; michael@0: padding: 0 3px; michael@0: } michael@0: michael@0: #urlbar-search-splitter { michael@0: -moz-appearance: none; michael@0: width: 8px; michael@0: -moz-margin-start: -4px; michael@0: } michael@0: michael@0: #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { michael@0: -moz-margin-start: 0; michael@0: } michael@0: michael@0: #urlbar-display-box { michael@0: margin-top: -1px; michael@0: margin-bottom: -1px; michael@0: -moz-border-end: 1px solid #AAA; michael@0: -moz-margin-end: 3px; michael@0: } michael@0: michael@0: #urlbar-display { michael@0: margin-top: 0; michael@0: margin-bottom: 0; michael@0: -moz-margin-start: 0; michael@0: color: GrayText; michael@0: } michael@0: michael@0: #search-container { michael@0: min-width: calc(54px + 11ch); michael@0: } michael@0: michael@0: /* identity box */ michael@0: michael@0: #identity-box { michael@0: padding: 1px; michael@0: font-size: .9em; michael@0: } michael@0: michael@0: #identity-box:-moz-locale-dir(ltr) { michael@0: border-top-left-radius: 1.5px; michael@0: border-bottom-left-radius: 1.5px; michael@0: } michael@0: michael@0: #identity-box:-moz-locale-dir(rtl) { michael@0: border-top-right-radius: 1.5px; michael@0: border-bottom-right-radius: 1.5px; michael@0: } michael@0: michael@0: #notification-popup-box:not([hidden]) + #identity-box { michael@0: -moz-padding-start: 10px; michael@0: border-radius: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #urlbar > #identity-box { michael@0: border-radius: 0; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:not([switchingtabs]) > #urlbar > #identity-box { michael@0: transition: padding-left, padding-right; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { michael@0: padding-left: 5px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { michael@0: padding-right: 5px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box { michael@0: /* forward button hiding is delayed when hovered */ michael@0: transition-delay: 100s; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { michael@0: /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ michael@0: padding-left: 5.01px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { michael@0: /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ michael@0: padding-right: 5.01px; michael@0: } michael@0: michael@0: #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, michael@0: #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { michael@0: -moz-margin-end: 4px; michael@0: } michael@0: michael@0: #identity-box.verifiedIdentity:not(:-moz-lwtheme) { michael@0: background-color: #fff; michael@0: } michael@0: michael@0: #identity-box:-moz-focusring { michael@0: outline: 1px dotted #000; michael@0: outline-offset: -3px; michael@0: } michael@0: michael@0: #identity-icon-labels { michael@0: -moz-padding-start: 2px; michael@0: -moz-padding-end: 5px; michael@0: } michael@0: michael@0: %include ../shared/identity-block.inc.css michael@0: michael@0: #page-proxy-favicon { michael@0: margin-top: 1px; michael@0: margin-bottom: 1px; michael@0: -moz-margin-start: 3px; michael@0: -moz-margin-end: 1px; michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: } michael@0: michael@0: #identity-box:hover > #page-proxy-favicon { michael@0: -moz-image-region: rect(0, 32px, 16px, 16px); michael@0: } michael@0: michael@0: #identity-box:hover:active > #page-proxy-favicon, michael@0: #identity-box[open=true] > #page-proxy-favicon { michael@0: -moz-image-region: rect(0, 48px, 16px, 32px); michael@0: } michael@0: michael@0: /* Identity popup icons */ michael@0: #identity-popup-icon { michael@0: height: 64px; michael@0: width: 64px; michael@0: padding: 0; michael@0: list-style-image: url("chrome://browser/skin/identity.png"); michael@0: -moz-image-region: rect(0px, 64px, 64px, 0px); michael@0: } michael@0: michael@0: #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { michael@0: -moz-image-region: rect(64px, 64px, 128px, 0px); michael@0: } michael@0: michael@0: #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { michael@0: -moz-image-region: rect(128px, 64px, 192px, 0px); michael@0: } michael@0: michael@0: /* Identity popup body text */ michael@0: .identity-popup-description { michael@0: white-space: pre-wrap; michael@0: -moz-padding-start: 15px; michael@0: margin: 2px 0 4px; michael@0: } michael@0: michael@0: .identity-popup-label { michael@0: white-space: pre-wrap; michael@0: -moz-padding-start: 15px; michael@0: margin: 0; michael@0: } michael@0: michael@0: #identity-popup-content-host , michael@0: #identity-popup-content-owner { michael@0: font-weight: bold; michael@0: max-width: 300px; michael@0: } michael@0: michael@0: #identity-popup-content-host , michael@0: #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { michael@0: font-size: 140%; michael@0: } michael@0: michael@0: #identity-popup-content-owner { michael@0: margin-bottom: 0 !important; michael@0: } michael@0: michael@0: #identity-popup-content-verifier { michael@0: margin: 4px 0 2px; michael@0: } michael@0: michael@0: #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , michael@0: #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { michael@0: margin-top: 10px; michael@0: -moz-margin-start: -18px; michael@0: } michael@0: michael@0: #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , michael@0: #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { michael@0: list-style-image: url("chrome://browser/skin/Secure.png"); michael@0: } michael@0: michael@0: #identity-popup-help-icon { michael@0: -moz-appearance: none; michael@0: margin-left: 0px; michael@0: border: none; michael@0: background: none; michael@0: min-width: 0; michael@0: list-style-image: url("chrome://global/skin/icons/question-16.png"); michael@0: cursor: pointer; michael@0: } michael@0: michael@0: #identity-popup-help-icon > .button-box > .button-text { michael@0: display: none; michael@0: } michael@0: michael@0: #identity-popup-help-icon > .button-box > .button-icon { michael@0: height: 16px; michael@0: width: 16px; michael@0: } michael@0: michael@0: #identity-popup-help-icon:-moz-focusring { michael@0: outline: 1px dotted; michael@0: outline-offset: 1px; michael@0: } michael@0: michael@0: #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { michael@0: padding: 0; michael@0: } michael@0: michael@0: #identity-popup-container { michael@0: min-width: 280px; michael@0: padding: 10px; michael@0: } michael@0: michael@0: #identity-popup-button-container { michael@0: background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent); michael@0: padding: 10px; michael@0: margin-top: 5px; michael@0: } michael@0: michael@0: /* Notification popup */ michael@0: #notification-popup { michael@0: min-width: 280px; michael@0: } michael@0: michael@0: .popup-notification-icon { michael@0: width: 64px; michael@0: height: 64px; michael@0: -moz-margin-end: 10px; michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="geolocation"] { michael@0: list-style-image: url(chrome://browser/skin/Geolocation-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="xpinstall-disabled"], michael@0: .popup-notification-icon[popupid="addon-progress"], michael@0: .popup-notification-icon[popupid="addon-install-cancelled"], michael@0: .popup-notification-icon[popupid="addon-install-blocked"], michael@0: .popup-notification-icon[popupid="addon-install-failed"], michael@0: .popup-notification-icon[popupid="addon-install-complete"] { michael@0: list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); michael@0: width: 32px; michael@0: height: 32px; michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="click-to-play-plugins"] { michael@0: list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="plugins-not-found"] { michael@0: list-style-image: url(chrome://browser/skin/pluginInstall-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="web-notifications"] { michael@0: list-style-image: url(chrome://browser/skin/notification-64.png); michael@0: } michael@0: michael@0: .addon-progress-description { michael@0: width: 350px; michael@0: max-width: 350px; michael@0: } michael@0: michael@0: .popup-progress-label, michael@0: .popup-progress-meter { michael@0: -moz-margin-start: 0; michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: .popup-progress-cancel { michael@0: -moz-appearance: none; michael@0: background: transparent; michael@0: border: none; michael@0: padding: 0; michael@0: margin: 0; michael@0: -moz-margin-start: 5px; michael@0: min-height: 0; michael@0: min-width: 0; michael@0: list-style-image: url("moz-icon://stock/gtk-cancel?size=menu"); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="canvas-permissions-prompt"] { michael@0: list-style-image: url(chrome://browser/skin/canvas-popup.svg); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="indexedDB-permissions-prompt"], michael@0: .popup-notification-icon[popupid="indexedDB-quota-prompt"], michael@0: .popup-notification-icon[popupid*="offline-app-requested"], michael@0: .popup-notification-icon[popupid="offline-app-usage"] { michael@0: list-style-image: url(chrome://global/skin/icons/question-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="password-save"], michael@0: .popup-notification-icon[popupid="password-change"] { michael@0: list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="webapps-install-progress"], michael@0: .popup-notification-icon[popupid="webapps-install"] { michael@0: list-style-image: url(chrome://global/skin/icons/webapps-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="mixed-content-blocked"] { michael@0: list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="webRTC-sharingDevices"], michael@0: .popup-notification-icon[popupid="webRTC-shareDevices"] { michael@0: list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="webRTC-sharingMicrophone"], michael@0: .popup-notification-icon[popupid="webRTC-shareMicrophone"] { michael@0: list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64.png); michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="pointerLock"] { michael@0: list-style-image: url(chrome://browser/skin/pointerLock-64.png); michael@0: } michael@0: michael@0: /* Notification icon box */ michael@0: #notification-popup-box { michael@0: position: relative; michael@0: background-color: #fff; michael@0: background-clip: padding-box; michael@0: padding-left: 3px; michael@0: border-radius: 2.5px 0 0 2.5px; michael@0: border-width: 0 8px 0 0; michael@0: border-style: solid; michael@0: border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill; michael@0: -moz-margin-end: -8px; michael@0: margin-top: -1px; michael@0: margin-bottom: -1px; michael@0: } michael@0: michael@0: @conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box { michael@0: padding-left: 7px; michael@0: } michael@0: michael@0: #notification-popup-box:not([hidden]) + #identity-box { michael@0: -moz-padding-start: 10px; michael@0: border-radius: 0; michael@0: } michael@0: michael@0: #notification-popup-box:-moz-locale-dir(rtl), michael@0: .notification-anchor-icon:-moz-locale-dir(rtl) { michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: .notification-anchor-icon { michael@0: width: 16px; michael@0: height: 16px; michael@0: margin: 0 2px; michael@0: } michael@0: michael@0: .notification-anchor-icon:-moz-focusring { michael@0: outline: 1px dotted -moz-DialogText; michael@0: } michael@0: michael@0: .default-notification-icon, michael@0: #default-notification-icon { michael@0: list-style-image: url(chrome://global/skin/icons/information-16.png); michael@0: } michael@0: michael@0: .identity-notification-icon, michael@0: #identity-notification-icon { michael@0: list-style-image: url(chrome://mozapps/skin/profile/profileicon.png); michael@0: } michael@0: michael@0: .geo-notification-icon, michael@0: #geo-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/Geolocation-16.png); michael@0: } michael@0: michael@0: #addons-notification-icon { michael@0: list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png); michael@0: } michael@0: michael@0: #canvas-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/canvas-popup.svg); michael@0: } michael@0: michael@0: .indexedDB-notification-icon, michael@0: #indexedDB-notification-icon { michael@0: list-style-image: url(chrome://global/skin/icons/question-16.png); michael@0: } michael@0: michael@0: #password-notification-icon { michael@0: list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); michael@0: } michael@0: michael@0: #webapps-notification-icon { michael@0: list-style-image: url(chrome://global/skin/icons/webapps-16.png); michael@0: } michael@0: michael@0: #plugins-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); michael@0: } michael@0: #plugins-notification-icon.plugin-hidden { michael@0: list-style-image: url(chrome://browser/skin/notification-pluginAlert.png); michael@0: } michael@0: #plugins-notification-icon.plugin-blocked { michael@0: list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png); michael@0: } michael@0: michael@0: #plugins-notification-icon { michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: } michael@0: michael@0: #plugins-notification-icon:hover { michael@0: -moz-image-region: rect(0, 32px, 16px, 16px); michael@0: } michael@0: michael@0: #plugins-notification-icon:active { michael@0: -moz-image-region: rect(0, 48px, 16px, 32px); michael@0: } michael@0: michael@0: #plugin-install-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/pluginInstall-16.png); michael@0: } michael@0: michael@0: #notification-popup-box[hidden] { michael@0: /* Override display:none to make the pluginBlockedNotification animation work michael@0: when showing the notification repeatedly. */ michael@0: display: -moz-box; michael@0: visibility: collapse; michael@0: } michael@0: michael@0: #plugins-notification-icon.plugin-blocked[showing] { michael@0: animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; michael@0: } michael@0: michael@0: @keyframes pluginBlockedNotification { michael@0: from { michael@0: opacity: 0; michael@0: } michael@0: to { michael@0: opacity: 1; michael@0: } michael@0: } michael@0: michael@0: .mixed-content-blocked-notification-icon, michael@0: #mixed-content-blocked-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png); michael@0: } michael@0: michael@0: .webRTC-shareDevices-notification-icon, michael@0: #webRTC-shareDevices-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); michael@0: } michael@0: michael@0: .webRTC-sharingDevices-notification-icon, michael@0: #webRTC-sharingDevices-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); michael@0: } michael@0: michael@0: .webRTC-shareMicrophone-notification-icon, michael@0: #webRTC-shareMicrophone-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16.png); michael@0: } michael@0: michael@0: .webRTC-sharingMicrophone-notification-icon, michael@0: #webRTC-sharingMicrophone-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16.png); michael@0: } michael@0: michael@0: .web-notifications-notification-icon, michael@0: #web-notifications-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/notification-16.png); michael@0: } michael@0: michael@0: #pointerLock-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/pointerLock-16.png); michael@0: } michael@0: #pointerLock-cancel { michael@0: margin: 0px; michael@0: } michael@0: michael@0: .translate-notification-icon, michael@0: #translate-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/translation-16.png); michael@0: -moz-image-region: rect(0px, 16px, 16px, 0px); michael@0: } michael@0: michael@0: .translated-notification-icon, michael@0: #translated-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/translation-16.png); michael@0: -moz-image-region: rect(0px, 32px, 16px, 16px); michael@0: } michael@0: michael@0: #treecolAutoCompleteImage { michael@0: max-width : 36px; michael@0: } michael@0: michael@0: .ac-result-type-bookmark, michael@0: .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { michael@0: list-style-image: url("chrome://browser/skin/places/star-icons.png"); michael@0: -moz-image-region: rect(0px 32px 16px 16px); michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: .ac-result-type-keyword, michael@0: .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { michael@0: list-style-image: url(moz-icon://stock/gtk-find?size=menu); michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: .ac-result-type-tag, michael@0: .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { michael@0: list-style-image: url("chrome://browser/skin/places/tag.png"); michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: .ac-comment { michael@0: font-size: 1.05em; michael@0: } michael@0: michael@0: .ac-extra > .ac-comment { michael@0: font-size: inherit; michael@0: } michael@0: michael@0: .ac-url-text, michael@0: .ac-action-text { michael@0: color: -moz-nativehyperlinktext; michael@0: font-size: 0.9em; michael@0: } michael@0: michael@0: richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { michael@0: list-style-image: url("chrome://browser/skin/actionicon-tab.png"); michael@0: padding: 0 3px; michael@0: } michael@0: michael@0: .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { michael@0: color: GrayText; michael@0: } michael@0: michael@0: .ac-comment[selected="true"], michael@0: .ac-url-text[selected="true"], michael@0: .ac-action-text[selected="true"] { michael@0: color: inherit !important; michael@0: } michael@0: michael@0: .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), michael@0: .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { michael@0: color: GrayText; michael@0: font-size: smaller; michael@0: } michael@0: michael@0: .autocomplete-treebody::-moz-tree-cell(suggesthint) { michael@0: border-top: 1px solid GrayText; michael@0: } michael@0: michael@0: /* Combined go/reload/stop button in location bar */ michael@0: michael@0: #urlbar > toolbarbutton { michael@0: -moz-appearance: none; michael@0: padding: 0 2px; michael@0: cursor: pointer; michael@0: list-style-image: url("chrome://browser/skin/reload-stop-go.png"); michael@0: } michael@0: michael@0: #urlbar-reload-button { michael@0: -moz-image-region: rect(0, 14px, 14px, 0); michael@0: } michael@0: michael@0: #urlbar-reload-button:not([disabled]):hover { michael@0: background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.2), hsla(200,100%,70%,0)); michael@0: -moz-image-region: rect(14px, 14px, 28px, 0); michael@0: } michael@0: michael@0: #urlbar-reload-button:not([disabled]):hover:active { michael@0: background-image: radial-gradient(circle closest-side, hsla(200,100%,60%,.1), hsla(200,100%,60%,0)); michael@0: -moz-image-region: rect(28px, 14px, 42px, 0); michael@0: } michael@0: michael@0: #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: #urlbar-go-button { michael@0: -moz-image-region: rect(0, 42px, 14px, 28px); michael@0: } michael@0: michael@0: #urlbar-go-button:hover { michael@0: background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.2), hsla(110,70%,50%,0)); michael@0: -moz-image-region: rect(14px, 42px, 28px, 28px); michael@0: } michael@0: michael@0: #urlbar-go-button:hover:active { michael@0: background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.1), hsla(110,70%,50%,0)); michael@0: -moz-image-region: rect(28px, 42px, 42px, 28px); michael@0: } michael@0: michael@0: #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: #urlbar-stop-button { michael@0: -moz-image-region: rect(0, 28px, 14px, 14px); michael@0: } michael@0: michael@0: #urlbar-stop-button:not([disabled]):hover { michael@0: background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.3), hsla(5,100%,75%,0)); michael@0: -moz-image-region: rect(14px, 28px, 28px, 14px); michael@0: } michael@0: michael@0: #urlbar-stop-button:hover:active { michael@0: background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0)); michael@0: -moz-image-region: rect(28px, 28px, 42px, 14px); michael@0: } michael@0: michael@0: /* Popup blocker button */ michael@0: #page-report-button { michael@0: list-style-image: url("chrome://browser/skin/Info.png"); michael@0: } michael@0: michael@0: michael@0: /* social share panel */ michael@0: michael@0: .social-share-frame { michael@0: background: linear-gradient(to bottom, rgba(242,242,242,.99), rgba(242,242,242,.95)); michael@0: border-left: 1px solid #f8f8f8; michael@0: width: 330px; michael@0: height: 150px; michael@0: /* we resize our panels dynamically, make it look nice */ michael@0: transition: height 100ms ease-out, width 100ms ease-out; michael@0: } michael@0: michael@0: .social-share-toolbar { michael@0: border-right: 1px solid #dedede; michael@0: background: linear-gradient(to bottom, rgba(247,247,247,.99), rgba(247,247,247,.95)); michael@0: } michael@0: michael@0: #social-share-provider-buttons { michael@0: border-right: 1px solid #fbfbfb; michael@0: padding: 6px; michael@0: } michael@0: michael@0: #social-share-provider-buttons > .share-provider-button { michael@0: padding: 6px; michael@0: margin: 0; michael@0: border: none; michael@0: border-radius: 2px; michael@0: } michael@0: michael@0: #social-share-provider-buttons > .share-provider-button[checked], michael@0: #social-share-provider-buttons > .share-provider-button:active { michael@0: padding: 5px; michael@0: border: 1px solid #b5b5b8; michael@0: box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2); michael@0: } michael@0: michael@0: #social-share-provider-buttons > .share-provider-button[checked] { michael@0: background: linear-gradient(to bottom, #d9d9d9, #e3e3e3); michael@0: } michael@0: michael@0: #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { michael@0: display: none; michael@0: } michael@0: #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { michael@0: width: 16px; michael@0: min-height: 16px; michael@0: max-height: 16px; michael@0: } michael@0: michael@0: /* social recommending panel */ michael@0: michael@0: #social-mark-button { michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: } michael@0: michael@0: /* bookmarks menu-button */ michael@0: michael@0: #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { michael@0: -moz-appearance: none !important; michael@0: -moz-box-align: center; michael@0: } michael@0: michael@0: #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { michael@0: margin-top: 3px; michael@0: margin-bottom: 3px; michael@0: } michael@0: michael@0: #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-icon, michael@0: #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menu-dropmarker, michael@0: #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker, michael@0: #bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, michael@0: #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { michael@0: opacity: .4; michael@0: } michael@0: michael@0: #BMB_bookmarksPopup[side="top"], michael@0: #BMB_bookmarksPopup[side="bottom"] { michael@0: margin-left: -16px; michael@0: margin-right: -16px; michael@0: } michael@0: michael@0: #BMB_bookmarksPopup[side="left"], michael@0: #BMB_bookmarksPopup[side="right"] { michael@0: margin-top: -16px; michael@0: margin-bottom: -16px; michael@0: } michael@0: michael@0: #nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel, michael@0: #nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel { michael@0: margin-top: -4px; michael@0: } michael@0: michael@0: /* Bookmarking panel */ michael@0: #editBookmarkPanelStarIcon { michael@0: list-style-image: url("chrome://browser/skin/places/starred48.png"); michael@0: width: 48px; michael@0: height: 48px; michael@0: } michael@0: michael@0: #editBookmarkPanelStarIcon[unstarred] { michael@0: list-style-image: url("chrome://browser/skin/places/unstarred48.png"); michael@0: } michael@0: michael@0: #editBookmarkPanelTitle { michael@0: font-size: 130%; michael@0: } michael@0: michael@0: #editBookmarkPanelHeader, michael@0: #editBookmarkPanelContent { michael@0: margin-bottom: .5em; michael@0: } michael@0: michael@0: /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ michael@0: #editBMPanel_folderTree { michael@0: min-width: 27em; michael@0: } michael@0: michael@0: .panel-promo-box { michael@0: margin: 8px -10px -10px -10px; michael@0: padding: 8px 10px; michael@0: border-top: 1px solid ThreeDShadow; michael@0: background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px); michael@0: } michael@0: michael@0: .panel-promo-icon { michael@0: list-style-image: url("chrome://browser/skin/sync-notification-24.png"); michael@0: -moz-margin-end: 10px; michael@0: vertical-align: middle; michael@0: } michael@0: michael@0: .panel-promo-closebutton { michael@0: -moz-appearance: none; michael@0: height: 16px; michael@0: width: 16px; michael@0: } michael@0: michael@0: .panel-promo-closebutton > .toolbarbutton-text { michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: /* Content area */ michael@0: #sidebar { michael@0: background-color: Window; michael@0: } michael@0: michael@0: .browserContainer > findbar { michael@0: background-color: -moz-dialog; michael@0: color: -moz-DialogText; michael@0: text-shadow: none; michael@0: } michael@0: michael@0: /* Tabstrip */ michael@0: michael@0: %include ../shared/tabs.inc.css michael@0: michael@0: #tabbrowser-tabs { michael@0: /* override the global style to allow the selected tab to be above the nav-bar */ michael@0: z-index: auto; michael@0: } michael@0: michael@0: #TabsToolbar { michael@0: min-height: 0; michael@0: padding: 0; michael@0: position: relative; michael@0: } michael@0: michael@0: /* michael@0: * Draw the bottom border of the tabstrip: michael@0: */ michael@0: #TabsToolbar::after { michael@0: content: ""; michael@0: position: absolute; michael@0: bottom: @tabToolbarNavbarOverlap@; michael@0: left: 0; michael@0: right: 0; michael@0: z-index: 0; michael@0: border-bottom: 1px solid hsla(0,0%,0%,.3); michael@0: } michael@0: michael@0: #TabsToolbar:not(:-moz-lwtheme) { michael@0: -moz-appearance: menubar; michael@0: color: -moz-menubartext; michael@0: } michael@0: michael@0: #toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag), michael@0: #TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { michael@0: -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag"); michael@0: } michael@0: michael@0: .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label { michael@0: outline: 1px dotted; michael@0: } michael@0: michael@0: #context_reloadTab { michael@0: list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); michael@0: } michael@0: michael@0: #context_closeOtherTabs { michael@0: list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); michael@0: } michael@0: michael@0: #context_closeOtherTabs[disabled] { michael@0: list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled"); michael@0: } michael@0: michael@0: #context_undoCloseTab { michael@0: list-style-image: url("moz-icon://stock/gtk-undelete?size=menu"); michael@0: } michael@0: michael@0: #context_closeTab { michael@0: list-style-image: url("moz-icon://stock/gtk-close?size=menu"); michael@0: } michael@0: michael@0: /* Tab drag and drop */ michael@0: .tab-drop-indicator { michael@0: list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); michael@0: margin-bottom: -9px; michael@0: z-index: 3; michael@0: } michael@0: michael@0: /* Tab close button */ michael@0: .tab-close-button:not([selected]):not(:hover) { michael@0: background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48); michael@0: } michael@0: michael@0: .tab-close-button:not([selected]):not(:hover):-moz-lwtheme-brighttext { michael@0: background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); michael@0: } michael@0: michael@0: .tab-close-button:not([selected]):not(:hover):-moz-lwtheme-darktext { michael@0: background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80); michael@0: } michael@0: michael@0: /* Tabstrip new tab button */ michael@0: .tabs-newtab-button, michael@0: #TabsToolbar > #new-tab-button , michael@0: #TabsToolbar > #wrapper-new-tab-button > #new-tab-button { michael@0: list-style-image: url("moz-icon://stock/gtk-add?size=menu"); michael@0: -moz-image-region: auto; michael@0: } michael@0: michael@0: /* Tabbrowser arrowscrollbox arrows */ michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-up, michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-down { michael@0: -moz-appearance: none; michael@0: margin: 0 0 @tabToolbarNavbarOverlap@; michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-up { michael@0: -moz-border-start: 0; michael@0: -moz-border-end: 2px solid transparent; michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-down { michael@0: -moz-border-start: 2px solid transparent; michael@0: -moz-border-end: 0; michael@0: transition: 1s box-shadow ease-out; michael@0: border-radius: 4px; michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { michael@0: box-shadow: 0 0 5px 5px Highlight inset; michael@0: transition: none; michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr), michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) { michael@0: border-width: 0 2px 0 0; michael@0: border-style: solid; michael@0: border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr), michael@0: .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) { michael@0: border-width: 0 0 0 2px; michael@0: border-style: solid; michael@0: border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; michael@0: } michael@0: michael@0: #TabsToolbar .toolbarbutton-1 { michael@0: margin-bottom: @tabToolbarNavbarOverlap@; michael@0: } michael@0: michael@0: #TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon, michael@0: #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, michael@0: #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { michael@0: margin-top: -2px; michael@0: margin-bottom: -2px; michael@0: } michael@0: michael@0: #alltabs-button > .toolbarbutton-menu-dropmarker { michael@0: margin-bottom: -2px; michael@0: } michael@0: michael@0: #alltabs-button > .toolbarbutton-icon { michael@0: display: none; michael@0: } michael@0: michael@0: /* All tabs menupopup */ michael@0: .alltabs-item > .menu-iconic-left > .menu-iconic-icon { michael@0: list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); michael@0: } michael@0: michael@0: .alltabs-item[selected="true"] { michael@0: font-weight: bold; michael@0: } michael@0: michael@0: .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { michael@0: list-style-image: url("chrome://global/skin/icons/loading_16.png"); michael@0: } michael@0: michael@0: .alltabs-item[tabIsVisible] { michael@0: /* box-shadow instead of background-color to work around native styling */ michael@0: box-shadow: inset -5px 0 ThreeDShadow; michael@0: } michael@0: michael@0: /* Sidebar */ michael@0: #sidebar-throbber[loading="true"] { michael@0: list-style-image: url("chrome://global/skin/icons/loading_16.png"); michael@0: -moz-margin-end: 4px; michael@0: } michael@0: michael@0: toolbarbutton.chevron { michael@0: list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; michael@0: } michael@0: michael@0: toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { michael@0: transform: scaleX(-1); michael@0: } michael@0: michael@0: toolbarbutton.chevron > .toolbarbutton-text, michael@0: toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { michael@0: display: none; michael@0: } michael@0: michael@0: toolbarbutton.chevron > .toolbarbutton-icon { michael@0: margin: 0; michael@0: } michael@0: michael@0: /* Ctrl-Tab */ michael@0: michael@0: .ctrlTab-preview { michael@0: -moz-appearance: toolbarbutton; michael@0: } michael@0: michael@0: .tabPreview-canvas { michael@0: box-shadow: 0 0 5px ThreeDShadow; michael@0: } michael@0: michael@0: .ctrlTab-preview:focus .tabPreview-canvas, michael@0: .ctrlTab-preview:hover .tabPreview-canvas { michael@0: box-shadow: none; michael@0: } michael@0: michael@0: .ctrlTab-favicon[src] { michael@0: background-color: white; michael@0: width: 20px; michael@0: height: 20px; michael@0: padding: 2px; michael@0: } michael@0: michael@0: #ctrlTab-panel { michael@0: padding: 10px; michael@0: } michael@0: michael@0: .ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas { michael@0: margin-bottom: 2px; michael@0: } michael@0: michael@0: #ctrlTab-showAll { michael@0: -moz-appearance: button; michael@0: color: ButtonText; michael@0: padding: 0 3px; michael@0: margin-top: 10px; michael@0: } michael@0: michael@0: /* Sync Panel */ michael@0: michael@0: .sync-panel-icon { michael@0: height:32px; michael@0: width: 32px; michael@0: background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; michael@0: } michael@0: michael@0: .sync-panel-inner { michael@0: width: 0; michael@0: padding-left: 10px; michael@0: } michael@0: michael@0: .sync-panel-button-box { michael@0: margin-top: 1em; michael@0: } michael@0: michael@0: #sync-error-panel-title, michael@0: #sync-start-panel-title { michael@0: font-size: 120%; michael@0: font-weight: bold; michael@0: margin-bottom: 5px; michael@0: } michael@0: michael@0: #sync-start-panel-subtitle, michael@0: #sync-error-panel-subtitle { michael@0: margin: 0; michael@0: } michael@0: michael@0: /* Status panel */ michael@0: michael@0: .statuspanel-label { michael@0: margin: 0; michael@0: padding: 2px 4px; michael@0: background: linear-gradient(#fff, #ddd); michael@0: border: 1px none #ccc; michael@0: border-top-style: solid; michael@0: color: #333; michael@0: text-shadow: none; michael@0: } michael@0: michael@0: .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), michael@0: .statuspanel-label:-moz-locale-dir(rtl)[mirror] { michael@0: border-right-style: solid; michael@0: border-top-right-radius: .3em; michael@0: margin-right: 1em; michael@0: } michael@0: michael@0: .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), michael@0: .statuspanel-label:-moz-locale-dir(ltr)[mirror] { michael@0: border-left-style: solid; michael@0: border-top-left-radius: .3em; michael@0: margin-left: 1em; michael@0: } michael@0: michael@0: #full-screen-warning-message { michael@0: background-image: url("chrome://browser/skin/fullscreen-darknoise.png"); michael@0: color: white; michael@0: border-radius: 4px; michael@0: margin-top: 30px; michael@0: padding: 30px 50px; michael@0: box-shadow: 0 0 2px white; michael@0: } michael@0: michael@0: #full-screen-warning-container[obscure-browser] { michael@0: background-color: rgba(0,0,0,0.3); michael@0: } michael@0: michael@0: .full-screen-description { michael@0: font-size: 150%; michael@0: } michael@0: michael@0: #full-screen-domain-text { michael@0: font-size: 300%; michael@0: } michael@0: michael@0: .full-screen-approval-button, michael@0: #full-screen-remember-decision { michael@0: font-size: 120%; michael@0: } michael@0: michael@0: %include ../shared/devtools/responsivedesign.inc.css michael@0: %include ../shared/devtools/highlighter.inc.css michael@0: %include ../shared/devtools/commandline.inc.css michael@0: %include ../shared/plugin-doorhanger.inc.css michael@0: michael@0: %include downloads/indicator.css michael@0: michael@0: .gcli-panel { michael@0: padding: 0; michael@0: } michael@0: michael@0: .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { michael@0: color: hsl(210,11%,16%); michael@0: } michael@0: michael@0: /* Error counter */ michael@0: michael@0: #developer-toolbar-toolbox-button[error-count]:before { michael@0: color: #FDF3DE; michael@0: min-width: 16px; michael@0: text-shadow: none; michael@0: background-image: linear-gradient(#B4211B, #8A1915); michael@0: border-radius: 1px; michael@0: -moz-margin-end: 2px; michael@0: } michael@0: michael@0: /* Social toolbar item */ michael@0: michael@0: #social-provider-button { michael@0: -moz-image-region: rect(0, 16px, 16px, 0); michael@0: list-style-image: url(chrome://browser/skin/social/services-16.png); michael@0: } michael@0: michael@0: #social-provider-button > .toolbarbutton-menu-dropmarker { michael@0: display: none; michael@0: } michael@0: michael@0: .toolbarbutton-badge-container { michael@0: margin: 5px 3px; michael@0: position: relative; michael@0: } michael@0: michael@0: toolbar[iconsize="small"] .toolbarbutton-badge-container { michael@0: margin: 0; michael@0: } michael@0: michael@0: .toolbarbutton-badge[badge]:not([badge=""])::after { michael@0: /* The |content| property is set in the content stylesheet. */ michael@0: font-size: 9px; michael@0: font-weight: bold; michael@0: padding: 0 1px; michael@0: color: #fff; michael@0: background-color: rgb(240,61,37); michael@0: border: 1px solid rgb(216,55,34); michael@0: border-radius: 2px; michael@0: box-shadow: 0 1px 0 rgba(0,39,121,0.77); michael@0: position: absolute; michael@0: top: 0; michael@0: right: 0; michael@0: } michael@0: michael@0: .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { michael@0: left: 2px; michael@0: right: auto; michael@0: } michael@0: michael@0: .popup-notification-icon[popupid="servicesInstall"] { michael@0: list-style-image: url(chrome://browser/skin/social/services-64.png); michael@0: } michael@0: #servicesInstall-notification-icon { michael@0: list-style-image: url(chrome://browser/skin/social/services-16.png); michael@0: } michael@0: #social-undoactivation-button { michael@0: -moz-margin-start: 0; /* override default label margin to match description margin */ michael@0: } michael@0: michael@0: .social-activation-icon { michael@0: width: auto; michael@0: height: auto; michael@0: max-height: 64px; michael@0: max-width: 64px; michael@0: } michael@0: michael@0: #social-activation-message { michael@0: max-width: 250px; michael@0: } michael@0: michael@0: #social-activation-message > label { michael@0: margin: 0; michael@0: } michael@0: michael@0: /* social toolbar provider menu */ michael@0: #social-statusarea-popup { michael@0: margin-top: 0; michael@0: margin-left: -12px; michael@0: margin-right: -12px; michael@0: } michael@0: michael@0: .social-statusarea-user { michael@0: list-style-image:url("chrome://global/skin/icons/information-32.png"); michael@0: } michael@0: michael@0: .social-statusarea-user-portrait { michael@0: width: 32px; michael@0: height: 32px; michael@0: border-radius: 2px; michael@0: margin: 10px; michael@0: } michael@0: michael@0: .social-panel > .panel-arrowcontainer > .panel-arrowcontent { michael@0: padding: 0; michael@0: } michael@0: michael@0: %include ../shared/social/chat.inc.css michael@0: michael@0: .chat-titlebar { michael@0: background-color: #d9d9d9; michael@0: background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); michael@0: } michael@0: michael@0: .chat-titlebar[selected] { michael@0: background-color: #f0f0f0; michael@0: } michael@0: michael@0: .chatbar-button { michael@0: -moz-appearance: none; michael@0: background-color: #d9d9d9; michael@0: background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); michael@0: } michael@0: michael@0: .chatbar-button > .toolbarbutton-icon { michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: .chatbar-button:hover, michael@0: .chatbar-button[open="true"] { michael@0: background-color: #f0f0f0; michael@0: } michael@0: michael@0: .chatbar-button[activity] { michael@0: background-image: radial-gradient(circle farthest-corner at center 3px, rgb(233,242,252) 3%, rgba(172,206,255,0.75) 40%, rgba(87,151,201,0.5) 80%, rgba(87,151,201,0)); michael@0: } michael@0: michael@0: chatbox { michael@0: border-top-left-radius: 2.5px; michael@0: border-top-right-radius: 2.5px; michael@0: } michael@0: michael@0: /* Customization mode */ michael@0: michael@0: %include ../shared/customizableui/customizeMode.inc.css michael@0: michael@0: #main-window[customizing] > #tab-view-deck { michael@0: background: linear-gradient(to bottom, #bcbcbc, #b5b5b5); michael@0: } michael@0: michael@0: #main-window[customize-entered] > #tab-view-deck { michael@0: background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), michael@0: url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), michael@0: linear-gradient(to bottom, #bcbcbc, #b5b5b5); michael@0: background-attachment: fixed; michael@0: } michael@0: michael@0: #main-window[customize-entered] #browser-bottombox, michael@0: #main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar), michael@0: #main-window[customize-entered] #customization-container { michael@0: border: 3px solid hsla(0,0%,0%,.1); michael@0: border-top-width: 0; michael@0: background-clip: padding-box; michael@0: background-origin: padding-box; michael@0: -moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); michael@0: -moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); michael@0: -moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); michael@0: } michael@0: michael@0: #main-window[customize-entered] #customization-container, michael@0: #main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) { michael@0: border-bottom-width: 0; michael@0: } michael@0: michael@0: #main-window[customize-entered] #TabsToolbar { michael@0: -moz-appearance: none; michael@0: background-clip: padding-box; michael@0: border-right: 3px solid transparent; michael@0: border-left: 3px solid transparent; michael@0: } michael@0: michael@0: /* The :hover:active style from toolkit doesn't seem to work in this panel so just use :active. */ michael@0: .customization-tipPanel-closeBox > .close-icon:active { michael@0: background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32); michael@0: } michael@0: michael@0: /* End customization mode */ michael@0: michael@0: michael@0: #main-window[privatebrowsingmode=temporary] #private-browsing-indicator { michael@0: background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat; michael@0: width: 40px; michael@0: } michael@0: michael@0: %include ../shared/UITour.inc.css michael@0: michael@0: #UITourHighlight { michael@0: /* Below are some fixes for people without an X compositor on Linux. michael@0: This is why we can't have nice things: */ michael@0: /* Animations don't repaint properly without an X compositor. */ michael@0: animation-name: none !important; michael@0: /* Opacity rounds to 0 or 1 on Linux without an X compositor so make the michael@0: background be transparent in that case by having all alpha values < 0.5 */ michael@0: background-image: radial-gradient(50% 100%, rgba(0,149,220,0.3) 50%, rgba(0,149,220,0.49) 100%); michael@0: /* The highlight isn't anti-aliased without an X compositor so make it thicker. michael@0: Make it a darker color since we don't have the box-shadow in this case. */ michael@0: border: 4px solid rgb(0,149,220); michael@0: } michael@0: michael@0: #UITourTooltipDescription { michael@0: font-size: 1.05rem; michael@0: } michael@0: michael@0: #UITourTooltipClose { michael@0: -moz-margin-end: -4px; michael@0: height: 16px; michael@0: width: 16px; michael@0: } michael@0: michael@0: #UITourTooltipButtons { michael@0: margin-bottom: -10px; michael@0: }