|
|
|
body {
|
|
|
|
background-color:#ffffff;
|
|
|
|
}
|
|
|
|
.navbar .navbar-brand {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.navbar .nav {
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.navbar .login {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.search-bar {
|
|
|
|
margin-top: 20px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.search-bar input {
|
|
|
|
width: 50%;
|
|
|
|
border-radius: 50px;
|
|
|
|
}
|
|
|
|
.profile-card {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
|
}
|
|
|
|
.profile-card:hover {
|
|
|
|
transform: translateY(-10px);
|
|
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
.profile-card img {
|
|
|
|
width: 100%;
|
|
|
|
height: 200px;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: 10%;
|
|
|
|
}
|
|
|
|
.profile-card .card-body {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
.profile-card .card-title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.profile-card .card-text {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
.profile-card .price {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
.profile-card .availability {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #28a745;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-bar {
|
|
|
|
background-color: #f8f9fa; /* Light background */
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-bar h4 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-bar ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-bar .category-link {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
margin: 5px 0;
|
|
|
|
color: #555;
|
|
|
|
text-decoration: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-bar .category-link:hover {
|
|
|
|
background-color: #007bff; /* Highlight on hover */
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* odd */
|
|
|
|
.form-container {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
margin: auto;
|
|
|
|
padding: 30px;
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
.form-container h2 {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
.form-group label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.form-group input,
|
|
|
|
.form-group textarea,
|
|
|
|
.form-group select {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.form-group input[type="file"] {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.form-group button {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #007BFF;
|
|
|
|
color: #fff;
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.form-group button:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
.form-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 100vh;
|
|
|
|
background: url('img/backgroung-form.jpg') no-repeat center center/cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* status for history */
|
|
|
|
.status-badge {
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 0.25em 0.6em;
|
|
|
|
border-radius: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.status-active {
|
|
|
|
background-color: #28a745;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.status-inactive {
|
|
|
|
background-color: #dc3545;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
|
|
|
/* darken */
|
|
|
|
header {
|
|
|
|
position: relative;
|
|
|
|
background: url('../img/background.jpg') no-repeat center center/cover;
|
|
|
|
height: 300px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
header::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.5); /* Dark overlay */
|
|
|
|
z-index: 1; /* Make sure the overlay is above the image but below the text */
|
|
|
|
}
|
|
|
|
|
|
|
|
header .container {
|
|
|
|
position: relative;
|
|
|
|
z-index: 2; /* Ensure the text appears above the overlay */
|
|
|
|
}
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
font-size: 2.5rem; /* Larger text for better visibility */
|
|
|
|
font-weight: bold;
|
|
|
|
color: #fff; /* White text for contrast */
|
|
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adding shadow to make text pop */
|
|
|
|
}
|
|
|
|
|
|
|
|
header p {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
color: #fff; /* White text for contrast */
|
|
|
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Subtle shadow for better legibility */
|
|
|
|
}
|