/* 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 %define toolbarButtonPressed :hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace html url("http://www.w3.org/1999/xhtml"); %include ../shared/browser.inc.css :root { --tabs-border-color: rgba(0,0,0,.3); --tab-line-color: #0a84ff; --toolbar-non-lwt-bgcolor: #f9f9fa; --toolbar-non-lwt-textcolor: #0c0c0d; --toolbar-non-lwt-bgimage: none; --toolbar-bgcolor: var(--toolbar-non-lwt-bgcolor); --toolbar-bgimage: var(--toolbar-non-lwt-bgimage); --toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) + 1px); --toolbarbutton-border-radius: 4px; --toolbarbutton-icon-fill-opacity: .7; --panel-separator-color: hsla(210,4%,10%,.14); --arrowpanel-dimmed: hsla(210,4%,10%,.07); --arrowpanel-dimmed-further: hsla(210,4%,10%,.12); --arrowpanel-dimmed-even-further: hsla(210,4%,10%,.17); --urlbar-separator-color: hsla(0,0%,16%,.2); --toolbox-border-bottom-color: #e1e1e2; } :root:-moz-lwtheme { --toolbar-bgcolor: rgba(255,255,255,.4); --toolbar-bgimage: none; --toolbox-border-bottom-color: rgba(0,0,0,.3); } #navigator-toolbox toolbarbutton:-moz-lwtheme { color: inherit; text-shadow: inherit; } #main-window { -moz-appearance: none; background-color: #eeeeee; } /** Begin titlebar **/ #titlebar { /* Centrally align content items vertically */ -moz-box-pack: center; } #titlebar-content { /* Ensure the the content part of the titlebar does not shrink. */ min-height: inherit; } #titlebar-buttonbox > .titlebar-button { display: none; } /* Making the toolbox position:relative (browser.inc.css) occludes titlebar indicators * if the toolbox has a background. Fix this by positioning the relevant elements, too: */ #titlebar-secondary-buttonbox { position: relative; z-index: 1; /* Centrally align indicators and full screen button vertically */ -moz-box-align: center; } #titlebar-buttonbox-container { -moz-box-align: center; } /* These would be margin-inline-start/end if it wasn't for the fact that OS X * doesn't reverse the order of the items in the titlebar in RTL mode. */ .titlebar-placeholder[type="caption-buttons"], #titlebar-buttonbox { margin-left: 7px; } /* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a border there */ @media not all and (-moz-mac-yosemite-theme) { .titlebar-placeholder[type="fullscreen-button"] { margin-right: 4px; } } #main-window:not(:-moz-lwtheme) > #titlebar { -moz-appearance: -moz-window-titlebar; } #main-window:not([tabsintitlebar]) > #titlebar { -moz-appearance: -moz-window-titlebar; height: 22px; /* The native titlebar on OS X is 22px tall. */ } /** * For tabs in titlebar on OS X, we stretch the titlebar down so that the * tabstrip can overlap it. */ #main-window[tabsintitlebar] > #titlebar { min-height: calc(var(--tab-min-height) + var(--space-above-tabbar)); } /** End titlebar **/ #main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] { border-top: 1px solid rgba(0,0,0,0.65); } #navigator-toolbox > toolbar:not(#TabsToolbar) { -moz-appearance: none; background: var(--toolbar-bgcolor); color: var(--toolbar-color, inherit); } /* Draw the bottom border of the tabs toolbar when it's not using -moz-appearance: toolbar. */ #main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar, #main-window:not([tabsintitlebar]) #TabsToolbar:not([collapsed="true"]) + #nav-bar, #TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-lwtheme { box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color); } /* Always draw a border on Yosemite to ensure the border is well-defined there * (the default border is too light). */ @media (-moz-mac-yosemite-theme) { :root:not(:-moz-lwtheme) { --tabs-border-color: rgba(0,0,0,.2); } :root:not(:-moz-lwtheme):-moz-window-inactive { --tabs-border-color: rgba(0,0,0,.05); } #main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:not(:-moz-lwtheme) { box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color); } } #TabsToolbar:not([collapsed="true"]) + #nav-bar { /* The toolbar buttons that animate are only visible when the #TabsToolbar is not collapsed. The animations use position:absolute and require a positioned #nav-bar. */ position: relative; } #PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive, #nav-bar:not(:-moz-lwtheme):-moz-window-inactive { background-color: -moz-mac-chrome-inactive; } /* ----- BOOKMARK TOOLBAR ----- */ #nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks { min-height: 32px; -moz-box-align: center; } /* 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; } /* ----- BOOKMARK MENUS ----- */ .bookmark-item > .menu-iconic-left > .menu-iconic-icon { width: 16px; height: 16px; } #bookmarksToolbarFolderMenu, #BMB_bookmarksToolbar, #panelMenu_bookmarksToolbar { list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); } #menu_unsortedBookmarks, #BMB_unsortedBookmarks, #panelMenu_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"); } } %include ../shared/bookmarked-notification.inc.css %include ../shared/toolbarbuttons.inc.css %include ../shared/toolbarbutton-icons.inc.css %include ../shared/menupanel.inc.css /* Override OSX-specific toolkit findbar button styles */ .findbar-button { background: none; box-shadow: none; border: none; } /* On Mac, native buttons keep their full opacity when they become disabled * and only the glyph or text on top of them becomes less opaque. */ :root:not([customizing]) #back-button[disabled="true"] { opacity: 1 !important; /* Disabled toolbar buttons get an opacity of 0.4 which multiplies * their fill-opacity of 0.7. calc() doesn't work here - we'd need * to multiply two unitless numbers and that's invalid in CSS, so * we need to hard code the value for now. */ fill-opacity: 0.28; } /* Inactive elements are faded out on OSX */ .toolbarbutton-1:not(:hover):-moz-window-inactive, #main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] { opacity: 0.5; } /* ----- FULLSCREEN WINDOW CONTROLS ----- */ #minimize-button, #close-button, #fullscreen-button ~ #window-controls > #restore-button { display: none; } /* ::::: nav-bar-inner ::::: */ %include ../shared/urlbar-searchbar.inc.css #urlbar, .searchbar-textbox { font-size: 1.25em; } /* Ensure diacritics and other edge-of-font-box glyphs do not get clipped, * even in non-Latin scripts. */ html|input.urlbar-input { line-height: 1.745em; } #urlbar[focused="true"], .searchbar-textbox[focused="true"] { border-color: -moz-mac-focusring; box-shadow: var(--focus-ring-box-shadow); } %include ../shared/identity-block/identity-block.inc.css #identity-box:not(:active):-moz-focusring { box-shadow: var(--focus-ring-box-shadow); border-inline-end-style: none; padding-inline-end: 5px; } /* ::::: URL Bar Zoom Reset Button ::::: */ @keyframes urlbar-zoom-reset-pulse { 0% { transform: scale(0); } 75% { transform: scale(1.5); } 100% { transform: scale(1.0); } } #urlbar-search-footer { border-top: 1px solid var(--panel-separator-color); background-color: var(--arrowpanel-dimmed); } #urlbar-search-settings { -moz-appearance: none; -moz-user-focus: ignore; color: GrayText; margin: 0; padding: 8px 20px; } #urlbar-search-settings:hover { background-color: var(--arrowpanel-dimmed); } #urlbar-search-settings:hover:active { background-color: var(--arrowpanel-dimmed-further); } #search-container { min-width: calc(54px + 11ch); } #wrapper-urlbar-container[place="palette"] { max-width: 20em; } .urlbar-display { margin-top: 0; margin-bottom: 0; color: GrayText; } %include ../shared/urlbarSearchSuggestionsNotification.inc.css /* ----- AUTOCOMPLETE ----- */ %include ../shared/autocomplete.inc.css %include ../shared/urlbar-autocomplete.inc.css /* Give an extra margin top to align the top of the awesomebar with the * bottom of the nav bar, OSX calculates the panel position with an missing * 1px - https://bugzilla.mozilla.org/show_bug.cgi?id=1406353 */ #PopupAutoCompleteRichResult { margin-top: 1px; } #PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] { border-top: 1px solid #C7C7C7; } .ac-title { font-size: 14px; } .ac-separator, .ac-url, .ac-action, .ac-tags { font-size: 12px; } html|span.ac-tag { background-color: hsl(216, 0%, 88%); color: hsl(0, 0%, 0%); border-radius: 2px; border: 1px solid transparent; padding: 0 1px; } .ac-separator:not([selected=true]) { color: hsl(0, 0%, 50%); } .ac-url:not([selected=true]) { color: hsl(210, 77%, 47%); } .ac-action:not([selected=true]) { color: hsl(178, 100%, 28%); } .ac-tags-text[selected] > html|span.ac-tag { background-color: hsl(0, 0%, 100%); color: hsl(210, 80%, 40%); } html|span.ac-emphasize-text-title, html|span.ac-emphasize-text-tag, html|span.ac-emphasize-text-url { font-weight: 600; } .ac-type-icon[type=bookmark] { list-style-image: url("chrome://browser/skin/bookmark.svg"); -moz-context-properties: fill; fill: #b2b2b2; } .ac-type-icon[type=bookmark][selected][current] { fill: white; } .ac-type-icon[type=keyword], .ac-site-icon[type=searchengine] { list-style-image: url(chrome://browser/skin/search-glass.svg); -moz-context-properties: fill; fill: GrayText; } .ac-type-icon[type=keyword][selected], .ac-site-icon[type=searchengine][selected] { fill: highlighttext; } .ac-type-icon[type=switchtab], .ac-type-icon[type=remotetab] { list-style-image: url("chrome://browser/skin/urlbar-tab.svg"); -moz-context-properties: fill; fill: #b2b2b2; } .ac-type-icon[type=switchtab][selected], .ac-type-icon[type=remotetab][selected] { fill: white; } .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { color: GrayText; } .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; } #BMB_bookmarksPopup[side="top"], #BMB_bookmarksPopup[side="bottom"] { margin-left: -26px; margin-right: -26px; } #BMB_bookmarksPopup[side="left"], #BMB_bookmarksPopup[side="right"] { margin-top: -26px; margin-bottom: -26px; } /* BOOKMARKING PANEL */ #editBookmarkPanelStarIcon { list-style-image: url("chrome://browser/skin/places/starred48.png"); width: 48px; height: 48px; } @media (min-resolution: 2dppx) { #editBookmarkPanelStarIcon { list-style-image: url("chrome://browser/skin/places/starred48@2x.png"); -moz-image-region: rect(0px 96px 96px 0px); } } #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: var(--focus-ring-box-shadow); } /**** 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 { box-shadow: var(--focus-ring-box-shadow); } .editBookmarkPanelBottomButton[default="true"] { background-color: #666; } #editBookmarkPanelHeader { margin-bottom: 6px; } .editBookmarkPanelBottomButton:last-child { margin-inline-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; border-inline-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 { box-shadow: var(--focus-ring-box-shadow); } #editBMPanel_newFolderButton .button-text { display: none; } #editBMPanel_folderMenuList { @hudButton@ background-clip: padding-box; margin: 0; min-height: 22px; padding-top: 2px; padding-bottom: 1px; padding-inline-start: 8px; padding-inline-end: 4px; } #editBMPanel_folderMenuList:-moz-focusring { box-shadow: var(--focus-ring-box-shadow); } #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; padding-inline-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: var(--focus-ring-box-shadow); } #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; margin-inline-start: 4px; min-width: 27px; min-height: 22px; } #editBookmarkPanel .expander-up:-moz-focusring, #editBookmarkPanel .expander-down:-moz-focusring { box-shadow: var(--focus-ring-box-shadow); } #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 > .textbox-input-box > html|*.textbox-input::placeholder { opacity: 1.0; color: #bbb; } .editBMPanel_rowLabel { text-align: end; } /* History Swipe Animation */ #historySwipeAnimationCurrentPage, #historySwipeAnimationNextPage { box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6); } #historySwipeAnimationContainer { background: url("chrome://browser/skin/subtle-pattern.png") #B3B9C1; } /* ----- SIDEBAR ELEMENTS ----- */ %include ../shared/sidebar.inc.css #sidebar-box { -moz-appearance: -moz-mac-source-list; -moz-font-smoothing-background-color: -moz-mac-source-list; /* Default font size is 11px on mac, so this is 12px */ font-size: 1.0909rem; } #sidebar-header { border-bottom: 1px solid hsla(240, 5%, 5%, .1); background-color: transparent; } .sidebar-splitter { border-color: hsla(240, 5%, 5%, .1); } /* ----- CONTENT ----- */ .browserContainer > findbar { background: @scopeBarBackground@; border-top: @scopeBarSeparatorBorder@; color: -moz-DialogText; text-shadow: none; } .openintabs-menuitem { list-style-image: none; } /* ::::: tabbrowser ::::: */ .tabbrowser-tabbox { margin: 0; } %include ../shared/tabs.inc.css .tab-label { margin-top: 1px; margin-bottom: 0; } .tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) { opacity: .9; } /* * Force the overlay to create a new stacking context so it always appears on * top of the icon. */ .tab-icon-overlay { opacity: 0.9999; } .tab-label-container:not([selected="true"]) { opacity: .7; } .tabbrowser-tab { font: message-box; border: none; } .tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) { /* overriding tabbox.css */ color: hsl(240, 5%, 5%); } .tabbrowser-tab[visuallyselected=true] { /* overriding tabbox.css */ text-shadow: inherit; } .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label-container:not([pinned]), .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-icon-image[pinned], .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-throbber[pinned] { box-shadow: var(--focus-ring-box-shadow); } #TabsToolbar { -moz-appearance: none; padding-top: var(--space-above-tabbar); } :root:not([customizing]):not([tabsintitlebar]):not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) { -moz-appearance: toolbar; } #TabsToolbar:not(:-moz-lwtheme) { color: #333; text-shadow: @loweredShadow@; } :root:-moz-any([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme) { -moz-appearance: -moz-mac-vibrancy-dark; -moz-font-smoothing-background-color: -moz-mac-vibrancy-dark; background-color: #232323; color: hsl(240, 9%, 98%); text-shadow: none; } .tabbrowser-tab[visuallyselected=true] { -moz-font-smoothing-background-color: var(--toolbar-bgcolor); } #tabbrowser-tabs { -moz-box-align: stretch; } /** * Tab Drag and Drop */ .tab-drop-indicator-box { -moz-box-align: center; } .tab-drop-indicator { list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); margin-top: -2px; z-index: 3; } @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 { margin-inline-end: 0px !important; } .tab-close-button { border: none !important; background: none; cursor: default; } /* 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; margin-inline-end: -4em; background-color: Highlight; } %include ../shared/notification-icons.inc.css .notification-anchor-icon:-moz-focusring { box-shadow: var(--focus-ring-box-shadow); } /* Translation */ %include ../shared/translation/infobar.inc.css notification[value="translation"] { color: #484848; background-color: #EFEFEF; background-image: none; border-top: none; border-bottom: 1px solid #c4c4c4; padding-top: 1px; padding-bottom: 1px; min-height: 35px; } .translate-infobar-element { margin-top: 0 !important; margin-bottom: 0 !important; } button.translate-infobar-element { background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)) repeat scroll 0% 0% padding-box transparent; color: #333333; border: 1px solid; border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2); box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5) inset, 0px 1px 0px rgba(255, 255, 255, 0.2); transition-property: background-color, border-color, box-shadow; transition-duration: 150ms; min-height: 22px; min-width: 0; padding: 0 0.8em !important; margin-left: 0.25em; margin-right: 0.25em; } button.translate-infobar-element .button-text { margin-left: 0 !important; margin-right: 0 !important; } label.translate-infobar-element { padding-top: 2px; } button.translate-infobar-element:hover { background: #f0f0f0; box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1); } button.translate-infobar-element:active { box-shadow: 0 1px 1px hsla(211,79%,6%,.1) inset, 0 0 1px hsla(211,79%,6%,.2) inset; transition-duration: 0ms; } button.translate-infobar-element[anonid="translate"] { color: #ffffff; background: linear-gradient(#4cb1ff, #1793e5); box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03); border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2); padding: 0 1.1em !important;; } button.translate-infobar-element[anonid="translate"]:hover { background-image: linear-gradient(#66bdff, #0d9eff); box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03), 0 0 4px hsla(206,100%,20%,.2); } button.translate-infobar-element.options-menu-button { padding-inline-start: 0.5em !important; padding-inline-end: 0em !important; } button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker { display: -moz-box; list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png"); padding: 0 !important; margin: 0 !important; } @media (min-resolution: 2dppx) { button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker { list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png"); } button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker > .dropmarker-icon { width: 8px; } } menulist.translate-infobar-element { text-shadow: 0 1px 1px #FEFFFE; border: 1px solid; border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2); box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF; background-color: #F1F1F1; background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1)); color: #333333; padding: 0; min-height: 22px !important; } menulist.translate-infobar-element > .menulist-label-box { padding-top: 1px; padding-inline-start: 0.3em; margin-top: 0; margin-bottom: 0; } menulist.translate-infobar-element:hover { background: #f0f0f0; box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1); } menulist.translate-infobar-element[open="true"] { background-image: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.6)); } menulist.translate-infobar-element > .menulist-dropmarker { display: -moz-box; list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png"); } @media (min-resolution: 2dppx) { menulist.translate-infobar-element > .menulist-dropmarker { list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png"); } menulist.translate-infobar-element > .menulist-dropmarker > .dropmarker-icon { width: 8px; } } .popup-notification-body[popupid="addon-progress"], .popup-notification-body[popupid="addon-install-confirmation"] { width: 28em; max-width: 28em; } .addon-install-confirmation-name { font-weight: bold; } html|*.addon-webext-perm-list { margin-block-end: 0; padding-inline-start: 10px; } .addon-webext-perm-text { margin-inline-start: 0; } .popup-notification-description[popupid="addon-webext-permissions"], .popup-notification-description[popupid="addon-installed"] { display: none; } .addon-webext-perm-notification-content, .addon-installed-notification-content { margin-top: 0; } #addon-webext-perm-header { /* Align the text more closely with the icon by clearing some top line height. */ margin-top: -1px; margin-inline-start: 0; } #addon-installed-notification-header { /* Align the text more closely with the icon by clearing some top line height. */ margin-top: -1px; } .addon-webext-name { display: inline; font-weight: bold; margin: 0; } .addon-addon-icon, .addon-toolbar-icon { width: 14px; height: 14px; vertical-align: bottom; margin-bottom: 1px; -moz-context-properties: fill; fill: currentColor; } .addon-addon-icon { list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.svg"); } .addon-toolbar-icon { list-style-image: url("chrome://browser/skin/menu.svg"); } /* Status panel */ .statuspanel-label { margin: 0; padding: 2px 4px; background-color: #f9f9fa; border: 1px none #ddd; border-top-style: solid; color: #444; 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; } %include ../shared/fullscreen/warning.inc.css %include ../shared/ctrlTab.inc.css %include ../shared/plugin-doorhanger.inc.css /* On mac, the popup notification contents are indented by default and so the default closebutton margins from notification.css require adjustment */ .click-to-play-plugins-notification-description-box > .popup-notification-closebutton { margin-inline-end: -6px; margin-top: -7px; } .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { color: hsl(210,11%,16%); } /* 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; } /* Customization mode */ %include ../shared/customizableui/customizeMode.inc.css /* End customization mode */ /* Private browsing and accessibility indicators */ :root[accessibilitymode][tabsintitlebar]:not([inFullscreen]) > #tab-view-deck > #browser-panel > #navigator-toolbox > #TabsToolbar > .accessibility-indicator, :root[privatebrowsingmode=temporary][tabsintitlebar]:not([inFullscreen]) > #tab-view-deck > #browser-panel > #navigator-toolbox > #TabsToolbar > .private-browsing-indicator, :root[accessibilitymode]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .accessibility-indicator, :root[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator { display: none; } #TabsToolbar > .private-browsing-indicator:-moz-locale-dir(rtl), #TabsToolbar > .accessibility-indicator:-moz-locale-dir(rtl) { -moz-box-ordinal-group: 0; } /* End private browsing and accessibility indicators */ %include ../shared/UITour.inc.css #UITourTooltipDescription { font-size: 1.18rem; line-height: 2rem; } #UITourTooltipClose { margin-inline-end: -10px; margin-top: -14px; } %include ../shared/contextmenu.inc.css #context-navigation > .menuitem-iconic { padding-left: 0; padding-right: 0; } .browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent { padding: 0; overflow: hidden; } .cui-widget-panelview[id^=PanelUI-webext-] { border-radius: 3.5px; } .webextension-popup-browser, .webextension-popup-stack { border-radius: inherit; }