-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (126 loc) · 2.45 KB
/
style.css
File metadata and controls
129 lines (126 loc) · 2.45 KB
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
*,
*:before,
*:after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
background: #0F62FE;
}
#head-text{
margin-top: 50px;
margin-left: 10px;
font-family: sans-serif;
color: #0F62FE;
}
.container{
width: 40%;
top: 30%;
left: 50%;
background: white;
border-radius: 1px;
min-width: 450px;
position: absolute;
min-height: 100px;
transform: translate(-50%, -50%);
}
#newtask{
position: relative;
padding: 30px 20px;
}
#newtask input{
width: 75%;
height: 45px;
padding: 12px;
color:#111111;
font-weight: 500;
position: relative;
border-radius: 5px;
font-family: sans-serif;
font-size: 15px;
border: 2px solid #33B1FF;
}
#newtask input:focus{
outline: none;
border-color: #0D75EC;
}
#newtask button{
position: relative;
float: right;
font-weight: 500;
font-size: 16px;
background-color: #0F62FE;
border: none;
color: #FFFFFF;
cursor: pointer;
outline: none;
width: 20%;
height: 45px;
border-radius: 5px;
font-family: sans-serif;
}
.tasks{
position: absolute;
border-radius: 0px;
width: 100%;
background-color: #FFFFFF;
padding: 30px 20px;
margin-top: 0px;
justify-content: space-between;
}
.tasks.overflow{
overflow-y: auto;
max-height: 300px;
}
.tasks::-webkit-scrollbar{
width: 10px;
}
.tasks::-webkit-scrollbar-track{
background: #BAE6FF;
border-radius: 25px;
}
.tasks::-webkit-scrollbar-thumb{
background: #0D75EC;
border-radius: 25px;
}
.task{
border-radius: 5px;
align-items: center;
justify-content: space-between;
cursor: pointer;
height: 50px;
margin-bottom: 8px;
padding: 10px 10px;
display: flex;
width: 100%;
}
.delete{
right: -5px;
padding: 5px 5px;
background: #FFFFFF;
border-radius: 4px;
transform-origin: top right;
box-shadow: 0 0 6px rgba(0,0,0,0.15);
transition: transform 0.2s ease;
z-index:10;
color: #0D75EC;
}
#check-task{
margin-right: 10px;
}
.task label{
font-family: sans-serif;
font-size: 15px;
font-weight: 400;
display:flex;
align-items: flex-start;
}
.task label p.checked{
text-decoration: line-through;
text-decoration-color:#0F62FE;
}
.task label input{
margin-top: 3px;
}