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

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.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
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_thumbnail.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 text-align: -webkit-center; 15 text-align: -webkit-center;
16 } 16 }
17 17
18 #ntp-contents.classical {
19 margin-top: 157px;
20 }
21
22 #ntp-contents.md {
23 margin-top: 157px;
24 }
25
26 .non-google-page #ntp-contents { 18 .non-google-page #ntp-contents {
27 margin-top: 0;
28 position: absolute; 19 position: absolute;
29 top: calc(50% - 155px); 20 top: calc(50% - 155px);
30 width: 100%; 21 width: 100%;
31 } 22 }
32 23
33 body.hide-fakebox-logo #logo, 24 body.hide-fakebox-logo #logo,
34 body.hide-fakebox-logo #fakebox { 25 body.hide-fakebox-logo #fakebox {
35 visibility: hidden; 26 visibility: hidden;
36 } 27 }
37 28
38 body.fakebox-disable #fakebox { 29 body.fakebox-disable #fakebox {
39 border-color: rgb(238, 238, 238); 30 border-color: rgb(238, 238, 238);
40 cursor: default; 31 cursor: default;
41 } 32 }
42 33
43 body.fakebox-disable #fakebox > input { 34 body.fakebox-disable #fakebox > input {
44 cursor: default; 35 cursor: default;
45 } 36 }
46 37
47 #logo { 38 #logo {
48 background-image: url('images/google_logo.png@2x'); 39 background-image: url('images/google_logo.png@2x');
49 background-repeat: no-repeat; 40 background-repeat: no-repeat;
50 background-size: 269px 95px; 41 background-size: 269px 95px;
51 height: 95px; 42 height: 95px;
52 margin-bottom: 24px; 43 margin-bottom: 24px;
44 margin-top: 157px;
53 width: 269px; 45 width: 269px;
54 } 46 }
55 47
56 body.alternate-logo #logo { 48 body.alternate-logo #logo {
57 -webkit-mask-image: url('images/google_logo.png@2x'); 49 -webkit-mask-image: url('images/google_logo.png@2x');
58 -webkit-mask-repeat: no-repeat; 50 -webkit-mask-repeat: no-repeat;
59 -webkit-mask-size: 100%; 51 -webkit-mask-size: 100%;
60 background: #eee; 52 background: #eee;
61 } 53 }
62 54
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 104
113 #fakebox-text { 105 #fakebox-text {
114 color: #bbb; 106 color: #bbb;
115 font-family: arial, sans-serif; 107 font-family: arial, sans-serif;
116 font-size: 16px; 108 font-size: 16px;
117 height: 100%; 109 height: 100%;
118 left: 9px; 110 left: 9px;
119 margin-top: 1px; 111 margin-top: 1px;
120 overflow: hidden; 112 overflow: hidden;
121 position: absolute; 113 position: absolute;
122 text-align: left; 114 text-align: initial;
123 text-overflow: ellipsis; 115 text-overflow: ellipsis;
124 vertical-align: middle; 116 vertical-align: middle;
125 visibility: inherit; 117 visibility: inherit;
126 white-space: nowrap; 118 white-space: nowrap;
127 width: calc(100% - 2 * 9px); 119 width: calc(100% - 2 * 9px);
128 } 120 }
129 121
130 body[dir=rtl] #fakebox-text { 122 body[dir=rtl] #fakebox-text {
131 left: auto; 123 left: auto;
132 right: 9px; 124 right: 9px;
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 opacity: 0.9; 681 opacity: 0.9;
690 padding: 3px; 682 padding: 3px;
691 position: fixed; 683 position: fixed;
692 right: 8px; 684 right: 8px;
693 } 685 }
694 686
695 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs { 687 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs {
696 left: 8px; 688 left: 8px;
697 right: auto; 689 right: auto;
698 } 690 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_thumbnail.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698