-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
176 lines (152 loc) · 3.24 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/* General Styles */
body {
font-family: Roboto, sans-serif;
background-color: #34a7ce;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: #fffbfb;
padding: 30px;
border-radius: 20px;
box-shadow: 0 4px 200px rgba(255, 255, 255, 0.87);
width: 500px;
max-width: 90%;
text-align: center;
}
h1 {
margin-bottom: 20px;
color: #333;
}
form {
margin-bottom: 20px;
}
input[type="text"], input[type="date"], select {
width: calc(100% - 30px);
padding: 12px;
border: 1px solid #ddd;
background-color: #e0feff;
border-radius: 10px;
margin-bottom: 10px;
font-size: 1em;
}
button, .complete-btn, .delete-btn{
padding: 12px 25px;
align-self: center;
background: #34a7ce;
color: #fff;
border: none;
border-radius: 10px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
}
button:hover {
background: #195366;
}
button:disabled {
background: #ccc;
cursor: not-allowed;
}
/* Task List Styling */
.task-list {
list-style-type: none;
padding: 0;
margin-top: 20px;
}
li {
padding: 12px;
margin-bottom: 10px;
border-radius: 10px;
background-color: #ffffff;
border: 1px solid #ddd;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
}
li.completed {
background-color: #e0feff;
text-decoration: line-through;
color: #666;
}
.priority, .due-date {
font-size: 0.9em;
color: #555;
margin-left: 10px;
}
.complete-btn:hover, .delete-btn:hover {
color: #0056b3;
text-decoration: underline;
}
/* Edit Task Form */
.edit-form {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
.edit-form input[type="text"] {
width: 75%;
padding: 8px;
border: 1px solid #ddd;
background-color: #e0feff;
border-radius: 4px;
}
.edit-form button {
padding: 8px 16px;
background-color:#34a7ce;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.edit-form button:hover {
background-color: #257e9b;
}
/* Tab Navigation */
.tab {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.tab button {
padding: 10px 20px;
background-color: #f1f1f1;
color: #34a7ce;
border: 1px solid #ddd;
border-radius: 6px 6px 0 0;
cursor: pointer;
transition: background-color 0.3s ease;
}
.tab button.active {
background-color: #34a7ce;
color: #ffffff;
border-bottom: 1px solid white;
}
.tab button:hover {
background-color: #34a7ce;
color: #ffffff;
}
/* Tab Content Styling */
.tab-content {
display: none;
padding: 20px;
background-color: white;
border: 1px solid #ddd;
border-radius: 0 0 6px 6px;
}
.tab-content.active {
display: block;
}
/* Task list styles */
.task-list li.completed {
text-decoration: line-through;
}
.edit-form, .delete-btn, .complete-btn {
margin-top: 5px;
}