-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstaff_dashboard.css
140 lines (118 loc) · 2.35 KB
/
staff_dashboard.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
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and overall layout */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
/* Container for the dashboard */
.dashboard-container {
width: 80%;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Header */
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
header h2 {
font-size: 24px;
color: #333;
}
nav a {
text-decoration: none;
color: #007BFF;
font-weight: bold;
}
/* Section for adding books */
.add-book {
margin-bottom: 40px;
}
.add-book h3 {
margin-bottom: 10px;
font-size: 20px;
}
.add-book label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.add-book input {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.add-book button {
padding: 10px 15px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}
.add-book button:hover {
background-color: #218838;
}
/* Books list table */
.books-list table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
}
.books-list th, .books-list td {
padding: 10px;
text-align: left;
border: 1px solid #ddd;
}
.books-list th {
background-color: #007BFF;
color: white;
}
.books-list input {
width: 100%;
padding: 5px;
border: 1px solid #ddd;
border-radius: 4px;
}
.books-list button {
padding: 8px 12px;
background-color: #ffc107;
border: none;
border-radius: 4px;
cursor: pointer;
}
.books-list button:hover {
background-color: #e0a800;
}
/* Transaction history table */
.transactions table {
width: 100%;
border-collapse: collapse;
}
.transactions th, .transactions td {
padding: 10px;
text-align: left;
border: 1px solid #ddd;
}
.transactions th {
background-color: #007BFF;
color: white;
}
.transactions td {
background-color: #f9f9f9;
}
.transactions tr:nth-child(even) {
background-color: #f2f2f2;
}