-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (97 loc) · 1.66 KB
/
style.css
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
html, body {
margin: 0;
height: 100%;
background-color: cadetblue;
font-family: 'Oswald', sans-serif;
}
.title {
text-align: center;
}
.main-wrapper {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
width: 100%;
}
.add-wrapper {
display:flex;
width: 500px;
min-height: 40px;
align-items: center;
background-color: darkgoldenrod;
border-radius: 5px;
padding: 10px;
}
.input-wrapper {
width: 80%;
}
#task-description {
width: 100%;
height: 25px;
}
.button-wrapper {
width: 20%;
display: flex;
justify-content: flex-end;
}
#add-button {
width: 80%;
background-color: springgreen;
color: #fff;
outline: none;
border: none;
height: 25px;
cursor: pointer;
}
.task-item {
display: flex;
width: 500px;
min-height: 50px;
border: 1px solid black;
border-radius: 5px;
margin-bottom: 15px;
padding: 10px;
background-color: orange;
}
.task-item.checked{
background-color: darkgrey;
opacity: 0.5;
}
.task-item.delition {
animation: opacity 1s ease-in-out;
}
.description {
width: 80%;
display: flex;
align-items: center;
color: floralwhite;
}
.buttons {
width: 20%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.buttons input {
width: 25px;
height: 25px;
cursor: pointer;
}
.buttons button {
outline: none;
border: none;
background-color: crimson;
color: #ffffff;
cursor: pointer;
height: 25px;
border-radius: 5px;
}
@keyframes opacity {
from {
opacity: 1;
}
to {
opacity: 0;
}
}