forked from Bibhushan17/Vetinary-Shop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminbar.php
More file actions
95 lines (86 loc) · 2.57 KB
/
adminbar.php
File metadata and controls
95 lines (86 loc) · 2.57 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Admin</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
/* justify-content: center;
align-items: center; */
background-color: #D5E6EF;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 10px;
}
/* Sidebar styles */
.sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 10%;
background-color: rgb(255, 255, 255);
box-shadow: 3px 0 6px rgba(0, 0, 0, 0.1);
display: grid;
grid-template-rows: auto auto 1fr auto; /* Header, Logo, Content, Footer */
align-items: center; /* Center content vertically */
}
/* Logo and menu item styles */
.logo_small {
display: flex;
align-items: center;
justify-content: center;
width: auto;
max-width: 50%;
max-height: 50%;
height: auto;
margin-top: 5%;
margin-left: 25%;
}
.nav-links a
{
color: black;
text-align: center;
text-decoration: none;
font-size: 1.3em;
}
.nav-links {
margin-top: 2.3em;
display: flex;
flex-direction: column;
align-items: center;
gap: 2.3em; /* Gap between menu items */
}
li
{
text-decoration: none;
list-style: none;
}
.nav-links li {
margin: 0; /* Reset margin for menu items */
}
</style>
</head>
<body>
<div class="sidebar">
<div class="logo">
<a href="admin.php">
<img src="small_logo.png" class="logo_small" />
</a>
</div>
<ul class="nav-links">
<li><a href="admin_order.php">Orders</a></li>
<li><a href="pickup_delivery.php">Pickup & Delivery</a></li>
<li><a href="admin_subscription.php">Subscription</a></li>
<li><a href="admin_dry_clean.php">Dry Clean</a></li>
<li><a href="customers.php">Customers</a></li>
<li><a href="admin_setting.php">Settings</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div>
</body>
</html>