OLD | NEW |
---|---|
1 /* Copyright 2016 The Chromium Authors. All rights reserved. | 1 /* Copyright 2016 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 @import url(chrome://resources/css/text_defaults_md.css); | |
Dan Beam
2016/10/03 20:30:59
sorry, i gave you bad advice
<link rel="styleshee
klausw
2016/10/03 21:28:19
Done.
| |
6 | |
5 html { | 7 html { |
6 background-color: rgba(255, 255, 255, 0.2); | 8 background-color: rgba(255, 255, 255, 0.2); |
7 font-size: 20px; | |
8 } | 9 } |
9 | 10 |
10 .ui-button { | 11 .ui-button { |
11 background: white; | 12 background: white; |
12 border-radius: 6px; | 13 border-radius: 6px; |
13 overflow: hidden; | 14 overflow: hidden; |
14 position: absolute; | 15 position: absolute; |
15 text-align: center; | 16 text-align: center; |
16 vertical-align: middle; | 17 vertical-align: middle; |
17 } | 18 } |
19 | |
20 .webvr-message-box { | |
21 align-items: center; | |
22 display: flex; | |
23 flex-direction: column; | |
24 justify-content: center; | |
25 position: absolute; | |
26 } | |
27 | |
28 #webvr-not-secure-permanent { | |
29 height: 128px; | |
30 left: 0; | |
31 top: 0; | |
32 width: 512px; | |
33 } | |
34 | |
35 #webvr-not-secure-permanent .webvr-not-secure-icon { | |
36 display: inline-block; | |
37 margin: 20px 0; | |
38 vertical-align: middle; | |
39 } | |
40 | |
41 #webvr-not-secure-permanent .webvr-string { | |
42 display: inline-block; | |
43 margin: 20px 10.5px; | |
44 vertical-align: middle; | |
45 } | |
46 | |
47 #webvr-not-secure-permanent .webvr-box { | |
48 background-color: white; | |
49 border-radius: 6px; | |
50 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); | |
51 box-sizing: border-box; | |
52 color: #444; | |
53 font-size: 26px; | |
54 height: 78px; | |
55 max-width: 472px; | |
56 min-width: 226px; | |
57 overflow: hidden; | |
58 padding: 0 20px; | |
59 white-space: nowrap; | |
Dan Beam
2016/10/03 20:30:59
do these widths work well for German? how does th
klausw
2016/10/03 21:28:19
We don't have the translated strings yet. I tested
| |
60 } | |
61 | |
62 #webvr-not-secure-transient { | |
63 height: 256px; | |
64 left: 0; | |
65 top: 128px; | |
66 width: 512px; | |
67 } | |
68 | |
69 #webvr-not-secure-transient > div { | |
70 background-color: rgba(26, 26, 26, 0.8); | |
71 border-radius: 6px; | |
72 box-sizing: border-box; | |
73 color: white; | |
74 display: flex; | |
75 flex-direction: column; | |
76 font-size: 26px; | |
77 justify-content: center; | |
78 line-height: 1.4; | |
79 max-height: 210px; | |
80 min-height: 160px; | |
81 padding: 20px; | |
82 text-align: center; | |
83 width: 512px; | |
84 } | |
OLD | NEW |