Files
tubestation/browser/themes/shared/pageInfo.css
agoloman 63c83deb26 Revert "Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio" for causing multiple failures.
This reverts commit ec5fa1d4c0.

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 commit baa5d72bbd.

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 commit 9604b0a8ae.

Revert "Bug 1606785 - Format browser/themes/preferences CSS files with Prettier r=settings-reviewers,desktop-theme-reviewers,dao,mconley"

This reverts commit 686c1cf85f.

Revert "Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao"

This reverts commit a7a4f31251.

Revert "Bug 1606785 - Format webcompat CSS files with Prettier r=webcompat-reviewers,denschub"

This reverts commit 41bc4d5237.

Revert "Bug 1606785 - Format search CSS files with Prettier r=search-reviewers,jteow"

This reverts commit 7bb7f82374.

Revert "Bug 1606785 - Format dom CSS files with Prettier r=emilio"

This reverts commit c22e910235.

Revert "Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro"

This reverts commit c08e43fc3d.

Revert "Bug 1606785 - Format layout CSS files with Prettier r=layout-reviewers,dholbert"

This reverts commit 4f2a32d1a4.

Revert "Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers"

This reverts commit c05f675ddf.

Revert "Bug 1606785 - Format recomp CSS files with Prettier r=reusable-components-reviewers,desktop-theme-reviewers,dao,mkennedy"

This reverts commit b10c7de8d0.

Revert "Bug 1606785 - Format sidebar CSS files with Prettier r=sidebar-reviewers,desktop-theme-reviewers,dao,nsharpley"

This reverts commit d32c555e37.

Revert "Bug 1606785 - Format shopping CSS files with Prettier r=shopping-reviewers,desktop-theme-reviewers,dao,rking"

This reverts commit 965887a708.

Revert "Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop"

This reverts commit 8338860f74.

Revert "Bug 1606785 - Format genai and ml CSS files with Prettier r=firefox-ai-ml-reviewers,Mardak"

This reverts commit d66681f553.

Revert "Bug 1606785 - Format firefoxview CSS files with Prettier r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman"

This reverts commit 530b815cad.

Revert "Bug 1606785 - Format aboutlogins, megalist, and form autofill CSS files with Prettier r=credential-management-reviewers,mtigley,desktop-theme-reviewers,dao"

This reverts commit 813c864381.
2025-05-21 04:49:28 +00:00

249 lines
4.3 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://global/skin/global.css");
@namespace html url("http://www.w3.org/1999/xhtml");
@media (-moz-platform: macos) {
#topBar {
position: relative;
-moz-window-dragging: drag;
padding-top: env(-moz-mac-titlebar-height);
border-bottom: 1px solid ThreeDShadow;
align-items: center;
justify-content: center;
&::after {
content: "";
position: absolute;
inset: 0;
appearance: auto;
-moz-default-appearance: -moz-window-titlebar;
z-index: -1;
}
}
}
@media not (-moz-platform: macos) {
#topBar {
border-bottom: 1px solid ThreeDShadow;
padding-inline-start: 10px;
background-color: Field;
color: FieldText;
}
}
/* View buttons */
@media not (-moz-platform: macos) {
#viewGroup > radio {
appearance: none;
list-style-image: none;
min-width: 4.5em;
margin: 0;
padding: 3px;
}
#viewGroup > radio > .radio-label-box {
margin: 0;
padding: 0 6px;
}
#viewGroup:focus-visible > radio[focused="true"] > .radio-label-box {
outline: var(--default-focusring);
}
#viewGroup .radio-icon {
background-image: url("chrome://browser/skin/pageInfo.png");
width: 32px;
height: 32px;
/* Avoid anti-aliasing seams in HiDPI */
image-rendering: crisp-edges;
}
#generalTab .radio-icon {
background-position-x: 0;
}
#mediaTab .radio-icon {
background-position-x: -32px;
}
#permTab .radio-icon {
background-position-x: -96px;
}
#securityTab .radio-icon {
background-position-x: -128px;
}
}
@media (-moz-platform: linux) {
#viewGroup > radio {
color: FieldText;
}
#viewGroup > radio[selected="true"] {
background-color: SelectedItem;
color: SelectedItemText;
}
}
@media (-moz-platform: windows) {
#viewGroup {
padding-inline-start: 10px;
}
#viewGroup > radio:hover {
background-color: #E0E8F6;
color: black;
}
#viewGroup > radio[selected="true"] {
background-color: #C1D2EE;
color: black;
}
#viewGroup > radio:is(:hover, [selected="true"]) .radio-icon {
background-position-y: -32px;
}
}
@media (-moz-platform: macos) {
#viewGroup {
margin: 4px 0 9px;
}
#viewGroup > radio,
#viewGroup > toolbarbutton {
flex-direction: column;
align-items: center;
appearance: auto;
-moz-default-appearance: toolbarbutton;
font: menu;
margin: 0;
padding: 0 6px;
height: 22px;
}
@media (-moz-mac-big-sur-theme: 0) {
#viewGroup > radio[selected=true],
#viewGroup > toolbarbutton[checked=true] {
color: #FFF !important;
text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
}
}
}
/* Misc */
tree {
margin: .5em;
}
html|input {
background: transparent;
border: none;
padding: 0;
}
html|input.header {
margin-inline-start: 0;
}
#imagecontainerbox {
margin: .5em;
background: white;
overflow: auto;
border: 1px solid ThreeDLightShadow;
}
html|input:disabled {
font-style: italic;
}
@media (-moz-platform: macos) {
.help-button {
appearance: auto;
-moz-default-appearance: -moz-mac-help-button;
}
}
/* General Tab */
@media (-moz-platform: linux) {
#generalPanel > #titletext {
margin-inline-start: 5px;
}
}
#securityBox description {
margin-inline-start: 10px;
}
#general-security-identity {
white-space: pre-wrap;
line-height: 2em;
}
/* Media Tab */
#imagetree {
min-height: 10em;
margin-block: 2px 0;
}
#mediaSplitter {
background: none;
appearance: none;
border-style: none;
}
@media not (-moz-platform: macos) {
#mediaSplitter {
height: .8em;
}
}
#mediaTable {
margin-bottom: 2em;
}
#mediaLabelColumn {
min-width: 10em;
}
treechildren::-moz-tree-cell-text(broken) {
font-style: italic;
color: graytext;
}
/* Permissions Tab */
#permList {
appearance: auto;
-moz-default-appearance: listbox;
margin: .5em;
overflow: auto;
color: FieldText;
}
.permission {
padding: 6px 7px;
border-bottom: 1px dotted ThreeDShadow;
}
.permissionLabel {
font-weight: bold;
}
.permission:hover {
background-color: -moz-dialog;
color: -moz-DialogText;
}
/* Security Tab */
#securityPanel table {
margin-bottom: 1em;
}