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

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

Issue 542033002: [Local NTP] block image-related context menu items for thumbnails; CSS fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Created 6 years, 3 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 height: 100%; 5 height: 100%;
6 position: absolute; 6 position: absolute;
7 width: 100%; 7 width: 100%;
8 } 8 }
9 9
10 a { 10 a {
11 height: 100%; 11 height: 100%;
12 position: relative;
12 width: 100%; 13 width: 100%;
13 } 14 }
14 15
15 a:focus { 16 a:focus {
16 outline: none; /* Remove outline from tabIndex = -1. */ 17 outline: none; /* Remove outline from tabIndex = -1. */
17 } 18 }
18 19
19 div { 20 div {
20 bottom: 24px; 21 bottom: 24px;
21 margin: 0 7px; 22 margin: 0 7px;
22 overflow: hidden; 23 overflow: hidden;
23 position: absolute; 24 position: absolute;
24 text-align: center; 25 text-align: center;
25 text-overflow: ellipsis; 26 text-overflow: ellipsis;
26 white-space: nowrap; 27 white-space: nowrap;
27 width: 90%; 28 width: 90%;
28 } 29 }
29 30
31 span.blocker {
32 display: inline-block;
33 height: 100%;
34 position: absolute;
35 width: 100%;
36 }
37
30 img { 38 img {
31 height: 100%; 39 height: 100%;
32 width: 100%; 40 width: 100%;
33 } 41 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.css ('k') | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698