Home | History | Annotate | Download | only in ntp4
      1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
      2  * Use of this source code is governed by a BSD-style license that can be
      3  * found in the LICENSE file.
      4  */
      5 
      6 #recently-closed-menu-button {
      7   background: none;
      8   border: 0;
      9   -webkit-appearance: none;
     10 }
     11 
     12 /* Reserve space for the menu button even when it's hidden. */
     13 #recently-closed-menu-button[hidden] {
     14   display: block;
     15   visibility: hidden;
     16 }
     17 
     18 #recently-closed-menu-button img {
     19   -webkit-transform: rotate(270deg);
     20 }
     21 
     22 .recent-menu {
     23   padding: 6px 8px;
     24 }
     25 
     26 .recent-menu-item {
     27   background: no-repeat 0% 50%;
     28   background-color: transparent !important;
     29   background-size: 16px 16px;
     30   box-sizing: border-box;
     31   display: block;
     32   font-size: 100%;
     33   line-height: 20px;
     34   margin: 4px;
     35   overflow: hidden;
     36   text-overflow: ellipsis;
     37   white-space: nowrap;
     38   -webkit-padding-end: 0;
     39   -webkit-padding-start: 18px
     40 }
     41 
     42 .recent-window {
     43   background-image: url('../ntp/closed_window.png');
     44 }
     45 
     46 /* TODO(estade): find a better color for active. */
     47 .recent-menu-item:active,
     48 .recent-menu-item:visited,
     49 .recent-menu-item:link {
     50   color: hsl(213, 90%, 24%) !important;
     51 }
     52