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

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

Issue 3108018: Display a banner above each panel that contains managed options.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « chrome/browser/resources/options.html ('k') | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/options_page.css
===================================================================
--- chrome/browser/resources/options/options_page.css (revision 56591)
+++ chrome/browser/resources/options/options_page.css (working copy)
@@ -84,6 +84,7 @@
cursor: pointer;
position: relative;
width: 250px;
+ z-index: 2;
}
html[dir='rtl'] #navbar-container {
@@ -142,11 +143,48 @@
#mainview {
-webkit-box-align: stretch;
- width: 600px;
- padding: 0 24px 24px;
- position: relative;
+ padding: 0 0 0 251px;
+ margin: 0;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ z-index: 1;
}
+#mainview-content {
+ width: 550px;
+ padding: 0 24px;
+}
+
+#managed-prefs-banner {
+ background: -webkit-gradient(linear,
+ left top,
+ left bottom,
+ from(#fff2b7),
+ color-stop(0.97, #fae691),
+ to(#878787));
+ height: 31px;
+ width: 100%;
+}
+
+#managed-prefs-banner, span {
+ margin: 0;
+ padding: 0;
+ vertical-align: middle;
+}
+
+#managed-prefs-icon {
+ background-image: url("chrome://theme/IDR_WARNING");
+ background-repeat: no-repeat;
+ background-position:center;
+ padding: 5px;
+ width: 24px;
+ height: 21px;
+ display: inline-block;
+}
+
.page > h1 {
-webkit-padding-end: 24px;
padding-top: 1em;
« no previous file with comments | « chrome/browser/resources/options.html ('k') | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698