OLD | NEW |
---|---|
1 <!-- | 1 <!-- |
2 Copyright 2016 The Chromium Authors. All rights reserved. | 2 Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 <!DOCTYPE html> | 6 <!DOCTYPE html> |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
10 <if expr="is_android or is_ios"> | 10 <if expr="is_android or is_ios"> |
11 <meta name="viewport" content="width=device-width, initial-scale=1.0, | 11 <meta name="viewport" content="width=device-width, initial-scale=1.0, |
12 maximum-scale=1.0, user-scalable=no"> | 12 maximum-scale=1.0, user-scalable=no"> |
13 <meta http-equiv="cache-control" content="no-cache"> | 13 <meta http-equiv="cache-control" content="no-cache"> |
14 <meta http-equiv="pragma" content="no-cache"> | 14 <meta http-equiv="pragma" content="no-cache"> |
15 </if> | 15 </if> |
16 <title>Vr Shell UIs</title> | 16 <title>Vr Shell UIs</title> |
17 <link rel="stylesheet" href="vr_shell_ui.css"> | 17 <link rel="stylesheet" href="vr_shell_ui.css"> |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 <!-- IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_TRANSIENT message --> | |
21 <div id="not-secure-verbose" style=" | |
22 width: 256px; | |
23 height: 128px; | |
24 background: rgba(0,0,0,0); | |
25 position: absolute; | |
26 left: 0px; | |
27 top: 0px; | |
28 "><div style=" | |
29 position: absolute; | |
30 background-color: rgba(0, 0, 0, 0.5); | |
31 width: 251px; | |
32 height: 100px; | |
33 left: 50%; | |
34 top: 50%; | |
35 transform: translate(-50%, -50%); | |
36 padding: 3px; | |
37 border-radius: 3px; | |
38 "><span style=" | |
39 font-family: sans-serif; | |
40 font-size: 15px; | |
41 text-align: center; | |
42 color: white; | |
43 width: 251px; | |
44 position: absolute; | |
45 left: 50%; | |
46 top: 50%; | |
47 transform: translate(-50%, -50%); | |
48 ">$i18n{insecureWebVrContentTransient}</span></div></div></body> | |
49 <!-- IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_PERMANENT message --> | |
50 <div id="not-secure-small" style=" | |
51 width: 128px; | |
52 height: 64px; | |
53 background: rgba(0,0,0,0); | |
54 position: absolute; | |
55 left: 256px; | |
56 top: 0px; | |
57 "><span style=" | |
58 background: white; | |
59 position: absolute; | |
60 width: 100px; | |
61 top: 50%; | |
62 left: 50%; | |
63 transform: translate(-50%, -50%); | |
64 color: #444; | |
65 padding: 3px; | |
66 border-radius: 3px; | |
67 font-family: sans-serif; | |
68 font-size: 16px; | |
69 text-align: center; | |
70 box-shadow: 0px 0px 5px rgba(0,0,0,0.3); | |
71 "><span>ⓘ</span> $i18n{insecureWebVrContentPermanent}</span></div> | |
Dan Beam
2016/09/27 20:28:43
can you put these style="" attributes into a <styl
| |
20 </body> | 72 </body> |
21 | 73 |
22 <!-- Run script after creating body, to let it add its own elements. --> | 74 <!-- Run script after creating body, to let it add its own elements. --> |
23 <script src="vr_shell_ui.js"></script> | 75 <script src="vr_shell_ui.js"></script> |
24 </html> | 76 </html> |
OLD | NEW |