NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / resources / ntp_android / mostvisited_tablet.css
blob57022279a2594d30c8dae64a86886b8f9f4320b8
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: linear-gradient(
77 to bottom,
78 rgba(0, 0, 0, 0),
79 rgba(0, 0, 0, 0.05));
80 border: 1px solid rgba(255, 255, 255, 0.8);
81 height: 158px;
82 left: 0;
83 position: absolute;
84 top: 0;
85 width: 228px;
88 body[device='tablet'] #most_visited_list .title-spacer {
89 height: 35px;
90 width: 0;
93 body[device='tablet'] #most_visited_list .title {
94 left: -10px;
95 overflow-x: hidden;
96 overflow-y: visible;
97 position: relative;
98 text-overflow: ellipsis;
99 top: -2px;
100 white-space: nowrap;
101 width: 250px;
104 html[dir='rtl'] body[device='tablet'] #most_visited_list .title {
105 right: -10px;
108 body[device='tablet'] .recently-closed-title-container {
109 color: rgba(0, 0, 0, 0.5);
110 display: inline-block;
111 margin-top: 25px;
112 padding-bottom: 10px;
113 padding-left: 6px; /* match recently closed border & margin */
114 position: relative;
115 width: 100%;
118 html[dir='rtl'] body[device='tablet'] .recently-closed-title-container {
119 padding-right: 6px;
122 body[device='tablet'] .recently-closed-title-container .title {
123 display: block;
124 font-size: 16px;
127 body[device='tablet'] #recently_closed_list .cell {
128 border: 1px solid rgba(0, 0, 0, 0.25);
129 border-width: 1px;
130 float: left;
131 height: 16px;
132 margin: 5px;
133 overflow: hidden;
134 padding: 5px;
135 width: 188px;
138 html[dir='rtl'] body[device='tablet'] #recently_closed_list .cell {
139 float: right;
142 body[device='tablet'] #recently_closed_list .title {
143 color: blue;
144 font-size: 12pt;
145 overflow: hidden;
146 padding-left: 2px;
147 text-align: left;
148 text-overflow: ellipsis;
151 html[dir='rtl'] body[device='tablet'] #recently_closed_list .title {
152 padding-right: 2px;
153 text-align: right;
156 body[device='tablet'] #recently_closed_list .icon {
157 background-position: bottom left;
158 background-repeat: no-repeat;
159 background-size: 16px 16px;
160 float: left;
161 height: 16px;
162 margin: 2px;
163 position: relative;
164 top: -1px;
165 width: 16px;
168 html[dir='rtl'] body[device='tablet'] #recently_closed_list .icon {
169 float: right;