From 88beb191c9f7251445c44e0626536ef7a9a1eaa0 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 1 Nov 2016 23:07:09 -0400 Subject: [PATCH] Slight reorganization --- hourglass/client/main/main.css | 17 +++-- hourglass/client/main/main.html | 121 ----------------------------- hourglass/client/main/main.js | 82 +------------------- hourglass/client/menus/menus.html | 123 ++++++++++++++++++++++++++++++ hourglass/client/menus/menus.js | 57 ++++++++++++++ hourglass/lib/constants.js | 8 ++ hourglass/lib/router.js | 1 - 7 files changed, 202 insertions(+), 207 deletions(-) create mode 100644 hourglass/client/menus/menus.html create mode 100644 hourglass/client/menus/menus.js diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index 9bef164..6bfb37f 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -411,7 +411,7 @@ a width: 100%; } -#filterHead, #filterWrapper .sectionTitle { +.openable { font-weight: 200; padding: 0; @@ -423,24 +423,31 @@ a transition: background-color 0.4s ease; } -#filterHead:hover, #filterWrapper .sectionTitle:hover { +.openable:hover { background-color: rgba(255,255,255,0.2); } -#filterHead h3:first-child, #filterWrapper .sectionTitle h3:first-child { +.openable h3:first-child { font-weight: 200; padding: 5%; display: inline-block; pointer-events: none; } -#filterHead .fa, #filterWrapper .sectionTitle .fa { +.openable .fa { padding: 5%; float: right; display: inline-block; pointer-events: none; } +#filterHead h3:first-child, #filterWrapper .sectionTitle h3:first-child { + font-weight: 200; + padding: 5%; + display: inline-block; + pointer-events: none; +} + #disableFilter { font-weight: 200; font-size: 90%; @@ -497,7 +504,7 @@ a cursor: pointer; } -.sectionTitle.option { +.sectionTitle.downOffset { margin-top: 6vh; } diff --git a/hourglass/client/main/main.html b/hourglass/client/main/main.html index 6715be3..e445b60 100644 --- a/hourglass/client/main/main.html +++ b/hourglass/client/main/main.html @@ -155,127 +155,6 @@ - - - - - - - -