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
3 * found in the LICENSE file. */
5 /* begin: show/hide selected ntp section */
6 body[device='tablet'] .main-section {
10 body[device='tablet'] .main-section.selected {
13 /* end: show/hide selected ntp section */
15 /* begin: rules to make most visited container stay at bottom */
16 body[device='tablet'] .main-section.selected#most_visited_container {
20 body[device='tablet'] #most_visited_container {
21 -webkit-box-orient: vertical;
24 body[device='tablet'] #recently_closed_container {
29 body[device='tablet'] .box-spacer {
30 -webkit-box-flex: 1.0;
33 body[device='tablet'] #most_visited_list {
36 /* end: rules to make most visited container stay at bottom */
38 body[device='tablet'] #most_visited_container {
42 body[device='tablet'] #most_visited_list {
46 body[device='tablet'] .thumbnail-cell {
54 html[dir='rtl'] body[device='tablet'] .thumbnail-cell {
58 body[device='tablet'] #most_visited_list .thumbnail-container {
59 border: 1px solid #999;
65 body[device='tablet'] #most_visited_list .thumbnail {
66 background-image: url(images/default_thumbnail.png);
67 background-position: center center;
68 background-repeat: no-repeat;
69 background-size: cover;
75 body[device='tablet'] #most_visited_list .inner-border {
76 background: linear-gradient(
80 border: 1px solid rgba(255, 255, 255, 0.8);
88 body[device='tablet'] #most_visited_list .title-spacer {
93 body[device='tablet'] #most_visited_list .title {
98 text-overflow: ellipsis;
104 html[dir='rtl'] body[device='tablet'] #most_visited_list .title {
108 body[device='tablet'] .recently-closed-title-container {
109 color: rgba(0, 0, 0, 0.5);
110 display: inline-block;
112 padding-bottom: 10px;
113 padding-left: 6px; /* match recently closed border & margin */
118 html[dir='rtl'] body[device='tablet'] .recently-closed-title-container {
122 body[device='tablet'] .recently-closed-title-container .title {
127 body[device='tablet'] #recently_closed_list .cell {
128 border: 1px solid rgba(0, 0, 0, 0.25);
138 html[dir='rtl'] body[device='tablet'] #recently_closed_list .cell {
142 body[device='tablet'] #recently_closed_list .title {
148 text-overflow: ellipsis;
151 html[dir='rtl'] body[device='tablet'] #recently_closed_list .title {
156 body[device='tablet'] #recently_closed_list .icon {
157 background-position: bottom left;
158 background-repeat: no-repeat;
159 background-size: 16px 16px;
168 html[dir='rtl'] body[device='tablet'] #recently_closed_list .icon {