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

Unified Diff: chrome/browser/resources/shared/css/chrome_shared.css

Issue 10542023: Disable modifying extensions when in managed mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Improve/fix InitImpl() 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/shared/css/chrome_shared.css
===================================================================
--- chrome/browser/resources/shared/css/chrome_shared.css (revision 141651)
+++ chrome/browser/resources/shared/css/chrome_shared.css (working copy)
@@ -105,6 +105,52 @@
direction: rtl;
}
+/* Styles for a hideable notification banner at the top of a page.
+ * See the Options page .managed-prefs-banner for a usage example.
+ */
Patrick Dubroy 2012/06/18 12:13:01 It seems like a lot of this code should be in uber
Pam (message me for reviews) 2012/06/18 18:26:00 Moved the whole block to uber_shared.css following
+.page.showing-banner {
+ margin-top: 45px;
Patrick Dubroy 2012/06/18 12:13:01 This should be in uber_shared.css, for example.
+}
+
+.main-page-banner {
+ background-color: white;
Patrick Dubroy 2012/06/18 12:13:01 Is this necessary?
Pam (message me for reviews) 2012/06/18 18:26:00 I don't know -- I'm just moving this from options_
+ width: 100%;
+ z-index: 2;
+}
+
+.page:not(.showing-banner) .main-page-banner {
+ display: none;
+}
+
+.main-page-banner-gradient {
Patrick Dubroy 2012/06/18 12:13:01 I'd move this to chrome_shared.css and rename the
+ 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;
+}
+
+.main-page-banner .main-page-banner-gradient {
+ -webkit-margin-end: 20px;
+ -webkit-margin-start: 0;
+ margin-bottom: 9px;
+}
+
+.main-page-banner-text {
+ background-image: url('chrome://theme/IDR_MANAGED');
+ background-position: 5px center;
+ background-repeat: no-repeat;
+ display: block;
+ line-height: 24px;
+ padding-left: 26px;
+}
+
+.main-page-banner.clickable:active .main-page-banner-text {
+ background: -webkit-linear-gradient(rgb(250, 230, 145),
+ rgb(255, 242, 183));
+}
+
/* Rules to make it easier to hit targets when using a coarse pointer like
* a touch screen.
*/

Powered by Google App Engine
This is Rietveld 408576698