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

Side by Side Diff: chrome/browser/resources/print_preview/search/destination_list_item.css

Issue 158983004: Change destination item layout to accomodate longer destination names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/print_preview/search/destination_list_item.html » ('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 .destination-list-item { 5 .destination-list-item {
6 -webkit-padding-end: 2px; 6 -webkit-padding-end: 2px;
7 -webkit-padding-start: 18px; 7 -webkit-padding-start: 18px;
8 -webkit-transition: background-color 150ms; 8 -webkit-transition: background-color 150ms;
9 cursor: default; 9 cursor: default;
10 padding-bottom: 3px; 10 padding-bottom: 3px;
11 padding-top: 3px; 11 padding-top: 3px;
12 } 12 }
13 13
14 .destination-list-item:hover { 14 .destination-list-item:hover {
15 background-color: rgb(228, 236, 247); 15 background-color: rgb(228, 236, 247);
16 } 16 }
17 17
18 .destination-list-item.stale { 18 .destination-list-item.stale {
19 opacity: 0.4; 19 opacity: 0.4;
20 } 20 }
21 21
22 .destination-list-item-content {
23 display: flex;
24 }
25
22 .destination-list-item-icon { 26 .destination-list-item-icon {
23 -webkit-margin-end: 8px; 27 -webkit-margin-end: 8px;
24 -webkit-transition: opacity 150ms; 28 -webkit-transition: opacity 150ms;
25 display: inline-block; 29 display: inline-block;
30 flex: 0 0 auto;
26 height: 24px; 31 height: 24px;
27 vertical-align: middle; 32 vertical-align: middle;
28 width: 24px; 33 width: 24px;
29 } 34 }
30 35
31 .destination-list-item-name { 36 .destination-list-item-name {
37 flex: 0 1 auto;
38 line-height: 24px;
39 overflow: hidden;
40 text-overflow: ellipsis;
32 vertical-align: middle; 41 vertical-align: middle;
42 white-space: nowrap;
33 } 43 }
34 44
35 .destination-list-item .offline-status { 45 .destination-list-item .offline-status {
36 -webkit-margin-start: 1em; 46 -webkit-margin-start: 1em;
47 flex: 0 0 auto;
37 font-size: 75%; 48 font-size: 75%;
49 line-height: 24px;
38 opacity: 0.6; 50 opacity: 0.6;
51 vertical-align: middle;
39 } 52 }
40 53
41 .register-promo { 54 .register-promo {
42 -webkit-margin-start: 1em; 55 -webkit-margin-start: 1em;
56 flex: 0 0 auto;
43 } 57 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/search/destination_list_item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698