1 /* Copyright 2013 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 background-attachment: fixed !important;
6 background-color: white;
8 font-family: arial, sans-serif;
15 text-align: -webkit-center;
18 .non-google-page #ntp-contents {
20 top: -webkit-calc(50% - 155px);
24 body.hide-fakebox-logo #logo,
25 body.hide-fakebox-logo #fakebox {
29 body.fakebox-disable #fakebox {
30 border-color: rgb(238, 238, 238);
34 body.fakebox-disable #fakebox > input {
39 background-image: -webkit-image-set(
40 url('images/google_logo.png') 1x,
41 url('images/google_logo.png@2x') 2x);
42 background-repeat: no-repeat;
43 background-size: 269px 95px;
50 body.alternate-logo #logo {
51 background-image: url(images/white_google_logo.png);
55 /* Use GPU compositing if available. */
56 -webkit-transform: translate3d(0, 0, 0);
57 -webkit-transition: -webkit-transform 100ms linear, border-color 100ms linear;
58 background-color: #fff;
59 border: 1px solid rgb(185, 185, 185);
61 border-top-color: rgb(160, 160, 160);
62 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
68 /* #fakebox width (here and below) should be 2px less than #mv-tiles
69 to account for its border. */
74 border: 1px solid rgb(169, 169, 169);
75 border-top-color: rgb(144, 144, 144);
78 body.fakebox-focused #fakebox {
79 border: 1px solid rgb(77, 144, 254);
84 box-sizing: border-box;
94 body.rtl #fakebox > input {
115 @-webkit-keyframes blink {
124 body.fakebox-drag-focused #cursor {
128 body.fakebox-focused #cursor {
129 -webkit-animation: blink 1.3s step-end infinite;
134 -webkit-user-select: none;
136 text-align: -webkit-center;
140 /* Use GPU compositing if available. */
141 -webkit-transform: translate3d(0, 0, 0);
149 @media only screen and (min-width:660px) {
158 @media only screen and (min-width:820px) {
175 .mv-tile:first-child {
176 -webkit-margin-start: -1px;
180 -webkit-margin-start: 20px;
181 -webkit-transform: translate3d(0, 0, 0);
182 -webkit-transition-duration: 200ms;
183 -webkit-transition-property: -webkit-transform, margin, opacity, width;
184 background: -webkit-linear-gradient(#f2f2f2, #e8e8e8);
185 border: 1px solid transparent;
187 box-shadow: inset 0 2px 3px rgba(0, 0, 0, .09);
188 display: inline-block;
193 /* Class applied to tiles to trigger the blacklist animation. */
194 .mv-tile.mv-blacklist {
195 -webkit-transform: scale(0.5);
200 border: 1px solid #c0c0c0;
205 .mv-page-ready:hover,
206 .mv-page-ready:focus {
207 border-color: #7f7f7f
232 pointer-events: none;
235 .mv-page:focus .mv-mask {
236 -webkit-transition: background-color 100ms ease-in-out;
237 background: -webkit-linear-gradient(rgba(255, 255, 255, 0),
238 rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9));
239 background-color: black;
246 /* An X button to blacklist a tile or hide the notification. */
248 background: transparent url(images/close_2.png);
257 background: transparent url(images/close_2_hover.png);
261 background: transparent url(images/close_2_active.png);
265 -webkit-transition: opacity 150ms;
272 body.rtl .mv-page .mv-x {
277 .mv-page-ready:hover .mv-x {
278 -webkit-transition-delay: 500ms;
282 .mv-page-ready .mv-x:hover {
283 -webkit-transition: none;
287 background-size: 16px;
291 pointer-events: none;
296 /* The notification shown when a tile is blacklisted. */
308 /* Links in the notification. */
309 #mv-notice-links span {
310 -webkit-margin-start: 6px;
311 color: rgb(17, 85, 204);
317 #mv-notice-links span:hover,
318 #mv-notice-links span:focus,
320 text-decoration: underline;
323 #mv-notice-links .mv-x {
324 -webkit-margin-start: 8px;
329 #mv-notice.mv-notice-delayed-hide {
330 -webkit-transition-delay: 10s;
331 -webkit-transition-property: opacity;
335 #mv-notice.mv-notice-hide {
340 -webkit-user-select: none;
344 display: inline-block;
352 body.rtl #attribution {
358 border: 1px solid #c0c0c0;
361 color: rgb(17, 85, 204);
371 body.rtl #attribution,body.rtl #recent-tabs {