better highlight add task on planning view

This commit is contained in:
Johannes Millan 2017-02-06 20:27:21 +01:00
parent 65bf636011
commit 8a08bf9aa2
3 changed files with 28 additions and 4 deletions

View file

@ -7,4 +7,19 @@ daily-planner {
display: none;
}
}
.add-task-form {
margin: 20px auto;
max-width: $component-max-width;
md-autocomplete-wrap {
box-shadow: none;
}
ng-md-icon {
width: 32px;
height: 32px;
}
}
.highlight-add-task-icon {
margin-right: 10px;
}
}

View file

@ -3,12 +3,18 @@
<ng-md-icon icon="border_color"></ng-md-icon>
Plan your day!
</h2>
<p>If you're done, you should spent some time
<strong>prioritizing</strong> your tasks, by ordering them via drag and drop. You can also make a rough time estimation.
</p>
<form ng-submit="vm.addTask()">
<form ng-submit="vm.addTask()"
layout="row"
class="add-task-form">
<ng-md-icon icon="playlist_add"
size="32"
class="highlight-add-task-icon"></ng-md-icon>
<md-autocomplete
md-whiteframe="2"
flex="100"
tabindex="1"
md-selected-item="vm.newTask"
md-search-text="vm.newTaskTitle"
md-items="task in vm.getFilteredTaskSuggestions(vm.newTaskTitle)"

View file

@ -5,6 +5,9 @@ $dark-green: #30412d;
$green: #4fa758;
$light-green: #a9ed9f;
$red: #e15d63;
$c-accent: rgb(197,17,98);
$component-max-width: 900px;
//$layout-xs: 600px;
$layout-gt-xs: 600px;