Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/components/navbar.html

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Demo of both methods Created Nov. 6, 2017, 8:18 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pages/index.html » ('j') | static/js/navbar.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/components/navbar.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/components/navbar.html
@@ -0,0 +1,47 @@
+<div id="table-navbar">
+<div class="navbar bg-primary">
+ <div class="container">
+ <a href="index" class="navbar-branding text-start">Website<br> Defaults</a>
+
+ <div class="toggle-navbar-collapse text-end">
+ <button>
+ <span class="open-label">Open</span>
+ <span class="sr-only">/</span>
+ <span class="close-label">Close</span>
+ Menu
+ </button>
+ </div>
+
+ <div class="navbar-collapse">
+ <nav>
+ <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>
+ </nav>
+ </div>
+ </div>
+</div>
+</div>
+
+<br>
+
+<div id="floated-navbar">
+<div class="navbar bg-primary">
+ <div class="container">
+ <a href="index" class="navbar-branding float-start">Website<br> Defaults</a>
+
+ <div class="toggle-navbar-collapse float-end">
+ <button>
+ <span class="open-label">Open</span>
+ <span class="sr-only">/</span>
+ <span class="close-label">Close</span>
+ Menu
+ </button>
+ </div>
+
+ <div class="navbar-collapse">
+ <nav>
+ <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>, <a href="index">Navbar Menu Link</a>
+ </nav>
+ </div>
+ </div>
+</div>
+</div>
« no previous file with comments | « no previous file | pages/index.html » ('j') | static/js/navbar.js » ('J')

Powered by Google App Engine
This is Rietveld