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: -webkit-gradient
(
80 from
(rgba
(0, 0, 0, 0)),
81 to
(rgba
(0, 0, 0, 0.05)));
82 border: 1px solid rgba
(255, 255, 255, 0.8);
90 body
[device
='tablet'] #most_visited_list
.title-spacer
{
95 body
[device
='tablet'] #most_visited_list
.title
{
100 text-overflow: ellipsis
;
106 html
[dir
='rtl'] body
[device
='tablet'] #most_visited_list
.title
{
110 body
[device
='tablet'] .recently-closed-title-container
{
111 color: rgba
(0, 0, 0, 0.5);
112 display: inline-block
;
114 padding-bottom: 10px;
115 padding-left: 6px; /* match recently closed border & margin */
120 html
[dir
='rtl'] body
[device
='tablet'] .recently-closed-title-container
{
124 body
[device
='tablet'] .recently-closed-title-container
.title
{
129 body
[device
='tablet'] #recently_closed_list
.cell
{
130 border: 1px solid rgba
(0, 0, 0, 0.25);
140 html
[dir
='rtl'] body
[device
='tablet'] #recently_closed_list
.cell
{
144 body
[device
='tablet'] #recently_closed_list
.title
{
150 text-overflow: ellipsis
;
153 html
[dir
='rtl'] body
[device
='tablet'] #recently_closed_list
.title
{
158 body
[device
='tablet'] #recently_closed_list
.icon
{
159 background-position: bottom left
;
160 background-repeat: no-repeat
;
161 background-size: 16px 16px;
170 html
[dir
='rtl'] body
[device
='tablet'] #recently_closed_list
.icon
{