Reland "Non-SFI mode: Switch to newlib. (patchset #4 id:60001 of https://codereview...
[chromium-blink-merge.git] / chrome / renderer / resources / plugin_placeholders.css
blobcae0362dd6c711891e6e0d7eaa90828ff51457b1
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 html, body {
6 -webkit-user-select: none;
7 font-family: sans-serif;
8 height: 100%;
9 margin: 0;
10 overflow: hidden;
11 text-align: center;
12 width: 100%;
15 h1 {
16 font-size: 10pt;
17 font-weight: normal;
18 padding: 0pt 10pt;
19 <if expr="not is_android and not chromeos">
20 visibility: hidden;
21 </if>
24 #outer:hover h1, #outer:hover #close {
25 visibility: visible;
28 p {
29 font-size: 8pt;
30 padding: 0pt 14pt;
33 #outer {
34 border: 1px black solid;
35 box-sizing: border-box;
36 height: 100%;
37 position: absolute;
38 width: 100%;
41 #inner {
42 height: 100%;
43 <if expr="not is_android">
44 margin-top: -70px;
45 </if>
46 <if expr="is_android">
47 margin-top: -14px;
48 </if>
49 position: relative;
50 top: 50%;
51 width: 100%;
54 #close {
55 background-image: -webkit-image-set(
56 url(../../../ui/resources/default_100_percent/close_2.png) 1x,
57 url(../../../ui/resources/default_200_percent/close_2.png) 2x);
58 background-position: right top;
59 background-repeat: no-repeat;
60 cursor: pointer;
61 height: 14px;
62 position: absolute;
63 right: 3px;
64 top: 3px;
65 <if expr="not is_android">
66 visibility: hidden;
67 </if>
68 width: 14px;
71 #close:hover {
72 background-image: -webkit-image-set(
73 url(../../../ui/resources/default_100_percent/close_2_hover.png) 1x,
74 url(../../../ui/resources/default_200_percent/close_2_hover.png) 2x);
77 #close:active {
78 background-image: -webkit-image-set(
79 url(../../../ui/resources/default_100_percent/close_2_pressed.png) 1x,
80 url(../../../ui/resources/default_200_percent/close_2_pressed.png) 2x);