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)); |
+} |