OSDN Git Service

hide the butter bar but also update the CSS for recent butterbar changes
authorsmain@google.com <smain@google.com>
Wed, 15 Oct 2014 19:48:58 +0000 (12:48 -0700)
committersmain@google.com <smain@google.com>
Wed, 15 Oct 2014 19:48:58 +0000 (12:48 -0700)
Change-Id: I29cbdfe4ef6542a0dd04642be76856f3af2732d1

tools/droiddoc/templates-sdk/assets/css/default.css
tools/droiddoc/templates-sdk/components/masthead.cs

index cb9d323..5f21892 100644 (file)
@@ -2774,19 +2774,22 @@ Butterbar
   width:100%;
 }
 #butterbar {
-  width:940px;
+  width:100%;
   margin:0 auto;
 }
 #butterbar-message {
-  background-color:#f80;
-  float:right;
-  font-size:12px;
-  font-weight:bold;
-  padding:0 10px;
-  border-radius: 0 0 5px 5px;
+  background-color:rgba(255, 187, 51, .4);
+  font-size:13px;
+  padding: 5px 0;
+  text-align:center;
+}
+a#butterbar-message {
+  cursor:pointer;
+  display:block;
+}
+a#butterbar-message:hover {
+  text-decoration:underline;
 }
-#butterbar-message a {color:#fff !important}
-#butterbar-message a:hover {text-decoration:underline;}
 
 /* --------------------------------------------------------------------------
 Misc
index bb3c722..3135a0c 100644 (file)
@@ -303,6 +303,9 @@ color:#666;font-weight:100;font-size:27px;">L Developer Preview</h1></div>
 
 <?cs # (UN)COMMENT THE INSIDE OF THIS METHOD TO TOGGLE VISIBILITY ?>
 <?cs def:butter_bar() ?>
+
+<?cs # HIDE THE BUTTER BAR
+
     <div style="height:20px"><!-- spacer to bump header down --></div>
     <div id="butterbar-wrapper">
       <div id="butterbar">
@@ -311,4 +314,7 @@ color:#666;font-weight:100;font-size:27px;">L Developer Preview</h1></div>
         </a>
       </div>
     </div>
+
+?>    
+
 <?cs /def ?>
\ No newline at end of file