Commit | Line | Data |
---|---|---|
66b04a00 RK |
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 file, | |
3 | - You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | /* === BEGIN shared/incontentprefs/preferences.inc.css === */ | |
6 | ||
7 | @namespace html "http://www.w3.org/1999/xhtml"; | |
8 | ||
9 | .main-content { | |
10 | padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */ | |
11 | overflow: auto; | |
12 | ||
13 | /* This actually results in two black boxes extending to the right and bottom, | |
14 | * leaving the LCARS-gray background only in a top stripe and | |
15 | * a bit larger area on the top left. | |
16 | * The prefpane will overlay that with the rounded shape we want. */ | |
17 | background-color: #A09090; | |
18 | background-position: 3em 1.5em, 0px 5em; | |
19 | background-image: linear-gradient(0deg, #000, #000), linear-gradient(0deg, #000, #000); | |
20 | background-repeat: no-repeat; | |
21 | } | |
22 | ||
23 | #mainPrefPane { | |
24 | padding: 10px 20px 0px; | |
25 | border-radius: 1em 0 0 0; | |
26 | background-color: #000000; | |
27 | ||
28 | max-width: 800px; | |
29 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
30 | font-size: 1.25rem; | |
31 | color: #FF9F00; | |
32 | } | |
33 | ||
34 | * { | |
35 | -moz-user-select: text; | |
36 | } | |
37 | ||
38 | button, | |
39 | treecol { | |
40 | /* override the * rule */ | |
41 | -moz-user-select: none; | |
42 | } | |
43 | /* | |
44 | #engineList treechildren::-moz-tree-image(engineShown, checked), | |
45 | #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked) { | |
46 | list-style-image: url("chrome://global/skin/in-content/check.svg#check"); | |
47 | width: 21px; | |
48 | height: 21px; | |
49 | } | |
50 | ||
51 | #engineList treechildren::-moz-tree-image(engineShown, checked, selected), | |
52 | #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked, selected) { | |
53 | list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted"); | |
54 | } | |
55 | ||
56 | #engineList treechildren::-moz-tree-row, | |
57 | #blocklistsTree treechildren::-moz-tree-row { | |
58 | min-height: 36px; | |
59 | } | |
60 | */ | |
61 | #selectionCol { | |
62 | min-width: 26px; | |
63 | } | |
64 | ||
65 | .learnMore { | |
66 | margin-inline-start: 10px; | |
67 | font-weight: normal; | |
68 | white-space: nowrap; | |
69 | } | |
70 | ||
9a225e4b RK |
71 | .accessory-button { |
72 | min-width: 145px; | |
73 | } | |
74 | ||
66b04a00 RK |
75 | /* Category List */ |
76 | ||
77 | #categories { | |
78 | max-height: 100vh; | |
79 | } | |
80 | ||
81 | #categories > scrollbox { | |
82 | overflow-x: hidden !important; | |
83 | } | |
84 | ||
85 | /** | |
86 | * We want the last category to always have non-0 getBoundingClientRect().bottom | |
87 | * so we can use the value to figure out the max-height of the list in | |
88 | * preferences.js, so use collapse instead of display: none; if it's hidden | |
89 | */ | |
90 | #categories > .category[hidden="true"] { | |
91 | display: -moz-box; | |
92 | visibility: collapse; | |
93 | } | |
94 | ||
95 | #category-general > .category-icon { | |
9a225e4b | 96 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#general"); |
66b04a00 RK |
97 | } |
98 | ||
99 | #category-general:hover > .category-icon, | |
100 | #category-general[selected] > .category-icon { | |
9a225e4b | 101 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#general-active"); |
66b04a00 RK |
102 | } |
103 | ||
104 | #category-application > .category-icon { | |
9a225e4b | 105 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#content"); |
66b04a00 RK |
106 | } |
107 | ||
108 | #category-application:hover > .category-icon, | |
109 | #category-application[selected] > .category-icon { | |
9a225e4b | 110 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#content-active"); |
66b04a00 RK |
111 | } |
112 | ||
113 | #category-privacy > .category-icon { | |
9a225e4b | 114 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#security"); |
66b04a00 RK |
115 | } |
116 | ||
117 | #category-privacy:hover > .category-icon, | |
118 | #category-privacy[selected] > .category-icon { | |
9a225e4b | 119 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#security-active"); |
66b04a00 RK |
120 | } |
121 | ||
122 | #category-sync > .category-icon { | |
9a225e4b | 123 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#sync"); |
66b04a00 RK |
124 | } |
125 | ||
126 | #category-sync:hover > .category-icon, | |
127 | #category-sync[selected] > .category-icon { | |
9a225e4b | 128 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#sync-active"); |
66b04a00 RK |
129 | } |
130 | ||
131 | #category-advanced > .category-icon { | |
9a225e4b | 132 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#advanced"); |
66b04a00 RK |
133 | } |
134 | ||
135 | #category-advanced:hover > .category-icon, | |
136 | #category-advanced[selected] > .category-icon { | |
9a225e4b RK |
137 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#advanced-active"); |
138 | } | |
139 | ||
140 | #category-search-results > .category-icon { | |
141 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#searchResults"); | |
142 | } | |
143 | ||
144 | #category-search-results > .category-icon { | |
145 | list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#searchResults-active"); | |
66b04a00 RK |
146 | } |
147 | ||
148 | @media (max-width: 800px) { | |
149 | .category-name { | |
150 | display: none; | |
151 | } | |
152 | .help-button { | |
153 | font-size: 0 !important; | |
154 | } | |
155 | } | |
156 | ||
157 | ||
158 | /* header */ | |
159 | ||
160 | .header { | |
161 | display: flex; | |
162 | align-items: center; | |
163 | justify-content: space-between; | |
164 | } | |
165 | ||
166 | .header[hidden=true] { | |
167 | display: none; | |
168 | } | |
169 | ||
66b04a00 RK |
170 | .indent { |
171 | margin-top: 7px; | |
172 | margin-bottom: 7px; | |
173 | } | |
174 | ||
175 | /* General Pane */ | |
176 | ||
177 | #startupTable { | |
178 | border-collapse: collapse; | |
179 | } | |
180 | ||
181 | #startupTable > tr > td { | |
182 | padding: 0; /* remove the padding from html.css */ | |
183 | } | |
184 | ||
185 | #startupTable > tr:not(:first-child) > td { | |
186 | padding-top: 0.5em; /* add a spacing between the rows */ | |
187 | } | |
188 | ||
189 | #startupTable > tr > .label-cell { | |
190 | text-align: end; | |
191 | width: 0; /* make the column as small as possible */ | |
192 | } | |
193 | ||
194 | #startupTable > tr > .label-cell > label { | |
195 | white-space: nowrap; | |
196 | } | |
197 | ||
198 | #startupTable > tr > .content-cell > menulist, | |
199 | #startupTable > tr > .content-cell > textbox { | |
200 | width: calc(100% - 8px); | |
201 | margin-left: 4px; | |
202 | margin-right: 4px; | |
203 | } | |
204 | ||
205 | #startupTable > tr > .homepage-buttons { | |
206 | display: flex; | |
207 | flex-wrap: wrap; | |
208 | } | |
209 | ||
210 | #startupTable > tr > .homepage-buttons > .content-cell-item { | |
211 | flex-grow: 1; | |
212 | } | |
213 | ||
214 | #useFirefoxSync { | |
215 | font-size: 90%; | |
216 | margin-inline-end: 8px !important; | |
217 | } | |
218 | ||
219 | #getStarted { | |
220 | font-size: 90%; | |
221 | } | |
222 | ||
223 | #isNotDefaultLabel { | |
224 | font-weight: bold; | |
225 | } | |
226 | ||
227 | #browserHomePage:-moz-locale-dir(rtl) input { | |
228 | unicode-bidi: plaintext; | |
229 | direction: rtl; | |
230 | } | |
231 | ||
66b04a00 RK |
232 | #defaultFontSizeLabel { |
233 | /* !important needed to override common !important rule */ | |
234 | margin-inline-start: 4px !important; | |
235 | } | |
236 | ||
237 | /* Applications Pane Styles */ | |
238 | ||
66b04a00 RK |
239 | #filter { |
240 | margin-inline-start: 0; | |
241 | } | |
242 | ||
243 | #handlersView { | |
244 | height: 25em; | |
245 | } | |
246 | ||
247 | #handlersView > richlistitem { | |
248 | min-height: 36px !important; | |
249 | } | |
250 | ||
251 | .typeIcon { | |
252 | margin-inline-start: 10px !important; | |
253 | margin-inline-end: 9px !important; | |
254 | } | |
255 | ||
256 | .actionIcon { | |
257 | margin-inline-start: 11px !important; | |
258 | margin-inline-end: 8px !important; | |
259 | } | |
260 | ||
261 | .actionsMenu { | |
262 | min-height: 36px; | |
263 | } | |
264 | ||
265 | .actionsMenu > menupopup > menuitem { | |
266 | padding-inline-start: 10px !important; | |
267 | } | |
268 | ||
269 | .actionsMenu > menupopup > menuitem > .menu-iconic-left { | |
270 | margin-inline-end: 8px !important; | |
271 | } | |
272 | ||
273 | /* Privacy pane */ | |
274 | ||
275 | .doNotTrackLearnMore { | |
276 | margin-inline-start: calc(1em + 30px); | |
277 | margin-bottom: 1em; | |
278 | font-weight: normal; | |
279 | } | |
280 | ||
281 | .doNotTrackLearnMore > label { | |
282 | font-size: 1em !important; | |
283 | margin-left: 0; | |
284 | } | |
285 | ||
9a225e4b RK |
286 | /* This learn-more link is inserted at the end of a |
287 | xul:description element so it should behave like normal text. */ | |
288 | #trackingProtectionLearnMore { | |
289 | white-space: normal; | |
290 | margin-inline-start: 0; | |
291 | } | |
292 | ||
293 | #trackingProtectionAdvancedSettings { | |
294 | margin-inline-start: 15px; | |
295 | } | |
296 | ||
297 | #crashReporterGroup { | |
298 | margin-top: 0; | |
299 | } | |
300 | ||
66b04a00 RK |
301 | /* Collapse the non-active vboxes in decks to use only the height the |
302 | active vbox needs */ | |
303 | #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane, | |
304 | #historyPane:not([selectedIndex="2"]) > #historyCustomPane, | |
305 | #weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount, | |
306 | #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified, | |
307 | #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected { | |
308 | visibility: collapse; | |
309 | } | |
310 | ||
311 | /* XXX This style is for bug 740213 and should be removed once that | |
312 | bug has a solution. */ | |
313 | description > html|a { | |
314 | cursor: pointer; | |
315 | } | |
316 | ||
317 | #noFxaAccount { | |
318 | padding-top: 15px; | |
319 | } | |
320 | ||
321 | #weavePrefsDeck > vbox > label, | |
322 | #weavePrefsDeck > vbox > groupbox, | |
323 | #weavePrefsDeck > vbox > description, | |
324 | #weavePrefsDeck > vbox > #pairDevice > label, | |
325 | #weavePrefsDeck > #needsUpdate > hbox > #loginError, | |
326 | #weavePrefsDeck > #hasFxaAccount > vbox > label, | |
327 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label { | |
328 | /* no margin-inline-start for elements at the begin of a line */ | |
329 | margin-inline-start: 0; | |
330 | } | |
331 | ||
332 | #advancedPrefs { | |
333 | padding-bottom: 0; /* no padding needed in inContent prefs */ | |
334 | } | |
335 | ||
336 | #tabsElement { | |
337 | /* margin-inline-end: 4px; / add the 4px end-margin of other elements */ | |
338 | } | |
339 | ||
340 | .indent { | |
341 | /* !important needed to override margin-inline-start:0 !important; rule | |
342 | define in common.css for labels - but not in LCARStrek*/ | |
343 | margin-inline-start: 33px /*!important*/; | |
344 | } | |
345 | ||
346 | .text-link { | |
347 | margin-bottom: 0; | |
348 | } | |
349 | ||
350 | #showUpdateHistory { | |
351 | margin-inline-start: 0; | |
352 | } | |
353 | ||
354 | #fxaProfileImage { | |
355 | -moz-user-focus: normal; | |
356 | } | |
357 | ||
358 | /** | |
359 | * Dialog | |
360 | */ | |
361 | ||
9a225e4b | 362 | .dialogOverlay { |
66b04a00 RK |
363 | visibility: hidden; |
364 | } | |
365 | ||
9a225e4b RK |
366 | .dialogOverlay[topmost="true"] { |
367 | background-color: rgba(0,0,0,0.75); | |
368 | } | |
369 | ||
370 | .dialogBox { | |
66b04a00 RK |
371 | background-color: #000000; |
372 | background-clip: content-box; | |
373 | color: #FF9F00; | |
374 | /* font-size: 14px; */ | |
375 | border: 1px solid #9C9CFF; | |
376 | border-radius: 10px; | |
377 | display: -moz-box; | |
378 | margin: 0; | |
379 | padding-right: 6px; | |
380 | padding-left: 6px; | |
381 | } | |
382 | ||
9a225e4b | 383 | .dialogBox[resizable="true"] { |
66b04a00 RK |
384 | resize: both; |
385 | overflow: hidden; | |
386 | min-height: 20em; | |
387 | min-width: 66ch; | |
388 | } | |
389 | ||
9a225e4b | 390 | .dialogBox > .groupbox-title { |
66b04a00 RK |
391 | margin-inline-start: 0; |
392 | margin-inline-end: 0; | |
393 | /* padding: 3.5px 0; | |
394 | background-color: #F1F1F1; */ | |
395 | } | |
396 | ||
9a225e4b | 397 | .dialogTitle { |
66b04a00 RK |
398 | text-align: center; |
399 | -moz-user-select: none; | |
400 | } | |
401 | ||
402 | .close-icon { | |
403 | background-color: transparent !important; | |
404 | border: none; | |
405 | box-shadow: none; | |
406 | padding: 0; | |
407 | height: auto; | |
408 | min-height: 16px; | |
409 | min-width: 0; | |
410 | } | |
411 | ||
9a225e4b | 412 | .dialogBox > .groupbox-title > caption { |
66b04a00 RK |
413 | margin: 0; |
414 | border-radius: 1000px; | |
415 | background-color: #A09090; | |
416 | } | |
417 | ||
9a225e4b | 418 | .dialogBox > .groupbox-body { |
66b04a00 RK |
419 | -moz-appearance: none; |
420 | padding: 0; | |
421 | } | |
422 | ||
9a225e4b | 423 | .dialogFrame { |
66b04a00 RK |
424 | -moz-box-flex: 1; |
425 | /* Default dialog dimensions */ | |
426 | width: 66ch; | |
427 | } | |
428 | ||
429 | .largeDialogContainer.doScroll { | |
430 | overflow-y: auto; | |
431 | -moz-box-flex: 1; | |
432 | } | |
433 | ||
434 | /** | |
435 | * End Dialog | |
436 | */ | |
437 | ||
438 | /** | |
439 | * Font dialog menulist fixes | |
440 | */ | |
441 | ||
442 | #defaultFontType, | |
443 | #serif, | |
444 | #sans-serif, | |
445 | #monospace { | |
446 | min-width: 30ch; | |
447 | } | |
448 | ||
449 | /** | |
450 | * Sync | |
451 | */ | |
452 | ||
453 | #fxaProfileImage { | |
454 | max-width: 60px; | |
455 | border-radius: 50%; | |
456 | list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg); | |
457 | margin-inline-end: 15px; | |
458 | image-rendering: -moz-crisp-edges; | |
459 | } | |
460 | ||
461 | #fxaLoginStatus[hasName] #fxaProfileImage { | |
462 | max-width: 80px; | |
463 | } | |
464 | ||
465 | #fxaProfileImage.actionable { | |
466 | cursor: pointer; | |
467 | } | |
468 | ||
469 | #fxaProfileImage.actionable:hover { | |
470 | box-shadow: 0px 0px 0px 1px #FFCF00; | |
471 | } | |
472 | ||
473 | #fxaProfileImage.actionable:hover:active { | |
474 | box-shadow: 0px 0px 0px 1px #FF9F00; | |
475 | } | |
476 | ||
477 | #noFxaAccount { | |
478 | /* Overriding the margins from the base preferences.css theme file. | |
479 | These overrides can be simplified by fixing bug 1027174 */ | |
480 | margin: 0; | |
481 | padding-top: 15px; | |
482 | } | |
483 | ||
484 | #fxaContentWrapper { | |
485 | -moz-box-flex: 1; | |
486 | } | |
487 | ||
488 | #noFxaGroup { | |
489 | -moz-box-flex: 1; | |
490 | margin: 0; | |
491 | } | |
492 | ||
493 | #fxaContentWrapper { | |
494 | padding-right: 15px; | |
495 | } | |
496 | ||
497 | #noFxaGroup > vbox, | |
498 | #fxaGroup { | |
499 | -moz-box-align: start; | |
500 | } | |
501 | ||
502 | #fxaSyncEngines > vbox:first-child { | |
503 | margin-right: 80px; | |
504 | } | |
505 | ||
506 | #fxaSyncComputerName { | |
507 | margin-inline-start: 0px; | |
508 | -moz-box-flex: 1; | |
509 | } | |
510 | ||
511 | #tosPP-small-ToS { | |
512 | margin-bottom: 1em; | |
513 | } | |
514 | ||
515 | #fxaLoginRejectedWarning { | |
516 | list-style-image: url("chrome://browser/skin/warning.svg"); | |
517 | margin: 4px 8px 0px 0px; | |
518 | } | |
519 | ||
520 | #noFxaCaption { | |
521 | font-weight: bold; | |
522 | margin-bottom: 11px; | |
523 | } | |
524 | ||
525 | #verifiedManage:visited { | |
526 | color: var(--in-content-link-color); | |
527 | } | |
528 | ||
529 | .fxaSyncIllustration { | |
530 | margin-top: 35px; | |
1b1f3d09 RK |
531 | width: 231px; |
532 | -moz-context-properties: fill; | |
533 | fill: #9C9CFF; | |
66b04a00 RK |
534 | } |
535 | ||
536 | #syncOptions caption { | |
537 | margin-bottom: 11px; | |
538 | } | |
539 | ||
540 | #fxaSyncComputerName { | |
541 | margin-left: 0px; | |
542 | } | |
543 | ||
544 | #noFxaDescription { | |
545 | margin-bottom: 20px !important; | |
546 | } | |
547 | ||
548 | .separator { | |
549 | border-bottom: 1px solid var(--in-content-header-border-color); | |
550 | } | |
551 | ||
552 | .fxaAccountBox { | |
553 | border: 1px solid #A09090; | |
554 | border-radius: 5px; | |
555 | padding: 14px 20px 14px 14px; | |
556 | } | |
557 | ||
558 | #signedOutAccountBoxTitle { | |
559 | font-weight: bold; | |
560 | } | |
561 | ||
562 | .fxaAccountBoxButtons { | |
563 | margin-bottom: 0 !important; | |
564 | margin-top: 11px; | |
565 | display: flex; | |
566 | align-items: center; | |
567 | } | |
568 | ||
569 | .fxaAccountBoxButtons > * { | |
570 | -moz-box-flex: 1; | |
571 | } | |
572 | ||
573 | .fxaAccountBoxButtons > button { | |
574 | text-align: center; | |
575 | padding-left: 11px; | |
576 | padding-right: 11px; | |
577 | margin: 0; | |
578 | min-width: 0; | |
579 | } | |
580 | ||
581 | .fxaAccountBoxButtons > button:first-child { | |
582 | margin-inline-end: 14px !important; | |
583 | } | |
584 | ||
66b04a00 RK |
585 | #fxaLoginStatus[hasName] #fxaEmailAddress1 { |
586 | font-size: 1.1rem; | |
587 | } | |
588 | ||
589 | #fxaEmailAddress1, | |
590 | #fxaEmailAddress2, | |
591 | #fxaEmailAddress3 { | |
592 | word-break: break-all; | |
593 | } | |
594 | ||
595 | .fxaFirefoxLogo { | |
596 | list-style-image: url(chrome://browser/skin/fxa/logo.png); | |
597 | max-width: 64px; | |
598 | margin-inline-end: 14px; | |
599 | } | |
600 | ||
601 | .fxaMobilePromo { | |
602 | margin-bottom: 20px; | |
603 | margin-top: 25px; | |
604 | } | |
605 | ||
606 | #fxaLoginRejectedWarning { | |
607 | list-style-image: url(chrome://browser/skin/warning.svg); | |
608 | filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15)); | |
609 | margin: 4px 8px 0px 0px; | |
610 | } | |
611 | ||
612 | #syncOptions { | |
613 | margin-bottom: 27.5px; | |
614 | } | |
615 | ||
616 | .androidLink { | |
617 | background-image: url("chrome://browser/skin/fxa/android.png"); | |
618 | } | |
619 | ||
620 | .iOSLink { | |
621 | background-image: url("chrome://browser/skin/fxa/ios.png"); | |
622 | } | |
623 | ||
624 | .androidLink, | |
625 | .iOSLink { | |
626 | margin: 0 0 0 2px; | |
627 | padding-left: 28px; | |
628 | padding-top: 6px; | |
629 | height: 28px; | |
630 | background-repeat: no-repeat; | |
631 | background-size: 24px 28px; | |
632 | } | |
633 | ||
634 | #tosPP-small { | |
635 | margin-top: 20px; | |
636 | margin-bottom: 20px; | |
637 | } | |
638 | ||
639 | @media (min-resolution: 1.1dppx) { | |
640 | .androidLink { | |
641 | background-image: url("chrome://browser/skin/fxa/android@2x.png"); | |
642 | } | |
643 | .iOSLink { | |
644 | background-image: url("chrome://browser/skin/fxa/ios@2x.png"); | |
645 | } | |
646 | .fxaFirefoxLogo { | |
647 | list-style-image: url(chrome://browser/skin/fxa/logo@2x.png); | |
648 | } | |
649 | } | |
650 | ||
651 | #updateDeck > hbox > label { | |
652 | margin-inline-end: 5px ! important; | |
653 | } | |
654 | ||
655 | .update-throbber { | |
656 | width: 16px; | |
657 | min-height: 16px; | |
658 | margin-inline-end: 3px; | |
659 | list-style-image: url("chrome://global/skin/icons/loading.png"); | |
660 | } | |
661 | ||
662 | @media (min-resolution: 1.1dppx) { | |
663 | .update-throbber { | |
664 | list-style-image: url("chrome://global/skin/icons/loading@2x.png"); | |
665 | } | |
666 | } | |
667 | ||
668 | .help-button { | |
669 | position: fixed; | |
670 | left: 3px; | |
671 | /* Needs to have enough gap from the bottom to not | |
672 | get behind the status panel (bug 1357841). */ | |
673 | bottom: 2rem; | |
674 | font-size: 13px; | |
675 | line-height: 13px; | |
676 | height: 14px; | |
677 | background-position: 5px; | |
678 | padding-inline-start: 25px; | |
679 | white-space: nowrap; | |
680 | background-color: var(--in-content-category-background); | |
681 | width: auto; | |
682 | padding-inline-end: 10px; | |
683 | border: 3px solid black; | |
684 | border-radius: 0 300px 300px 0; | |
685 | } | |
686 | ||
687 | .help-button:-moz-locale-dir(rtl) { | |
688 | left: auto; | |
689 | right: 0; | |
690 | background-position: right 15px top 0; | |
691 | } | |
692 | ||
693 | .help-button:link, | |
694 | .help-button:visited { | |
695 | color: var(--in-content-category-text); | |
696 | text-decoration: none; | |
697 | } | |
698 | ||
699 | .help-button:hover { | |
700 | background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted"); | |
701 | color: var(--in-content-category-text-selected); | |
702 | background-color: var(--in-content-category-background-hover); | |
703 | border-color: var(--in-content-category-background-hover); | |
704 | } | |
9a225e4b RK |
705 | .help-button { |
706 | position: fixed; | |
707 | left: 0; | |
708 | ||
709 | /* Needs to have enough gap from the bottom to not | |
710 | get behind the status panel (bug 1357841). */ | |
711 | bottom: 2rem; | |
712 | font-size: 13px; | |
713 | line-height: 13px; | |
714 | height: 14px; | |
715 | background-position: 15px; | |
716 | padding-inline-start: 35px; | |
717 | white-space: nowrap; | |
718 | } | |
719 | ||
720 | .help-button:-moz-locale-dir(rtl) { | |
721 | left: auto; | |
722 | right: 0; | |
723 | background-position: right 15px top 0; | |
724 | } | |
725 | ||
726 | .help-button:link, | |
727 | .help-button:visited { | |
728 | color: var(--in-content-category-text); | |
729 | text-decoration: none; | |
730 | } | |
731 | ||
732 | .search-tooltip { | |
733 | position: absolute; | |
734 | pointer-events: none; | |
735 | padding: 0 10px; | |
736 | bottom: 100%; | |
737 | background-color: #000000; | |
738 | } | |
739 | ||
740 | .search-tooltip::before { | |
741 | position: absolute; | |
742 | content: ""; | |
743 | border: 6px solid transparent; | |
744 | border-top-color: #FFCF00; | |
745 | top: 100%; | |
746 | offset-inline-start: calc(50% - 6px); | |
747 | } | |
748 | ||
749 | .search-tooltip-parent { | |
750 | position: relative; | |
751 | } | |
66b04a00 RK |
752 | |
753 | /* === END shared/incontentprefs/preferences.inc.css === */ | |
754 | ||
755 | caption { | |
756 | } | |
757 | ||
758 | .indent-small { | |
759 | margin-inline-start: 10px; | |
760 | } | |
761 | ||
762 | @media (min-resolution: 2dppx) { | |
763 | checkbox:hover::before, | |
764 | checkbox[checked]::before { | |
765 | } | |
766 | ||
767 | checkbox[checked]::before { | |
768 | } | |
769 | } |