-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
143 lines (116 loc) · 2.29 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* To set html attributes*/
html{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
/*body attributes*/
body{
background-color:gainsboro;
}
/*Task container*/
.wrapper{
margin: 150px auto ;
max-width: 350px;
height: 300px;
width: 100%;
background-color: white;
}
/*Todolist Container Header*/
.wrapper header{
font-size: 25px;
font-weight: 500;
text-align: center;
}
/*Todolist input field*/
.wrapper .input-info{
display: flex;
height: 30px;
width: 100%;
margin: 5px auto;
}
/*Input field related*/
.input-info input{
height: 90%;
width: 85%;
border: 1px solid #ccb ;
font-size: large;
border-radius: 2px;
padding-left: 2px;
margin-left: 25px;
}
/*Task Add button*/
.input-info button{
background-color:inherit;
border:none;
margin-left: -25px;
cursor:pointer;
outline: none;
/* opacity: 0.5;
pointer-events: none; */
}
/*Task active related attributes*/
.input-info button.active{
pointer-events: auto;
opacity: 1;
}
/*Task list div attributes*/
.list-container .task-list{
list-style: none;
max-height: 150px;
line-height: 30px;
position: relative;
overflow: auto;
padding: 0 30px;
}
/*Task list related*/
.task-list li{
list-style: none;
line-height: 35px;
padding: 0 10px;
margin-bottom: 5px;
cursor: default;
overflow: hidden;
background:bisque;
}
/*Delete button related*/
.task-list li span{
cursor:pointer;
position: absolute;
right: 20px;
width: 5px;
text-align: justify;
color: white;
cursor: pointer;
}
/*Delete button changes on hover */
.task-list li:hover span{
color: green;
}
/*Task Status div related*/
.wrapper .task-status{
position: relative;
margin-top: 20px;
padding-left: 30px;
}
/*All Clear button related*/
.task-status button{
padding-left: 90px;
}
/*All Clear Button related*/
#textButton{
line-height: 30px;
border: none;
font-size: large;
background-color: white;
text-decoration: underline;
}
/*All clear button color change on hover*/
#textButton:hover{
color: green;
}
/*To change checked checkbox background*/
input[type=checkbox]:checked{
accent-color: red;
}