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

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

Issue 2615003004: Support showing loading progress in the VR omnibox. (Closed)
Patch Set: Created 3 years, 11 months 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 { 9 #ui {
10 left: 0; 10 left: 0;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 transform: scaleX(-1); 112 transform: scaleX(-1);
113 } 113 }
114 114
115 #reload-ui-button { 115 #reload-ui-button {
116 background-color: #555; 116 background-color: #555;
117 color: white; 117 color: white;
118 font-size: 24px; 118 font-size: 24px;
119 padding: 12px; 119 padding: 12px;
120 } 120 }
121 121
122 #omni-container { 122 #omnibox-container {
123 --tranX: 0; 123 --tranX: 0;
124 --tranY: -0.65; 124 --tranY: -0.65;
125 --tranZ: -1.2; 125 --tranZ: -1.2;
126 height: 164px;
mthiesse 2017/01/06 21:11:18 these were added when the omnibox wasn't permanent
cjgrant 2017/01/09 15:44:14 The size is determined by #omnibox now, even if it
127 overflow: hidden;
128 width: 512px;
129 } 126 }
130 127
131 #omni { 128 #omnibox-border {
129 --statusBarColor: rgb(66, 133, 244);
130 background-color: #ececec;
131 border-radius: 200px;
132 opacity: 0.9;
133 padding: 6px;
134 transition: opacity 500ms ease;
135 }
136
137 #omnibox-border.hidden {
138 opacity: 0;
139 }
140
141 #omnibox {
132 align-items: center; 142 align-items: center;
133 background-color: rgba(255, 255, 255, 0.9); 143 background-color: #ececec;
134 border-radius: 100px; 144 border-radius: 200px;
135 box-sizing: border-box; 145 box-sizing: border-box;
136 display: flex; 146 display: flex;
137 height: 104px; 147 height: 104x;
mthiesse 2017/01/06 21:11:18 s/x/px?
cjgrant 2017/01/09 15:44:14 Agreed.
cjgrant 2017/01/10 15:42:10 Done.
138 justify-content: center; 148 justify-content: center;
139 margin-bottom: 60px;
140 margin-top: 0;
141 opacity: 1;
142 overflow: hidden; 149 overflow: hidden;
143 transition: opacity 500ms ease, margin-top 500ms ease;
144 white-space: nowrap; 150 white-space: nowrap;
145 width: 512px; 151 width: 512px;
146 } 152 }
147 153
148 #omni-content { 154 #omnibox-content {
149 align-items: center; 155 align-items: center;
150 display: flex; 156 display: flex;
151 max-width: 448px; 157 max-width: 448px;
152 } 158 }
153 159
154 .omni-icon { 160 .omnibox-icon {
155 -webkit-mask-size: 50px; 161 -webkit-mask-size: 50px;
156 display: none; 162 display: none;
157 flex: none; 163 flex: none;
158 height: 50px; 164 height: 50px;
159 margin-right: 10px; 165 margin-right: 10px;
160 width: 50px; 166 width: 50px;
161 } 167 }
162 168
163 #omni-info-icon { 169 #omnibox-info-icon {
164 -webkit-mask-image: url(../../../../ui/webui/resources/images/i_circle.svg); 170 -webkit-mask-image: url(../../../../ui/webui/resources/images/i_circle.svg);
165 background-color: rgb(90, 90, 90); 171 background-color: rgb(90, 90, 90);
166 } 172 }
167 173
168 #omni-lock-icon { 174 #omnibox-lock-icon {
169 -webkit-mask-image: url(../../../../ui/webui/resources/images/lock.svg); 175 -webkit-mask-image: url(../../../../ui/webui/resources/images/lock.svg);
170 background-color: rgb(11, 128, 67); 176 background-color: rgb(11, 128, 67);
171 } 177 }
172 178
173 #omni-warning-icon { 179 #omnibox-warning-icon {
174 -webkit-mask-image: url(../../../../ui/webui/resources/images/warning.svg); 180 -webkit-mask-image: url(../../../../ui/webui/resources/images/warning.svg);
175 background-color: rgb(199, 56, 33); 181 background-color: rgb(199, 56, 33);
176 } 182 }
177 183
178 #omni #url { 184 #omnibox #url {
179 color: #252525; 185 color: #252525;
180 font-size: 34px; 186 font-size: 34px;
181 overflow: hidden; 187 overflow: hidden;
182 white-space: nowrap; 188 white-space: nowrap;
183 } 189 }
184 190
185 #omni #path { 191 #omnibox #path {
186 color: #868686; 192 color: #868686;
187 } 193 }
188 194
189 #omni.hide {
190 margin-bottom: 0;
191 margin-top: 60px;
192 opacity: 0;
193 }
194
195 #omni.loading {
196 border: 4px solid rgb(86, 203, 255);
197 }
198
199 #omni.idle {
200 background-color: #ececec;
201 }
202
203 #omni.idle #domain {
204 color: black;
205 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698