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);
65 /* #fakebox width (here and below) should be 2px less than #mv-tiles
66 to account for its border. */
71 border: 1px solid rgb
(169, 169, 169);
72 border-top-color: rgb
(144, 144, 144);
75 body
.fakebox-focused #fakebox
{
76 border: 1px solid rgb
(77, 144, 254);
103 @-webkit-keyframes blink
{
112 body
.fakebox-drag-focused #cursor
{
116 body
.fakebox-focused #cursor
{
117 -webkit-animation: blink
1.3s step-end infinite
;
122 -webkit-user-select: none
;
124 text-align: -webkit-center
;
128 /* Use GPU compositing if available. */
129 -webkit-transform: translate3d
(0, 0, 0);
137 @media only screen and
(min-width:660px) {
146 @media only screen and
(min-width:820px) {
163 .mv-tile:first-child {
164 -webkit-margin-start: -1px;
168 -webkit-margin-start: 20px;
169 -webkit-transform: translate3d
(0, 0, 0);
170 -webkit-transition-duration: 200ms;
171 -webkit-transition-property: -webkit-transform
, margin
, opacity
, width
;
172 background: -webkit-linear-gradient
(#f2f2f2, #e8e8e8);
173 border: 1px solid transparent
;
175 box-shadow: inset
0 2px 3px rgba
(0, 0, 0, .09);
176 display: inline-block
;
181 /* Class applied to tiles to trigger the blacklist animation. */
182 .mv-tile.mv-blacklist {
183 -webkit-transform: scale
(0.5);
188 border: 1px solid
#c0c0c0;
193 .mv-page-ready:hover
,
194 .mv-page-ready:focus {
195 border-color: #7f7f7f
220 pointer-events: none
;
223 .mv-page:focus .mv-mask {
224 -webkit-transition: background-color
100ms ease-in-out
;
225 background: -webkit-linear-gradient
(rgba
(255, 255, 255, 0),
226 rgba
(255, 255, 255, 0) 80%, rgba
(255, 255, 255, 0.9));
227 background-color: black
;
234 /* An X button to blacklist a tile or hide the notification. */
236 background: transparent url
(images/close_2.png);
245 background: transparent url
(images/close_2_hover.png);
249 background: transparent url
(images/close_2_active.png);
253 -webkit-transition: opacity
150ms;
260 body
.rtl
.mv-page
.mv-x
{
265 .mv-page-ready:hover .mv-x {
266 -webkit-transition-delay: 500ms;
270 .mv-page-ready .mv-x:hover {
271 -webkit-transition: none
;
275 background-size: 16px;
279 pointer-events: none
;
284 /* The notification shown when a tile is blacklisted. */
296 /* Links in the notification. */
297 #mv-notice-links span
{
298 -webkit-margin-start: 6px;
299 color: rgb
(17, 85, 204);
305 #mv-notice-links span:hover
,
306 #mv-notice-links span:focus
,
308 text-decoration: underline
;
311 #mv-notice-links .mv-x
{
312 -webkit-margin-start: 8px;
317 #mv-notice.mv-notice-delayed-hide
{
318 -webkit-transition-delay: 10s;
319 -webkit-transition-property: opacity
;
323 #mv-notice.mv-notice-hide
{
328 -webkit-user-select: none
;
332 display: inline-block
;
340 body
.rtl #attribution
{
346 border: 1px solid
#c0c0c0;
349 color: rgb
(17, 85, 204);
359 body
.rtl #attribution
,body
.rtl #recent-tabs
{