-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dropdown context menu and sheet modal
- Loading branch information
1 parent
7e899cb
commit 6b88834
Showing
3 changed files
with
183 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,63 +11,81 @@ | |
<link rel="stylesheet" href="stylesheets/main.css"> | ||
</head> | ||
<body> | ||
<header> | ||
<div> | ||
<ul id="head-left"> | ||
<li><button id="prev" style="visibility:hidden"><i id="prev-icon" class="gs" data-icon="chevron-left"></i><span id="prev-label"></span></button></li> | ||
</ul> | ||
<div id="head-center"> | ||
<h1 id="title">Home</h1> | ||
<div id="main"> | ||
<header> | ||
<div> | ||
<ul class="head-left"> | ||
<li><button id="prev" style="visibility:hidden"><i id="prev-icon" class="gs" data-icon="chevron-left"></i><span id="prev-label"></span></button></li> | ||
</ul> | ||
<div class="head-center"> | ||
<h1 id="title">Home</h1> | ||
</div> | ||
<ul class="head-right"> | ||
<section id="toolbar" class="hidden"> | ||
<li><button onclick="modal()"><span>Settings</span><i class="gs">gear</i></button></li> | ||
</section> | ||
<li><button onclick="menu('toolbar')"><i class="gs">chevron-down</i></button></li> | ||
</ul> | ||
</div> | ||
</header> | ||
<main id="content"> | ||
<section id="home"> | ||
<h2>Recents</h2> | ||
<ul id="recents" class="list"></ul> | ||
<h2>Bookmarks</h2> | ||
<ul id="bookmarks"></ul> | ||
</section> | ||
<section id="library"> | ||
<ul id="collections" class="tiles"></ul> | ||
</section> | ||
<section id="collection"> | ||
<ul id="books" class="tiles"></ul> | ||
</section> | ||
<section id="book"> | ||
<ul id="parts" class="list"></ul> | ||
</section> | ||
<section id="part"> | ||
<ul id="chapters" class="list"></ul> | ||
</section> | ||
<section id="reader"> | ||
<div id="head"> | ||
<div id="superhead" style="display:none"> | ||
<h2 id="heading"></h2> | ||
<h4 id="subheading"></h4> | ||
<p id="intro"></p> | ||
</div> | ||
<h3 id="chapter"></h3> | ||
<p><em id="summary"></em></p> | ||
</div> | ||
<article id="article"></article> | ||
</section> | ||
<aside id="inspector"> | ||
<ul id="notes"></ul> | ||
</aside> | ||
</main> | ||
<nav> | ||
<div> | ||
<ul id="nav"> | ||
<li id="home-tab" class="active"><button onclick="slide('home', 'home', null, false)"><i class="gs" data-icon="house-fill"></i><span>Home</span></button></li> | ||
<li id="lib-tab" ><button onclick="slide('library', 'lib', null, false)"><i class="gs" data-icon="book-fill"></i><span>Library</span></button></li> | ||
</ul> | ||
</div> | ||
<ul id="head-right"> | ||
<li id="menu"><button><i class="gs">sliders</i></button></li> | ||
</ul> | ||
</div> | ||
</header> | ||
<main id="main"> | ||
<section id="home"> | ||
<h2>Recents</h2> | ||
<ul id="recents" class="list"></ul> | ||
<h2>Bookmarks</h2> | ||
<ul id="bookmarks"></ul> | ||
</section> | ||
<section id="library"> | ||
<ul id="collections" class="tiles"></ul> | ||
</section> | ||
<section id="collection"> | ||
<ul id="books" class="tiles"></ul> | ||
</section> | ||
<section id="book"> | ||
<ul id="parts" class="list"></ul> | ||
</section> | ||
<section id="part"> | ||
<ul id="chapters" class="list"></ul> | ||
</section> | ||
<section id="reader"> | ||
<div id="head"> | ||
<div id="superhead" style="display:none"> | ||
<h2 id="heading"></h2> | ||
<h4 id="subheading"></h4> | ||
<p id="intro"></p> | ||
</nav> | ||
</div> | ||
<aside id="modal"> | ||
<header> | ||
<div> | ||
<ul class="head-left"></ul> | ||
<div class="head-center"> | ||
<h1 id="modal-title">Modal</h1> | ||
</div> | ||
<h3 id="chapter"></h3> | ||
<p><em id="summary"></em></p> | ||
<ul class="head-right"> | ||
<li><button onclick="document.body.classList.remove('modal')">Done</button></li> | ||
</ul> | ||
</div> | ||
<article id="article"></article> | ||
</section> | ||
<aside id="inspector"> | ||
<ul id="notes"></ul> | ||
</aside> | ||
</main> | ||
<nav> | ||
<div> | ||
<ul id="nav"> | ||
<li id="home-tab" class="active"><button onclick="slide('home', 'home', null, false)"><i class="gs" data-icon="house-fill"></i><span>Home</span></button></li> | ||
<li id="lib-tab" ><button onclick="slide('library', 'lib', null, false)"><i class="gs" data-icon="book-fill"></i><span>Library</span></button></li> | ||
<!-- <li id="search-tab"><button onclick="slide('search', 'search', null, false)"><i class="gs" data-icon="magnifyingglass"></i><span>Search</span></button></li> --> | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> | ||
<section id="settings">Settings</section> | ||
</aside> | ||
<script src="https://cdn.jsdelivr.net/gh/CurbaiCode/[email protected]/scripts/gustsymbols.min.js"></script> | ||
<script src="scripts/msgpackr.min.js"></script> | ||
<script src="scripts/main.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.