browser/themes/osx/preferences/preferences.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 */
     8 %include ../../../../toolkit/themes/osx/global/shared.inc
    10 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    11 @namespace html url("http://www.w3.org/1999/xhtml");
    13 .windowDialog {
    14   padding: 12px;
    15   font: -moz-dialog;
    16 }
    18 .paneSelector {
    19   list-style-image: url("chrome://browser/skin/preferences/Options.png");
    20 }
    22 /* ----- GENERAL BUTTON ----- */
    24 radio[pane=paneGeneral],
    25 radio[pane=paneMain] {
    26   -moz-image-region: rect(0px, 32px, 32px, 0px);
    27 } 
    29 /* ----- TABS BUTTON ----- */
    31 radio[pane=paneTabs] {
    32   -moz-image-region: rect(0px, 64px, 32px, 32px);
    33 }
    35 /* ----- CONTENT BUTTON ----- */
    37 radio[pane=paneContent] {
    38   -moz-image-region: rect(0px, 96px, 32px, 64px);
    39 }
    41 /* ----- APPLICATIONS BUTTON ----- */
    43 radio[pane=paneApplications] {
    44   -moz-image-region: rect(0px, 128px, 32px, 96px);
    45 }
    47 /* ----- PRIVACY BUTTON ----- */
    49 radio[pane=panePrivacy] {
    50   -moz-image-region: rect(0px, 160px, 32px, 128px);
    51 }
    53 /* ----- SECURITY BUTTON ----- */
    55 radio[pane=paneSecurity] {
    56   -moz-image-region: rect(0px, 192px, 32px, 160px);
    57 }
    59 /* ----- ADVANCED BUTTON ----- */
    61 radio[pane=paneAdvanced] {
    62   -moz-image-region: rect(0px, 224px, 32px, 192px);
    63 }
    65 %ifdef MOZ_SERVICES_SYNC
    66 /* ----- SYNC BUTTON ----- */
    68 radio[pane=paneSync] {
    69   list-style-image: url("chrome://browser/skin/preferences/Options-sync.png");
    70 }
    71 %endif
    73 label.small {
    74   font-size: smaller;
    75 }
    77 /* ----- APPLICATIONS PREFPANE ----- */
    78 #BrowserPreferences[animated="true"] #handlersView {
    79   height: 25em;
    80 }
    82 #BrowserPreferences[animated="false"] #handlersView {
    83   -moz-box-flex: 1;
    84 }
    86 description {
    87   font: small-caption;
    88   font-weight: normal;
    89   line-height: 1.3em;
    90   margin-bottom: 4px !important;
    91 }
    93 prefpane .groupbox-body {
    94   -moz-appearance: none;
    95   padding: 8px 4px 4px 4px;
    96 }
    98 #paneTabs > groupbox {
    99   margin: 0;
   100 }
   102 #tabPrefsBox {
   103   margin: 12px 4px;
   104 }
   106 prefpane .groupbox-title {
   107   background: url("chrome://global/skin/50pct_transparent_grey.png") repeat-x bottom left;
   108   margin-bottom: 4px;
   109 }
   111 tabpanels {
   112   padding: 20px 7px 7px;
   113 }
   115 caption {
   116   -moz-padding-start: 5px;
   117   padding-top: 4px;
   118   padding-bottom: 2px;
   119 }
   121 #paneMain description,
   122 #paneContent description,
   123 #paneAdvanced description,
   124 #paneSecurity description {
   125   font: -moz-dialog;
   126 }
   128 #paneContent {
   129   padding-top: 8px;
   130 }
   132 #paneContent row {
   133   padding: 2px 4px;
   134   -moz-box-align: center;
   135 }
   137 #popupPolicyRow,
   138 #enableSoftwareInstallRow,
   139 #enableImagesRow {
   140   margin-bottom: 4px !important;
   141   padding-bottom: 4px !important;
   142   border-bottom: 1px solid #ccc;
   143 }
   145 #browserUseCurrent,
   146 #browserUseBookmark,
   147 #browserUseBlank {
   148   margin-top: 10px;
   149 }
   151 #advancedPrefs {
   152   margin: 0 8px;
   153 }
   155 #privacyPrefs {
   156   padding: 0 4px;
   157 }
   159 #privacyPrefs > tabpanels {
   160   padding: 18px 10px 10px;
   161 }
   163 #OCSPDialogPane {
   164   font: message-box !important;
   165 }
   167 /**
   168  * Privacy Pane
   169  */
   171 html|a.inline-link {
   172   color: -moz-nativehyperlinktext;
   173   text-decoration: none;
   174 }
   176 html|a.inline-link:hover {
   177   text-decoration: underline;
   178 }
   180 html|a.inline-link:-moz-focusring {
   181   outline-width: 0;
   182   box-shadow: @focusRingShadow@;
   183 }
   185 /**
   186  * Update Preferences
   187  */
   188 #autoInstallOptions {
   189   -moz-margin-start: 20px;
   190 }
   192 .updateControls {
   193   -moz-margin-start: 10px;
   194 }
   196 /**
   197  * Clear Private Data
   198  */
   199 #SanitizeDialogPane > groupbox {
   200   margin-top: 0;
   201 }
   204 %ifdef MOZ_SERVICES_SYNC
   205 /* ----- SYNC PANE ----- */
   207 #syncDesc {
   208   padding: 0 8em;
   209 }
   211 #accountCaptionImage {
   212   list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
   213 }
   215 #syncAddDeviceLabel {
   216   margin-top: 1em;
   217   margin-bottom: 1em;
   218 }
   220 #fxaUnlinkButton {
   221   margin: 0;
   222 }
   224 #noFxaAccount {
   225   margin: 12px 4px;
   226   line-height: 1.2em;
   227 }
   229 #noFxaAccount > label:first-child {
   230   margin-bottom: 0.6em;
   231 }
   233 #fxa-pweng-help-link > label {
   234   margin: 0;
   235 }
   237 #fxa-pweng-help-link > image {
   238   width: 16px;
   239   height: 16px;
   240   list-style-image: url("chrome://global/skin/icons/question-16.png");
   241 }
   243 @media (min-resolution: 2dppx) {
   244   #fxa-pweng-help-link > image {
   245     list-style-image: url("chrome://global/skin/icons/question-32.png");
   246   }
   247 }
   249 %endif

mercurial