File tree 3 files changed +25
-16
lines changed
3 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
4
- < title > notesapp</ title >
5
- < meta charset ="utf-8 ">
6
- < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
- </ head >
8
- < body >
9
- < div id ="app "> </ div >
10
- </ body >
3
+
4
+ < head >
5
+ < title > notesapp</ title >
6
+ < meta charset ="utf-8 ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css " integrity ="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u "
9
+ crossorigin ="anonymous ">
10
+ </ head >
11
+
12
+ < body >
13
+ < div id ="app "> </ div >
14
+ </ body >
15
+
11
16
</ html >
Original file line number Diff line number Diff line change 2
2
<div id =" notesList" >
3
3
<h2 >NOTES | COLIGO</h2 >
4
4
<div id =" notesButton" >
5
- <button v-bind:class =" {active:show === 'all'}" v-on:click =" showAll" >All Notes</button >
6
- <button v-bind:class =" {active:show === 'favorites'}" v-on:click =" showFavorites" >Favorites</button >
5
+ <button class = " btn btn-default " v-bind:class =" {active:show === 'all'}" v-on:click =" showAll" >All Notes</button >
6
+ <button class = " btn btn-default " v-bind:class =" {active:show === 'favorites'}" v-on:click =" showFavorites" >Favorites</button >
7
7
</div >
8
8
<div id =" listContainer" >
9
9
<div v-on:click =" updateActiveNote(note)" class =" g" v-bind:class =" {active:activeNote === note}" v-for =" note in filterNotes" >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =' toolbar' >
3
- <div v-on:click =" addNote" >add </div >
4
- <div v-bind:class =" {favorite:favorite}" v-on:click =" toggleFavorite" >favorite </div >
5
- <div v-on:click =" deleteNote" >delete </div >
3
+ <div class = " glyphicon glyphicon-plus " v-on:click =" addNote" ></div >
4
+ <div class = " glyphicon " v-bind:class =" {'glyphicon-star-empty':! favorite,'glyphicon-star' :favorite}" v-on:click =" toggleFavorite " > </div >
5
+ <div class = " glyphicon glyphicon-remove " v-on:click =" deleteNote " > </div >
6
6
</div >
7
7
</template >
8
8
@@ -36,10 +36,14 @@ export default {
36
36
height : 100% ;
37
37
flex-direction : column ;
38
38
background-color : #30414D ;
39
- color : #767676 ;
39
+ color : darkcyan ;
40
40
}
41
41
42
- .favorite {
43
- color : red ;
42
+ #toolbar div {
43
+ font-size : 30px ;
44
+ margin : 35px 0px 0px 25px ;
45
+ cursor : pointer ;
46
+ opacity : 0.8 ;
47
+ transition : opacity 0.5s ease ;
44
48
}
45
49
</style >
You can’t perform that action at this time.
0 commit comments