Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* |
michael@0 | 2 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | */ |
michael@0 | 7 | |
michael@0 | 8 | /* Global Styles */ |
michael@0 | 9 | #BrowserPreferences radio[pane] { |
michael@0 | 10 | list-style-image: url("chrome://browser/skin/preferences/Options.png"); |
michael@0 | 11 | padding: 5px 3px 1px; |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | radio[pane=paneMain] { |
michael@0 | 15 | -moz-image-region: rect(0, 32px, 32px, 0); |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | radio[pane=paneTabs] { |
michael@0 | 19 | -moz-image-region: rect(0, 64px, 32px, 32px); |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | radio[pane=paneContent] { |
michael@0 | 23 | -moz-image-region: rect(0, 96px, 32px, 64px); |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | radio[pane=paneApplications] { |
michael@0 | 27 | -moz-image-region: rect(0, 128px, 32px, 96px); |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | radio[pane=panePrivacy] { |
michael@0 | 31 | -moz-image-region: rect(0, 160px, 32px, 128px); |
michael@0 | 32 | } |
michael@0 | 33 | |
michael@0 | 34 | radio[pane=paneSecurity] { |
michael@0 | 35 | -moz-image-region: rect(0, 192px, 32px, 160px); |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | radio[pane=paneAdvanced] { |
michael@0 | 39 | -moz-image-region: rect(0, 224px, 32px, 192px); |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | %ifdef MOZ_SERVICES_SYNC |
michael@0 | 43 | radio[pane=paneSync] { |
michael@0 | 44 | list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; |
michael@0 | 45 | } |
michael@0 | 46 | %endif |
michael@0 | 47 | |
michael@0 | 48 | label.small { |
michael@0 | 49 | font-size: smaller; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | #tabPrefsBox { |
michael@0 | 53 | margin: 6px; |
michael@0 | 54 | } |
michael@0 | 55 | |
michael@0 | 56 | /* Applications Pane */ |
michael@0 | 57 | #BrowserPreferences[animated="true"] #handlersView { |
michael@0 | 58 | height: 25em; |
michael@0 | 59 | } |
michael@0 | 60 | |
michael@0 | 61 | #BrowserPreferences[animated="false"] #handlersView { |
michael@0 | 62 | -moz-box-flex: 1; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | /* Privacy Pane */ |
michael@0 | 66 | |
michael@0 | 67 | /* styles for the link elements copied from .text-link in global.css */ |
michael@0 | 68 | .inline-link { |
michael@0 | 69 | color: -moz-nativehyperlinktext; |
michael@0 | 70 | text-decoration: none; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | .inline-link:hover { |
michael@0 | 74 | text-decoration: underline; |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | /* Modeless Window Dialogs */ |
michael@0 | 78 | .windowDialog, |
michael@0 | 79 | .windowDialog prefpane { |
michael@0 | 80 | padding: 0; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | .contentPane { |
michael@0 | 84 | margin: 9px 8px 5px; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | .actionButtons { |
michael@0 | 88 | margin: 0 3px 6px !important; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | /* Cookies Manager */ |
michael@0 | 92 | #cookiesChildren::-moz-tree-image(domainCol) { |
michael@0 | 93 | width: 16px; |
michael@0 | 94 | height: 16px; |
michael@0 | 95 | margin: 0 2px; |
michael@0 | 96 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png") !important; |
michael@0 | 97 | } |
michael@0 | 98 | |
michael@0 | 99 | #cookiesChildren::-moz-tree-image(domainCol, container) { |
michael@0 | 100 | list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; |
michael@0 | 101 | -moz-image-region: rect(0, 32px, 16px, 16px); |
michael@0 | 102 | } |
michael@0 | 103 | |
michael@0 | 104 | #cookiesChildren::-moz-tree-image(domainCol, container, open) { |
michael@0 | 105 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
michael@0 | 106 | } |
michael@0 | 107 | |
michael@0 | 108 | #cookieInfoBox { |
michael@0 | 109 | border: 1px solid ThreeDShadow; |
michael@0 | 110 | border-radius: 0; |
michael@0 | 111 | margin: 4px; |
michael@0 | 112 | padding: 0; |
michael@0 | 113 | } |
michael@0 | 114 | |
michael@0 | 115 | /* Advanced Pane */ |
michael@0 | 116 | |
michael@0 | 117 | /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff |
michael@0 | 118 | when browser.preferences.animateFadeIn = true */ |
michael@0 | 119 | #advancedPrefs { |
michael@0 | 120 | padding-bottom: 8px; |
michael@0 | 121 | } |
michael@0 | 122 | |
michael@0 | 123 | /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom |
michael@0 | 124 | of the groupbox from being cutoff */ |
michael@0 | 125 | .bottomBox { |
michael@0 | 126 | padding-bottom: 4px; |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | %ifdef MOZ_SERVICES_SYNC |
michael@0 | 130 | /* Sync Pane */ |
michael@0 | 131 | |
michael@0 | 132 | #syncDesc { |
michael@0 | 133 | padding: 0 8em; |
michael@0 | 134 | } |
michael@0 | 135 | |
michael@0 | 136 | .syncGroupBox { |
michael@0 | 137 | padding: 10px; |
michael@0 | 138 | } |
michael@0 | 139 | |
michael@0 | 140 | #accountCaptionImage { |
michael@0 | 141 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); |
michael@0 | 142 | } |
michael@0 | 143 | |
michael@0 | 144 | #syncAddDeviceLabel { |
michael@0 | 145 | margin-top: 1em; |
michael@0 | 146 | margin-bottom: 1em; |
michael@0 | 147 | } |
michael@0 | 148 | |
michael@0 | 149 | #noFxaAccount { |
michael@0 | 150 | margin: 6px; |
michael@0 | 151 | line-height: 1.2em; |
michael@0 | 152 | } |
michael@0 | 153 | |
michael@0 | 154 | #noFxaAccount > label:first-child { |
michael@0 | 155 | margin-bottom: 0.6em; |
michael@0 | 156 | } |
michael@0 | 157 | |
michael@0 | 158 | #fxa-pweng-help-link > label { |
michael@0 | 159 | margin: 0; |
michael@0 | 160 | } |
michael@0 | 161 | |
michael@0 | 162 | #fxa-pweng-help-link > image { |
michael@0 | 163 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
michael@0 | 164 | } |
michael@0 | 165 | |
michael@0 | 166 | %endif |