CSS样式  |  52行  |  1.1 KB

/* 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;
  -webkit-appearance: none;
}

/* Reserve space for the menu button even when it's hidden. */
#recently-closed-menu-button[hidden] {
  display: block;
  visibility: hidden;
}

#recently-closed-menu-button img {
  -webkit-transform: rotate(270deg);
}

.recent-menu {
  padding: 6px 8px;
}

.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;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-padding-end: 0;
  -webkit-padding-start: 18px
}

.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;
}