OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 html, | 7 html, |
8 body { | 8 body { |
9 -webkit-user-select: none; | 9 -webkit-user-select: none; |
10 height: 100%; | 10 height: 100%; |
11 margin: 0; | 11 margin: 0; |
12 overflow: hidden; | 12 overflow: hidden; |
13 padding: 0; | 13 padding: 0; |
14 } | 14 } |
15 | 15 |
16 .tile-page-content { | 16 .tile-page-content { |
17 padding: 0; | 17 padding: 0; |
18 } | 18 } |
19 | 19 |
| 20 .tile-page-scrollbar { |
| 21 background-color: #7f7f7f; |
| 22 } |
| 23 |
20 .app-contents > span { | 24 .app-contents > span { |
21 color: white; | 25 color: white; |
22 font-size: 14px; | 26 font-size: 14px; |
23 font-weight: bold; | 27 font-weight: bold; |
| 28 padding: 2px; /* Extra padding for text-shadow. */ |
24 text-shadow: 0 0 2px black, 0 0 4px black; | 29 text-shadow: 0 0 2px black, 0 0 4px black; |
25 } | 30 } |
26 | 31 |
27 #launcher-search-container { | 32 /* |
28 position: relative; | 33 * #container is used to host apps page in a fixed 900x550 area so that |
29 z-index: 5; | 34 * we don't have excessive space between app icons and nav dots. #container |
30 } | 35 * is center aligned with its parent. We use top:50% and left:50% to move it |
31 | 36 * to parent's center and use negative margin-top and margin-left to align its |
32 #launcher-search, | 37 * center with parent's center. Because of this, margin-top must be half of |
33 #launcher-search::-webkit-input-placeholder { | 38 * the height and margin-left must be half of the width. |
34 color: white; | 39 */ |
35 } | 40 #container { |
36 | 41 height: 550px; |
37 #launcher-search { | 42 left: 50%; |
38 -webkit-padding-start: 10px; | 43 margin-top: -225px; |
39 -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1); | 44 margin-left: -450px; |
40 background-color: rgba(0, 0, 0, 0.2); | 45 position: absolute; |
41 border: none; | 46 top: 50%; |
42 font-size: 14px; | 47 width: 900px; |
43 height: 34px; | |
44 min-width: 384px; | |
45 outline: 1px solid rgba(0, 0, 0, 0.1); | |
46 } | 48 } |
47 | 49 |
48 #card-slider-frame { | 50 #card-slider-frame { |
49 /* Must match #footer height. 0 because footer is hidden.*/ | 51 /* Must match #footer height. */ |
50 bottom: 0; | 52 bottom: 50px; |
51 overflow: hidden; | 53 overflow: hidden; |
52 /* We want this to fill the window except for the region used | 54 position: absolute; |
53 by footer */ | 55 height: 500px; |
54 position: fixed; | |
55 top: 0; | |
56 width: 100%; | 56 width: 100%; |
57 } | 57 } |
58 | 58 |
59 #page-list { | 59 #page-list { |
60 /* fill the apps-frame */ | 60 /* fill the apps-frame */ |
61 height: 100%; | 61 height: 100%; |
62 display: -webkit-box; | 62 display: -webkit-box; |
63 } | 63 } |
64 | 64 |
65 #footer { | 65 #footer { |
66 background-image: -webkit-linear-gradient( | 66 background: transparent; |
67 rgba(242, 242, 242, 0.9), rgba(222, 222, 222, 0.9)); | |
68 bottom: 0; | 67 bottom: 0; |
69 position: fixed; | 68 position: absolute; |
70 width: 100%; | 69 width: 100%; |
71 z-index: 5; | 70 z-index: 5; |
72 } | 71 } |
73 | 72 |
74 #footer-content { | 73 #footer-content { |
75 -webkit-box-align: center; | 74 -webkit-box-align: center; |
76 display: -webkit-box; | 75 display: -webkit-box; |
77 height: 49px; | 76 height: 49px; |
78 } | 77 } |
| 78 |
| 79 .dot .selection-bar { |
| 80 border-color: #7f7f7f; |
| 81 opacity: 0.2; |
| 82 } |
| 83 |
| 84 .dot input { |
| 85 color: #7f7f7f; |
| 86 font-size: 12px; |
| 87 } |
| 88 |
| 89 .dot:focus input, |
| 90 .dot:hover input, |
| 91 .dot.selected input { |
| 92 color: white; |
| 93 } |
| 94 |
| 95 .dot:focus .selection-bar, |
| 96 .dot:hover .selection-bar, |
| 97 .dot.drag-target .selection-bar { |
| 98 border-color: #b2b2b2; |
| 99 opacity: 1; |
| 100 } |
| 101 |
| 102 .dot.selected .selection-bar { |
| 103 opacity: 1; |
| 104 } |
OLD | NEW |