-
Notifications
You must be signed in to change notification settings - Fork 329
/
Copy pathtodolist.css
94 lines (75 loc) · 1.3 KB
/
todolist.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
*{
margin: 0;
padding: 0;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
color: #333;
}
:root {
--shadow: rgba(51, 51, 51, 0.3) 1px 1px 1px 1px;
}
body {
}
header {
height: 30px;
padding: 10px 20px;
background-color: rgb(110, 110, 110);
position: relative;
box-shadow: var(--shadow);
margin-bottom: 20px;
}
header input {
width: 100%;
height: 30px;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.5);
border: none;
color: black;
}
header input:focus {
outline: none;
}
.add {
top: 5px;
right: 15px;
width: 40px;
height: 40px;
border-radius: 17px;
position: absolute;
}
img {
width: 30px;
height: 30px;
cursor: pointer;
}
main {
margin: 10px 20px;
}
.card {
margin: 10px 0;
padding: 15px;
background-color: #ccc;
border-radius: 5px;
display: flex;
align-items: center;
transition: all 1s ease-in-out;
}
.card img{
margin: 2px;
}
.card img:first-of-type{
margin-left: auto;
}
.removeCard{
transform: translate(-100vw, 0);
opacity: 0;
}
.doneCard{
background-color : rgb(10, 165, 10);
}
hr {
border-color: #333;
opacity: .3;
}
.newCard{
opacity: 0.2;
}