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 .app-contents > span { | 20 .app-contents > span { |
21 color: white; | 21 color: white; |
22 font-size: 14px; | 22 font-size: 14px; |
23 font-weight: bold; | 23 font-weight: bold; |
| 24 padding: 2px; /* Extra padding for text-shadow. */ |
24 text-shadow: 0 0 2px black, 0 0 4px black; | 25 text-shadow: 0 0 2px black, 0 0 4px black; |
25 } | 26 } |
26 | 27 |
27 #launcher-search-container { | 28 #container { |
28 position: relative; | 29 height: 550px; |
29 z-index: 5; | 30 left: 50%; |
30 } | 31 margin-top: -225px; |
31 | 32 margin-left: -450px; |
32 #launcher-search, | 33 position: absolute; |
33 #launcher-search::-webkit-input-placeholder { | 34 top: 50%; |
34 color: white; | 35 width: 900px; |
35 } | |
36 | |
37 #launcher-search { | |
38 -webkit-padding-start: 10px; | |
39 -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1); | |
40 background-color: rgba(0, 0, 0, 0.2); | |
41 border: none; | |
42 font-size: 14px; | |
43 height: 34px; | |
44 min-width: 384px; | |
45 outline: 1px solid rgba(0, 0, 0, 0.1); | |
46 } | 36 } |
47 | 37 |
48 #card-slider-frame { | 38 #card-slider-frame { |
49 /* Must match #footer height. 0 because footer is hidden.*/ | 39 /* Must match #footer height. */ |
50 bottom: 0; | 40 bottom: 50px; |
51 overflow: hidden; | 41 overflow: hidden; |
52 /* We want this to fill the window except for the region used | 42 position: absolute; |
53 by footer */ | 43 height: 500px; |
54 position: fixed; | |
55 top: 0; | |
56 width: 100%; | 44 width: 100%; |
57 } | 45 } |
58 | 46 |
59 #page-list { | 47 #page-list { |
60 /* fill the apps-frame */ | 48 /* fill the apps-frame */ |
61 height: 100%; | 49 height: 100%; |
62 display: -webkit-box; | 50 display: -webkit-box; |
63 } | 51 } |
64 | 52 |
65 #footer { | 53 #footer { |
66 background-image: -webkit-linear-gradient( | 54 background: transparent; |
67 rgba(242, 242, 242, 0.9), rgba(222, 222, 222, 0.9)); | |
68 bottom: 0; | 55 bottom: 0; |
69 position: fixed; | 56 position: absolute; |
70 width: 100%; | 57 width: 100%; |
71 z-index: 5; | 58 z-index: 5; |
72 } | 59 } |
73 | 60 |
74 #footer-content { | 61 #footer-content { |
75 -webkit-box-align: center; | 62 -webkit-box-align: center; |
76 display: -webkit-box; | 63 display: -webkit-box; |
77 height: 49px; | 64 height: 49px; |
78 } | 65 } |
| 66 |
| 67 .dot .selection-bar { |
| 68 border-color: #7f7f7f; |
| 69 opacity: 0.2; |
| 70 } |
| 71 |
| 72 .dot input { |
| 73 color: #7f7f7f; |
| 74 font-size: 12px; |
| 75 } |
| 76 |
| 77 .dot:focus input, |
| 78 .dot:hover input, |
| 79 .dot.selected input { |
| 80 color: white; |
| 81 } |
| 82 |
| 83 .dot:focus .selection-bar, |
| 84 .dot:hover .selection-bar, |
| 85 .dot.drag-target .selection-bar { |
| 86 border-color: #b2b2b2; |
| 87 opacity: 1; |
| 88 } |
| 89 |
| 90 .dot.selected .selection-bar { |
| 91 opacity: 1; |
| 92 } |
OLD | NEW |