-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (104 loc) · 2 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
113
114
115
116
117
118
119
120
121
*{
margin: 0;
padding: 0%;
}
body{
height: 100vh;
width: 100%;
font-family: 'Times New Roman', Times, serif;
display: flex;
}
.container{
background: linear-gradient(#01ffff,#0cf3cd);
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.todo-list{
background-color: aliceblue;
display: flex;
flex-direction: column;
min-width: 400px;
max-width: 600px;
border-radius: 10px;
height: 500px;
box-shadow: 0px 0px 20px;
}
.header{
padding: 2em;
}
.header h1{
color: black;
text-align: center;
}
.list{
flex-grow: 1;
padding: 2em;
overflow-y: scroll;
}
.list ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.list ul li{
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.delete{
cursor: pointer;
}
.list ul li i{
cursor: pointer;
color: #f3420cea;
padding: 1em;
}
.list ul li i:hover{
background-color: #f1f1f17e;
}
.add-task{
padding: 2em;
display: flex;
}
.add-task input{
border: 1px solid rgb(245, 238, 238);
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
flex-grow: 1;
padding: 1em;
outline: none;
}
.add-task input:hover{
border: 1px solid #DDD;
}
.add-task input:active{
border: 1px solid #CCC;
}
.add-task input:focus{
border: 1px solid #fff;
}
.add-task button{
outline: none;
border: none;
padding: 1em;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
background-color: #f5f100ee;
color: white;
cursor: pointer;
}
::-webkit-scrollbar{
width: 5px;
}
::-webkit-scrollbar-track{
box-shadow: inset 0 0 5px #ccc ;
border: 5px;
}
::-webkit-scrollbar-thumb{
background: #566573;
border-radius: 20px;
}