OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 | 5 |
6 .app { | 6 .app { |
7 outline: none; | 7 outline: none; |
8 position: absolute; | 8 position: absolute; |
9 text-align: center; | 9 text-align: center; |
10 } | 10 } |
11 | 11 |
12 .app-contents { | 12 .app-contents { |
13 -webkit-transition: -webkit-transform 0.1s; | 13 -webkit-transition: -webkit-transform 100ms; |
14 } | 14 } |
15 | 15 |
16 .app-contents:active:not(.suppress-active), | 16 .app-contents:active:not(.suppress-active), |
17 .app:not(.click-focus):focus .app-contents:not(.suppress-active), | 17 .app:not(.click-focus):focus .app-contents:not(.suppress-active), |
18 .drag-representation:not(.placing) .app-contents { | 18 .drag-representation:not(.placing) .app-contents { |
19 -webkit-transform: scale(1.1); | 19 -webkit-transform: scale(1.1); |
20 } | 20 } |
21 | 21 |
22 /* Don't animate the initial scaling. */ | 22 /* Don't animate the initial scaling. */ |
23 .app-contents:active:not(.suppress-active), | 23 .app-contents:active:not(.suppress-active), |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 cursor: pointer; | 89 cursor: pointer; |
90 } | 90 } |
91 | 91 |
92 /* Notifications */ | 92 /* Notifications */ |
93 | 93 |
94 .app-notification { | 94 .app-notification { |
95 color: #999999; | 95 color: #999999; |
96 display: block; | 96 display: block; |
97 font-size: 11px; | 97 font-size: 11px; |
98 white-space: nowrap; | 98 white-space: nowrap; |
99 -webkit-transition: color .15s linear; | 99 -webkit-transition: color 150ms linear; |
100 } | 100 } |
101 | 101 |
102 .app-notification:hover { | 102 .app-notification:hover { |
103 text-decoration: underline; | 103 text-decoration: underline; |
104 } | 104 } |
105 | 105 |
106 /* Promo */ | 106 /* Promo */ |
107 /* Show the promo if the webstore has a promo and is the only app on the page. | 107 /* Show the promo if the webstore has a promo and is the only app on the page. |
108 */ | 108 */ |
109 .tile:only-of-type > .has-promo > .app-contents > span { | 109 .tile:only-of-type > .has-promo > .app-contents > span { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 padding: 2px 10px; | 162 padding: 2px 10px; |
163 text-align: center; | 163 text-align: center; |
164 text-decoration: none; | 164 text-decoration: none; |
165 white-space: nowrap; | 165 white-space: nowrap; |
166 -webkit-border-image: url('images/app_promo_button.png') 6 10 12 6; | 166 -webkit-border-image: url('images/app_promo_button.png') 6 10 12 6; |
167 } | 167 } |
168 | 168 |
169 .app .invisible { | 169 .app .invisible { |
170 visibility: hidden; | 170 visibility: hidden; |
171 } | 171 } |
OLD | NEW |