-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (110 loc) · 2.1 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
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Nunito', sans-serif;
}
body{
height: 100vh;
width: 100%;
background: linear-gradient(to bottom, #68EACC 0%, #497BE8 100%);
}
.wrapper{
margin: 120px auto;
max-width: 400px;
width: 100%;
background: #fff;
border-radius: 5px;
padding: 25px;
}
.wrapper header{
font-size: 30px;
font-weight: 600;
}
.wrapper .inputField{
display: flex;
height: 45px;
width: 100%;
margin: 20px 0;
}
.inputField input{
width: 85%;
height: 100%;
border: 1px solid #ccc;
font-size: 17px;
border-radius: 3%;
padding-left: 15px;
}
.inputField button{
width: 60px;
height: 100%;
border: none;
outline: none;
background: #8E49E8;
color: #fff;
font-size: 22px;
cursor: pointer;
border-radius: 3px;
margin-left: 5px;
opacity: 0.6;
pointer-events: none;
}
.inputField button.active {
opacity: 1;
pointer-events: auto;
}
.wrapper .todoList{
max-height: 250px;
overflow-y: auto;
}
.todoList li{
list-style: none;
height: 45px;
line-height: 45px;
position: relative;
background: #f2f2f2;
border-radius: 3px;
margin-bottom: 8px;
padding: 0 15px;
cursor: default;
overflow: hidden;
}
.todoList li span{
position: absolute;
right: -45px;
color: #fff;
width: 45px;
background: #e74c3c;
text-align: center;
border-radius: 0 3px 3px 0;
cursor: pointer;
transition: all 0.3s ease;
}
.todoList li:hover span{
right: 0px;
}
.wrapper .footer{
display: flex;
width: 100%;
margin-top: 20px;
align-items: center;
justify-content: space-between;
}
.footer button{
border: none;
outline: none;
background: #8E49E8;
color: #fff;
font-size: 16px;
cursor: pointer;
border-radius: 3px;
margin-left: 5px;
padding: 6px 10px;
opacity: 0.6;
pointer-events: none;
}
.footer button.active{
opacity: 1;
pointer-events: auto;
}