Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: chrome/browser/resources/vr_shell/vr_shell_ui.css

Issue 2473443002: Add an initial omnibox to HTML UI content. (Closed)
Patch Set: Remove debug logging print. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 {
10 --scaleFactor: 4;
11 left: 0;
12 position: absolute;
13 top: 0;
14 transform: scale(0.25, 0.25);
15 }
16
9 .webvr-message-box { 17 .webvr-message-box {
10 align-items: center; 18 align-items: center;
11 display: flex; 19 display: flex;
12 flex-direction: column; 20 flex-direction: column;
13 justify-content: center; 21 justify-content: center;
14 position: absolute; 22 position: absolute;
15 } 23 }
16 24
17 /* Permanent security warning for WebVR. This uses a fixed-size absolutely 25 /* Permanent security warning for WebVR. This uses a fixed-size absolutely
18 * positioned DIV, the rectangle must match kWebVrWarningPermanentRect 26 * positioned DIV, the rectangle must match kWebVrWarningPermanentRect
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 color: white; 157 color: white;
150 font-size: 16; 158 font-size: 16;
151 height: 24px; 159 height: 24px;
152 left: 610px; 160 left: 610px;
153 opacity: 1; 161 opacity: 1;
154 position: absolute; 162 position: absolute;
155 text-align: center; 163 text-align: center;
156 top: 0; 164 top: 0;
157 width: 96px; 165 width: 96px;
158 } 166 }
167
168 #omni {
169 --tranX: 0;
170 --tranY: -0.5;
171 --tranZ: -1.0;
172 background-color: rgba(255, 255, 255, 0.9);
173 border-radius: 100px;
174 box-sizing: border-box;
175 height: 104px;
176 left: 0;
bshe 2016/11/01 22:24:12 Perhaps use flex box to be i18n friendly?
177 opacity: 1;
178 position: absolute;
179 top: 402px;
180 transition: opacity 250ms ease, margin-top 250ms ease;
181 white-space: nowrap;
182 width: 504px;
183 }
184
185 #omni #connection-security {
186 left: 35px;
187 position: absolute;
188 top: 50%;
189 transform: translateY(-50%);
190 }
191
192 #omni #url {
193 color: #252525;
194 font-size: 34px;
195 left: 80px;
196 position: absolute;
197 top: 50%;
198 transform: translateY(-50%);
199 white-space: nowrap;
200 }
201
202 #omni #path {
203 color: #868686;
204 }
205
206 #omni.hide {
207 margin-top: 60px;
208 opacity: 0;
209 }
210
211 #omni.loading {
212 border: 4px solid rgb(86, 203, 255);
213 }
214
215 #omni.idle {
216 background-color: #ECECEC;
217 box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.1);
218 }
219
220 #omni.idle #domain {
221 color: black;
222 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/vr_shell/vr_shell_ui.html » ('j') | chrome/browser/resources/vr_shell/vr_shell_ui.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698