Skip to content

Commit

Permalink
Merge branch 'once-human:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-boy authored Aug 12, 2024
2 parents 566c558 + e2f0558 commit c0b9b82
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 57 deletions.
92 changes: 74 additions & 18 deletions public/assets/css/admin-d.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
font-family: Arial, sans-serif;
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
Expand All @@ -13,17 +13,19 @@ body {
/* Left Sidebar */
.sidebar-left {
width: 20%;
background-color: #f2f2f2;
color: black;
background-color: #2c3e50; /* Darker background for better contrast */
color: #ffffff; /* White text color */
padding: 20px;
position: sticky;
top: 70px;
height: 100%;
overflow-y: auto;
border-radius: 20px;
border-radius: 20px; /* Rounded corners */
margin: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
}

/* Profile Section */
.sidebar-left .profile {
text-align: center;
margin-bottom: 20px;
Expand All @@ -37,27 +39,37 @@ body {

.sidebar-left .profile h3 {
margin: 10px 0 0 0;
padding-bottom: 15px; /* Add padding at the bottom */
border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Add border under the admin name */
}

/* Navigation Styles */
.sidebar-left nav ul {
list-style: none;
padding: 0;
display: flex;
flex-direction: column !important;
flex-direction: column;
}

.sidebar-left nav ul li {
margin: 20px 0;
margin: 10px 0; /* Adjust spacing between items */
padding: 8px; /* Adjust padding for each item */
transition: background-color 0.3s ease; /* Smooth transition */
}

.sidebar-left nav ul li a {
color: black;
color: #ffffff; /* White text color */
text-decoration: none;
font-size: 18px;
display: block;
padding: 8px 10px; /* Adjust padding for anchor tags */
transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.sidebar-left nav ul li a:hover {
text-decoration: underline;
background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
color: #f4f4f4; /* Slightly lighter text on hover */
border-radius: 8px; /* Add a bit of rounding on hover */
}

/* Main Content Section */
Expand All @@ -68,24 +80,40 @@ body {

.main-content section {
margin-bottom: 40px;
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-content h1, .main-content h2 {
margin-bottom: 20px;
font-weight: 600;
color: #000;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.dashboard-overview {
display: flex;
justify-content: space-between;
gap: 20px;
}

.overview-card {
width: 20%;
background-color: #007bff;
color: #fff;
padding: 20px;
border-radius: 5px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.overview-card:hover {
transform: scale(1.05);
}

.search-filter {
Expand All @@ -98,16 +126,27 @@ body {
width: 80%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
border-radius: 12px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
}

.search-filter input:focus {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-filter button {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
border-radius: 12px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.search-filter button:hover {
background-color: #0056b3;
}

.student-list, .company-list, .job-list, .notification-list, .report-list {
Expand All @@ -117,10 +156,10 @@ body {

.student-card, .company-card, .job-card, .notification-card, .report-card {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
border-radius: 12px;
padding: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.student-card button, .company-card button, .job-card button, .report-card button {
Expand All @@ -129,18 +168,35 @@ body {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
border-radius: 12px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.student-card button:hover, .company-card button:hover, .job-card button:hover, .report-card button:hover {
background-color: #0056b3;
}

/* Settings Options */
.settings-options {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 20px;
}

.settings-options button {
display: block;
margin: 10px 0;
flex: 1;
padding: 15px;
width: 100%;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
border-radius: 12px;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center;
}

.settings-options button:hover {
background-color: #0056b3;
}
Loading

0 comments on commit c0b9b82

Please sign in to comment.