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. */ |
4 | 4 |
5 body:not(.uber-frame) { | 5 body:not(.uber-frame) { |
6 color: rgb(48, 57, 66); | 6 color: rgb(48, 57, 66); |
7 margin: 0 8px 0 8px; | 7 margin: 0 8px 0 8px; |
8 } | 8 } |
9 | 9 |
10 #editing-controls, | 10 #editing-controls, |
11 #loading-spinner { | 11 #loading-spinner { |
12 margin-top: 16px; | 12 margin-top: 16px; |
13 <if expr="not pp_ifdef('android')"> | 13 <if expr="not pp_ifdef('android')"> |
14 white-space: nowrap; | 14 white-space: nowrap; |
15 </if> | 15 </if> |
16 } | 16 } |
17 | 17 |
18 #search-button { | |
19 /* Remove the margin to align the button to the right side */ | |
Patrick Dubroy
2013/01/21 14:35:44
I don't think you need this comment.
Sergiu
2013/01/21 18:19:50
Done.
| |
20 margin: 0; | |
21 } | |
22 | |
18 #loading-spinner[hidden] { | 23 #loading-spinner[hidden] { |
19 display: inline-block; | 24 display: inline-block; |
20 } | 25 } |
21 | 26 |
22 #spinner { | 27 #spinner { |
23 position: relative; | 28 position: relative; |
24 top: 3px; | 29 top: 3px; |
25 } | 30 } |
26 | 31 |
32 #editing-controls, | |
33 #filter-controls, | |
34 #results-display { | |
35 max-width: 718px; | |
36 } | |
37 | |
27 #editing-controls button:first-of-type { | 38 #editing-controls button:first-of-type { |
28 -webkit-margin-start: 0; | 39 -webkit-margin-start: 0; |
29 } | 40 } |
30 | 41 |
42 #filter-controls div { | |
43 display: inline-block; | |
44 } | |
45 | |
46 #display-filter-controls { | |
47 float: right; | |
48 } | |
49 | |
31 #results-display { | 50 #results-display { |
32 margin: 16px 0 0 0; | 51 margin: 16px 0 0 0; |
33 max-width: 740px; | |
34 } | 52 } |
35 | 53 |
36 .edit-button { | 54 .edit-button { |
37 -webkit-appearance: none; | 55 -webkit-appearance: none; |
38 background: none; | 56 background: none; |
39 border: 0; | 57 border: 0; |
40 color: blue; /* -webkit-link makes it purple :'( */ | 58 color: blue; /* -webkit-link makes it purple :'( */ |
41 cursor: pointer; | 59 cursor: pointer; |
42 display: inline-block; | 60 display: inline-block; |
43 font: inherit; | 61 font: inherit; |
44 padding: 0 9px; | 62 padding: 0 9px; |
45 text-decoration: underline; | 63 text-decoration: underline; |
46 } | 64 } |
47 | 65 |
66 .entry, | |
48 .gap, | 67 .gap, |
49 .entry, | 68 .no-entries, |
50 .no-entries { | 69 .site-entry { |
51 list-style: none; | 70 list-style: none; |
52 margin: 0; | 71 margin: 0; |
53 padding: 0; | 72 padding: 0; |
54 } | 73 } |
55 | 74 |
56 .gap { | 75 .gap { |
57 -webkit-border-end: 1px solid rgb(192, 195, 198); | 76 -webkit-border-end: 1px solid rgb(192, 195, 198); |
58 height: 14px; | 77 height: 14px; |
59 margin: 1px 0; | 78 margin: 1px 0; |
60 width: 45px; | 79 width: 45px; |
61 } | 80 } |
62 | 81 |
63 .entry { | 82 .entry { |
64 overflow: auto; /* Make sure it's at least as large as its children. */ | 83 overflow: auto; /* Make sure it's at least as large as its children. */ |
65 } | 84 } |
66 | 85 |
67 .entry-box { | 86 .entry-box, |
87 .site-domain-wrapper { | |
68 -webkit-box-orient: horizontal; | 88 -webkit-box-orient: horizontal; |
69 cursor: default; | 89 cursor: default; |
70 display: -webkit-box; | 90 display: -webkit-box; |
71 float: left; /* Box will shrink to fit its content. */ | 91 float: left; /* Box will shrink to fit its content. */ |
72 /* An odd line-height ensures a consistent baseline on all platforms. */ | 92 /* An odd line-height ensures a consistent baseline on all platforms. */ |
73 line-height: 1.75em; | 93 line-height: 1.75em; |
74 margin-bottom: 6px; | 94 margin-bottom: 6px; |
75 /* The box should be no bigger than its parent. */ | 95 /* The box should be no bigger than its parent. */ |
76 max-width: 100%; | 96 max-width: 100%; |
77 overflow: hidden; | 97 overflow: hidden; |
78 padding-bottom: 1px; | 98 padding-bottom: 1px; |
79 } | 99 } |
80 | 100 |
101 .site-domain-wrapper { | |
102 cursor: pointer; | |
103 } | |
104 | |
81 html[dir=rtl] .entry-box { | 105 html[dir=rtl] .entry-box { |
82 float: right; /* To make the box shrink to fit its content. */ | 106 float: right; /* To make the box shrink to fit its content. */ |
83 } | 107 } |
84 | 108 |
85 .day { | 109 .day { |
86 white-space: nowrap; | 110 white-space: nowrap; |
87 } | 111 } |
88 | 112 |
89 .search-results, | 113 .search-results, |
90 .day-results { | 114 .day-results { |
91 margin: 0 0 24px 0; | 115 margin: 0 0 24px 0; |
92 padding: 0; | 116 padding: 0; |
93 } | 117 } |
94 | 118 |
119 .site-results { | |
120 -webkit-transition: height 350ms ease-in-out; | |
121 clear: left; | |
122 margin: 0; | |
123 overflow: hidden; | |
124 padding: 0; | |
125 } | |
126 | |
127 h2.timeframe { | |
128 font-size: 1.5em; | |
129 } | |
130 | |
95 .snippet { | 131 .snippet { |
96 -webkit-box-orient: vertical; | 132 -webkit-box-orient: vertical; |
97 -webkit-line-clamp: 2; | 133 -webkit-line-clamp: 2; |
98 -webkit-margin-start: 110px; | 134 -webkit-margin-start: 110px; |
99 clear: both; | 135 clear: both; |
100 color: rgb(34, 34, 34); | 136 color: rgb(34, 34, 34); |
101 display: -webkit-box; | 137 display: -webkit-box; |
102 line-height: 1.6em; | 138 line-height: 1.6em; |
103 margin-bottom: 1em; | 139 margin-bottom: 1em; |
104 overflow: hidden; | 140 overflow: hidden; |
105 text-overflow: ellipsis; | 141 text-overflow: ellipsis; |
106 } | 142 } |
107 | 143 |
108 .entry .domain { | 144 .entry .domain { |
109 color: rgb(151, 156, 160); | 145 color: rgb(151, 156, 160); |
110 padding-left: 6px; | 146 padding-left: 6px; |
111 padding-right: 6px; | 147 padding-right: 6px; |
112 } | 148 } |
113 | 149 |
150 .site-results .domain { | |
151 display: none; | |
152 } | |
153 | |
154 .number-visits { | |
155 color: rgb(151, 156, 160); | |
156 } | |
157 | |
114 .drop-down { | 158 .drop-down { |
115 -webkit-margin-end: 5px; | 159 -webkit-margin-end: 5px; |
116 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; | 160 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; |
117 border: 1px solid rgb(192, 195, 198); | 161 border: 1px solid rgb(192, 195, 198); |
118 border-radius: 2px; | 162 border-radius: 2px; |
119 height: 12px; | 163 height: 12px; |
120 padding: 0; | 164 padding: 0; |
121 position: relative; | 165 position: relative; |
122 top: 2px; | 166 top: 2px; |
123 width: 12px; | 167 width: 12px; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 border-radius: 2px; | 229 border-radius: 2px; |
186 } | 230 } |
187 | 231 |
188 .entry .title { | 232 .entry .title { |
189 -webkit-box-flex: 1; | 233 -webkit-box-flex: 1; |
190 overflow: hidden; | 234 overflow: hidden; |
191 text-overflow: ellipsis; | 235 text-overflow: ellipsis; |
192 white-space: nowrap; | 236 white-space: nowrap; |
193 } | 237 } |
194 | 238 |
195 .entry .title { | 239 .day-results > .entry .title, |
240 .search-results > .entry .title, | |
241 .site-domain { | |
196 /* Make room for the favicon. */ | 242 /* Make room for the favicon. */ |
197 -webkit-padding-start: 20px; | 243 -webkit-padding-start: 20px; |
198 | 244 |
199 /* Control the favicon appearance. */ | 245 /* Control the favicon appearance. */ |
200 background-position-y: 3px; | 246 background-position-y: 3px; |
201 background-repeat: no-repeat; | 247 background-repeat: no-repeat; |
248 background-size: 16px; | |
249 } | |
250 | |
251 .site-domain-arrow { | |
252 -webkit-transition: -webkit-transform 300ms linear; | |
253 /* Make room for the arrow and place it. */ | |
254 background: url('../twisty_closed.png') no-repeat center center; | |
255 height: 21px; | |
256 width: 21px; | |
257 } | |
258 | |
259 .site-domain-arrow.collapse { | |
260 -webkit-transform: rotate(0); | |
261 } | |
262 | |
263 .site-domain-arrow.expand { | |
264 -webkit-transform: rotate(90deg); | |
202 } | 265 } |
203 | 266 |
204 .entry .starred { | 267 .entry .starred { |
205 -webkit-margin-start: 4px; | 268 -webkit-margin-start: 4px; |
206 background: url('../../../../ui/webui/resources/images/star_small.png') no-rep eat; | 269 background: url('../../../../ui/webui/resources/images/star_small.png') no-rep eat; |
207 display: inline-block; | 270 display: inline-block; |
208 height: 11px; | 271 height: 11px; |
209 width: 11px; | 272 width: 11px; |
210 } | 273 } |
211 | 274 |
(...skipping 16 matching lines...) Expand all Loading... | |
228 } | 291 } |
229 | 292 |
230 .menu-button.drop-down { | 293 .menu-button.drop-down { |
231 position: relative; | 294 position: relative; |
232 top: 2px; | 295 top: 2px; |
233 } | 296 } |
234 | 297 |
235 #action-menu > :not(hr) { | 298 #action-menu > :not(hr) { |
236 line-height: 29px; | 299 line-height: 29px; |
237 } | 300 } |
OLD | NEW |