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/. */
16 flex-direction: column
;
17 justify-content: flex-start
;
22 display: none
!important
;
26 margin: var
(--space-large
);
30 margin-bottom: var
(--space-small
);
36 flex-direction: column
;
39 margin-block: var
(--space-xxsmall
);
46 #more-settings-options > & {
47 /* The margin-block of the checkboxes/radiobuttons
48 already provide the needed vertical spacing. */
55 margin: 0 var
(--space-small
);
61 justify-content: space-between
;
64 padding: var
(--space-small
) var
(--space-large
);
74 padding-block: var
(--space-xsmall
);
86 flex-direction: column
;
87 justify-content: flex-start
;
104 &:not
([size
], [multiple
])[iconic
] {
105 padding-inline-start: calc
(8px + 16px + 4px); /* spacing before image + image width + spacing after image */
106 background-size: auto
12px, 16px;
107 background-position: right
19px center
, left
8px center
;
110 background-position-x: left
19px, right
8px;
116 background-image: url
("chrome://global/skin/icons/arrow-down-12.svg"), url
("chrome://global/skin/icons/print.svg");
119 background-image: url
("chrome://global/skin/icons/arrow-down-12.svg"), url
("chrome://global/skin/icons/page-portrait.svg");
123 input:is
([type
="number"], [type
="text"]) {
124 padding: var
(--space-xxsmall
);
125 padding-inline-start: var
(--space-small
);
128 input
[type
="number"] {
129 box-sizing: content-box
;
132 padding-inline-start: var
(--space-small
);
138 input:is
([type
="checkbox"], [type
="radio"]):disabled
+ label
,
139 input
[type
="radio"]:disabled
+ span
> label
{
145 margin-top: var
(--space-xsmall
);
150 margin-inline-start: var
(--space-xsmall
);
153 /* Let clicks on the disabled input select the radio button */
154 pointer-events: none
;
158 .toggle-group-label {
159 padding: var
(--space-xsmall
) var
(--space-small
);
161 #landscape + &::before
{
162 content: url
("chrome://global/skin/icons/page-landscape.svg");
165 #portrait + &::before
{
166 content: url
("chrome://global/skin/icons/page-portrait.svg");
178 background-image: url
("chrome://global/skin/icons/arrow-down-12.svg");
179 background-repeat: no-repeat
;
180 background-position: center
;
181 -moz-context-properties: fill
;
192 &[open
] > summary
> .twisty
{
193 background-image: url
("chrome://global/skin/icons/arrow-up-12.svg");
198 .horizontal-margins {
200 gap: var
(--space-large
);
201 margin-block: var
(--space-xsmall
);
204 width: calc
(50% - (2 * var
(--space-xsmall
))); /* Half minus the gap */
206 > .margin-descriptor
{
209 margin-top: var
(--space-xxsmall
);
214 box-sizing: border-box
;
219 .horizontal-margins:dir(rtl) {
220 /* Swap between the left and right margin inputs to match their position
221 * in the form to their physical location they represent. */
222 flex-direction: row-reverse
;
227 justify-content: space-between
;
229 gap: var
(--space-xsmall
);
235 background: url
(chrome://global
/skin
/icons
/open-in-new
.svg
) no-repeat center
;
236 background-size: 12px;
237 -moz-context-properties: fill
;
244 transform: scaleX
(-1);
253 background-image: url
("chrome://global/skin/icons/loading.svg");
254 background-repeat: no-repeat
;
255 background-size: var
(--size-item-small
);
256 background-position: left center
;
257 -moz-context-properties: fill
;
258 fill: var
(--color-accent-primary
);
259 padding-inline-start: calc
(var
(--size-item-small
) + var
(--space-xsmall
));
262 background-position-x: right
;
267 color: var
(--text-color-error
);
268 margin-top: var
(--space-xsmall
);