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

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

Issue 9307026: make search box in settings page not get hidden behind enterprise warning (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make the banner show on the search page as well 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 18b59c4fb7fb2bf3bf1815b035b10b61d4e86088..445a0dccbd4a7bbe94fa270925a9221beaf09175 100644
--- a/chrome/browser/resources/options2/options_page.css
+++ b/chrome/browser/resources/options2/options_page.css
@@ -42,6 +42,24 @@ html.hide-menu #mainview {
min-width: 600px;
}
+#page-container .page {
+ -webkit-transition-duration: 500ms;
James Hawkins 2012/02/05 05:13:10 500ms is too long. Use 200ms.
Tyler Breisacher (Chromium) 2012/02/06 18:46:50 Done.
+ -webkit-transition-property: margin-top;
+}
+
+#page-container .page.under-managed-prefs-banner {
+ margin-top: 31px;
+}
+
+#page-container header {
+ -webkit-transition-duration: 500ms;
+ -webkit-transition-property: top;
+}
+
+#page-container .page.under-managed-prefs-banner header {
+ top: 31px;
+}
+
div.disabled {
color: #888;
}
@@ -291,6 +309,8 @@ html.hide-menu .close-subpage {
}
.managed-prefs-banner {
+ -webkit-transition-duration: 500ms;
+ -webkit-transition-property: height;
background: -webkit-linear-gradient(rgb(255, 242, 183),
rgb(250, 230, 145) 97%,
rgb(135, 135, 135));
@@ -298,9 +318,13 @@ html.hide-menu .close-subpage {
width: 100%;
margin: 0;
padding: 0;
- position: relative;
+ position: fixed;
vertical-align: middle;
- z-index: 9;
+ z-index: 2;
James Hawkins 2012/02/05 05:13:10 What is this change about?
+}
+
+.managed-prefs-banner.hidden {
James Hawkins 2012/02/05 05:13:10 .managed-prefs-banner['hidden']
+ height: 0;
}
.managed-prefs-banner.clickable:active {

Powered by Google App Engine
This is Rietveld 408576698