From 4e5e7bb14aeea5cab95b563d3162aa231163f3f3 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 18 Oct 2016 14:14:59 -0400 Subject: [PATCH] Naming changes, css fixes, small bugs --- hourglass/client/main/main.css | 7 +++-- hourglass/client/main/main.html | 10 +++---- hourglass/client/main/main.js | 1 + hourglass/client/profile/profile.css | 24 +++------------- hourglass/client/profile/profile.html | 2 +- hourglass/client/profile/profile.js | 1 + hourglass/lib/constants.js | 40 +++++++++++++++------------ 7 files changed, 39 insertions(+), 46 deletions(-) diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index 130fec7..440795f 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -589,7 +589,7 @@ input.clickModify, textarea.clickModify { input.clickModify:hover, textarea.clickModify:hover { background-color: rgba(0,0,0,0.1); - border-color: rgba(0,0,0,0.1);; + } textarea.clickModify { @@ -608,12 +608,15 @@ textarea.clickModify { #editWorkCont { width: 100%; height: 100%; - min-height: 68vh; position: relative; display: table; } +#workInfoContainer { + min-height: 68vh; +} + #workTypeBar { background-color: rgba(0,0,0,0.1); height: 2%; diff --git a/hourglass/client/main/main.html b/hourglass/client/main/main.html index 61ed342..46c8371 100644 --- a/hourglass/client/main/main.html +++ b/hourglass/client/main/main.html @@ -151,8 +151,8 @@ {{else}} {{> workDisplay}} {{/if}} -
- {{#unless newWork}} + {{#unless newWork}} +

Comments

@@ -167,9 +167,9 @@ {{> comment}} {{/each}}
-
- {{/unless}} -
+
+ + {{/unless}} {{#unless newWork}}
diff --git a/hourglass/client/main/main.js b/hourglass/client/main/main.js index 62816c1..8cdf746 100644 --- a/hourglass/client/main/main.js +++ b/hourglass/client/main/main.js @@ -706,6 +706,7 @@ Template.main.events({ } }, 'keydown .dropdown' (event) { + event.preventDefault(); var first = $("#"+modifyingInput).next().children("p:first-child"); var last = $("#"+modifyingInput).next().children("p:last-child"); var next = $(".selectedOption").next(); diff --git a/hourglass/client/profile/profile.css b/hourglass/client/profile/profile.css index 1f570cf..d339fc8 100644 --- a/hourglass/client/profile/profile.css +++ b/hourglass/client/profile/profile.css @@ -80,30 +80,14 @@ width: 50% !important; } +#description:hover { + background-color: rgba(255,255,255,0.1); +} + .username { margin-left: 20% !important; } -#motdrestrict { - margin-right: 1% !important; - float: right; -} - -.profOptions { - box-shadow: 2px 2px 5px 3px #666; - - position: absolute; - display: none; - z-index: 5; - - opacity: 0; - - -webkit-transition: opacity 0.4s ease; - -moz-transition: opacity 0.4s ease; - -ms-transition: opacity 0.4s ease; - transition: opacity 0.4s ease; -} - #profCards { width: 100%; height: 100%; diff --git a/hourglass/client/profile/profile.html b/hourglass/client/profile/profile.html index d95160d..57fc5c2 100644 --- a/hourglass/client/profile/profile.html +++ b/hourglass/client/profile/profile.html @@ -37,7 +37,7 @@

-

Grade:

+

Graduation Year: