211 lines
3 KiB
CSS
211 lines
3 KiB
CSS
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: Arial, sans-serif;
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 20px;
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
h1 {
|
||
|
|
text-align: center;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
background-color: white;
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 20px;
|
||
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group {
|
||
|
|
display: flex;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group input[type="text"] {
|
||
|
|
flex: 1;
|
||
|
|
padding: 10px;
|
||
|
|
border: 1px solid #ddd;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group button {
|
||
|
|
padding: 10px 20px;
|
||
|
|
background-color: #4CAF50;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 4px;
|
||
|
|
cursor: pointer;
|
||
|
|
margin-left: 10px;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group button:hover {
|
||
|
|
background-color: #45a049;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-list {
|
||
|
|
list-style: none;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
padding: 10px;
|
||
|
|
border: 1px solid #ddd;
|
||
|
|
border-radius: 4px;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
background-color: #f9f9f9;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item.completed {
|
||
|
|
background-color: #e8f5e9;
|
||
|
|
text-decoration: line-through;
|
||
|
|
color: #888;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item .content {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item span {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item .datum {
|
||
|
|
font-size: 12px;
|
||
|
|
color: #666;
|
||
|
|
margin-left: 10px;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item .actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.todo-item .actions a {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
border: none;
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 14px;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.erledigen-btn {
|
||
|
|
background-color: #2196F3;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loeschen-btn {
|
||
|
|
background-color: #f44336;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.erledigen-btn:hover {
|
||
|
|
background-color: #0b7dda;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loeschen-btn:hover {
|
||
|
|
background-color: #d32f2f;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sort-dropdown {
|
||
|
|
padding: 5px;
|
||
|
|
border-radius: 4px;
|
||
|
|
border: 1px solid #ddd;
|
||
|
|
}
|
||
|
|
|
||
|
|
.export-button {
|
||
|
|
padding: 5px 15px;
|
||
|
|
background-color: #9C27B0;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 4px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.export-button:hover:not(:disabled) {
|
||
|
|
background-color: #7B1FA2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.export-button:disabled {
|
||
|
|
background-color: #ccc;
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sort-container {
|
||
|
|
margin-bottom: 15px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: right;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-message {
|
||
|
|
text-align: center;
|
||
|
|
color: #888;
|
||
|
|
font-style: italic;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copyright {
|
||
|
|
text-align: center;
|
||
|
|
margin-top: 40px;
|
||
|
|
padding: 20px;
|
||
|
|
color: #666;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copyright p {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
gap: 20px;
|
||
|
|
margin-top: 20px;
|
||
|
|
padding: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination button {
|
||
|
|
padding: 8px 16px;
|
||
|
|
background-color: #2196F3;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 4px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination button:hover:not(:disabled) {
|
||
|
|
background-color: #0b7dda;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination button:disabled {
|
||
|
|
background-color: #ccc;
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination-info {
|
||
|
|
color: #666;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|