OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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. |
Dan Beam
2012/02/07 09:33:53
Why did you do this? ^
James Hawkins
2012/02/09 04:36:31
Matches style we use everywhere in Chrome. You sh
| |
4 */ | |
4 | 5 |
5 /* TODO(csilv): Re-order, rename selectors according to style guide. */ | 6 /* TODO(csilv): Re-order, rename selectors according to style guide. */ |
6 | 7 |
7 /* This is necessary because the fix for correctly wrapping labels | 8 /* This is necessary because the fix for correctly wrapping labels |
8 * (crbug.com/109334) requires labels to be display: block; however, this label | 9 * (crbug.com/109334) requires labels to be display: block; however, this label |
9 * has a button inline after it. | 10 * has a button inline after it. |
10 */ | 11 */ |
11 #home-page-label { | 12 #home-page-label { |
12 display: inline; | 13 display: inline; |
13 } | 14 } |
14 | 15 |
15 #customHomePageGroup { | 16 #default-search-engine-group { |
17 -webkit-box-orient: vertical; | |
16 display: -webkit-box; | 18 display: -webkit-box; |
17 -webkit-box-orient: horizontal; | |
18 } | 19 } |
19 | 20 |
20 #homepageURL { | 21 #default-search-engine-group > div { |
21 margin-left: 10px; | 22 -webkit-box-orient: horizontal; |
23 display: -webkit-box; | |
22 } | 24 } |
23 | 25 |
24 #defaultSearchEngineGroup { | 26 #default-search-engine { |
25 display: -webkit-box; | 27 -webkit-box-flex: 1; |
26 -webkit-box-orient: vertical; | |
27 } | |
28 | |
29 #defaultSearchEngineGroup > div { | |
30 display: -webkit-box; | |
31 -webkit-box-orient: horizontal; | |
32 } | |
33 | |
34 #defaultSearchEngine { | |
35 display: block; | 28 display: block; |
36 -webkit-box-flex: 1; | |
37 max-width: 100px; | 29 max-width: 100px; |
38 } | 30 } |
39 | 31 |
40 #defaultSearchGroupLabel { | 32 #default-search-group-label { |
41 margin-bottom: 5px; | 33 margin-bottom: 5px; |
42 } | 34 } |
43 | 35 |
44 #defaultSearchManageEnginesButton { | 36 #manage-default-search-engines { |
37 -webkit-margin-start: 10px; | |
45 margin-top: 0; | 38 margin-top: 0; |
46 -webkit-margin-start: 10px; | |
47 } | 39 } |
48 | 40 |
49 #defaultBrowserState { | 41 #default-browser-state { |
50 margin-top: 6px; | 42 margin-top: 6px; |
51 } | 43 } |
52 | 44 |
53 #instantOption { | 45 #instant-setting { |
54 margin-bottom: 3px; | 46 margin-bottom: 3px; |
55 margin-top: 10px | 47 margin-top: 10px |
56 } | 48 } |
57 | 49 |
58 .overlayText { | |
59 font-family: inherit; | |
60 white-space: pre-wrap; | |
61 width: 500px; | |
62 } | |
63 | |
64 #instantConfirmLearnMore { | |
65 position: absolute; | |
66 bottom: 18px; | |
67 } | |
68 | |
69 #account-picture-wrapper { | 50 #account-picture-wrapper { |
51 border: 1px solid rgba(0, 0, 0, 0.3); | |
70 border-radius: 4px; | 52 border-radius: 4px; |
71 border: 1px solid rgba(0, 0, 0, 0.3); | |
72 display: inline-block; | 53 display: inline-block; |
73 margin: 5px 10px 5px 2px; | 54 margin: 5px 10px 5px 2px; |
74 padding: 3px; | 55 padding: 3px; |
75 } | 56 } |
76 | 57 |
77 #account-picture { | 58 #account-picture { |
78 width: 70px; | |
79 height: 70px; | 59 height: 70px; |
80 vertical-align: middle; | 60 vertical-align: middle; |
61 width: 70px; | |
81 } | 62 } |
82 | 63 |
83 #sync-overview p { | 64 #sync-overview p { |
84 display: inline; | 65 display: inline; |
85 } | 66 } |
86 | 67 |
87 #profiles-list { | 68 #profiles-list { |
69 margin-bottom: 10px; | |
88 min-height: 0; | 70 min-height: 0; |
89 margin-bottom: 10px; | |
90 } | 71 } |
91 | 72 |
92 #profiles-list > * { | 73 #profiles-list > * { |
93 height: 40px; | 74 height: 40px; |
94 } | 75 } |
95 | 76 |
96 .profile-img { | 77 .profile-img { |
97 height: 31px; | 78 height: 31px; |
98 padding: 3px; | 79 padding: 3px; |
99 vertical-align: middle; | 80 vertical-align: middle; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 | 112 |
132 html[dir=rtl] #pointer-sensitivity-more { | 113 html[dir=rtl] #pointer-sensitivity-more { |
133 float: left; | 114 float: left; |
134 } | 115 } |
135 | 116 |
136 #pointer-value, | 117 #pointer-value, |
137 #slider-control { | 118 #slider-control { |
138 display: inline-block; | 119 display: inline-block; |
139 vertical-align: top; | 120 vertical-align: top; |
140 } | 121 } |
OLD | NEW |