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

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

Issue 786023002: Remove hard-coded font families in WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert some changes that fail the tests. Created 6 years 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;
jungshik at Google 2014/12/16 20:44:00 This is a tricky case. Local NTP these days has Go
9 font-size: small; 8 font-size: small;
10 margin: 0; 9 margin: 0;
11 overflow-x: hidden; 10 overflow-x: hidden;
12 } 11 }
13 12
14 #ntp-contents { 13 #ntp-contents {
15 text-align: -webkit-center; 14 text-align: -webkit-center;
16 } 15 }
17 16
18 .non-google-page #ntp-contents { 17 .non-google-page #ntp-contents {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 97
99 html[dir=rtl] #fakebox > input { 98 html[dir=rtl] #fakebox > input {
100 padding-left: 0; 99 padding-left: 0;
101 padding-right: 8px; 100 padding-right: 8px;
102 right: 0; 101 right: 0;
103 } 102 }
104 103
105 #fakebox-text { 104 #fakebox-text {
106 bottom: 0; 105 bottom: 0;
107 color: #bbb; 106 color: #bbb;
108 font-family: arial, sans-serif;
109 font-size: 16px; 107 font-size: 16px;
110 left: 9px; 108 left: 9px;
111 margin-top: 1px; 109 margin-top: 1px;
112 overflow: hidden; 110 overflow: hidden;
113 position: absolute; 111 position: absolute;
114 right: 9px; 112 right: 9px;
115 text-align: initial; 113 text-align: initial;
116 text-overflow: ellipsis; 114 text-overflow: ellipsis;
117 top: 0; 115 top: 0;
118 vertical-align: middle; 116 vertical-align: middle;
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 text-align: right; 682 text-align: right;
685 } 683 }
686 684
687 #recent-tabs { 685 #recent-tabs {
688 background: #fff; 686 background: #fff;
689 border: 1px solid #c0c0c0; 687 border: 1px solid #c0c0c0;
690 border-radius: 2px; 688 border-radius: 2px;
691 bottom: 0; 689 bottom: 0;
692 color: rgb(17, 85, 204); 690 color: rgb(17, 85, 204);
693 cursor: pointer; 691 cursor: pointer;
694 font-family: Arial;
695 font-size: 14px; 692 font-size: 14px;
696 opacity: 0.9; 693 opacity: 0.9;
697 padding: 3px; 694 padding: 3px;
698 position: fixed; 695 position: fixed;
699 right: 8px; 696 right: 8px;
700 } 697 }
701 698
702 html[dir=rtl] #attribution,html[dir=rtl] #recent-tabs { 699 html[dir=rtl] #attribution,html[dir=rtl] #recent-tabs {
703 left: 8px; 700 left: 8px;
704 right: auto; 701 right: auto;
705 } 702 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698