1 /* Copyright 2015 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 /* TODO: Need to discuss with NTP folks before we remove font-family from the
8 background-attachment: fixed
!important
;
9 background-color: white
;
11 font-family: arial
, sans-serif
;
18 text-align: -webkit-center
;
21 .non-google-page #ntp-contents {
23 top: calc
(50% - 155px);
27 body
.hide-fakebox-logo #logo
,
28 body
.hide-fakebox-logo #fakebox
{
32 body
.fakebox-disable #fakebox
{
33 border-color: rgb
(238, 238, 238);
37 body
.fakebox-disable #fakebox
> input
{
42 background-image: url
(images
/google_logo
.png@
2x);
43 background-repeat: no-repeat
;
44 background-size: 269px 95px;
51 body
.alternate-logo #logo
{
52 -webkit-mask-image: url
(images
/google_logo
.png@
2x);
53 -webkit-mask-repeat: no-repeat
;
54 -webkit-mask-size: 100%;
59 -webkit-transform: translate3d
(0, 0, 0);
60 -webkit-transition: -webkit-transform
100ms linear
, border-color
100ms linear
;
61 background-color: #fff;
62 border: 1px solid rgb
(185, 185, 185);
64 border-top-color: rgb
(160, 160, 160);
65 box-sizing: border-box
;
76 border: 1px solid rgb
(169, 169, 169);
77 border-top-color: rgb
(144, 144, 144);
80 body
.fakebox-focused #fakebox
{
81 border: 1px solid rgb
(77, 144, 254);
86 box-sizing: border-box
;
96 html
[dir
=rtl
] #fakebox
> input
{
105 font-family: arial
, sans-serif
;
113 text-overflow: ellipsis
;
115 vertical-align: middle
;
120 html
[dir
=rtl
] #fakebox-text
{
135 html
[dir
=rtl
] #cursor
{
140 @-webkit-keyframes blink
{
149 body
.fakebox-drag-focused #fakebox-text
,
150 body
.fakebox-focused #fakebox-text
{
154 body
.fakebox-drag-focused #cursor
{
158 body
.fakebox-focused #cursor
{
159 -webkit-animation: blink
1.3s step-end infinite
;
164 -webkit-user-select: none
;
166 text-align: -webkit-center
;
169 /* Non-Google pages have no Fakebox, so don't need top margin. */
170 .non-google-page #most-visited {
175 -webkit-mask-image: -webkit-image-set
(
176 url
(chrome-search://local-ntp
/images
/close_3_mask
.png
) 1x,
177 url
(chrome-search://local-ntp
/images
/close_3_mask
.png@
2x) 2x);
178 -webkit-mask-position: 3px 3px;
179 -webkit-mask-repeat: no-repeat
;
180 -webkit-mask-size: 10px 10px;
181 background-color: rgba
(90,90,90,0.7);
183 display: inline-block
;
187 vertical-align: middle
;
191 html
[dir
=rtl
] #mv-notice-x
{
197 background-color: rgba
(90,90,90,1.0);
200 #mv-notice-x:active
{
201 background-color: rgb
(66,133,244);
204 /* The notification shown when a tile is blacklisted. */
214 display: inline-block
;
220 /* Links in the notification. */
221 #mv-notice-links span
{
222 -webkit-margin-start: 6px;
223 color: rgb
(17, 85, 204);
229 #mv-notice-links span:hover
,
230 #mv-notice-links span:focus
,
232 text-decoration: underline
;
235 .default-theme.dark #mv-msg {
239 .default-theme.dark #mv-notice-links span {
243 #mv-notice.mv-notice-delayed-hide
{
244 -webkit-transition-delay: 10s;
245 -webkit-transition-property: opacity
;
249 #mv-notice.mv-notice-hide
{
254 -webkit-user-select: none
;
258 display: inline-block
;
266 html
[dir
=rtl
] #attribution
{
272 border: 1px solid
#c0c0c0;
275 color: rgb
(17, 85, 204);
285 html
[dir
=rtl
] #attribution
,
286 html
[dir
=rtl
] #recent-tabs
{