-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (122 loc) · 2.16 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
* {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
margin: 0;
}
h1 {
text-align: center;
}
.newtask {
margin: 50px;
display: flex;
justify-content: center;
}
.newtask .tasktitle {
position: relative;
width: 75%;
height: 70px;
}
.newtask .tasktitle::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 3px;
width: 0%;
transition: .3s;
background-color: #0984e3;
}
.newtask .tasktitle.fill::after {
width: 100%;
}
.newtask .tasktitle #tasktitle {
width: 100%;
height: 100%;
padding: 0 20px;
font-size: 1.5em;
color: #636e72;
border: none;
border-bottom: 1px solid #b2bec3;
outline: none;
cursor: pointer;
}
.newtask .tasktitle #tasktitle:focus {
cursor: text;
}
.newtask .tasktitle #tasktitle::placeholder {
transition: .15s;
color: #b2bec3;
}
.newtask .tasktitle #tasktitle:focus::placeholder {
opacity: 0;
}
.newtask #addtask {
width: 70px;
height: 70px;
margin-left: 20px;
background-color: #fefefe;
border: 1px solid #0984e330;
color: #0984e3;
border-radius: 8px;
font-size: 3em;
font-family: fantasy;
font-weight: bold;
transition: .2s;
cursor: pointer;
}
.newtask #addtask:hover {
border-color: #0984e390;
}
.newtask #addtask.disabled {
border: 1px solid#636e7230;
color: #636e72;
cursor: default;
}
hr {
width: calc(70% + 90px);
opacity: .3;
margin: 64px auto;
}
.tasks {
width: calc(70% + 90px);
margin: auto;
}
.count {
text-align: center;
font-size: 1.5em;
margin-bottom: 10px;
}
.task {
overflow: hidden;
background-color: #f2f2f2;
padding: 20px;
font-size: 2em;
height: 86px;
line-height: 43px;
margin-bottom: 10px;
}
.task .title {
float: left;
}
.task .remove, .task .done {
float: right;
width: 50px;
height: 50px;
text-align: center;
border: 1px solid;
cursor: pointer;
}
.task .remove {
color: #d63031;
}
.task .done {
margin-right: 20px;
color: #00b894;
}
.task.done .title {
color:#b2bec3;
text-decoration: line-through;
}
.task.done .done {display: none}