-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
148 lines (134 loc) · 2.56 KB
/
style1.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
/* REMOVING THE DEFAULT STYLINGS FROM THE PAGE */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ADDING BACKGROUND COLOR, FONT FAMILY, FOREGROUND COLOR AND MINIMUN HEIGHT TO OUR PAGE */
body{
background-color:black;
font-family: 'Poppins', sans-serif;
color: white;
min-height: 100vh;
}
/* STYLYING INPUT ELEMENT AND TH EBUTTON */
header,form{
display: flex;
min-height: 15vh;
justify-content: center;
align-items: center;
}
form input, form button{
padding: 0.4rem;
border: none;
font-size: 1.6rem;
background: white;
}
form button{
color: black;
background: white;
cursor: pointer;
transition: all 0.3s ease;
}
form button:hover{
background: #c065c0;
color: black;
}
/* STYLING DROPDOWN */
select{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
border: none;
}
.select{
margin: 1rem;
position: relative;
overflow: hidden;
}
footer {
text-align : center;
}
select{
color: black;
width: 8rem;
cursor: pointer;
padding: 0.7rem;
}
.select::after{
content: "\25bc";
position: absolute;
color: blue;
top: 7px;
right: 6px;
pointer-events: none;
}
.select:hover::after{
color: green;
}
/* STYLING CONTAINER WHERE THE TASKS ARE SHOWN */
.todo_container{
display: flex;
justify-content: center;
align-items: center;
}
.todo_list{
min-width: 40%;
list-style: none;
}
.todo{
margin: 5px auto;
background: white;
color: black;
display: flex;
font-size: 1.2rem;
padding: 0.3rem;
justify-content: space-between;
align-items: center;
transition: all 0.5s ease;
}
.todo li {
flex: 1;
}
/* STYLING THE BUTTONS ON THE TASKS */
.complete_btn,
.delete_btn{
padding: 0.5rem;
background: green;
color: black;
border: none;
margin-left: 0.2rem;
cursor: pointer;
font-size: 1rem;
}
.complete_btn{
background: rgb(67, 179, 67);
}
.complete_btn:active{
background: green;
}
.delete_btn:active{
background: #b65337;
}
.fa-trash,
.fa-check{
pointer-events: none;
}
/* STYLING TASK THAT IS COMPLETED */
.completedItem{
text-decoration: line-through;
opacity: 0.5;
transform: scale(0.96);
}
/* DELETING THE TASKS */
.fall{
transform: translateY(4rem) scale(0.4) rotateZ(20deg);
opacity: 0;
}
#ritc{
text-align : center;
}
.copyr{
text-align: center;
}