| 1 | /* - This Source Code Form is subject to the terms of the Mozilla Public\r |
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this file,\r |
| 3 | - You can obtain one at http://mozilla.org/MPL/2.0/. */\r |
| 4 | \r |
| 5 | @import url("chrome://global/skin/inContentUI.css");\r |
| 6 | \r |
| 7 | @namespace html "http://www.w3.org/1999/xhtml";\r |
| 8 | \r |
| 9 | #preferences-home {\r |
| 10 | display: block;\r |
| 11 | }\r |
| 12 | \r |
| 13 | #header {\r |
| 14 | margin-bottom: 18px;\r |
| 15 | }\r |
| 16 | \r |
| 17 | .indent-small {\r |
| 18 | -moz-margin-start: 10px;\r |
| 19 | }\r |
| 20 | \r |
| 21 | .landingButton {\r |
| 22 | -moz-box-align: center;\r |
| 23 | -moz-box-orient: vertical;\r |
| 24 | }\r |
| 25 | \r |
| 26 | .landingButton:hover {\r |
| 27 | cursor: pointer;\r |
| 28 | }\r |
| 29 | \r |
| 30 | .landingButton-label {\r |
| 31 | margin-top: 4px;\r |
| 32 | }\r |
| 33 | \r |
| 34 | .landingButton-icon {\r |
| 35 | display: block;\r |
| 36 | width: 32px;\r |
| 37 | height: 32px;\r |
| 38 | background-image: url("chrome://browser/skin/preferences/Options.png");\r |
| 39 | background-repeat: no-repeat;\r |
| 40 | }\r |
| 41 | \r |
| 42 | .preference-icon {\r |
| 43 | display: block;\r |
| 44 | width: 32px;\r |
| 45 | height: 32px;\r |
| 46 | background-image: url("chrome://browser/skin/preferences/Options.png");\r |
| 47 | background-repeat: no-repeat;\r |
| 48 | margin: 0 20px;\r |
| 49 | }\r |
| 50 | \r |
| 51 | .preference-icon[type="general"],\r |
| 52 | .landingButton-icon[type="general"] {\r |
| 53 | background-position: 0 0;\r |
| 54 | }\r |
| 55 | \r |
| 56 | .preference-icon[type="content"],\r |
| 57 | .landingButton-icon[type="content"] {\r |
| 58 | background-position: -64px 0;\r |
| 59 | }\r |
| 60 | \r |
| 61 | .preference-icon[type="applications"],\r |
| 62 | .landingButton-icon[type="applications"] {\r |
| 63 | background-position: -96px 0;\r |
| 64 | }\r |
| 65 | \r |
| 66 | .preference-icon[type="privacy"],\r |
| 67 | .landingButton-icon[type="privacy"] {\r |
| 68 | background-position: -128px 0;\r |
| 69 | }\r |
| 70 | \r |
| 71 | .preference-icon[type="security"],\r |
| 72 | .landingButton-icon[type="security"] {\r |
| 73 | background-position: -160px 0;\r |
| 74 | }\r |
| 75 | \r |
| 76 | .preference-icon[type="advanced"],\r |
| 77 | .landingButton-icon[type="advanced"] {\r |
| 78 | background-position: -192px 0;\r |
| 79 | }\r |
| 80 | \r |
| 81 | .preference-icon[type="sync"],\r |
| 82 | .landingButton-icon[type="sync"] {\r |
| 83 | background-image: url("chrome://browser/skin/preferences/Options-sync.png");\r |
| 84 | }\r |
| 85 | \r |
| 86 | caption {\r |
| 87 | font-size: 20px;\r |
| 88 | }\r |
| 89 | \r |
| 90 | .heading {\r |
| 91 | height: 50px;\r |
| 92 | background-color: #FF9F00;\r |
| 93 | color: #000000;\r |
| 94 | border-radius: 5px;\r |
| 95 | margin-bottom: 15px;\r |
| 96 | -moz-box-align: center;\r |
| 97 | }\r |
| 98 | \r |
| 99 | prefpane {\r |
| 100 | padding: 0;\r |
| 101 | }\r |
| 102 | \r |
| 103 | prefpane > .content-box {\r |
| 104 | overflow: auto;\r |
| 105 | }\r |
| 106 | \r |
| 107 | /* Applications Pane Styles */\r |
| 108 | \r |
| 109 | #applications-content {\r |
| 110 | padding: 15px;\r |
| 111 | }\r |
| 112 | \r |
| 113 | #handlersView {\r |
| 114 | border: none; /*1px solid #9C9CFF;*/\r |
| 115 | margin: 0;\r |
| 116 | overflow-y: auto;\r |
| 117 | border-top-left-radius: 0;\r |
| 118 | border-top-right-radius: 0;\r |
| 119 | }\r |
| 120 | \r |
| 121 | #handersView > listheader > treecol {\r |
| 122 | border-radius: 0;\r |
| 123 | }\r |
| 124 | \r |
| 125 | #advancedPrefs {\r |
| 126 | padding: 0; /* overrides preferences/preferences.css */\r |
| 127 | }\r |
| 128 | \r |
| 129 | #advancedPrefs > tabs {\r |
| 130 | -moz-padding-start: 5px;\r |
| 131 | }\r |
| 132 | \r |
| 133 | #advancedPrefs > tabpanels {\r |
| 134 | border-right: none;\r |
| 135 | border-left: none;\r |
| 136 | border-bottom: none;\r |
| 137 | border-top-left-radius: 0;\r |
| 138 | border-top-right-radius: 0;\r |
| 139 | }\r |
| 140 | \r |
| 141 | /* XXX This style is for bug 740213 and should be removed once that\r |
| 142 | bug has a solution. */\r |
| 143 | description > html|a {\r |
| 144 | cursor: pointer;\r |
| 145 | }\r |
| 146 | \r |
| 147 | /* XXX Styles Below can be removed once bug 660726 lands */\r |
| 148 | .nav-button {\r |
| 149 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");\r |
| 150 | }\r |
| 151 | \r |
| 152 | #forward-btn {\r |
| 153 | -moz-border-start: none;\r |
| 154 | }\r |
| 155 | \r |
| 156 | #back-btn:-moz-locale-dir(ltr),\r |
| 157 | #forward-btn:-moz-locale-dir(rtl) {\r |
| 158 | -moz-image-region: rect(42px 25px 63px 0px);\r |
| 159 | border-top-right-radius: 0;\r |
| 160 | border-bottom-right-radius: 0;\r |
| 161 | }\r |
| 162 | \r |
| 163 | #back-btn:not([disabled="true"]):hover:-moz-locale-dir(ltr),\r |
| 164 | #back-btn:not([disabled="true"]):hover:active:-moz-locale-dir(ltr),\r |
| 165 | #forward-btn:not([disabled="true"]):hover:-moz-locale-dir(rtl),\r |
| 166 | #forward-btn:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) {\r |
| 167 | -moz-image-region: rect(42px 75px 63px 50px);\r |
| 168 | }\r |
| 169 | \r |
| 170 | #back-btn[disabled="true"]:-moz-locale-dir(ltr),\r |
| 171 | #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {\r |
| 172 | -moz-image-region: rect(42px 50px 63px 25px);\r |
| 173 | }\r |
| 174 | \r |
| 175 | #back-btn:-moz-locale-dir(rtl),\r |
| 176 | #forward-btn:-moz-locale-dir(ltr) {\r |
| 177 | -moz-image-region: rect(63px 25px 84px 0px);\r |
| 178 | border-top-left-radius: 0;\r |
| 179 | border-bottom-left-radius: 0;\r |
| 180 | }\r |
| 181 | \r |
| 182 | #back-btn:not([disabled="true"]):hover:-moz-locale-dir(rtl),\r |
| 183 | #back-btn:not([disabled="true"]):hover:active:-moz-locale-dir(rtl),\r |
| 184 | #forward-btn:not([disabled="true"]):hover:-moz-locale-dir(ltr),\r |
| 185 | #forward-btn:not([disabled="true"]):hover:active:-moz-locale-dir(ltr) {\r |
| 186 | -moz-image-region: rect(63px 75px 84px 50px);\r |
| 187 | }\r |
| 188 | \r |
| 189 | #back-btn[disabled="true"]:-moz-locale-dir(rtl),\r |
| 190 | #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {\r |
| 191 | -moz-image-region: rect(63px 50px 84px 25px);\r |
| 192 | }\r |
| 193 | \r |
| 194 | .header-button {\r |
| 195 | }\r |
| 196 | \r |
| 197 | .header-button:not([disabled="true"]):active:hover,\r |
| 198 | .header-button[open="true"] {\r |
| 199 | }\r |
| 200 | \r |
| 201 | .header-button > .toolbarbutton-text {\r |
| 202 | display: none;\r |
| 203 | }\r |