| 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 html { | 5 html { |
| 6 background-color: rgba(255, 255, 255, 0); | 6 background-color: rgba(255, 255, 255, 0); |
| 7 } | 7 } |
| 8 | 8 |
| 9 #ui { | 9 #ui { |
| 10 left: 0; | 10 left: 0; |
| 11 position: absolute; | 11 position: absolute; |
| 12 top: 0; | 12 top: 0; |
| 13 transform-origin: left top; | 13 transform-origin: left top; |
| 14 width: 1920px; | 14 width: 1920px; |
| 15 } | 15 } |
| 16 | 16 |
| 17 /* This class manages the position of elements on the texture page. | 17 /* This class manages the position of elements on the texture page. |
| 18 * Each UI element should have a bounding div of this class. */ | 18 * Each UI element should have a bounding div of this class. */ |
| 19 .ui-element { | 19 .ui-element { |
| 20 float: left; | 20 float: left; |
| 21 margin: 2px; | 21 margin: 2px; |
| 22 } | 22 } |
| 23 | 23 |
| 24 #content-quad-element { |
| 25 --sizeY: 1.6; |
| 26 --sizeX: 2.5; |
| 27 width: 50px; |
| 28 height: 50px; |
| 29 background-color: red; |
| 30 --tranX: 0; |
| 31 --tranY: 0; |
| 32 --tranZ: -2.0; |
| 33 } |
| 34 |
| 35 #content-quad-element.menu { |
| 36 --tranX: 0; |
| 37 --tranY: 0; |
| 38 --tranZ: -4.0; |
| 39 } |
| 40 |
| 24 .webvr-message-box { | 41 .webvr-message-box { |
| 25 align-items: center; | 42 align-items: center; |
| 26 display: flex; | 43 display: flex; |
| 27 flex-direction: column; | 44 flex-direction: column; |
| 28 justify-content: center; | 45 justify-content: center; |
| 29 } | 46 } |
| 30 | 47 |
| 31 #webvr-not-secure-permanent .webvr-not-secure-icon { | 48 #webvr-not-secure-permanent .webvr-not-secure-icon { |
| 32 display: inline-block; | 49 display: inline-block; |
| 33 margin: 20px 0; | 50 margin: 20px 0; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 background-color: #eee; | 96 background-color: #eee; |
| 80 background-position: center; | 97 background-position: center; |
| 81 background-repeat: no-repeat; | 98 background-repeat: no-repeat; |
| 82 background-size: contain; | 99 background-size: contain; |
| 83 border-radius: 10%; | 100 border-radius: 10%; |
| 84 height: 96px; | 101 height: 96px; |
| 85 margin: auto auto; | 102 margin: auto auto; |
| 86 opacity: 0.8; | 103 opacity: 0.8; |
| 87 transition: opacity 150ms ease-in-out; | 104 transition: opacity 150ms ease-in-out; |
| 88 width: 96px; | 105 width: 96px; |
| 106 --custom-var: "cat"; |
| 107 } |
| 108 |
| 109 .round-button .button:hover { |
| 110 background-color: red; |
| 111 --custom-var: "dog"; |
| 89 } | 112 } |
| 90 | 113 |
| 91 .round-button .caption { | 114 .round-button .caption { |
| 92 color: white; | 115 color: white; |
| 93 font-size: 24px; | 116 font-size: 24px; |
| 94 max-width: 192px; | 117 max-width: 192px; |
| 95 opacity: 0; | 118 opacity: 0; |
| 96 overflow: hidden; | 119 overflow: hidden; |
| 97 text-align: center; | 120 text-align: center; |
| 98 transition: opacity 150ms ease-in-out; | 121 transition: opacity 150ms ease-in-out; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 outline: none; /* Do not show an outline when focused. */ | 305 outline: none; /* Do not show an outline when focused. */ |
| 283 overflow: hidden; | 306 overflow: hidden; |
| 284 white-space: nowrap; | 307 white-space: nowrap; |
| 285 width: 100%; | 308 width: 100%; |
| 286 } | 309 } |
| 287 | 310 |
| 288 #omnibox-clear-button { | 311 #omnibox-clear-button { |
| 289 background: url(../../../../ui/webui/resources/images/x-hover.png) no-repeat c
enter center; | 312 background: url(../../../../ui/webui/resources/images/x-hover.png) no-repeat c
enter center; |
| 290 width: 18px; | 313 width: 18px; |
| 291 } | 314 } |
| OLD | NEW |