File size: 1,425 Bytes
cce1e0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Custom styles for the CRUD application */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    font-weight: 600;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.table th {
    background-color: #f1f3f5;
}

.badge-status {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

.completed-true {
    background-color: #198754;
}

.completed-false {
    background-color: #dc3545;
}

.action-btn {
    transition: all 0.2s;
}

.action-btn:hover {
    transform: scale(1.2);
}

.edit-btn {
    color: #0d6efd;
}

.delete-btn {
    color: #dc3545;
}

#no-items-message {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

/* Toast customization */
.toast-container {
    z-index: 11;
}

.toast {
    opacity: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Animation for new/updated items */
@keyframes highlight {
    0% {
        background-color: #e3f2fd;
    }
    100% {
        background-color: transparent;
    }
}

.highlight-row {
    animation: highlight 2s ease-in-out;
}