From 2e8c5af997b1b6447b42a37a0295c4f437bc282d Mon Sep 17 00:00:00 2001 From: Zara Date: Tue, 20 Sep 2016 11:52:29 +0000 Subject: [PATCH] Put task notes in a box This distinguishes task notes from other elements visually, so they're a little easier to scan. It also aligns the 'add notes' and 'edit'(notes) buttons, so that the user is not confused, as they will expect these to be in the same place. Finally, it puts them both nearer the task notes, so that it's obvious what the edit button edits. Change-Id: I152a8dc164c9173b52f25b000eb65af9a1b7c57f --- src/app/stories/template/detail.html | 27 +++++++++++++++------------ src/theme/base/edit_tasks.less | 10 ++++++++++ 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/src/app/stories/template/detail.html b/src/app/stories/template/detail.html index b04b6da4..e7273e38 100644 --- a/src/app/stories/template/detail.html +++ b/src/app/stories/template/detail.html @@ -503,8 +503,14 @@ -
-
+
+
+
@@ -513,14 +519,13 @@ class="form-control context-edit" msd-elastic rows="3" - ng-show="isLoggedIn" ng-disabled="isUpdating" ng-model="task.tempNotes">
- @@ -528,7 +533,7 @@
-
-
+
-
- +
+ +
diff --git a/src/theme/base/edit_tasks.less b/src/theme/base/edit_tasks.less index e7c91cb5..4921ee48 100644 --- a/src/theme/base/edit_tasks.less +++ b/src/theme/base/edit_tasks.less @@ -30,6 +30,16 @@ } } +.task-notes { + padding-top : 10px; + border-radius: 5px; + box-shadow: -4px 0px 10px rgba(0,0,0,0.1); +} + +.row { + padding-bottom : 10px; +} + input-inline, project-typeahead, user-typeahead, task-status-dropdown { display: inline-block;