1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
/* begin: show/hide selected ntp section */
body[device='tablet'] .main-section {
display: none;
}
body[device='tablet'] .main-section.selected {
display: block;
}
/* end: show/hide selected ntp section */
/* begin: rules to make most visited container stay at bottom */
body[device='tablet'] .main-section.selected#most_visited_container {
display: -webkit-box;
}
body[device='tablet'] #most_visited_container {
-webkit-box-orient: vertical;
}
body[device='tablet'] #recently_closed_container {
-webkit-box-flex: 0;
margin-bottom: 10px;
}
body[device='tablet'] .box-spacer {
-webkit-box-flex: 1.0;
}
body[device='tablet'] #most_visited_list {
-webkit-box-flex: 0;
}
/* end: rules to make most visited container stay at bottom */
body[device='tablet'] #most_visited_container {
overflow: hidden;
}
body[device='tablet'] #most_visited_list {
margin-top: 15px;
}
body[device='tablet'] .thumbnail-cell {
float: left;
height: 210px;
padding: 20px;
text-align: center;
width: 230px;
}
html[dir='rtl'] body[device='tablet'] .thumbnail-cell {
float: right;
}
body[device='tablet'] #most_visited_list .thumbnail-container {
border: 1px solid #999;
height: 160px;
position: relative;
width: 100%;
}
body[device='tablet'] #most_visited_list .thumbnail {
background-image: url(images/default_thumbnail.png);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
cursor: pointer;
height: 100%;
width: 100%;
}
body[device='tablet'] #most_visited_list .inner-border {
background: -webkit-gradient(
linear,
left top,
left bottom,
from(rgba(0, 0, 0, 0)),
to(rgba(0, 0, 0, 0.05)));
border: 1px solid rgba(255, 255, 255, 0.8);
height: 158px;
left: 0;
position: absolute;
top: 0;
width: 228px;
}
body[device='tablet'] #most_visited_list .title-spacer {
height: 35px;
width: 0;
}
body[device='tablet'] #most_visited_list .title {
left: -10px;
overflow-x: hidden;
overflow-y: visible;
position: relative;
text-overflow: ellipsis;
top: -2px;
white-space: nowrap;
width: 250px;
}
html[dir='rtl'] body[device='tablet'] #most_visited_list .title {
right: -10px;
}
body[device='tablet'] .recently-closed-title-container {
color: rgba(0, 0, 0, 0.5);
display: inline-block;
margin-top: 25px;
padding-bottom: 10px;
padding-left: 6px; /* match recently closed border & margin */
position: relative;
width: 100%;
}
html[dir='rtl'] body[device='tablet'] .recently-closed-title-container {
padding-right: 6px;
}
body[device='tablet'] .recently-closed-title-container .title {
display: block;
font-size: 16px;
}
body[device='tablet'] #recently_closed_list .cell {
border: 1px solid rgba(0, 0, 0, 0.25);
border-width: 1px;
float: left;
height: 16px;
margin: 5px;
overflow: hidden;
padding: 5px;
width: 188px;
}
html[dir='rtl'] body[device='tablet'] #recently_closed_list .cell {
float: right;
}
body[device='tablet'] #recently_closed_list .title {
color: blue;
font-size: 12pt;
overflow: hidden;
padding-left: 2px;
text-align: left;
text-overflow: ellipsis;
}
html[dir='rtl'] body[device='tablet'] #recently_closed_list .title {
padding-right: 2px;
text-align: right;
}
body[device='tablet'] #recently_closed_list .icon {
background-position: bottom left;
background-repeat: no-repeat;
background-size: 16px 16px;
float: left;
height: 16px;
margin: 2px;
position: relative;
top: -1px;
width: 16px;
}
html[dir='rtl'] body[device='tablet'] #recently_closed_list .icon {
float: right;
}
|