You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sy...@apache.org on 2015/11/12 22:58:58 UTC

[09/17] hbase git commit: HBASE-14774 Addendum to tweak CSS

HBASE-14774 Addendum to tweak CSS


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/690c4559
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/690c4559
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/690c4559

Branch: refs/heads/hbase-12439
Commit: 690c455964aadcee89b0591892d684868bc9fa9f
Parents: e82ccb9
Author: Misty Stanley-Jones <ms...@cloudera.com>
Authored: Wed Nov 11 07:37:46 2015 +1000
Committer: Misty Stanley-Jones <ms...@cloudera.com>
Committed: Wed Nov 11 11:22:57 2015 +1000

----------------------------------------------------------------------
 src/main/site/resources/css/site.css | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/690c4559/src/main/site/resources/css/site.css
----------------------------------------------------------------------
diff --git a/src/main/site/resources/css/site.css b/src/main/site/resources/css/site.css
index ba6d55e..65adda7 100644
--- a/src/main/site/resources/css/site.css
+++ b/src/main/site/resources/css/site.css
@@ -19,6 +19,7 @@
 
 /*@import(https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.min.css);
 @import(https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap-responsive.css);*/
+
 html {
   background-color: #fff;
 }
@@ -83,9 +84,20 @@ li#publishDate.pull-right {
   /* Without this rule, drop-down divs are a fixed height
    * the first time they are expanded */
   .collapse.in {
-    height: auto;
-    overflow: visible;
+      height: auto;
+  }
+  /* Fix Google Search Results box on small screens */
+  input.gsc-input,
+  .gsc-input-box,
+  .gsc-input-box-hover,
+  .gsc-input-box-focus,
+  .gsc-search-button,
+  .gsc-results-wrapper-visible {
+    -webkit-box-sizing: content-box;
+    -moz-box-sizing: content-box;
+    box-sizing: content-box;
   }
+
   div#search-form.navbar-search.pull-right {
     padding: 0;
     margin-left: ;
@@ -93,3 +105,10 @@ li#publishDate.pull-right {
     clear: both;
   }
 }
+
+/* Fix Google Custom Search results div on very narrow screens */
+@media(max-width: 480px) {
+    .gsc-overflow-hidden .nav-collapse {
+        -webkit-transform: none;
+    }
+}
\ No newline at end of file