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

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

Issue 14685004: Add finch flag for rendering a recently closed link on the local ntp. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix test. Created 7 years, 6 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
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 body { 4 body {
5 background-attachment: fixed !important; 5 background-attachment: fixed !important;
6 background-color: white; 6 background-color: white;
7 cursor: default; 7 cursor: default;
8 font-family: arial, sans-serif; 8 font-family: arial, sans-serif;
9 font-size: small; 9 font-size: small;
10 margin: 0; 10 margin: 0;
11 overflow-x: hidden; 11 overflow-x: hidden;
12 } 12 }
13 13
14 #ntp-contents { 14 #ntp-contents {
15 position: absolute;
16 text-align: -webkit-center; 15 text-align: -webkit-center;
17 width: 100%;
18 } 16 }
19 17
20 .non-google-page #ntp-contents { 18 .non-google-page #ntp-contents {
21 top: -webkit-calc(50% - 155px); 19 top: -webkit-calc(50% - 155px);
22 } 20 }
23 21
24 body.hide-fakebox-logo #logo, 22 body.hide-fakebox-logo #logo,
25 body.hide-fakebox-logo #fakebox { 23 body.hide-fakebox-logo #fakebox {
26 visibility: hidden; 24 visibility: hidden;
27 } 25 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 visibility: inherit; 113 visibility: inherit;
116 } 114 }
117 115
118 #most-visited { 116 #most-visited {
119 -webkit-user-select: none; 117 -webkit-user-select: none;
120 margin-top: 51px; 118 margin-top: 51px;
121 text-align: -webkit-center; 119 text-align: -webkit-center;
122 } 120 }
123 121
124 .custom-theme .mv-title, 122 .custom-theme .mv-title,
125 .custom-theme #mv-msg { 123 .custom-theme #mv-msg,
124 .custom-theme #recent-tabs {
126 color: #fff; 125 color: #fff;
127 text-shadow: black 0 1px 3px; 126 text-shadow: black 0 1px 3px;
128 } 127 }
129 128
130 .custom-theme #mv-notice-links span { 129 .custom-theme #mv-notice-links span {
131 color: #fff; 130 color: #fff;
132 text-shadow: rgb(17, 85, 204) 0 1px 3px; 131 text-shadow: rgb(17, 85, 204) 0 1px 3px;
133 } 132 }
134 133
135 #mv-tiles { 134 #mv-tiles {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 /* Links in the notification. */ 305 /* Links in the notification. */
307 #mv-notice-links span { 306 #mv-notice-links span {
308 -webkit-margin-start: 6px; 307 -webkit-margin-start: 6px;
309 color: rgb(17, 85, 204); 308 color: rgb(17, 85, 204);
310 cursor: pointer; 309 cursor: pointer;
311 outline: none; 310 outline: none;
312 padding: 0 4px; 311 padding: 0 4px;
313 } 312 }
314 313
315 #mv-notice-links span:hover, 314 #mv-notice-links span:hover,
316 #mv-notice-links span:focus { 315 #mv-notice-links span:focus,
316 #recent-tabs:hover {
317 text-decoration: underline; 317 text-decoration: underline;
318 } 318 }
319 319
320 #mv-notice-links .mv-x { 320 #mv-notice-links .mv-x {
321 -webkit-margin-start: 8px; 321 -webkit-margin-start: 8px;
322 outline: none; 322 outline: none;
323 vertical-align: top; 323 vertical-align: top;
324 } 324 }
325 325
326 #mv-notice.mv-notice-delayed-hide { 326 #mv-notice.mv-notice-delayed-hide {
327 -webkit-transition-delay: 10s; 327 -webkit-transition-delay: 10s;
328 -webkit-transition-property: opacity; 328 -webkit-transition-property: opacity;
329 opacity: 0; 329 opacity: 0;
330 } 330 }
331 331
332 #mv-notice.mv-notice-hide { 332 #mv-notice.mv-notice-hide {
333 display: none; 333 display: none;
334 } 334 }
335 335
336 #footer {
337 -webkit-user-select: none;
338 bottom: 8px;
339 position: absolute;
340 right: 13px;
341 white-space: nowrap;
342 }
343
336 #attribution { 344 #attribution {
337 -webkit-user-select: none;
338 bottom: 0;
339 color: #fff; 345 color: #fff;
340 cursor: default; 346 cursor: default;
347 display: inline-block;
341 font-size: 13px; 348 font-size: 13px;
342 position: absolute; 349 margin-left: 10px;
343 right: 13px;
344 text-align: left; 350 text-align: left;
345 z-index: -1; 351 z-index: -1;
346 } 352 }
347 353
348 #attribution img { 354 #attribution.attribution-hide {
349 display: block; 355 display: none;
350 } 356 }
357
358 #recent-tabs {
359 color: rgb(17, 85, 204);
360 cursor: pointer;
361 font-family: Arial;
362 font-size: 14px;
363 vertical-align: top;
364 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/local_ntp.html » ('j') | chrome/browser/resources/local_ntp/local_ntp.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698