Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: chrome/browser/resources/history/history.css

Issue 13811015: History: Fix alignment issues in search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/history/history.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 html[dir=rtl] body.uber-frame > .page { 5 html[dir=rtl] body.uber-frame > .page {
6 -webkit-margin-end: 0; 6 -webkit-margin-end: 0;
7 } 7 }
8 8
9 #top-container { 9 #top-container {
10 margin-top: 16px; 10 margin-top: 16px;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 134 }
135 135
136 .gap { 136 .gap {
137 -webkit-border-end: 1px solid rgb(192, 195, 198); 137 -webkit-border-end: 1px solid rgb(192, 195, 198);
138 height: 14px; 138 height: 14px;
139 margin: 1px 0; 139 margin: 1px 0;
140 width: 45px; 140 width: 45px;
141 } 141 }
142 142
143 .entry { 143 .entry {
144 -webkit-flex-direction: column;
144 display: -webkit-flex; 145 display: -webkit-flex;
Patrick Dubroy 2013/04/10 12:52:11 I'm pretty sure you can get rid of all 3 declarati
Sergiu 2013/04/10 13:46:46 Yeah, seems to work fine.
145 overflow: auto; 146 overflow: auto;
146 } 147 }
147 148
148 .entry-box, 149 .entry-box,
149 .site-domain-wrapper { 150 .site-domain-wrapper {
150 -webkit-align-items: center; 151 -webkit-align-items: center;
151 cursor: default; 152 cursor: default;
152 display: -webkit-flex; 153 display: -webkit-flex;
153 /* An odd line-height ensures a consistent baseline on all platforms. */ 154 /* An odd line-height ensures a consistent baseline on all platforms. */
154 line-height: 1.75em; 155 line-height: 1.75em;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 color: rgb(151, 156, 160); 248 color: rgb(151, 156, 160);
248 min-width: 90px; 249 min-width: 90px;
249 overflow: hidden; 250 overflow: hidden;
250 text-overflow: ellipsis; 251 text-overflow: ellipsis;
251 white-space: nowrap; 252 white-space: nowrap;
252 width: 90px; 253 width: 90px;
253 } 254 }
254 255
255 .search-results .time, 256 .search-results .time,
256 .month-results .time { 257 .month-results .time {
258 min-width: 110px;
257 width: 110px; 259 width: 110px;
258 } 260 }
259 261
260 .entry input[type=checkbox] { 262 .entry input[type=checkbox] {
261 -webkit-margin-end: 6px; 263 -webkit-margin-end: 6px;
262 -webkit-margin-start: 4px; 264 -webkit-margin-start: 4px;
263 line-height: 1em; 265 line-height: 1em;
264 } 266 }
265 267
266 <if expr="not pp_ifdef('android')"> 268 <if expr="not pp_ifdef('android')">
(...skipping 11 matching lines...) Expand all
278 opacity: 1; 280 opacity: 1;
279 } 281 }
280 282
281 .site-domain-wrapper input[type=checkbox]:focus, 283 .site-domain-wrapper input[type=checkbox]:focus,
282 .entry-box input[type=checkbox]:focus { 284 .entry-box input[type=checkbox]:focus {
283 -webkit-transition: opacity 150ms; 285 -webkit-transition: opacity 150ms;
284 } 286 }
285 287
286 .filter-status { 288 .filter-status {
287 display: -webkit-flex; 289 display: -webkit-flex;
288 -webkit-flex-grow: 1; 290 -webkit-flex: 1 0 auto;
289 -webkit-justify-content: flex-end; 291 -webkit-justify-content: flex-end;
290 } 292 }
291 293
292 .filter-status > div { 294 .filter-status > div {
295 -webkit-flex: 0 0 auto;
293 -webkit-transition: background-color 500ms ease-in-out; 296 -webkit-transition: background-color 500ms ease-in-out;
294 border-radius: 3px; 297 border-radius: 3px;
295 font-size: 11px; 298 font-size: 11px;
296 height: 14px; 299 height: 14px;
297 line-height: 12px; 300 line-height: 12px;
298 visibility: hidden; 301 visibility: hidden;
299 white-space: nowrap; 302 white-space: nowrap;
300 } 303 }
301 304
302 .filter-status > div.filter-allowed, 305 .filter-status > div.filter-allowed,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 .entry-box { 338 .entry-box {
336 background-color: none; 339 background-color: none;
337 } 340 }
338 341
339 .entry-box:hover, 342 .entry-box:hover,
340 .entry-box.contains-focus { 343 .entry-box.contains-focus {
341 background-color: rgb(252, 252, 252); 344 background-color: rgb(252, 252, 252);
342 border-radius: 2px; 345 border-radius: 2px;
343 } 346 }
344 347
348 .entry-box-container {
349 -webkit-flex-direction: row;
Patrick Dubroy 2013/04/10 12:52:11 You can omit this, it's the default.
Sergiu 2013/04/10 13:46:46 Done.
350 display: -webkit-flex;
Patrick Dubroy 2013/04/10 12:52:11 You'll need to add .entry-box-container { d
Sergiu 2013/04/10 13:46:46 Done.
351 }
352
345 .entry .title-and-domain { 353 .entry .title-and-domain {
346 display: -webkit-flex; 354 display: -webkit-flex;
347 min-width: 0; 355 min-width: 0;
348 } 356 }
349 357
350 .entry .title { 358 .entry .title {
351 min-width: 0; 359 min-width: 0;
352 overflow: hidden; 360 overflow: hidden;
353 text-overflow: ellipsis; 361 text-overflow: ellipsis;
354 white-space: nowrap; 362 white-space: nowrap;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 } 486 }
479 487
480 /* Clear the float to ensure that #results-pagination encloses its children. */ 488 /* Clear the float to ensure that #results-pagination encloses its children. */
481 #results-pagination::after { 489 #results-pagination::after {
482 clear: both; 490 clear: both;
483 content: ''; 491 content: '';
484 display: block; 492 display: block;
485 height: 0; 493 height: 0;
486 visibility: hidden; 494 visibility: hidden;
487 } 495 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/history/history.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698