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

Unified Diff: chrome/browser/resources/ntp4/md_incognito_tab.css

Issue 2891983003: Fix white flash when opening incognito NTP (Closed)
Patch Set: . Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/themes/theme_properties.cc » ('j') | chrome/browser/themes/theme_properties.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/md_incognito_tab.css
diff --git a/chrome/browser/resources/ntp4/md_incognito_tab.css b/chrome/browser/resources/ntp4/md_incognito_tab.css
index 4866c64740e1b2bb0b0672a50e3bcd6d9257c0f7..21f0e90054f4eacfb585433e0191b49875d17389 100644
--- a/chrome/browser/resources/ntp4/md_incognito_tab.css
+++ b/chrome/browser/resources/ntp4/md_incognito_tab.css
@@ -2,10 +2,6 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
-html.md {
- background-color: #303030;
-}
-
body {
-webkit-font-smoothing: antialiased;
font-size: 100%;
@@ -15,6 +11,8 @@ body {
/** Typography -------------------------------------------------------------- */
.content {
+ /* This is identical to the default background color. It's necessary to set it
+ for the case when a theme with a background image is installed. */
background-color: #303030;
color: rgba(255, 255, 255, 0.7);
font-size: calc(100% - 2px);
« no previous file with comments | « no previous file | chrome/browser/themes/theme_properties.cc » ('j') | chrome/browser/themes/theme_properties.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698