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; |
Evan Stade
2011/12/01 18:59:10
this seems like the wrong way to do this, what are
xiyuan
2011/12/01 19:36:10
This is to align center of #container div with its
Evan Stade
2011/12/02 20:40:06
I see. Can you add a comment about this then?
xiyuan
2011/12/02 21:24:20
Done. Comments added.
| |
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: rgba(0x7F, 0x7F, 0x7F, 0.2); | |
Evan Stade
2011/12/01 18:59:10
the dot selection colors are kind of a mess, they
arv (Not doing code reviews)
2011/12/01 19:30:57
This is not valid CSS. 0x7F is not a valid number
xiyuan
2011/12/01 19:36:10
Cannot use black for aura because default deaktop
xiyuan
2011/12/01 19:36:10
oops. Changed to use #7f7f7f and use opacity as es
| |
69 } | |
70 | |
71 .dot input { | |
72 color: #7f7f7f; | |
73 font-size: 12px; | |
74 } | |
75 | |
76 .dot:focus input, | |
77 .dot:hover input, | |
78 .dot.selected input { | |
79 color: white; | |
80 } | |
81 | |
82 .dot:focus .selection-bar, | |
83 .dot:hover .selection-bar, | |
84 .dot.drag-target .selection-bar { | |
85 border-color: #b2b2b2; | |
86 } | |
87 | |
88 .dot.selected .selection-bar { | |
89 border-color: #7f7f7f; | |
90 } | |
OLD | NEW |