You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by fj...@apache.org on 2019/06/12 16:58:40 UTC

[incubator-druid-website-src] 25/29: apache links and copyright

This is an automated email from the ASF dual-hosted git repository.

fjy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid-website-src.git

commit 2b63de2d8c9431765885fcea5a25dafb273c8795
Author: Vadim Ogievetsky <va...@gmail.com>
AuthorDate: Tue Jun 11 23:43:25 2019 -0700

    apache links and copyright
---
 _includes/page_footer.html |  3 ++-
 _includes/page_header.html | 11 +++++++++++
 css/header.css             | 12 ++++++++++++
 scss/header.scss           | 22 +++++++++++++++++++++-
 4 files changed, 46 insertions(+), 2 deletions(-)

diff --git a/_includes/page_footer.html b/_includes/page_footer.html
index 878604f..d73b044 100644
--- a/_includes/page_footer.html
+++ b/_includes/page_footer.html
@@ -19,7 +19,8 @@
     <a title="GitHub" href="https://github.com/apache/incubator-druid" target="_blank"><span class="fab fa-github"></span></a>
   </div>
   <div class="text-center license">
-    Except where otherwise noted, licensed under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
+    The contents of this website are © 2019 <a href="https://www.apache.org/" target="_blank">Apache Software Foundation</a> under the terms of the <a href="https://www.apache.org/licenses/LICENSE-2.0.html" target="_blank" rel="license">Apache License v2</a>.
+    Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
   </div>
 </div>
 </footer>
diff --git a/_includes/page_header.html b/_includes/page_header.html
index 95c1c7f..250a1bd 100644
--- a/_includes/page_header.html
+++ b/_includes/page_header.html
@@ -13,6 +13,17 @@
         <li class="{% if page.sectionid == 'powered-by' %} active{% endif %}"><a href="/druid-powered">Powered By</a></li>
         <li class="{% if page.sectionid == 'docs' %} active{% endif %}"><a href="/docs/latest/design/">Docs</a></li>
         <li class="{% if page.sectionid == 'community' %} active{% endif %}"><a href="/community/">Community</a></li>
+        <li class="header-dropdown">
+          <a>Apache</a>
+          <div class="header-dropdown-menu">
+            <a href="https://www.apache.org/" target="_blank">Foundation</a>
+            <a href="https://www.apache.org/events/current-event" target="_blank">Events</a>
+            <a href="https://www.apache.org/licenses/" target="_blank">License</a>
+            <a href="https://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a>
+            <a href="https://www.apache.org/security/" target="_blank">Security</a>
+            <a href="https://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a>
+          </div>
+        </li>
         <li class="{% if page.sectionid == 'download' %} active{% endif %} button-link"><a href="/downloads.html">Download</a></li>
       </ul>
     </div>
diff --git a/css/header.css b/css/header.css
index 7a361c1..0fb02ec 100644
--- a/css/header.css
+++ b/css/header.css
@@ -76,6 +76,18 @@
       margin-right: 6px; }
     .top-navigator .action-button:hover {
       color: white; }
+  .top-navigator .header-dropdown .header-dropdown-menu {
+    display: none;
+    z-index: 100;
+    position: absolute;
+    top: 54px;
+    left: 0;
+    width: 200px;
+    background: #3a3a52;
+    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.18);
+    overflow: visible; }
+  .top-navigator .header-dropdown:hover .header-dropdown-menu {
+    display: block; }
 
 @media (max-width: 840px) {
   body {
diff --git a/scss/header.scss b/scss/header.scss
index 24e3c41..31a8f88 100644
--- a/scss/header.scss
+++ b/scss/header.scss
@@ -113,6 +113,26 @@
       color: white;
     }
   }
+
+  .header-dropdown {
+    .header-dropdown-menu {
+      display: none;
+      z-index: 100;
+      position: absolute;
+      top: $header-height;
+      left: 0;
+      width: 200px;
+      background: #3a3a52;
+      box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.18);
+      overflow: visible;
+    }
+
+    &:hover {
+      .header-dropdown-menu {
+        display: block;
+      }
+    }
+  }
 }
 
 @media (max-width: 840px) {
@@ -147,4 +167,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org