From 3efa1a15e2cef39e53868adbe2de73b53603ab75 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 1 Nov 2016 22:34:11 -0400 Subject: [PATCH 1/3] Added calendar creating work for new UI --- hourglass/client/main/main.css | 75 +++------------------------ hourglass/client/main/main.html | 17 ++++-- hourglass/client/main/main.js | 92 ++++++++++++++------------------- 3 files changed, 59 insertions(+), 125 deletions(-) diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index 32d5db0..9bef164 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -391,6 +391,14 @@ a display: table-cell; } +.sidebarDesc { + font-size: 1.8vh; + margin-left: 5%; + width: 90%; + + text-align: center; +} + #classesMode { height: 94vh; @@ -1053,65 +1061,6 @@ textarea.clickModify { display: inline-block; } -#calCreWork { - margin-left: 0 !important; - color: #fff; - - -webkit-animation: neonglow 1.5s ease-in-out infinite alternate; - -moz-animation: neonglow 1.5s ease-in-out infinite alternate; - animation: neonglow 1.5s ease-in-out infinite alternate; -} - -@-webkit-keyframes neonglow { - from { - text-shadow: - 0 0 10px #fff, - 0 0 20px #fff, - 0 0 30px #fff, - 0 0 40px #228DFF, - 0 0 70px #228DFF, - 0 0 80px #228DFF, - 0 0 100px #228DFF, - 0 0 150px #228DFF; - } - to { - text-shadow: - 0 0 5px #fff, - 0 0 10px #fff, - 0 0 15px #fff, - 0 0 20px #228DFF, - 0 0 35px #228DFF, - 0 0 40px #228DFF, - 0 0 50px #228DFF, - 0 0 75px #228DFF; - } -} - -@keyframes neonglow { - from { - text-shadow: - 0 0 10px #fff, - 0 0 20px #fff, - 0 0 30px #fff, - 0 0 40px #228DFF, - 0 0 70px #228DFF, - 0 0 80px #228DFF, - 0 0 100px #228DFF, - 0 0 150px #228DFF; - } - to { - text-shadow: - 0 0 5px #fff, - 0 0 10px #fff, - 0 0 15px #fff, - 0 0 20px #228DFF, - 0 0 35px #228DFF, - 0 0 40px #228DFF, - 0 0 50px #228DFF, - 0 0 75px #228DFF; - } -} - .fc-past { background-color: rgba(0,0,0,0.2); } @@ -1416,14 +1365,6 @@ textarea.clickModify { display: inline-block; } -#requestDesc { - font-size: 1.8vh; - margin-left: 5%; - width: 90%; - - text-align: center; -} - #requestArea { font-size: 1.8vh; width: 85%; diff --git a/hourglass/client/main/main.html b/hourglass/client/main/main.html index 6672e99..6715be3 100644 --- a/hourglass/client/main/main.html +++ b/hourglass/client/main/main.html @@ -24,6 +24,9 @@ {{#if sidebarStatus 'requests'}} {{> sidebarRequestPlate}} {{/if}} + {{#if sidebarStatus 'create'}} + {{> sidebarCreatePlate}} + {{/if}} @@ -254,7 +257,7 @@ + + - - - - - - - -