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/. */
5 /* === BEGIN shared/in-content/preferences.css === */
7 @namespace html "http://www.w3.org/1999/xhtml";
10 padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
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;
24 padding: 10px 20px 0px;
25 border-radius: 1em 0 0 0;
26 background-color: #000000;
29 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
36 -moz-user-select: text;
41 /* override the * rule */
42 -moz-user-select: none;
50 background-color: #A09090;
53 border-radius: 1em 0 0 0;
57 #categories > scrollbox {
58 overflow-x: hidden !important;
62 background-color: #000000;
64 -moz-border-end-width: 0;
65 -moz-padding-start: 15px;
66 -moz-padding-end: 21px;
68 transition: background-color 150ms;
72 background-color: #FFCF00;
77 background-color: #008484;
81 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
82 border-top: 1px dotted #000000;
83 border-bottom: 1px dotted #000000;
90 -moz-padding-start: 9px;
95 * We want the last category to always have non-0 getBoundingClientRect().bottom
96 * so we can use the value to figure out the max-height of the list in
97 * preferences.js, so use collapse instead of display: none; if it's hidden
99 #categories > .category[hidden="true"] {
101 visibility: collapse;
109 #category-general > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
113 #category-general:hover > .category-icon,
114 #category-general[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
118 #category-search > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
122 #category-search:hover > .category-icon,
123 #category-search[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
127 #category-content > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
131 #category-content:hover > .category-icon,
132 #category-content[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
136 #category-application > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
140 #category-application:hover > .category-icon,
141 #category-application[selected] > .category-icon {
142 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
145 #category-privacy > .category-icon {
146 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
149 #category-privacy:hover > .category-icon,
150 #category-privacy[selected] > .category-icon {
151 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
154 #category-security > .category-icon {
155 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
158 #category-security:hover > .category-icon,
159 #category-security[selected] > .category-icon {
160 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
163 #category-sync > .category-icon {
164 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
167 #category-sync:hover > .category-icon,
168 #category-sync[selected] > .category-icon {
169 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
172 #category-advanced > .category-icon {
173 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
176 #category-advanced:hover > .category-icon,
177 #category-advanced[selected] > .category-icon {
178 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
181 @media (max-width: 800px) {
202 border-collapse: collapse;
205 #startupTable > tr > td {
206 padding: 0; /* remove the padding from html.css */
209 #startupTable > tr:not(:first-child) > td {
210 padding-top: 0.5em; /* add a spacing between the rows */
213 #startupTable > tr > .label-cell {
215 width: 0; /* make the column as small as possible */
218 #startupTable > tr > .label-cell > label {
222 #startupTable > tr > .content-cell > menulist,
223 #startupTable > tr > .content-cell > textbox {
224 width: calc(100% - 8px);
229 #startupTable > tr > .homepage-buttons {
234 #startupTable > tr > .homepage-buttons > .content-cell-item {
240 -moz-margin-end: 8px !important;
252 #playDRMContentLink {
253 /* Line up with the buttons in the other grid bits: */
254 margin-left: 4px !important;
255 margin-right: 4px !important;
258 /* Applications Pane Styles */
260 #applicationsContent {
265 -moz-margin-start: 0;
272 #handlersView > richlistitem {
273 min-height: 36px !important;
277 -moz-margin-start: 10px !important;
278 -moz-margin-end: 9px !important;
282 -moz-margin-start: 11px !important;
283 -moz-margin-end: 8px !important;
290 .actionsMenu > menupopup > menuitem {
291 -moz-padding-start: 10px !important;
294 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
295 -moz-margin-end: 8px !important;
298 /* Collapse the non-active vboxes in decks to use only the height the
300 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
301 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
302 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
303 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
304 #weavePrefsDeck:not([selectedIndex="3"]) > #fxaDeterminingStatus,
305 #weavePrefsDeck:not([selectedIndex="4"]) > #noFxaAccount,
306 #weavePrefsDeck:not([selectedIndex="5"]) > #hasFxaAccount,
307 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
308 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
309 visibility: collapse;
312 /* XXX This style is for bug 740213 and should be removed once that
313 bug has a solution. */
314 description > html|a {
319 /* Overriding the margins from the base preferences.css theme file.
320 These overrides can be simplified by fixing bug 1027174 */
324 #weavePrefsDeck > vbox > label,
325 #weavePrefsDeck > vbox > groupbox,
326 #weavePrefsDeck > vbox > description,
327 #weavePrefsDeck > vbox > #pairDevice > label,
328 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
329 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
330 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
331 /* no margin-start for elements at the begin of a line */
332 -moz-margin-start: 0;
336 padding-bottom: 0; /* no padding needed in inContent prefs */
340 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
345 #crashReporterLearnMore {
346 /* center the links */
351 #trackingProtectionImage {
354 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
357 @media (min-resolution: 2dppx) {
358 #trackingProtectionImage {
359 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
364 -moz-margin-start: 0;
372 background-color: rgba(0,0,0,0.75);
377 background-color: #000000;
378 background-clip: content-box;
380 /* font-size: 14px; */
381 border: 1px solid #9C9CFF;
389 #dialogBox[resizable="true"] {
396 #dialogBox > .groupbox-title {
397 -moz-margin-start: 0;
400 background-color: #F1F1F1; */
408 background-color: transparent !important;
416 #dialogBox > .groupbox-title > caption {
418 border-radius: 1000px;
419 background-color: #A09090;
422 #dialogBox > .groupbox-body {
423 -moz-appearance: none;
429 /* Default dialog dimensions */
434 .largeDialogContainer.doScroll {
446 #sync-migrate-upgrade-description {
447 /* description elts need a min-width to wrap correctly - bug 630864? */
452 border: 1px solid #9C9CFF;
453 background-color: #000000;
457 animation: fadein 3000ms;
465 /* === END shared/in-content/preferences.css === */
471 -moz-margin-start: 10px;
474 @media (min-resolution: 2dppx) {
475 checkbox:hover::before,
476 checkbox[checked]::before {
479 checkbox[checked]::before {