toolkit/themes/shared/plugins/pluginProblem.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.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 @namespace html url(http://www.w3.org/1999/xhtml);
michael@0 6
michael@0 7 /* These styles affect only the bound element, not other page content. */
michael@0 8 /* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */
michael@0 9 .mainBox {
michael@0 10 font: message-box;
michael@0 11 font-size: 12px;
michael@0 12 text-align: center;
michael@0 13 display: table;
michael@0 14 width: 100%;
michael@0 15 height: 100%;
michael@0 16 background-color: rgb(72,72,72);
michael@0 17 color: white;
michael@0 18 -moz-user-select: none;
michael@0 19 position: relative;
michael@0 20 }
michael@0 21
michael@0 22 .hoverBox {
michael@0 23 display: table-cell;
michael@0 24 box-sizing: border-box;
michael@0 25 padding: 5px;
michael@0 26 vertical-align: middle;
michael@0 27 width: 100%;
michael@0 28 height: 100%;
michael@0 29 }
michael@0 30 :-moz-handler-vulnerable-updatable .hoverBox:active,
michael@0 31 :-moz-handler-vulnerable-no-update .hoverBox:active,
michael@0 32 :-moz-handler-clicktoplay .hoverBox:active {
michael@0 33 background-color: rgb(65, 65, 65);
michael@0 34 }
michael@0 35
michael@0 36 :-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay,
michael@0 37 :-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
michael@0 38 :-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay,
michael@0 39 :-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
michael@0 40 :-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay,
michael@0 41 :-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
michael@0 42 color: red;
michael@0 43 }
michael@0 44
michael@0 45 :-moz-handler-vulnerable-updatable .hoverBox,
michael@0 46 :-moz-handler-vulnerable-no-update .hoverBox,
michael@0 47 :-moz-handler-blocked .hoverBox,
michael@0 48 :-moz-handler-crashed .hoverBox {
michael@0 49 background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png);
michael@0 50 }
michael@0 51
michael@0 52 html|a {
michael@0 53 color: white;
michael@0 54 }
michael@0 55
michael@0 56 .icon {
michael@0 57 width: 48px;
michael@0 58 height: 48px;
michael@0 59 background-position: center;
michael@0 60 background-repeat: no-repeat;
michael@0 61 border: none;
michael@0 62 background-color: transparent;
michael@0 63 -moz-user-focus: ignore;
michael@0 64 margin-bottom: 6px;
michael@0 65 }
michael@0 66
michael@0 67 :-moz-type-unsupported .icon,
michael@0 68 :-moz-type-unsupported-platform .icon {
michael@0 69 background-image: url(chrome://mozapps/skin/plugins/contentPluginMissing.png);
michael@0 70 }
michael@0 71 :-moz-type-unsupported .icon[installable] {
michael@0 72 background-image: url(chrome://mozapps/skin/plugins/contentPluginDownload.png);
michael@0 73 }
michael@0 74 :-moz-handler-vulnerable-updatable .icon,
michael@0 75 :-moz-handler-vulnerable-no-update .icon {
michael@0 76 background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png);
michael@0 77 -moz-user-focus: normal;
michael@0 78 }
michael@0 79 :-moz-handler-blocked .icon {
michael@0 80 background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png);
michael@0 81 }
michael@0 82 :-moz-handler-clicktoplay .icon {
michael@0 83 background-image: url(chrome://mozapps/skin/plugins/contentPluginActivate.png);
michael@0 84 -moz-user-focus: normal;
michael@0 85 }
michael@0 86 :-moz-handler-disabled .icon {
michael@0 87 background-image: url(chrome://mozapps/skin/plugins/contentPluginDisabled.png);
michael@0 88 }
michael@0 89 :-moz-handler-crashed .icon {
michael@0 90 background-image: url(chrome://mozapps/skin/plugins/contentPluginCrashed.png);
michael@0 91 }
michael@0 92
michael@0 93 .throbber {
michael@0 94 padding-left: 16px; /* width of the background image */
michael@0 95 background: url(chrome://global/skin/icons/loading_16.png) no-repeat;
michael@0 96 margin-left: 5px;
michael@0 97 }
michael@0 98
michael@0 99 .msgTapToPlay,
michael@0 100 .msgClickToPlay {
michael@0 101 text-decoration: underline;
michael@0 102 }
michael@0 103
michael@0 104 @media not all and (-moz-touch-enabled) {
michael@0 105 :-moz-handler-clicktoplay .msgTapToPlay {
michael@0 106 display: none;
michael@0 107 }
michael@0 108 }
michael@0 109
michael@0 110 @media (-moz-touch-enabled) {
michael@0 111 :-moz-handler-clicktoplay .msgClickToPlay {
michael@0 112 display: none;
michael@0 113 }
michael@0 114 }
michael@0 115
michael@0 116 .submitStatus div {
michael@0 117 min-height: 19px; /* height of biggest line (with throbber) */
michael@0 118 }
michael@0 119
michael@0 120 .submitComment {
michael@0 121 width: 340px;
michael@0 122 height: 70px;
michael@0 123 padding: 5px;
michael@0 124 border: none;
michael@0 125 border-radius: 5px;
michael@0 126 resize: none;
michael@0 127 font-family: inherit;
michael@0 128 font-size: inherit;
michael@0 129 }
michael@0 130
michael@0 131 .submitURLOptInBox {
michael@0 132 text-align: start;
michael@0 133 }
michael@0 134
michael@0 135 .submitURLOptIn {
michael@0 136 margin-left: -1px;
michael@0 137 }
michael@0 138
michael@0 139 .mainBox[chromedir="rtl"] .submitURLOptIn {
michael@0 140 margin-left: 0;
michael@0 141 margin-right: -1px;
michael@0 142 }
michael@0 143
michael@0 144 .submitButtonBox {
michael@0 145 margin-top: 7px;
michael@0 146 }
michael@0 147
michael@0 148 .submitButton {
michael@0 149 float: right;
michael@0 150 }
michael@0 151
michael@0 152 .mainBox[chromedir="rtl"] .submitButton {
michael@0 153 float: left;
michael@0 154 }
michael@0 155
michael@0 156 .helpIcon {
michael@0 157 display: inline-block;
michael@0 158 min-width: 16px;
michael@0 159 min-height: 16px;
michael@0 160 background: url(chrome://mozapps/skin/plugins/pluginHelp-16.png) no-repeat;
michael@0 161 cursor: pointer;
michael@0 162 float: left;
michael@0 163 }
michael@0 164
michael@0 165 .mainBox[chromedir="rtl"] .helpIcon {
michael@0 166 float: right;
michael@0 167 }
michael@0 168
michael@0 169 .closeIcon {
michael@0 170 display: block;
michael@0 171 position: absolute;
michael@0 172 width: 16px;
michael@0 173 height: 16px;
michael@0 174 top: 4px;
michael@0 175 right: 4px;
michael@0 176 border: none;
michael@0 177 background-color: transparent;
michael@0 178 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");
michael@0 179 background-repeat: no-repeat;
michael@0 180 }
michael@0 181
michael@0 182 .mainBox[chromedir="rtl"] .closeIcon {
michael@0 183 right: auto;
michael@0 184 left: 4px;
michael@0 185 }
michael@0 186
michael@0 187 .closeIcon:hover {
michael@0 188 background-position: -16px 0;
michael@0 189 }
michael@0 190
michael@0 191 .closeIcon:hover:active {
michael@0 192 background-position: -32px 0;
michael@0 193 }
michael@0 194
michael@0 195 .action-link {
michael@0 196 display: inline-block;
michael@0 197 border-radius: 10px;
michael@0 198 background-color: rgb(35, 35, 35);
michael@0 199 padding: 2px 8px;
michael@0 200 margin-top: 7px;
michael@0 201 text-decoration: none;
michael@0 202 }
michael@0 203 .action-link:active {
michael@0 204 background-color: rgb(20, 20, 20);
michael@0 205 }
michael@0 206
michael@0 207 :-moz-handler-vulnerable-updatable .action-link {
michael@0 208 background-color: #a81b0c;
michael@0 209 }
michael@0 210 :-moz-handler-vulnerable-updatable .action-link:active {
michael@0 211 background-color: #801409;
michael@0 212 }

mercurial