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 position: absolute; | 7 position: absolute; |
8 text-align: center; | 8 text-align: center; |
9 -webkit-transition: -webkit-transform 0.1s; | 9 -webkit-transition: -webkit-transform 0.1s; |
10 } | 10 } |
11 | 11 |
12 .app:active, | 12 .app:active:not(.right-mouse-down), |
13 .dragging .app, | 13 .dragging .app, |
14 .drag-representation .app { | 14 .drag-representation .app { |
15 /* Don't animate the initial scaling. */ | 15 /* Don't animate the initial scaling. */ |
16 -webkit-transition-duration: 0; | 16 -webkit-transition-duration: 0; |
17 -webkit-transform: scale(1.1); | 17 -webkit-transform: scale(1.1); |
18 } | 18 } |
19 | 19 |
| 20 /* Active gets applied right before .right-mouse-down, so to avoid flicker |
| 21 * we need to make the scale go back to normal without an animation. */ |
| 22 .app.right-mouse-down { |
| 23 -webkit-transition-duration: 0; |
| 24 } |
| 25 |
20 .app-contents > span { | 26 .app-contents > span { |
21 cursor: pointer; | 27 cursor: pointer; |
22 display: block; | 28 display: block; |
23 overflow: hidden; | 29 overflow: hidden; |
24 text-decoration: none; | 30 text-decoration: none; |
25 text-overflow: ellipsis; | 31 text-overflow: ellipsis; |
26 white-space: nowrap; | 32 white-space: nowrap; |
27 } | 33 } |
28 | 34 |
29 .app-img-container { | 35 .app-img-container { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 color: #fff !important; | 124 color: #fff !important; |
119 display: inline-block; | 125 display: inline-block; |
120 font-size: 1.3em; | 126 font-size: 1.3em; |
121 font-weight: bold; | 127 font-weight: bold; |
122 padding: 2px 10px; | 128 padding: 2px 10px; |
123 text-align: center; | 129 text-align: center; |
124 text-decoration: none; | 130 text-decoration: none; |
125 white-space: nowrap; | 131 white-space: nowrap; |
126 -webkit-border-image: url('../ntp/g-button-chocobo.png') 6 10 12 6; | 132 -webkit-border-image: url('../ntp/g-button-chocobo.png') 6 10 12 6; |
127 } | 133 } |
OLD | NEW |