OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 .app { | 5 .app { |
6 outline: none; | 6 outline: none; |
7 position: absolute; | 7 position: absolute; |
8 text-align: center; | 8 text-align: center; |
9 } | 9 } |
10 | 10 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 .app .invisible { | 168 .app .invisible { |
169 visibility: hidden; | 169 visibility: hidden; |
170 } | 170 } |
171 | 171 |
172 /* Move the notification lower on apps pages to account for the 16px of | 172 /* Move the notification lower on apps pages to account for the 16px of |
173 * transparency each app icon should have. */ | 173 * transparency each app icon should have. */ |
174 .apps-page #notification-container { | 174 .apps-page #notification-container { |
175 bottom: 15px; | 175 bottom: 15px; |
176 } | 176 } |
177 | |
178 /* App install hint */ | |
179 | |
180 .app-install-hint { | |
181 -webkit-transition: opacity 150ms; | |
182 color: inherit; | |
183 display: block; | |
184 opacity: 0.8; | |
185 position: absolute; | |
186 text-decoration: none; | |
187 } | |
188 | |
189 .app-install-hint:active { | |
190 opacity: 1.0; | |
191 } | |
192 | |
193 .app-install-hint-interior { | |
194 border: 2px dashed; | |
195 border-radius: 20%; | |
196 box-sizing: border-box; | |
197 height: 60%; | |
198 left: 20%; | |
199 position: absolute; | |
200 right: 20%; | |
201 top: 10%; | |
202 width: 60%; | |
203 } | |
204 | |
205 .app-install-hint-interior > .interior-background { | |
206 border-radius: 20%; | |
207 bottom: 3px; | |
208 left: 3px; | |
209 position: absolute; | |
210 right: 3px; | |
211 top: 3px; | |
212 } | |
213 | |
214 .app-install-hint-interior > .vertical-bar, | |
215 .app-install-hint-interior > .horizontal-bar { | |
216 border-radius: 2px; | |
217 position: absolute; | |
218 } | |
219 | |
220 .app-install-hint-interior > .vertical-bar { | |
221 height: 50%; | |
222 left: 44%; | |
223 right: 44%; | |
224 top: 25%; | |
225 width: 12%; | |
226 } | |
227 | |
228 .app-install-hint-interior > .horizontal-bar { | |
229 height: 12%; | |
230 left: 25%; | |
231 right: 25%; | |
232 top: 44%; | |
233 width: 50%; | |
234 } | |
235 | |
236 html.dragging-mode .app-install-hint { | |
237 opacity: 0; | |
238 } | |
239 | |
240 .app-install-hint > span { | |
241 font-size: 1.2em; | |
242 left: 0; | |
243 position: absolute; | |
244 right: 0; | |
245 top: 80%; | |
246 white-space: nowrap; | |
247 } | |
OLD | NEW |