File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 --medium-priority : # ffe5b4 ;
88 --low-priority : # 90ee90 ;
99 --button-color : rgba (57 , 46 , 46 , 0.1 );
10+ --button-color-hover : rgba (57 , 46 , 46 , 0.219 );
1011}
1112/* reset */
1213* ,
@@ -126,6 +127,9 @@ body {
126127 background-color : var (--button-color );
127128 margin-left : 5px ;
128129}
130+ .button-add-project : hover {
131+ background-color : var (--button-color-hover );
132+ }
129133
130134.add-project-popup {
131135 margin : 10px 5px 10px ;
@@ -153,6 +157,18 @@ body {
153157/* taskview */
154158.content .taskview {
155159 flex : 4 ;
160+ padding : 1.2rem ;
161+ }
162+ .tasks-wrapper , .new-todo-btn-wrapper {
163+ padding-left : 10px ;
164+ }
165+ .new-todo-btn {
166+ width : 100% ;
167+ margin-top : 5px ;
168+ background-color : var (--button-color );
169+ }
170+ .new-todo-btn : hover {
171+ background-color : var (--button-color-hover );
156172}
157173/* The Modal (hidden by default) */
158174.modal {
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ export default class UI {
126126
127127 // Create the "Create New ToDo" button
128128 let createNewTodoBtn = document . createElement ( "div" ) ;
129- createNewTodoBtn . innerHTML = `<button class="new-todo-btn">Create New ToDo item</button>` ;
129+ createNewTodoBtn . classList . add ( "new-todo-btn-wrapper" ) ;
130+ createNewTodoBtn . innerHTML = `<button class="new-todo-btn">Add New Task</button>` ;
130131 taskviewSection . appendChild ( createNewTodoBtn ) ;
131132
132133 // Open the modal when "Create New ToDo" button is clicked
You can’t perform that action at this time.
0 commit comments