-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
132 lines (96 loc) · 1.75 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
* {
padding: 0;margin: 0;
}
body {
font-family: sans-serif;
font-size: 18px;
color: #444;
}
.container {
max-width: 500px;
margin: 0 auto;
padding: 10px;
background: rgb(208, 220, 236);
}
.header {
margin-bottom: 20px;
}
form {
display: flex;
position: relative;
}
.input {
width: 100%;
padding: 5px;
outline: none;
border: none;
}
.input:focus {
/* border: none; */
}
.input-error {
border: 2px solid red;
}
.div-buttons {
display: flex;
}
.button {
width: 100px;
cursor: pointer;
padding: 5px;
margin-left: 5px;
height: 30px;
}
.btn-delete {
background-color: rgb(255, 167, 167);
transition: background-color linear 0.4s;
}
.btn-delete:hover {
background-color: rgb(248, 134, 134);
}
.btn-done {
background-color: rgb(155, 155, 155);
color: #222;
transition: background-color linear 0.4s, color linear 0.4s;
}
.btn-done:hover {
background-color: rgb(130, 130, 130);
color: white;
}
.btn-none-done {
background-color: rgb(133, 236, 73);
color: #222;
transition: linear 0.4s background-color, color linear 0.4s;
}
.btn-none-done:hover {
background-color: rgb(67, 184, 0);
color: #fff;
}
.containerTask {
display: flex;
justify-content: space-between;
background-color: #eee;
margin-top: 10px;
padding: 5px;
}
.task-done {
text-decoration: line-through;
}
.counter {
position: absolute;
right: 92px;top: 5px;
}
@media (max-width: 410px) {
.container {
background: rgb(162, 246, 190);
}
.div-buttons {
flex-direction: column;
}
.button:nth-child(1) {
margin-bottom: 5px;
}
.counter {
display: none;
}
}