Bug 1855385 [wpt PR 42195] - [text-spacing-trim] Remove redundant copying of variants...
[gecko.git] / browser / themes / shared / pageInfo.css
blobdffa01f7572c0dcff258b4b1275e879fb2a26cd8
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/global.css");
6 @namespace html url("http://www.w3.org/1999/xhtml");
8 @media (-moz-platform: macos) {
9 #topBar {
10 appearance: auto;
11 -moz-default-appearance: toolbar;
12 -moz-window-dragging: drag;
13 align-items: center;
14 justify-content: center;
18 @media not (-moz-platform: macos) {
19 #topBar {
20 border-bottom: 1px solid ThreeDShadow;
21 padding-inline-start: 10px;
22 background-color: Field;
23 color: FieldText;
27 /* View buttons */
28 @media not (-moz-platform: macos) {
29 #viewGroup > radio {
30 appearance: none;
31 list-style-image: none;
32 min-width: 4.5em;
33 margin: 0;
34 padding: 3px;
37 #viewGroup > radio > .radio-label-box {
38 margin: 0;
39 padding: 0 6px;
42 #viewGroup:focus-visible > radio[focused="true"] > .radio-label-box {
43 outline: var(--default-focusring);
46 #viewGroup .radio-icon {
47 background-image: url("chrome://browser/skin/pageInfo.png");
48 width: 32px;
49 height: 32px;
50 /* Avoid anti-aliasing seams in HiDPI */
51 image-rendering: crisp-edges;
54 #generalTab .radio-icon {
55 background-position-x: 0;
58 #mediaTab .radio-icon {
59 background-position-x: -32px;
62 #permTab .radio-icon {
63 background-position-x: -96px;
66 #securityTab .radio-icon {
67 background-position-x: -128px;
71 @media (-moz-platform: linux) {
72 #viewGroup > radio {
73 color: FieldText;
76 #viewGroup > radio[selected="true"] {
77 background-color: SelectedItem;
78 color: SelectedItemText;
82 @media (-moz-platform: windows) {
83 #viewGroup {
84 padding-inline-start: 10px;
87 #viewGroup > radio:hover {
88 background-color: #E0E8F6;
89 color: black;
92 #viewGroup > radio[selected="true"] {
93 background-color: #C1D2EE;
94 color: black;
97 #viewGroup > radio:is(:hover, [selected="true"]) .radio-icon {
98 background-position-y: -32px;
102 @media (-moz-platform: macos) {
103 #viewGroup {
104 margin: 4px 0 9px;
107 #viewGroup > radio,
108 #viewGroup > toolbarbutton {
109 flex-direction: column;
110 align-items: center;
111 appearance: auto;
112 -moz-default-appearance: toolbarbutton;
113 font: menu;
114 margin: 0;
115 padding: 0 6px;
116 height: 22px;
119 @media (-moz-mac-big-sur-theme: 0) {
120 #viewGroup > radio[selected=true],
121 #viewGroup > toolbarbutton[checked=true] {
122 color: #FFF !important;
123 text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
128 /* Misc */
129 tree {
130 margin: .5em;
133 html|input {
134 background: transparent;
135 border: none;
136 padding: 0;
139 html|input.header {
140 margin-inline-start: 0;
143 #imagecontainerbox {
144 margin: .5em;
145 background: white;
146 overflow: auto;
147 border: 1px solid ThreeDLightShadow;
150 html|input:disabled {
151 font-style: italic;
154 @media (-moz-platform: macos) {
155 .help-button {
156 appearance: auto;
157 -moz-default-appearance: -moz-mac-help-button;
161 /* General Tab */
163 @media (-moz-platform: linux) {
164 #generalPanel > #titletext {
165 margin-inline-start: 5px;
169 #securityBox description {
170 margin-inline-start: 10px;
173 #general-security-identity {
174 white-space: pre-wrap;
175 line-height: 2em;
178 /* Media Tab */
179 #imagetree {
180 min-height: 10em;
181 margin-block: 2px 0;
184 #mediaSplitter {
185 background: none;
186 appearance: none;
187 border-style: none;
190 @media not (-moz-platform: macos) {
191 #mediaSplitter {
192 height: .8em;
196 #mediaTable {
197 margin-bottom: 2em;
200 #mediaLabelColumn {
201 min-width: 10em;
204 treechildren::-moz-tree-cell-text(broken) {
205 font-style: italic;
206 color: graytext;
209 /* Permissions Tab */
211 #permList {
212 appearance: auto;
213 -moz-default-appearance: listbox;
214 margin: .5em;
215 overflow: auto;
216 color: FieldText;
219 .permission {
220 padding: 6px 7px;
221 border-bottom: 1px dotted ThreeDShadow;
224 .permissionLabel {
225 font-weight: bold;
228 .permission:hover {
229 background-color: -moz-dialog;
230 color: -moz-DialogText;
233 /* Security Tab */
235 #securityPanel table {
236 margin-bottom: 1em;