-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
136 lines (135 loc) · 2.65 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
* {
font-family: "poppins", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100%;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
}
.container{
max-width: 480px;
position: relative;
width: 100%;
background-color: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0);
border-radius: 8px;
padding: 25px;
margin: 85px auto 0;
}
.container .input-field{
position: relative;
height: 64px;
width: 100%;
}
.input-field textarea{
height: 100%;
width: 100%;
outline: none;
border: 1px solid #ccc;
border-radius: 8px;
padding: 18px 45px 18px 15px;
font-size: 18px;
font-weight: 400;
resize: none;
}
.input-field textarea:focus{
border-color: #4070f4;
}
textarea::-webkit-scrollbar{
display: none;
}
.input-field .fa-clipboard{
position: absolute;
top: 50%;
right: 15px;
transform: translateY(-50%);
font-size: 24px;
color: #707070;
}
.input-field textarea:focus ~ .fa-clipboard{
border-color: #4070f4;
}
.container .todoList{
max-height: 380px;
overflow-y: auto;
padding-right: 10px;
}
.todoList .list{
list-style: none;
display: flex;
align-items: center;
background-color: #f2f2f2;
padding: 20px 15px;
border-radius: 8px;
margin-top: 10px;
position: relative;
cursor: pointer;
}
.todoList .list input{
height: 16px;
min-width: 16px;
accent-color: #4070f4;
pointer-events: none;
}
.list input:checked ~ .task{
text-decoration: line-through;
}
.todoList .list .task{
margin: 0 30px 0 15px;
word-break: break-all;
}
.todoList .list i{
position: absolute;
top: 50%;
right: 15px;
transform: translateY(-50%);
font-size: 20px;
color: #707070;
padding: 5px;
opacity: 0.6;
display: none;
}
.todoList .list:hover i{
display: inline-flex;
}
.todoList .list i:hover{
opacity: 1;
}
.container .pending-tasks{
display: flex;
align-items: center;
justify-content: space-between;
margin: 25px;
}
.pending-tasks span{
color: #333;
}
.pending-tasks .clear{
padding: 6px 12px;
outline: none;
border: none;
background-color: #4070f4;
color: #fff;
font-size: 14px;
border-radius: 4px;
cursor: pointer;
pointer-events: none;
white-space: nowrap;
}
.clear:hover{
background-color: #0e4bf1 ;
}
@media all and (max-width: 350px) {
.container{
padding: 25px 10px;
}
}