-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
155 lines (152 loc) · 2.77 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
::selection {
color: #ffff;
background: black;
}
body {
width: 100%;
height: 100vh;
padding: 10px;
background: black;
}
.wrapper {
background: #fff;
max-width: 400px;
width: 100%;
margin: 120px auto;
border-radius: 5px;
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}
.wrapper .up {
width: 100%;
padding: 10px;
background: rgb(113, 240, 245);
border-radius: 5px 5px 0 0;
}
.wrapper header {
font-size: 30px;
text-align: center;
color: #fff;
font-weight: 600;
}
.wrapper .inputField {
width: 100%;
display: flex;
height: 45px;
background: whitesmoke;
padding: 6px 10px;
border-radius: 5px;
}
.inputField input {
width: 85%;
height: 100%;
outline: none;
border-radius: 3px;
border: none;
background: #ccc;
border: 1px solid gray;
font-size: 17px;
padding-left: 15px;
color: whitesmoke;
transition: all 0.3s ease;
}
input::placeholder {
color: whitesmoke;
font-size: 13px;
}
.inputField input:focus {
border-color: rgb(4, 245, 253);
}
.inputField button {
width: 50px;
height: 100%;
border: none;
color: #fff;
margin-left: 5px;
font-size: 21px;
outline: none;
background: rgb(11, 140, 145);
cursor: pointer;
border-radius: 3px;
opacity: 0.6;
pointer-events: none;
transition: all 0.5s ease;
}
.inputField button:hover {
opacity: 1;
pointer-events: all;
background: rgb(11, 140, 145);
}
.footer button:hover {
background: rgb(113, 240, 245);
}
.inputField button.active {
opacity: 1;
pointer-events: auto;
background: rgb(4, 245, 253);
}
.wrapper .todoList {
max-height: 250px;
overflow-y: auto;
padding: 3px 25px;
}
.todoList li {
position: relative;
list-style: none;
height: 45px;
line-height: 45px;
margin-bottom: 8px;
background: #f2f2f2;
border-radius: 3px;
padding: 0 15px;
cursor: default;
overflow: hidden;
}
.todoList li .icon {
position: absolute;
right: -45px;
background: #e74c3c;
width: 45px;
text-align: center;
color: #fff;
border-radius: 0 3px 3px 0;
cursor: pointer;
transition: all 0.2s ease;
}
.todoList li:hover .icon {
right: 0px;
}
.wrapper .footer {
display: flex;
width: 100%;
margin-top: 20px;
align-items: center;
justify-content: space-between;
padding: 25px;
}
.footer button {
padding: 6px 10px;
border-radius: 3px;
border: none;
outline: none;
color: #fff;
font-weight: 400;
font-size: 16px;
margin-left: 5px;
background: #e74c3c;
cursor: pointer;
user-select: none;
opacity: 0.6;
pointer-events: none;
transition: all 0.3s ease;
}
.footer button.active {
opacity: 1;
pointer-events: auto;
}