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.
353 lines
7.0 KiB
CSS
353 lines
7.0 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/. */
|
|
|
|
/* These styles are intended to mimic XUL trees and the XUL search box. */
|
|
|
|
:root {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
font: message-box;
|
|
background-color: Field;
|
|
color: FieldText;
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
/* The content-container holds the non-scrollable header and the scrollable
|
|
content area.
|
|
*/
|
|
.content-container {
|
|
display: flex;
|
|
flex-flow: column;
|
|
height: 100%;
|
|
}
|
|
|
|
/* The content header is not scrollable */
|
|
.content-header {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
/* The main content area is scrollable and fills the rest of the area */
|
|
.content-scrollable {
|
|
flex: 1 1 auto;
|
|
overflow: auto;
|
|
}
|
|
|
|
.emptyListInfo {
|
|
cursor: default;
|
|
padding: 3em 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
.list,
|
|
.item-tabs-list {
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.item.client {
|
|
opacity: 1;
|
|
max-height: unset;
|
|
display: unset;
|
|
}
|
|
|
|
.item.client.closed .item-tabs-list {
|
|
display: none;
|
|
}
|
|
|
|
.item {
|
|
display: inline-block;
|
|
opacity: 1;
|
|
flex: 1;
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
outline: none;
|
|
}
|
|
|
|
.item.selected > .item-title-container {
|
|
background-color: -moz-cellhighlight;
|
|
color: -moz-cellhighlighttext;
|
|
}
|
|
|
|
.item.selected:focus > .item-title-container {
|
|
background-color: SelectedItem;
|
|
color: SelectedItemText;
|
|
}
|
|
|
|
.item.client .item-twisty-container {
|
|
min-width: 12px;
|
|
height: 12px;
|
|
background-image: url("chrome://global/skin/icons/arrow-down-12.svg");
|
|
-moz-context-properties: fill, fill-opacity;
|
|
fill: currentColor;
|
|
fill-opacity: 1;
|
|
}
|
|
|
|
.item.client.closed .item-twisty-container {
|
|
background-image: url("chrome://global/skin/icons/arrow-right-12.svg");
|
|
}
|
|
|
|
.item.client.closed .item-twisty-container:dir(rtl) {
|
|
background-image: url("chrome://global/skin/icons/arrow-left-12.svg");
|
|
}
|
|
|
|
.client .item.tab > .item-title-container {
|
|
padding-inline-start: 35px;
|
|
}
|
|
|
|
.item.tab > .item-title-container {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
.item.client[clientType] > .item-title-container > .item-icon-container {
|
|
-moz-context-properties: fill;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.item.client[clientType=phone] > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://browser/skin/device-phone.svg");
|
|
}
|
|
|
|
.item.client[clientType=tablet] > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://browser/skin/device-tablet.svg");
|
|
}
|
|
|
|
.item.client[clientType=desktop] > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://browser/skin/device-desktop.svg");
|
|
}
|
|
|
|
.item.client[clientType=tv] > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://browser/skin/device-tv.svg");
|
|
}
|
|
|
|
.item.client[clientType=vr] > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://browser/skin/device-vr.svg");
|
|
}
|
|
|
|
.item.tab > .item-title-container > .item-icon-container {
|
|
background-image: url("chrome://global/skin/icons/defaultFavicon.svg");
|
|
-moz-context-properties: fill;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.item-icon-container {
|
|
min-width: 16px;
|
|
max-width: 16px;
|
|
min-height: 16px;
|
|
max-height: 16px;
|
|
margin-inline: 5px;
|
|
background-size: 16px 16px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.item-title-container {
|
|
display: flex;
|
|
flex-flow: row;
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
align-items: center;
|
|
padding: 4px;
|
|
}
|
|
|
|
.item-title {
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin: 1px 0 0;
|
|
margin-inline-end: 6px;
|
|
line-height: 1.3;
|
|
cursor: default;
|
|
}
|
|
|
|
.item[hidden] {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
transition: opacity 150ms ease-in-out, max-height 150ms ease-in-out 150ms;
|
|
}
|
|
|
|
.item.empty .item-title-container {
|
|
color: #aeaeae;
|
|
}
|
|
|
|
.client .item.empty > .item-title-container {
|
|
padding-inline-start: 35px;
|
|
}
|
|
|
|
.sync-state > p {
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.text-link {
|
|
color: rgb(0, 149, 221);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.text-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.text-link,
|
|
.text-link:focus {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.deck .sync-state {
|
|
display: none;
|
|
opacity: 0;
|
|
transition: opacity 1.5s;
|
|
border-top: 1px solid #bdbdbd;
|
|
}
|
|
|
|
.deck .sync-state.tabs-container {
|
|
border-top: 0;
|
|
}
|
|
|
|
.deck .sync-state.selected {
|
|
display: unset;
|
|
opacity: 100;
|
|
}
|
|
|
|
.deck .syncIllustration,
|
|
.deck .syncIllustrationIssue {
|
|
height: 174px;
|
|
margin: 38px 8px 15px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
.deck .syncIllustration {
|
|
background-image: url(chrome://browser/skin/fxa/sync-illustration.svg);
|
|
}
|
|
|
|
.deck .syncIllustrationIssue {
|
|
background-image: url(chrome://browser/skin/fxa/sync-illustration-issue.svg);
|
|
}
|
|
|
|
.deck .instructions {
|
|
text-align: center;
|
|
color: var(--text-color-deemphasized);
|
|
padding: 0 11px;
|
|
max-width: 15em;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.deck .button {
|
|
display: block;
|
|
background-color: #0060df;
|
|
color: white;
|
|
border: 0;
|
|
border-radius: 2px;
|
|
margin: 15px auto;
|
|
padding: 8px;
|
|
text-shadow: none;
|
|
width: calc(100% - 22px);
|
|
max-width: 200px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.deck .button:hover {
|
|
background-color: #003eaa;
|
|
}
|
|
|
|
.deck .button:hover:active {
|
|
background-color: #002275;
|
|
}
|
|
|
|
.sidebar-search-container {
|
|
display: flex;
|
|
padding: 4px;
|
|
}
|
|
|
|
.sidebar-search-container:not(.selected) {
|
|
display: none;
|
|
}
|
|
|
|
.tabsFilter {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* Themed sidebars */
|
|
|
|
:root[lwt-sidebar] {
|
|
background-color: var(--lwt-sidebar-background-color);
|
|
color: var(--lwt-sidebar-text-color);
|
|
scrollbar-color:
|
|
light-dark(
|
|
rgba(204,204,204,.5),
|
|
rgba(249,249,250,.4)
|
|
)
|
|
light-dark(
|
|
rgba(230,230,235,.5),
|
|
rgba(20,20,25,.3)
|
|
);
|
|
color-scheme: light;
|
|
}
|
|
|
|
:root[lwt-sidebar="dark"] {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
:root[lwt-sidebar] .item.selected > .item-title-container {
|
|
background-color: light-dark(hsla(0,0%,80%,.3), rgba(249,249,250,.1));
|
|
color: inherit;
|
|
}
|
|
|
|
:root[lwt-sidebar-highlight] .item.selected:focus > .item-title-container {
|
|
background-color: var(--lwt-sidebar-highlight-background-color);
|
|
color: var(--lwt-sidebar-highlight-text-color);
|
|
}
|
|
|
|
/* Platform specific styling */
|
|
@media (-moz-platform: macos) {
|
|
:root {
|
|
/* let the -moz-appearance of the sidebar shine through */
|
|
background-color: transparent;
|
|
}
|
|
|
|
.item-title-container {
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
height: 24px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.item-title {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
@media (-moz-platform: windows) {
|
|
.client .item.tab > .item-title-container {
|
|
padding-inline-start: 26px;
|
|
}
|
|
|
|
.item.tab > .item-title-container {
|
|
padding-inline-start: 14px;
|
|
}
|
|
|
|
.item-icon-container {
|
|
min-width: 16px;
|
|
max-width: 16px;
|
|
min-height: 16px;
|
|
max-height: 16px;
|
|
margin-inline-end: 5px;
|
|
background-size: 16px 16px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
}
|