diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index 8342946..0eb8116 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -489,7 +489,16 @@ input, textarea { } #workInfoContainer { + width: 70%; padding: 2%; + display: inline-block; +} + +#workToggle { + width: 25%; + height: 100%; + display: inline-block; + float: right; } #workInfoNmCont { @@ -773,4 +782,43 @@ input, textarea { .inputRadioPref { margin-top: 6%; +} + +#workComment { + margin-bottom: 3%; +} + +#comment { + width: 105%; + position: relative; + overflow-y: scroll; +} + +.commentBox { + margin: 0 !important; + padding: 2%; + background-color: rgba(255,255,255,0.1); + border-bottom: solid 1px #CCC; +} + +.commentUser, .commentDate { + font-size: 75%; +} + +#commentSubmit { + padding: 2%; + background-color: rgba(255,255,255,0.1); + + display: inline; + float: right; + cursor: pointer; + + -webkit-transition: background-color 0.4s ease; + -moz-transition: background-color 0.4s ease; + -ms-transition: background-color 0.4s ease; + transition: background-color 0.4s ease; +} + +#commentSubmit:hover { + background-color: rgba(255,255,255,0.05); } \ No newline at end of file diff --git a/hourglass/client/main/main.html b/hourglass/client/main/main.html index fea22e9..bd5a4d4 100644 --- a/hourglass/client/main/main.html +++ b/hourglass/client/main/main.html @@ -137,18 +137,24 @@ {{#unless newWork}}

Comments

-
+
{{#each work 'comments'}} {{> comment}} {{/each}}
- +
+
+ {{commentLength}}
Submit
+
{{/unless}}
+ +
+
{{#if newWork}} {{#if inRole}} @@ -204,7 +210,7 @@