Skip to content

Commit

Permalink
Merge pull request #9 from Kiran-Biradar/main - admin-d sidebar updat…
Browse files Browse the repository at this point in the history
…e from kiran

update admin-d layout
  • Loading branch information
once-human authored Aug 12, 2024
2 parents 31aa1e2 + 9daaaf5 commit 2251cdb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
19 changes: 11 additions & 8 deletions public/assets/css/admin-d.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ body {

/* Left Sidebar */
.sidebar-left {
width: 25%;
background-color: #333;
color: #fff;
width: 20%;
background-color: #f2f2f2;
color: black;
padding: 20px;
position: fixed;
position: sticky;
top: 70px;
height: 100%;
overflow-y: auto;
border-radius: 20px;
margin: 10px;
}

.sidebar-left .profile {
Expand All @@ -39,14 +42,16 @@ body {
.sidebar-left nav ul {
list-style: none;
padding: 0;
display: flex;
flex-direction: column !important;
}

.sidebar-left nav ul li {
margin: 20px 0;
}

.sidebar-left nav ul li a {
color: #fff;
color: black;
text-decoration: none;
font-size: 18px;
}
Expand All @@ -57,7 +62,6 @@ body {

/* Main Content Section */
.main-content {
margin-left: 25%;
width: 75%;
padding: 20px;
}
Expand All @@ -73,11 +77,10 @@ body {
.dashboard-overview {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.overview-card {
width: 23%;
width: 20%;
background-color: #007bff;
color: #fff;
padding: 20px;
Expand Down
5 changes: 5 additions & 0 deletions public/assets/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

/* Center content and set max width */
Expand Down
2 changes: 1 addition & 1 deletion public/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
exit();
}
}

// Include the header
include('../src/templates/header.php');
?>
Expand Down
2 changes: 1 addition & 1 deletion public/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
exit();
}
}

// Include the header
include('../src/templates/header.php');
?>
Expand Down

0 comments on commit 2251cdb

Please sign in to comment.