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

Unified Diff: chrome/browser/resources/uber/uber_shared.css

Issue 10542023: Disable modifying extensions when in managed mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Added missing CSS file Created 8 years, 6 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/uber/uber_shared.css
===================================================================
--- chrome/browser/resources/uber/uber_shared.css (revision 142678)
+++ chrome/browser/resources/uber/uber_shared.css (working copy)
@@ -116,3 +116,49 @@
body.uber-frame section > div:only-of-type {
-webkit-box-flex: 1;
}
+
+/* Styles for a hideable notification banner at the top of a page.
+ * See the Options page .managed-prefs-banner for a usage example.
+ */
Evan Stade 2012/06/20 21:27:35 move */ to previous line.
+.page.showing-banner {
+ margin-top: 45px;
+}
+
+.page-banner {
+ background-color: white;
+ width: 100%;
+ z-index: 2;
+}
+
+.page:not(.showing-banner) .page-banner {
+ display: none;
+}
+
+.page-banner-gradient {
+ background: -webkit-linear-gradient(rgb(255, 242, 183),
+ rgb(250, 230, 145));
+ border: 1px solid rgb(201, 189, 141);
+ border-radius: 3px;
+ height: 25px;
+ margin: 9px 9px 0 9px;
+}
+
+.page-banner .page-banner-gradient {
+ -webkit-margin-end: 20px;
+ -webkit-margin-start: 0;
+ margin-bottom: 9px;
+}
+
+.page-banner-text {
+ background-image: url('chrome://theme/IDR_MANAGED');
Evan Stade 2012/06/20 21:27:35 I'm not sure that every page installs a theme data
Pam (message me for reviews) 2012/06/21 16:38:13 Currently it's only used on the Settings and Exten
+ background-position: 5px center;
+ background-repeat: no-repeat;
+ display: block;
+ line-height: 24px;
+ padding-left: 26px;
+}
+
+.page-banner.clickable:active .page-banner-text {
+ background: -webkit-linear-gradient(rgb(250, 230, 145),
+ rgb(255, 242, 183));
+}

Powered by Google App Engine
This is Rietveld 408576698