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

Unified Diff: chrome/browser/resources/options2/options_page.css

Issue 9265020: [uber] make the navigation controls an iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/options2/options_page.css
diff --git a/chrome/browser/resources/options2/options_page.css b/chrome/browser/resources/options2/options_page.css
index 99654157ed00bcbdbd7a91a42a4ffbf99c992289..aef0ada097ae58545e7c879c4940033df622d7af 100644
--- a/chrome/browser/resources/options2/options_page.css
+++ b/chrome/browser/resources/options2/options_page.css
@@ -1,3 +1,12 @@
+/* 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 {
+ position: relative;
+}
+
#main-content {
display: -webkit-box;
position: absolute;
@@ -131,12 +140,20 @@ html[touch-optimized] body {
}
#overlay {
csilv 2012/01/20 03:30:11 This seems useful to other web-ui, why move it out
Evan Stade 2012/01/20 03:36:07 it is not used by other webui. If another webui wa
csilv 2012/01/20 03:55:59 That's sounds fine. The extensions page does have
- /* -155px hack compensates for uber navigation area. */
- left: -155px;
- /* This padding keeps the dialog from moving too far to the left.
- * 155px (navigation area) + 40px (dialog shadow) = 195px */
- padding-left: 195px;
- padding-right: 195px;
+ -webkit-box-align: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-pack: center;
+ -webkit-transition: 200ms opacity;
+ background-color: rgba(255, 255, 255, 0.75);
+ bottom: 0;
Dan Beam 2012/01/20 00:59:02 confused, why bottom & top? some magic I'm unaware
+ display: -webkit-box;
+ left: 0;
+ overflow: auto;
+ padding: 20px;
+ padding-bottom: 130px;
+ position: fixed;
+ right: 0;
+ top: 0;
z-index: 10;
}

Powered by Google App Engine
This is Rietveld 408576698