-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
127 lines (112 loc) · 1.96 KB
/
styles.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #3d3e49;
height: 100vh;
width: 100vw;
color: white;
}
main {
max-width: 1024px;
min-height: 100vh;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
position: relative;
}
.tasks {
height: 90%;
width: 100%;
background-color: #222128;
padding: 1em;
position: absolute;
top: 0;
left: 0;
overflow: scroll;
display: flex;
flex-direction: column;
align-items: center;
.task {
width: 90%;
background-color: #292a33;
margin-bottom: 1em;
padding: 1em;
border-radius: 0.5em;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
.details {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 80%;
.status {
font-size: 1em;
font-weight: 300;
}
.title {
font-size: 1.2em;
font-weight: 700;
margin-top: 0.5em;
}
}
.actions {
width: 20%;
text-align: right;
img {
width: 1.5em;
height: 1.5em;
margin-left: 0.5em;
cursor: pointer;
}
}
}
.complete {
border-left: 0.4em solid #1dc1c3;
.details {
.status {
color: #1dc1c3;
}
}
}
.incomplete {
border-left: 0.4em solid #aa3d55;
.details {
.status {
color: #aa3d55;
}
}
}
}
.add-tasks {
height: 10%;
position: absolute;
bottom: 0;
padding: 0.2em;
input {
font-size: 1.2em;
&::placeholder {
text-align: center;
}
}
.add-btn {
margin: 0 auto;
margin-top: 0.4em;
padding: 0.6em 0.8em 0.6em 0.8em;
background-color: #3168e0;
border-radius: 0.5em;
cursor: pointer;
text-align: center;
}
}
.strike {
text-decoration: line-through;
font-weight: 400 !important;
}