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 |
11 .app-contents { | 11 .app-contents { |
12 -webkit-transition: -webkit-transform 100ms; | 12 transition: transform 100ms; |
13 } | 13 } |
14 | 14 |
15 .app-contents:active:not(.suppress-active), | 15 .app-contents:active:not(.suppress-active), |
16 .app:not(.click-focus):focus .app-contents:not(.suppress-active), | 16 .app:not(.click-focus):focus .app-contents:not(.suppress-active), |
17 .drag-representation:not(.placing) .app-contents { | 17 .drag-representation:not(.placing) .app-contents { |
18 -webkit-transform: scale(1.1); | 18 transform: scale(1.1); |
19 } | 19 } |
20 | 20 |
21 /* Don't animate the initial scaling. */ | 21 /* Don't animate the initial scaling. */ |
22 .app-contents:active:not(.suppress-active), | 22 .app-contents:active:not(.suppress-active), |
23 /* Active gets applied right before .suppress-active, so to avoid flicker | 23 /* Active gets applied right before .suppress-active, so to avoid flicker |
24 * we need to make the scale go back to normal without an animation. */ | 24 * we need to make the scale go back to normal without an animation. */ |
25 .app-contents.suppress-active { | 25 .app-contents.suppress-active { |
26 -webkit-transition-duration: 0ms; | 26 transition-duration: 0ms; |
27 } | 27 } |
28 | 28 |
29 .app-contents > span { | 29 .app-contents > span { |
30 display: block; | 30 display: block; |
31 overflow: hidden; | 31 overflow: hidden; |
32 text-overflow: ellipsis; | 32 text-overflow: ellipsis; |
33 white-space: nowrap; | 33 white-space: nowrap; |
34 } | 34 } |
35 | 35 |
36 .app-img-container { | 36 .app-img-container { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 background-image: -webkit-linear-gradient( | 153 background-image: -webkit-linear-gradient( |
154 top, rgb(77, 144, 254), rgb(53, 122, 232)); | 154 top, rgb(77, 144, 254), rgb(53, 122, 232)); |
155 border: 1px solid rgb(47, 91, 183); | 155 border: 1px solid rgb(47, 91, 183); |
156 } | 156 } |
157 | 157 |
158 #app-launcher-promo > img { | 158 #app-launcher-promo > img { |
159 bottom: 0; | 159 bottom: 0; |
160 position: absolute; | 160 position: absolute; |
161 right: 30px; | 161 right: 30px; |
162 } | 162 } |
OLD | NEW |