toolkit/mozapps/plugins/content/pluginProblemContent.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 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 @namespace html url(http://www.w3.org/1999/xhtml);
     7 /* Do not change this without also changing the appropriate line in
     8  * browser-plugins.js (near where this file is mentioned). */
     9 html|object:not([width]), html|object[width=""],
    10 html|embed:not([width]), html|embed[width=""],
    11 html|applet:not([width]), html|applet[width=""] {
    12   width: 240px;
    13 }
    15 /* Do not change this without also changing the appropriate line in
    16  * browser-plugins.js (near where this file is mentioned). */
    17 html|object:not([height]), html|object[height=""],
    18 html|embed:not([height]), html|embed[height=""],
    19 html|applet:not([height]), html|applet[height=""] {
    20   height: 200px;
    21 }
    23 :-moz-type-unsupported .mainBox,
    24 :-moz-type-unsupported-platform .mainBox,
    25 :-moz-handler-clicktoplay .mainBox,
    26 :-moz-handler-vulnerable-updatable .mainBox,
    27 :-moz-handler-vulnerable-no-update .mainBox,
    28 :-moz-handler-disabled .mainBox,
    29 :-moz-handler-blocked .mainBox {
    30   -moz-user-focus: normal;
    31 }
    32 :-moz-type-unsupported .mainBox:focus,
    33 :-moz-type-unsupported-platform .mainBox:focus,
    34 :-moz-handler-clicktoplay .mainBox:focus,
    35 :-moz-handler-vulnerable-updatable .mainBox:focus,
    36 :-moz-handler-vulnerable-no-update .mainBox:focus,
    37 :-moz-handler-disabled .mainBox:focus,
    38 :-moz-handler-blocked .mainBox:focus {
    39   outline: 1px dotted;
    40 }
    42 .mainBox {
    43   width: inherit;
    44   height: inherit;
    45   overflow: hidden;
    46   direction: ltr;
    47   unicode-bidi: embed;
    48   /* used to block inherited properties */
    49   text-transform: none;
    50   text-indent: 0;
    51   cursor: initial;
    52   white-space: initial;
    53   word-spacing: initial;
    54   letter-spacing: initial;
    55   line-height: initial;
    56   position: relative;
    57 }
    59 /* Initialize the overlay with visibility:hidden to prevent flickering if
    60 * the plugin is too small to show the overlay */
    61 .mainBox > .hoverBox,
    62 .mainBox > .closeIcon {
    63   visibility: hidden;
    64 }
    66 .visible > .hoverBox,
    67 .visible > .closeIcon {
    68   visibility: visible;
    69 }
    71 .mainBox[chromedir="rtl"] {
    72   direction: rtl;
    73 }
    75 :-moz-handler-playpreview .mainBox {
    76   display: none;
    77 }
    79 :-moz-handler-clicktoplay .hoverBox,
    80 :-moz-handler-vulnerable-updatable .hoverBox,
    81 :-moz-handler-vulnerable-no-update .hoverBox {
    82   cursor: pointer;
    83 }
    85 .hoverBox > label {
    86   cursor: inherit;
    87 }
    88 .icon {
    89   cursor: inherit;
    90 }
    92 .previewPluginContent {
    93   display: none;
    94 }
    96 .previewPluginContent > iframe {
    97   width: inherit;
    98   height: inherit;
    99   border: none;
   100 }
   102 :-moz-handler-playpreview .previewPluginContent {
   103   display: block;
   104   width: inherit;
   105   height: inherit;
   106   overflow: hidden;
   107 }
   109 .msg {
   110   display: none;
   111 }
   113 :-moz-type-unsupported .msgUnsupported,
   114 :-moz-type-unsupported-platform .msgUnsupportedPlatform,
   115 :-moz-handler-clicktoplay .msgClickToPlay,
   116 :-moz-handler-vulnerable-updatable .msgVulnerabilityStatus,
   117 :-moz-handler-vulnerable-updatable .msgCheckForUpdates,
   118 :-moz-handler-vulnerable-updatable .msgClickToPlay,
   119 :-moz-handler-vulnerable-no-update .msgVulnerabilityStatus,
   120 :-moz-handler-vulnerable-no-update .msgClickToPlay,
   121 :-moz-handler-clicktoplay .msgTapToPlay,
   122 :-moz-handler-disabled .msgDisabled,
   123 :-moz-handler-disabled .msgManagePlugins,
   124 :-moz-handler-blocked .msgBlocked,
   125 :-moz-handler-crashed .msgCrashed {
   126   display: block;
   127 }
   129 .installStatus[installable] .msgInstallPlugin {
   130   display: block;
   131 }
   133 .submitStatus[status] {
   134   display: -moz-box;
   135   -moz-box-align: center;
   136   -moz-box-pack: center;
   137   height: 160px;
   138 }
   140 .submitStatus[status="noReport"]   .msgNoCrashReport,
   141 .submitStatus[status="please"]     .msgPleaseSubmit,
   142 .submitStatus[status="noSubmit"]   .msgNotSubmitted,
   143 .submitStatus[status="submitting"] .msgSubmitting,
   144 .submitStatus[status="success"]    .msgSubmitted,
   145 .submitStatus[status="failed"]     .msgSubmitFailed {
   146   display: block;
   147 }

mercurial