This reverts commitec5fa1d4c0. Revert "Bug 1606785 - Format Firefox CSS files with Prettier r=desktop-theme-reviewers,perftest-reviewers,places-reviewers,translations-reviewers,omc-reviewers,backup-reviewers,browser-installer-reviewers,sparky,dao,pdahiya,nrishel,kpatenio" This reverts commitbaa5d72bbd. Revert "Bug 1606785 - Format browser/themes and toolkit/themes CSS files with Prettier r=desktop-theme-reviewers,pip-reviewers,tabbrowser-reviewers,places-reviewers,dao,mconley" This reverts commit9604b0a8ae. Revert "Bug 1606785 - Format browser/themes/preferences CSS files with Prettier r=settings-reviewers,desktop-theme-reviewers,dao,mconley" This reverts commit686c1cf85f. Revert "Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao" This reverts commita7a4f31251. Revert "Bug 1606785 - Format webcompat CSS files with Prettier r=webcompat-reviewers,denschub" This reverts commit41bc4d5237. Revert "Bug 1606785 - Format search CSS files with Prettier r=search-reviewers,jteow" This reverts commit7bb7f82374. Revert "Bug 1606785 - Format dom CSS files with Prettier r=emilio" This reverts commitc22e910235. Revert "Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro" This reverts commitc08e43fc3d. Revert "Bug 1606785 - Format layout CSS files with Prettier r=layout-reviewers,dholbert" This reverts commit4f2a32d1a4. Revert "Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers" This reverts commitc05f675ddf. Revert "Bug 1606785 - Format recomp CSS files with Prettier r=reusable-components-reviewers,desktop-theme-reviewers,dao,mkennedy" This reverts commitb10c7de8d0. Revert "Bug 1606785 - Format sidebar CSS files with Prettier r=sidebar-reviewers,desktop-theme-reviewers,dao,nsharpley" This reverts commitd32c555e37. Revert "Bug 1606785 - Format shopping CSS files with Prettier r=shopping-reviewers,desktop-theme-reviewers,dao,rking" This reverts commit965887a708. Revert "Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop" This reverts commit8338860f74. Revert "Bug 1606785 - Format genai and ml CSS files with Prettier r=firefox-ai-ml-reviewers,Mardak" This reverts commitd66681f553. Revert "Bug 1606785 - Format firefoxview CSS files with Prettier r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman" This reverts commit530b815cad. Revert "Bug 1606785 - Format aboutlogins, megalist, and form autofill CSS files with Prettier r=credential-management-reviewers,mtigley,desktop-theme-reviewers,dao" This reverts commit813c864381.
234 lines
5.5 KiB
CSS
234 lines
5.5 KiB
CSS
/* 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://browser/skin/browser-shared.css");
|
|
|
|
:root {
|
|
--arrowpanel-field-background: light-dark(rgba(249, 249, 250, .3), rgba(12, 12, 13, .3));
|
|
}
|
|
|
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
@media -moz-pref("browser.theme.native-theme") {
|
|
@media not (prefers-contrast) {
|
|
:root:not([lwtheme]) {
|
|
@media (prefers-color-scheme: light) {
|
|
--urlbar-box-bgcolor: #fafafa;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
--tab-selected-bgcolor: color-mix(in srgb, -moz-dialog 75%, white);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/** Begin titlebar **/
|
|
|
|
.titlebar-button {
|
|
display: none;
|
|
}
|
|
|
|
.titlebar-buttonbox-container {
|
|
align-items: center;
|
|
/* Hide window controls in fullscreen */
|
|
:root[inFullscreen] & {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.titlebar-buttonbox {
|
|
&:-moz-locale-dir(ltr) {
|
|
margin-inline: 12px 0;
|
|
|
|
@media (-moz-mac-rtl) {
|
|
margin-inline: 12px;
|
|
}
|
|
}
|
|
|
|
&:-moz-locale-dir(rtl) {
|
|
margin-inline: 12px;
|
|
|
|
@media (-moz-mac-rtl) {
|
|
margin-inline: 12px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
/** End titlebar **/
|
|
|
|
:root[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
|
}
|
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks {
|
|
min-height: 32px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Workaround for native menubar inheritance */
|
|
.openintabs-menuitem {
|
|
list-style-image: none;
|
|
}
|
|
|
|
/* ----- BOOKMARK MENUS ----- */
|
|
|
|
#bookmarksToolbarFolderMenu,
|
|
#BMB_bookmarksToolbar,
|
|
#panelMenu_bookmarksToolbar {
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg");
|
|
}
|
|
|
|
/* Inactive elements are faded out on OSX */
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive,
|
|
.bookmark-item:not(:hover):-moz-window-inactive,
|
|
:root:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Address bar */
|
|
|
|
@media (prefers-contrast) {
|
|
/* The "increase contrast" preference on macOS draws a 1px black line around
|
|
panels, including the separate search bar. Since the Urlbar is not
|
|
implemented as a panel, it does not get this outline. This outline rule
|
|
resembles the system outline, bringing the Urlbar in line with panels and
|
|
other Mac apps. */
|
|
#urlbar[open] > #urlbar-background {
|
|
outline: 1px solid var(--focus-outline-color)
|
|
}
|
|
}
|
|
|
|
#urlbar,
|
|
#searchbar {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
@media -moz-pref("browser.urlbar.experimental.expandTextOnFocus") {
|
|
#urlbar[breakout-extend] {
|
|
font-size: 1.36em;
|
|
}
|
|
}
|
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
border-top: 1px solid #C7C7C7;
|
|
}
|
|
|
|
/* Bookmarking panel */
|
|
|
|
/* The following elements come from editBookmarkPanel.inc.xhtml. Styling that's
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
|
should be shared by all editBookmarkPanel.inc.xhtml consumers should be in
|
|
editBookmark.css. */
|
|
|
|
/**** folder tree and tag selector ****/
|
|
|
|
#editBMPanel_folderTree,
|
|
#editBMPanel_tagsSelector {
|
|
appearance: none;
|
|
background-color: var(--arrowpanel-field-background);
|
|
color: inherit;
|
|
border-radius: 2px;
|
|
border: 1px solid var(--panel-separator-color);
|
|
margin: 0;
|
|
}
|
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-row(blur,selected),
|
|
#editBMPanel_tagsSelector:not(:focus) > richlistitem[selected] {
|
|
background-color: var(--arrowpanel-dimmed);
|
|
}
|
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-twisty(blur,selected),
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-image(blur,selected),
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-cell-text(blur,selected),
|
|
#editBMPanel_tagsSelector:not(:focus) > richlistitem[selected] {
|
|
color: inherit;
|
|
}
|
|
|
|
#editBMPanel_folderTree {
|
|
border-bottom: none;
|
|
border-end-start-radius: 0;
|
|
border-end-end-radius: 0;
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
margin: 0 !important;
|
|
min-width: 27em;
|
|
position: relative;
|
|
}
|
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
#sidebar-box {
|
|
/* Default font size is 11px on mac, so this is 12px */
|
|
font-size: 1.0909rem;
|
|
}
|
|
|
|
/* ::::: tabbrowser ::::: */
|
|
|
|
.tab-label,
|
|
.tab-group-label {
|
|
margin-block: 1px 0;
|
|
}
|
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected], [multiselected]) {
|
|
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], [multiselected]) {
|
|
opacity: .7;
|
|
}
|
|
|
|
.tabbrowser-tab {
|
|
border: none;
|
|
|
|
/* FIXME: Are these styles really needed nowadays? */
|
|
&:is([visuallyselected], [multiselected]) {
|
|
/* overriding tabbox.css */
|
|
text-shadow: inherit;
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([lwtheme]) & {
|
|
/* overriding tabbox.css */
|
|
color: hsl(240, 5%, 5%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#tabbrowser-tabs {
|
|
/* overriding tabbox.css */
|
|
font: message-box;
|
|
align-items: stretch;
|
|
margin-bottom: 0;
|
|
position: static;
|
|
z-index: auto;
|
|
}
|
|
|
|
/* Bookmark drag and drop styles */
|
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
background: SelectedItem !important;
|
|
color: SelectedItemText !important;
|
|
}
|
|
|
|
#UITourTooltipDescription {
|
|
font-size: 1.18rem;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
#UITourTooltipClose {
|
|
margin-inline-end: -10px;
|
|
margin-top: -14px;
|
|
}
|