summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/print_preview/search/destination_list_item.css
blob: c98dc8f97333dc5eb72c37d315f16330fdb8d98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

.destination-list-item {
  -webkit-padding-end: 2px;
  -webkit-padding-start: 18px;
  cursor: default;
  padding-bottom: 3px;
  padding-top: 3px;
}

:not(.moving).destination-list-item {
  -webkit-transition: background-color 150ms;
}

.destination-list-item:hover,
.destination-list-item:focus {
  background-color: rgb(228, 236, 247);
}

.destination-list-item:focus {
  outline: none;
}

.destination-list-item.stale {
  opacity: 0.4;
}

.destination-list-item-content {
  display: flex;
}

.destination-list-item-icon {
  -webkit-margin-end: 8px;
  -webkit-transition: opacity 150ms;
  display: inline-block;
  flex: 0 0 auto;
  height: 24px;
  vertical-align: middle;
  width: 24px;
}

.destination-list-item-name {
  flex: 0 1 auto;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.destination-list-item-name .search-hint {
  -webkit-margin-start: 1em;
  color: #999;
  font-size: 75%;
}

.destination-list-item .offline-status {
  -webkit-margin-start: 1em;
  flex: 0 0 auto;
  font-size: 75%;
  line-height: 24px;
  vertical-align: middle;
}

.register-promo {
  -webkit-margin-start: 1em;
  flex: 0 0 auto;
}

.destination-list-item-query-highlight {
  background-color: rgba(255, 240, 120, 0.9);
}

.extension-controlled-indicator {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-width: 150px;
}

.extension-name {
  -webkit-margin-start: 1em;
  color: #777;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extension-icon {
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  flex: 0 0 auto;
  height: 24px;
  margin: 0 3px;
  width: 24px;
}