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

Unified Diff: chrome/browser/resources/incognito_tab.css

Issue 9455078: Simplify the incognito NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing, adding Android. Created 8 years, 9 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
Index: chrome/browser/resources/incognito_tab.css
diff --git a/chrome/browser/resources/incognito_tab.css b/chrome/browser/resources/incognito_tab.css
index d345dc7ff33e40b43e1bcb58ce7516eb46545fac..f8c37f8e1c7fa0a29f3feb4f031ab1df29c2ab97 100644
--- a/chrome/browser/resources/incognito_tab.css
+++ b/chrome/browser/resources/incognito_tab.css
@@ -1,35 +1,48 @@
+/**
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
body {
margin: 10px 8px;
}
+
+.icon {
+ position: absolute;
+ top: -7px;
+}
+
html[dir="ltr"] .icon {
- float: right;
- margin: 0 6px 0 3px;
-webkit-transform: scale(-1, 1);
+ left: auto;
+ right: 10px;
}
+
html[dir="rtl"] .icon {
- float: left;
- margin: 0 3px 0 6px;
+ left: 10px;
+ right: auto;
}
+
.content {
+ background-color: #eaeaea;
border-radius: 5px 5px;
- background-color: #eee;
+ border: 1px solid #d9d9d9;
+ box-shadow: 0 3px 5px rgba(0,0,0,0.25);
color: black;
- padding: 10px;
- max-width: 600px;
margin-left: auto;
margin-right: auto;
margin-top: 66px;
-}
-.extensionsmessage {
- color: black;
- padding: 10px;
max-width: 600px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 5px;
+ padding: 10px;
+ position: relative;
+}
+
+h1 {
+ font-size: 1.25em;
+ margin: 0;
}
-.extensionicon {
- float: left;
- margin: 10px 5px 0 0;
- width: 30px;
+
+p {
+ margin: 0.5em 0;
}

Powered by Google App Engine
This is Rietveld 408576698