cros: Remove default pinned apps trial.
[chromium-blink-merge.git] / chrome / browser / resources / ntp_android / mostvisited_tablet.css
blob7065604c72155bc3fc14e7ed73943673a12151f1
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 {
7 display: none;
10 body[device='tablet'] .main-section.selected {
11 display: block;
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 {
17 display: -webkit-box;
20 body[device='tablet'] #most_visited_container {
21 -webkit-box-orient: vertical;
24 body[device='tablet'] #recently_closed_container {
25 -webkit-box-flex: 0;
26 margin-bottom: 10px;
29 body[device='tablet'] .box-spacer {
30 -webkit-box-flex: 1.0;
33 body[device='tablet'] #most_visited_list {
34 -webkit-box-flex: 0;
36 /* end: rules to make most visited container stay at bottom */
38 body[device='tablet'] #most_visited_container {
39 overflow: hidden;
42 body[device='tablet'] #most_visited_list {
43 margin-top: 15px;
46 body[device='tablet'] .thumbnail-cell {
47 float: left;
48 height: 210px;
49 padding: 20px;
50 text-align: center;
51 width: 230px;
54 html[dir='rtl'] body[device='tablet'] .thumbnail-cell {
55 float: right;
58 body[device='tablet'] #most_visited_list .thumbnail-container {
59 border: 1px solid #999;
60 height: 160px;
61 position: relative;
62 width: 100%;
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;
70 cursor: pointer;
71 height: 100%;
72 width: 100%;
75 body[device='tablet'] #most_visited_list .inner-border {
76 background: -webkit-gradient(
77 linear,
78 left top,
79 left bottom,
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);
83 height: 158px;
84 left: 0;
85 position: absolute;
86 top: 0;
87 width: 228px;
90 body[device='tablet'] #most_visited_list .title-spacer {
91 height: 35px;
92 width: 0;
95 body[device='tablet'] #most_visited_list .title {
96 left: -10px;
97 overflow-x: hidden;
98 overflow-y: visible;
99 position: relative;
100 text-overflow: ellipsis;
101 top: -2px;
102 white-space: nowrap;
103 width: 250px;
106 html[dir='rtl'] body[device='tablet'] #most_visited_list .title {
107 right: -10px;
110 body[device='tablet'] .recently-closed-title-container {
111 color: rgba(0, 0, 0, 0.5);
112 display: inline-block;
113 margin-top: 25px;
114 padding-bottom: 10px;
115 padding-left: 6px; /* match recently closed border & margin */
116 position: relative;
117 width: 100%;
120 html[dir='rtl'] body[device='tablet'] .recently-closed-title-container {
121 padding-right: 6px;
124 body[device='tablet'] .recently-closed-title-container .title {
125 display: block;
126 font-size: 16px;
129 body[device='tablet'] #recently_closed_list .cell {
130 border: 1px solid rgba(0, 0, 0, 0.25);
131 border-width: 1px;
132 float: left;
133 height: 16px;
134 margin: 5px;
135 overflow: hidden;
136 padding: 5px;
137 width: 188px;
140 html[dir='rtl'] body[device='tablet'] #recently_closed_list .cell {
141 float: right;
144 body[device='tablet'] #recently_closed_list .title {
145 color: blue;
146 font-size: 12pt;
147 overflow: hidden;
148 padding-left: 2px;
149 text-align: left;
150 text-overflow: ellipsis;
153 html[dir='rtl'] body[device='tablet'] #recently_closed_list .title {
154 padding-right: 2px;
155 text-align: right;
158 body[device='tablet'] #recently_closed_list .icon {
159 background-position: bottom left;
160 background-repeat: no-repeat;
161 background-size: 16px 16px;
162 float: left;
163 height: 16px;
164 margin: 2px;
165 position: relative;
166 top: -1px;
167 width: 16px;
170 html[dir='rtl'] body[device='tablet'] #recently_closed_list .icon {
171 float: right;