| 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; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 background-color: rgba(0, 0, 0, 0); | 79 background-color: rgba(0, 0, 0, 0); |
| 80 background-position: center; | 80 background-position: center; |
| 81 background-repeat: no-repeat; | 81 background-repeat: no-repeat; |
| 82 background-size: contain; | 82 background-size: contain; |
| 83 height: 192px; | 83 height: 192px; |
| 84 margin: auto auto; | 84 margin: auto auto; |
| 85 width: 192px; | 85 width: 192px; |
| 86 } | 86 } |
| 87 | 87 |
| 88 .round-button { | 88 .round-button { |
| 89 background-color: #eee; | 89 background-color: #fbfbfb; |
| 90 background-position: center; | 90 background-position: center; |
| 91 background-repeat: no-repeat; | 91 background-repeat: no-repeat; |
| 92 background-size: contain; | 92 background-size: 70px; |
| 93 border-radius: 10%; | 93 border-radius: 6px; |
| 94 height: 96px; | 94 height: 112px; |
| 95 margin: auto auto; | 95 margin: auto auto; |
| 96 opacity: 0.8; | 96 opacity: 0.8; |
| 97 transition: opacity 150ms ease-in-out; | 97 transition: opacity 50ms ease-in-out; |
| 98 width: 96px; | 98 width: 112px; |
| 99 } | 99 } |
| 100 | 100 |
| 101 .button-caption { | 101 .button-caption { |
| 102 color: white; | 102 color: white; |
| 103 font-size: 24px; | 103 font-size: 24px; |
| 104 max-width: 192px; | 104 max-width: 192px; |
| 105 opacity: 0; | 105 opacity: 0; |
| 106 overflow: hidden; | 106 overflow: hidden; |
| 107 text-align: center; | 107 text-align: center; |
| 108 transition: opacity 150ms ease-in-out; | 108 transition: opacity 50ms ease-in-out; |
| 109 white-space: nowrap; | 109 white-space: nowrap; |
| 110 } | 110 } |
| 111 | 111 |
| 112 .rect-button { | 112 .rect-button { |
| 113 background-color: #eee; | 113 background-color: #eee; |
| 114 border-radius: 6px; | 114 border-radius: 6px; |
| 115 color: black; | 115 color: black; |
| 116 font-size: 20px; | 116 font-size: 20px; |
| 117 line-height: 96px; | 117 line-height: 96px; |
| 118 opacity: 0.8; | 118 opacity: 0.8; |
| 119 overflow: hidden; | 119 overflow: hidden; |
| 120 text-align: center; | 120 text-align: center; |
| 121 text-transform: uppercase; | 121 text-transform: uppercase; |
| 122 vertical-align: middle; | 122 vertical-align: middle; |
| 123 white-space: nowrap; | 123 white-space: nowrap; |
| 124 width: 300px; | 124 width: 300px; |
| 125 } | 125 } |
| 126 | 126 |
| 127 .rect-button:hover { | 127 .rect-button:hover { |
| 128 opacity: 1; | 128 opacity: 1; |
| 129 } | 129 } |
| 130 | 130 |
| 131 .disabled-button { | 131 .disabled-button { |
| 132 background-color: #aaa; | 132 background-color: #bbb; |
| 133 } | 133 } |
| 134 | 134 |
| 135 #back-button, | 135 #back-button, |
| 136 #forward-button, | 136 #forward-button, |
| 137 #back-indicator, | 137 #back-indicator, |
| 138 #forward-indicator { | 138 #forward-indicator { |
| 139 background-image: url(../../../../ui/webui/resources/images/vr_back.svg); | 139 background-image: url(../../../../ui/webui/resources/images/vr_back.svg); |
| 140 } | 140 } |
| 141 | 141 |
| 142 #reload-button { | 142 #reload-button { |
| 143 background-image: url(../../../../ui/webui/resources/images/vr_reload.svg); | 143 background-image: url(../../../../ui/webui/resources/images/vr_reload.svg); |
| 144 } | 144 } |
| 145 | 145 |
| 146 #forward-button, | 146 #forward-button, |
| 147 #forward-indicator { | 147 #forward-indicator { |
| 148 transform: scaleX(-1); | 148 transform: scaleX(-1); |
| 149 } | 149 } |
| 150 | 150 |
| 151 #reload-ui-button { | 151 #reload-ui-button { |
| 152 --rotX: -0.2; |
| 153 --rotY: 0; |
| 154 --rotZ: 0; |
| 155 --scale: 1; |
| 156 --tranX: 0; |
| 157 --tranY: -0.7; |
| 158 --tranZ: -0.4; |
| 159 background-color: rgba(255,255,255,0.25); |
| 152 color: white; | 160 color: white; |
| 153 font-size: 24px; | 161 font-size: 24px; |
| 154 padding: 12px; | 162 padding: 12px; |
| 155 } | 163 } |
| 156 | 164 |
| 157 #reload-ui-button:hover { | 165 #reload-ui-button:hover { |
| 158 background-color: pink; | 166 background-color: turquoise; |
| 159 } | 167 } |
| 160 | 168 |
| 161 #content-interceptor { | 169 #content-interceptor { |
| 162 height: 1px; | 170 height: 1px; |
| 163 opacity: 0; | 171 opacity: 0; |
| 164 width: 1px; | 172 width: 1px; |
| 165 } | 173 } |
| 166 | 174 |
| 167 .tab { | 175 .tab { |
| 168 background-color: #eee; | 176 background-color: #eee; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 197 | 205 |
| 198 /* The tab clip element's width will be programmatically set to the total width | 206 /* The tab clip element's width will be programmatically set to the total width |
| 199 * of all it's children (the tabs). By doing so, the tabs can be scrolled | 207 * of all it's children (the tabs). By doing so, the tabs can be scrolled |
| 200 * horizontally in the tab container element. */ | 208 * horizontally in the tab container element. */ |
| 201 #tab-clip { | 209 #tab-clip { |
| 202 margin: 0 auto; | 210 margin: 0 auto; |
| 203 overflow: hidden; | 211 overflow: hidden; |
| 204 } | 212 } |
| 205 | 213 |
| 206 #url-indicator-container { | 214 #url-indicator-container { |
| 215 --scale: 1.2; |
| 207 --tranX: 0; | 216 --tranX: 0; |
| 208 --tranY: -0.65; | 217 --tranY: -0.75; |
| 209 --tranZ: -1.2; | 218 --tranZ: -1.8; |
| 210 } | 219 } |
| 211 | 220 |
| 212 #url-indicator-border { | 221 #url-indicator-border { |
| 213 --fadeTimeMs: 500; | 222 --fadeTimeMs: 200; |
| 214 --fadeYOffset: -0.1; | 223 --fadeYOffset: -0.05; |
| 215 --opacity: 0.9; | 224 --opacity: 0.9; |
| 216 --statusBarColor: rgb(66, 133, 244); | 225 --statusBarColor: rgb(66, 133, 244); |
| 217 background-color: #ececec; | 226 background-color: #ececec; |
| 218 border-radius: 200px; | 227 border-radius: 6px; |
| 219 padding: 6px; | 228 padding: 6px; |
| 220 } | 229 } |
| 221 | 230 |
| 222 #url-indicator { | 231 #url-indicator { |
| 223 align-items: center; | 232 align-items: center; |
| 224 background-color: #ececec; | 233 background-color: #ececec; |
| 225 border-radius: 200px; | 234 border-radius: 6px; |
| 226 box-sizing: border-box; | 235 box-sizing: border-box; |
| 227 display: flex; | 236 display: flex; |
| 228 height: 104px; | 237 height: 104px; |
| 229 justify-content: center; | 238 justify-content: center; |
| 230 overflow: hidden; | 239 overflow: hidden; |
| 231 white-space: nowrap; | 240 white-space: nowrap; |
| 232 width: 512px; | 241 width: 512px; |
| 233 } | 242 } |
| 234 | 243 |
| 235 #url-indicator-content { | 244 #url-indicator-content { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 overflow: hidden; | 277 overflow: hidden; |
| 269 white-space: nowrap; | 278 white-space: nowrap; |
| 270 width: 100%; | 279 width: 100%; |
| 271 } | 280 } |
| 272 | 281 |
| 273 #url-indicator #path { | 282 #url-indicator #path { |
| 274 color: #868686; | 283 color: #868686; |
| 275 } | 284 } |
| 276 | 285 |
| 277 #omnibox-ui-element { | 286 #omnibox-ui-element { |
| 278 --tranX: 0; | |
| 279 --tranY: -0.1; | |
| 280 --tranZ: -1.0; | |
| 281 background-color: transparent; | 287 background-color: transparent; |
| 282 box-sizing: border-box; | 288 box-sizing: border-box; |
| 283 font-family: arial; | |
| 284 font-size: 16px; | 289 font-size: 16px; |
| 285 width: 400px; | 290 width: 368px; |
| 286 } | 291 } |
| 287 | 292 |
| 288 #suggestions { | 293 #suggestions { |
| 289 border: 1px solid transparent; | 294 border: 1px solid transparent; |
| 290 box-sizing: border-box; | 295 box-sizing: border-box; |
| 291 } | 296 } |
| 292 | 297 |
| 293 .suggestion { | 298 .suggestion { |
| 294 align-items: center; /* Vertically center text in div. */ | 299 align-items: center; /* Vertically center text in div. */ |
| 295 background-color: white; | 300 background-color: white; |
| 296 /* Use a transparent border to hide text overflow, but allow background to | 301 /* Use a transparent border to hide text overflow, but allow background to |
| 297 * color show through. */ | 302 * color show through. */ |
| 298 border-left: 5px solid transparent; | 303 border-left: 5px solid transparent; |
| 299 border-right: 5px solid transparent; | 304 border-right: 5px solid transparent; |
| 300 box-sizing: border-box; | 305 box-sizing: border-box; |
| 301 display: flex; | 306 display: flex; |
| 302 height: 24px; | 307 height: 24px; |
| 303 overflow: hidden; | 308 overflow: hidden; |
| 304 white-space: nowrap; | 309 white-space: nowrap; |
| 305 } | 310 } |
| 306 | 311 |
| 307 .suggestion:hover { | 312 .suggestion:hover { |
| 308 background-color: orange; | 313 background-color: orange; |
| 309 } | 314 } |
| 310 | 315 |
| 311 #omnibox-url-element { | 316 #omnibox-url-element { |
| 312 background-color: white; | 317 background-color: white; |
| 313 border: 1px solid grey; | 318 border-radius: 6px; |
| 314 box-sizing: border-box; | 319 box-sizing: border-box; |
| 315 display: flex; | 320 display: flex; |
| 316 flex-direction: row-reverse; /* Right-justify for convienence. */ | 321 flex-direction: row-reverse; /* Right-justify for convienence. */ |
| 322 height: 64px; |
| 317 margin-top: 2px; | 323 margin-top: 2px; |
| 318 padding: 5px; | 324 padding: 8px; |
| 325 transition: background-color 50ms ease-in-out; |
| 319 } | 326 } |
| 320 | 327 |
| 321 #omnibox-input-field { | 328 #omnibox-input-field { |
| 329 background-color: transparent; |
| 322 border: none; | 330 border: none; |
| 323 font-size: 16px; | 331 font-size: 27px; |
| 324 outline: none; /* Do not show an outline when focused. */ | 332 outline: none; /* Do not show an outline when focused. */ |
| 325 overflow: hidden; | 333 overflow: hidden; |
| 334 text-align: center; |
| 326 white-space: nowrap; | 335 white-space: nowrap; |
| 327 width: 100%; | 336 width: 100%; |
| 328 } | 337 } |
| 329 | 338 |
| 330 #omnibox-clear-button { | 339 #omnibox-clear-button { |
| 331 background: url(../../../../ui/webui/resources/images/x-hover.png) no-repeat c
enter center; | 340 background: url(../../../../ui/webui/resources/images/x-hover.png) no-repeat c
enter center; |
| 332 width: 18px; | 341 width: 18px; |
| 333 } | 342 } |
| OLD | NEW |