Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.css

Issue 12840003: Implement local NTP for fallback. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Respond to Samarth's comments. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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. */
4 body {
5 background-attachment: fixed!important
6 }
7
8 #most-visited {
9 -webkit-user-select: none;
10 margin-top: 60px;
11 text-align: -webkit-center;
12 }
13
14 .custom-theme .mv-title,
15 .custom-theme #mv-msg {
16 color: #fff;
17 text-shadow: black 0 1px 3px;
18 }
19
20 .custom-theme #mv-noti-lks span {
21 color: #fff;
22 text-shadow: rgb(17, 85, 204) 0 1px 3px;
23 }
24
25 #mv-tiles {
26 -webkit-transform: translate3d(0, 0, 0);
27 -webkit-transition: width 200ms;
28 height: 120px;
29 overflow: hidden;
30 white-space: nowrap;
31 width: 304px;
32 }
33
34 @media only screen and (min-width:666px) {
35 #mv-tiles {
36 width: 466px;
37 }
38 }
39
40 @media only screen and (min-width:829px) {
41 #mv-tiles {
42 width: 629px;
43 }
44 }
45 .mv-tile:first-child {
46 -webkit-margin-start: 0;
47 }
48 .mv-tile {
49 -webkit-margin-start: 20px;
50 -webkit-transform: translate3d(0, 0, 0);
51 -webkit-transition: margin 200ms;
52 -webkit-transition-property: margin, opacity, width, -webkit-transform;
53 display: inline-block;
54 height: 85px;
55 width: 140px;
56 }
57 .mv-tile.mv-tile-hide {
58 -webkit-margin-end: -10px;
59 opacity: 0;
60 width: 10px;
61 }
62 .mv-tile.mv-bl {
63 -webkit-margin-start: 0;
64 -webkit-transform: scale(0.5);
65 opacity: 0;
66 width: 0;
67 }
68 .mv-filler {
69 background: -webkit-linear-gradient(#f2f2f2, #e8e8e8);
70 border: 1px solid #e0e0e0;
71 border-radius: 3px;
72 box-shadow: inset 0 2px 3px rgba(0, 0, 0, .09);
73 }
74 .mv-page {
75 background: #fff;
76 border: 1px solid #c0c0c0;
77 border-radius: 2px;
78 box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
79 cursor: pointer;
80 }
81 .mv-page:hover {
82 border-color: #7f7f7f
83 }
84 .mv-thumb {
85 background-size: 140px 85px;
86 height: 100%;
87 width: 100%;
88 }
89 .mv-title {
90 bottom: -28px;
91 color: #777;
92 position: absolute;
93 width: 100%;
94 }
95 .mv-x-hide .mv-x {
96 display: none;
97 }
98 .mv-x {
99 background-color: transparent;
100 background-image: url('images/close_bar.png');
samarth 2013/03/18 22:09:19 Do these images not have a 2x version for high-DPI
jeremycho 2013/03/18 23:18:52 They do, but the close bar IDs select the 1px vers
101 border: none;
102 cursor: default;
103 height: 16px;
104 width: 16px;
105 }
106 .mv-x:hover {
107 background-color: transparent;
108 background-image: url('images/close_bar_hover.png');
109 }
110 .mv-x:active {
111 background-color: transparent;
112 background-image: url('images/close_bar_active.png');
113 }
114 .mv-page .mv-x {
115 -webkit-transition: opacity 500ms ease-in-out;
116 opacity: 0;
117 position: absolute;
118 right: 2px;
119 top: 2px;
120 }
121 .mv-page:hover .mv-x {
122 -webkit-transition-delay: 500ms;
123 opacity: 1;
124 }
125 .mv-domain {
126 bottom: 24px;
127 color: #777;
128 margin: 0 7px;
129 position: absolute;
130 width: 88%;
131 }
132 .mv-fav {
133 bottom: -8px;
134 height: 16px;
135 left: 61px;
136 position: absolute;
137 width: 16px;
138 }
139 #mv-noti {
140 font: bold 12px Arial;
141 padding: 10px 0;
142 }
143 #mv-noti span {
144 cursor: default;
145 }
146 #mv-noti-lks span {
147 -webkit-margin-start: 6px;
148 color: rgb(17, 85, 204);
149 cursor: pointer;
150 padding: 0 4px;
151 }
152 #mv-noti-lks span:hover {
153 text-decoration: underline;
154 }
155 #mv-noti-lks .mv-x {
156 -webkit-margin-start: 8px;
157 vertical-align: top;
158 }
159 #mv-noti.mv-noti-hide {
160 visibility: hidden;
161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698