preferences.css (3937B)
1 /* 2 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 */ 7 8 /* Global Styles */ 9 #BrowserPreferences radio[pane] { 10 padding: 5px 3px 1px; 11 } 12 13 radio[pane=paneMain] { 14 list-style-image: url("chrome://browser/skin/preferences/Options.svg#general"); 15 } 16 17 radio[pane=paneTabs] { 18 list-style-image: url("chrome://browser/skin/preferences/Options.svg#tabs"); 19 } 20 21 radio[pane=paneContent] { 22 list-style-image: url("chrome://browser/skin/preferences/Options.svg#content"); 23 } 24 25 radio[pane=paneApplications] { 26 list-style-image: url("chrome://browser/skin/preferences/Options.svg#applications"); 27 } 28 29 radio[pane=panePrivacy] { 30 list-style-image: url("chrome://browser/skin/preferences/Options.svg#privacy"); 31 } 32 33 radio[pane=paneSecurity] { 34 list-style-image: url("chrome://browser/skin/preferences/Options.svg#security"); 35 } 36 37 radio[pane=paneSync] { 38 list-style-image: url("chrome://browser/skin/preferences/Options.svg#sync"); 39 } 40 41 radio[pane=paneAdvanced] { 42 list-style-image: url("chrome://browser/skin/preferences/Options.svg#advanced"); 43 } 44 45 /* Applications Pane */ 46 #BrowserPreferences[animated="true"] #handlersView { 47 height: 25em; 48 } 49 50 #BrowserPreferences[animated="false"] #handlersView { 51 -moz-box-flex: 1; 52 } 53 54 /* Privacy Pane */ 55 56 /* styles for the link elements copied from .text-link in global.css */ 57 .inline-link { 58 color: -moz-nativehyperlinktext; 59 text-decoration: none; 60 } 61 62 .inline-link:hover { 63 text-decoration: underline; 64 } 65 66 /* Modeless Window Dialogs */ 67 .windowDialog, 68 .windowDialog prefpane { 69 padding: 0; 70 } 71 72 .contentPane { 73 margin: 9px 8px 5px; 74 } 75 76 .actionButtons { 77 margin: 0 3px 6px !important; 78 } 79 80 /* Cookies Manager */ 81 #cookiesChildren::-moz-tree-image(domainCol) { 82 width: 16px; 83 height: 16px; 84 margin: 0 2px; 85 list-style-image: url(chrome://browser/skin/places/places.svg); 86 -moz-image-region: rect(2px, 18px, 18px, 2px); /* defaultFavicon */ 87 } 88 89 #cookiesChildren::-moz-tree-image(domainCol, container) { 90 -moz-image-region: rect(2px, 198px, 18px, 182px); /* folderItem */ 91 } 92 93 #cookiesChildren::-moz-tree-image(domainCol, container, open) { 94 -moz-image-region: rect(2px, 198px, 18px, 182px); /* folderItem */ 95 } 96 97 #cookiesChildren::-moz-tree-image(selected,focus,domainCol) { 98 -moz-image-region: rect(2px, 378px, 18px, 362px); /* defaultFaviconFocus */ 99 } 100 #cookiesChildren::-moz-tree-image(selected,focus,domainCol,container) { 101 -moz-image-region: rect(2px, 358px, 18px, 342px); /* folderItemFocus */ 102 } 103 104 #cookiesChildren::-moz-tree-twisty(selected,focus) { 105 list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd-focus"); 106 } 107 #cookiesChildren::-moz-tree-twisty(selected,focus,open) { 108 list-style-image: url("chrome://global/skin/tree/twisty.svg#open-focus"); 109 } 110 111 #cookiesChildren:-moz-locale-dir(rtl)::-moz-tree-twisty(selected,focus) { 112 list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd-focus-rtl"); 113 } 114 #cookiesChildren:-moz-locale-dir(rtl)::-moz-tree-twisty(selected,focus,open) { 115 list-style-image: url("chrome://global/skin/tree/twisty.svg#open-focus-rtl"); 116 } 117 118 #cookieInfoBox { 119 border: 1px solid ThreeDShadow; 120 border-radius: 0; 121 margin: 4px; 122 padding: 0; 123 } 124 125 /* Advanced Pane */ 126 127 /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff 128 when browser.preferences.animateFadeIn = true */ 129 #advancedPrefs { 130 padding-bottom: 8px; 131 } 132 133 /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom 134 of the groupbox from being cutoff */ 135 .bottomBox { 136 padding-bottom: 4px; 137 } 138 139 /* Sync Pane */ 140 141 #syncDesc { 142 padding: 0 8em; 143 } 144 145 .syncGroupBox { 146 padding: 10px; 147 } 148 149 #accountCaptionImage { 150 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); 151 } 152 153 #syncAddDeviceLabel { 154 margin-top: 1em; 155 margin-bottom: 1em; 156 } 157