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: url
(images/2x/google_logo.png);
40 background-repeat: no-repeat
;
41 background-size: 269px 95px;
48 body
.alternate-logo #logo
{
49 background-image: url
(images/2x/white_google_logo.png);
53 /* Use GPU compositing if available. */
54 -webkit-transform: translate3d
(0, 0, 0);
55 -webkit-transition: -webkit-transform
100ms linear
, border-color
100ms linear
;
56 background-color: #fff;
57 border: 1px solid rgb
(185, 185, 185);
59 border-top-color: rgb
(160, 160, 160);
60 box-shadow: inset
0 1px 2px rgba
(0, 0, 0, 0.1);
66 /* #fakebox width (here and below) should be 2px less than #mv-tiles
67 to account for its border. */
72 border: 1px solid rgb
(169, 169, 169);
73 border-top-color: rgb
(144, 144, 144);
76 body
.fakebox-focused #fakebox
{
77 border: 1px solid rgb
(77, 144, 254);
82 box-sizing: border-box
;
92 body
.rtl #fakebox
> input
{
113 @-webkit-keyframes blink
{
122 body
.fakebox-drag-focused #cursor
{
126 body
.fakebox-focused #cursor
{
127 -webkit-animation: blink
1.3s step-end infinite
;
132 -webkit-user-select: none
;
134 text-align: -webkit-center
;
138 /* Use GPU compositing if available. */
139 -webkit-transform: translate3d
(0, 0, 0);
147 @media only screen and
(min-width:660px) {
156 @media only screen and
(min-width:820px) {
173 .mv-tile:first-child {
174 -webkit-margin-start: -1px;
178 -webkit-margin-start: 20px;
179 -webkit-transform: translate3d
(0, 0, 0);
180 -webkit-transition-duration: 200ms;
181 -webkit-transition-property: -webkit-transform
, margin
, opacity
, width
;
182 background: -webkit-linear-gradient
(#f2f2f2, #e8e8e8);
183 border: 1px solid transparent
;
185 box-shadow: inset
0 2px 3px rgba
(0, 0, 0, .09);
186 display: inline-block
;
191 /* Class applied to tiles to trigger the blacklist animation. */
192 .mv-tile.mv-blacklist {
193 -webkit-transform: scale
(0.5);
198 border: 1px solid
#c0c0c0;
203 .mv-page-ready:hover
,
204 .mv-page-ready:focus {
205 border-color: #7f7f7f
230 pointer-events: none
;
233 .mv-page:focus .mv-mask {
234 -webkit-transition: background-color
100ms ease-in-out
;
235 background: -webkit-linear-gradient
(rgba
(255, 255, 255, 0),
236 rgba
(255, 255, 255, 0) 80%, rgba
(255, 255, 255, 0.9));
237 background-color: black
;
244 /* An X button to blacklist a tile or hide the notification. */
246 background: transparent url
(images/close_2.png);
255 background: transparent url
(images/close_2_hover.png);
259 background: transparent url
(images/close_2_active.png);
263 -webkit-transition: opacity
150ms;
270 body
.rtl
.mv-page
.mv-x
{
275 .mv-page-ready:hover .mv-x {
276 -webkit-transition-delay: 500ms;
280 .mv-page-ready .mv-x:hover {
281 -webkit-transition: none
;
285 background-size: 16px;
289 pointer-events: none
;
294 /* The notification shown when a tile is blacklisted. */
306 /* Links in the notification. */
307 #mv-notice-links span
{
308 -webkit-margin-start: 6px;
309 color: rgb
(17, 85, 204);
315 #mv-notice-links span:hover
,
316 #mv-notice-links span:focus
,
318 text-decoration: underline
;
321 #mv-notice-links .mv-x
{
322 -webkit-margin-start: 8px;
327 #mv-notice.mv-notice-delayed-hide
{
328 -webkit-transition-delay: 10s;
329 -webkit-transition-property: opacity
;
333 #mv-notice.mv-notice-hide
{
338 -webkit-user-select: none
;
342 display: inline-block
;
350 body
.rtl #attribution
{
356 border: 1px solid
#c0c0c0;
359 color: rgb
(17, 85, 204);
369 body
.rtl #attribution
,body
.rtl #recent-tabs
{