| 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 | list-style-image: url("chrome://browser/skin/preferences/Options.png"); |
| 11 | padding: 5px 3px 1px; |
| 12 | } |
| 13 | |
| 14 | radio[pane=paneMain] { |
| 15 | -moz-image-region: rect(0, 32px, 32px, 0); |
| 16 | } |
| 17 | |
| 18 | radio[pane=paneMain]:not([selected="true"]):hover { |
| 19 | -moz-image-region: rect(32px, 32px, 64px, 0); |
| 20 | } |
| 21 | |
| 22 | radio[pane=paneTabs] { |
| 23 | -moz-image-region: rect(0, 64px, 32px, 32px); |
| 24 | } |
| 25 | |
| 26 | radio[pane=paneTabs]:not([selected="true"]):hover { |
| 27 | -moz-image-region: rect(32px, 64px, 64px, 32px); |
| 28 | } |
| 29 | |
| 30 | #BrowserPreferences radio[pane=paneSearch] { |
| 31 | list-style-image: url("chrome://browser/skin/search-pref.png"); |
| 32 | } |
| 33 | |
| 34 | #BrowserPreferences radio[pane=paneSearch]:not([selected="true"]):hover { |
| 35 | list-style-image: url("chrome://browser/skin/search-pref-hover.png"); |
| 36 | } |
| 37 | |
| 38 | radio[pane=paneContent] { |
| 39 | -moz-image-region: rect(0, 96px, 32px, 64px); |
| 40 | } |
| 41 | |
| 42 | radio[pane=paneContent]:not([selected="true"]):hover { |
| 43 | -moz-image-region: rect(32px, 96px, 64px, 64px); |
| 44 | } |
| 45 | |
| 46 | radio[pane=paneApplications] { |
| 47 | -moz-image-region: rect(0, 128px, 32px, 96px); |
| 48 | } |
| 49 | |
| 50 | radio[pane=paneApplications]:not([selected="true"]):hover { |
| 51 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
| 52 | } |
| 53 | |
| 54 | radio[pane=panePrivacy] { |
| 55 | -moz-image-region: rect(0, 160px, 32px, 128px); |
| 56 | } |
| 57 | |
| 58 | radio[pane=panePrivacy]:not([selected="true"]):hover { |
| 59 | -moz-image-region: rect(32px, 160px, 64px, 128px); |
| 60 | } |
| 61 | |
| 62 | radio[pane=paneSecurity] { |
| 63 | -moz-image-region: rect(0, 192px, 32px, 160px); |
| 64 | } |
| 65 | |
| 66 | radio[pane=paneSecurity]:not([selected="true"]):hover { |
| 67 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
| 68 | } |
| 69 | |
| 70 | radio[pane=paneAdvanced] { |
| 71 | -moz-image-region: rect(0, 224px, 32px, 192px); |
| 72 | } |
| 73 | |
| 74 | radio[pane=paneAdvanced]:not([selected="true"]):hover { |
| 75 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
| 76 | } |
| 77 | |
| 78 | radio[pane=paneSync] { |
| 79 | list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; |
| 80 | } |
| 81 | |
| 82 | /* These lines should be removed as part of fixing bug 1140495 */ |
| 83 | label.small { |
| 84 | font-size: smaller; |
| 85 | } |
| 86 | |
| 87 | #tabPrefsBox { |
| 88 | margin: 6px; |
| 89 | } |
| 90 | |
| 91 | /* General Pane */ |
| 92 | |
| 93 | #useFirefoxSync, |
| 94 | #getStarted { |
| 95 | font-size: 90%; |
| 96 | } |
| 97 | |
| 98 | #isNotDefaultLabel { |
| 99 | font-weight: bold; |
| 100 | } |
| 101 | |
| 102 | /* Content Pane */ |
| 103 | #translationAttributionImage { |
| 104 | width: 70px; |
| 105 | cursor: pointer; |
| 106 | } |
| 107 | |
| 108 | /* Applications Pane */ |
| 109 | #BrowserPreferences[animated="true"] #handlersView { |
| 110 | height: 25em; |
| 111 | } |
| 112 | |
| 113 | #BrowserPreferences[animated="false"] #handlersView { |
| 114 | -moz-box-flex: 1; |
| 115 | } |
| 116 | |
| 117 | /* Privacy Pane */ |
| 118 | |
| 119 | /* styles for the link elements copied from .text-link in global.css */ |
| 120 | .inline-link { |
| 121 | color: #3333FF; |
| 122 | text-decoration: none; |
| 123 | cursor: pointer; |
| 124 | } |
| 125 | |
| 126 | .inline-link:hover { |
| 127 | text-decoration: underline; |
| 128 | } |
| 129 | |
| 130 | .inline-link:-moz-focusring { |
| 131 | /* Don't specify the outline-color, we should always use initial value. */ |
| 132 | outline: 1px dotted; |
| 133 | } |
| 134 | |
| 135 | /* Modeless Window Dialogs */ |
| 136 | .windowDialog, |
| 137 | .windowDialog prefpane { |
| 138 | padding: 0; |
| 139 | } |
| 140 | |
| 141 | .contentPane { |
| 142 | margin: 9px 8px 5px; |
| 143 | } |
| 144 | |
| 145 | .actionButtons { |
| 146 | margin: 0 3px 6px !important; |
| 147 | } |
| 148 | |
| 149 | /* Cookies Manager */ |
| 150 | #cookiesChildren::-moz-tree-image(domainCol) { |
| 151 | width: 16px; |
| 152 | height: 16px; |
| 153 | margin: 0 2px; |
| 154 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 155 | } |
| 156 | |
| 157 | #cookiesChildren::-moz-tree-image(domainCol, container) { |
| 158 | list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); |
| 159 | } |
| 160 | |
| 161 | #cookiesChildren::-moz-tree-image(domainCol, container, open) { |
| 162 | list-style-image: url("chrome://global/skin/filepicker/dir-open.gif"); |
| 163 | } |
| 164 | |
| 165 | #cookieInfoBox { |
| 166 | border: 1px solid #9C9CFF; |
| 167 | border-radius: 3px; |
| 168 | } |
| 169 | |
| 170 | /* Advanced Pane */ |
| 171 | |
| 172 | /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff |
| 173 | when browser.preferences.animateFadeIn = true */ |
| 174 | #advancedPrefs { |
| 175 | padding-bottom: 8px; |
| 176 | } |
| 177 | |
| 178 | /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom |
| 179 | of the groupbox from being cutoff */ |
| 180 | .bottomBox { |
| 181 | padding-bottom: 4px; |
| 182 | } |
| 183 | |
| 184 | /* Sync Pane */ |
| 185 | |
| 186 | #syncDesc { |
| 187 | padding: 0 8em; |
| 188 | } |
| 189 | |
| 190 | .syncGroupBox { |
| 191 | padding: 10px; |
| 192 | } |
| 193 | |
| 194 | #accountCaptionImage { |
| 195 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); |
| 196 | } |
| 197 | |
| 198 | #syncAddDeviceLabel { |
| 199 | margin-top: 1em; |
| 200 | margin-bottom: 1em; |
| 201 | } |
| 202 | |
| 203 | #noFxaAccount { |
| 204 | margin: 6px; |
| 205 | line-height: 1.2em; |
| 206 | } |
| 207 | |
| 208 | #noFxaAccount > label:first-child { |
| 209 | margin-bottom: 0.6em; |
| 210 | } |