96 lines
1.8 KiB
CSS
96 lines
1.8 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background: #f8f9fa;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
#app-container {
|
|
max-width: 700px;
|
|
margin: 40px auto;
|
|
padding: 24px;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.form-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 0;
|
|
}
|
|
.form-section.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 18px;
|
|
}
|
|
.form-section.grid-3 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 18px;
|
|
}
|
|
form label {
|
|
font-weight: 500;
|
|
margin-bottom: 3px;
|
|
}
|
|
form input, form select, form textarea {
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.add-todo-btn {
|
|
margin-top: 10px;
|
|
padding: 12px 0;
|
|
background: #2563eb;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1.1rem;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.add-todo-btn:hover {
|
|
background: #1742a7;
|
|
}
|
|
@media (max-width: 700px) {
|
|
.form-section.grid-2, .form-section.grid-3 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
#todos-list {
|
|
margin-top: 24px;
|
|
}
|
|
.todo-item {
|
|
background: #f1f3f4;
|
|
border-radius: 4px;
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
.todo-item .field {
|
|
min-width: 120px;
|
|
}
|
|
.status-Busy { color: #d97706; }
|
|
.status-Done { color: #16a34a; }
|
|
.status-W4A { color: #2563eb; }
|
|
.status-blank { color: #6b7280; }
|
|
.urgent, .importance, .prio {
|
|
font-weight: bold;
|
|
}
|