summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp4/recently_closed.css
blob: 464a5ad40eff45deaa61b485194ca711df03896c (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
/* Copyright (c) 2011 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.
 */

#recently-closed-menu-button {
  background: none;
  border: 0;
  color: #7F7F7F;
  display: block;
  font-size: 9pt;
  font-weight: bold;
  -webkit-appearance: none;
  -webkit-transition: opacity 0.2s;
  -webkit-transition-delay: 0.1s;
}

/* Reserve space for the menu button even when it's hidden. */
#recently-closed-menu-button[hidden],
#footer.showing-trash-mode #recently-closed-menu-button {
  visibility: hidden;
}

#footer.showing-trash-mode #recently-closed-menu-button {
  opacity: 0;
  -webkit-transition-delay: 0;
}

.recent-menu {
  padding: 6px 8px;
  /* Needs to be above #footer. */
  z-index: 10;
}

.recent-menu-item {
  background: no-repeat 0% 50%;
  background-color: transparent !important;
  background-size: 16px 16px;
  box-sizing: border-box;
  display: block;
  font-size: 100%;
  line-height: 20px;
  margin: 4px;
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-margin-start: 0;
  -webkit-padding-end: 0;
  -webkit-padding-start: 22px;
}

html[dir='rtl'] .recent-menu-item {
  background: no-repeat 100% 50%;
}

.recent-window {
  background-image: url('../ntp/closed_window.png');
}

/* TODO(estade): find a better color for active. */
.recent-menu-item:active,
.recent-menu-item:visited,
.recent-menu-item:link {
  color: hsl(213, 90%, 24%) !important;
}

.disclosure-triangle {
  background-color: #7F7F7F;
  display: inline-block;
  height: 9px;
  width: 9px;
  -webkit-mask-image: url('./ntp4_disclosure_triangle_mask.png');
}