This commit is contained in:
MLH
2025-04-07 01:13:36 +02:00
parent 3bf2aae1a3
commit cdd3e180a0
24 changed files with 5156 additions and 0 deletions

177
public/css/style.css Normal file
View File

@ -0,0 +1,177 @@
/* public/css/style.css */
/* Very basic styling - focus on function over form as requested */
body {
font-family: sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
color: #333;
}
h1, h2, h3 {
color: #0056b3; /* A blue tone */
}
nav {
background-color: #333;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
}
nav a {
color: white;
text-decoration: none;
margin-right: 15px;
padding: 5px 10px;
border-radius: 3px;
transition: background-color 0.3s ease;
}
nav a:hover, nav a.active {
background-color: #555;
}
.container {
max-width: 1200px;
margin: auto;
background: #fff;
padding: 25px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.auth-form, .content-section {
margin-bottom: 30px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #fdfdfd;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box; /* Include padding in width */
}
textarea {
min-height: 80px;
}
button {
background-color: #007bff; /* Standard blue */
color: white;
padding: 10px 18px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
margin-right: 5px; /* Spacing between buttons */
}
button:hover {
background-color: #0056b3; /* Darker blue on hover */
}
button.secondary {
background-color: #6c757d; /* Grey */
}
button.secondary:hover {
background-color: #5a6268;
}
button.danger {
background-color: #dc3545; /* Red */
}
button.danger:hover {
background-color: #c82333;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
border: 1px solid #ddd;
padding: 10px;
text-align: left;
}
th {
background-color: #e9ecef; /* Light grey header */
font-weight: bold;
}
tbody tr:nth-child(odd) {
background-color: #f8f9fa; /* Slightly off-white for odd rows */
}
tbody tr:hover {
background-color: #e2e6ea; /* Highlight on hover */
}
.error-message {
color: #dc3545; /* Red */
background-color: #f8d7da;
border: 1px solid #f5c6cb;
padding: 10px;
margin-top: 10px;
margin-bottom: 15px;
border-radius: 4px;
}
.success-message {
color: #155724; /* Green */
background-color: #d4edda;
border: 1px solid #c3e6cb;
padding: 10px;
margin-top: 10px;
margin-bottom: 15px;
border-radius: 4px;
}
.hidden {
display: none;
}
/* Basic layout for sections */
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.section-header h2 {
margin: 0;
}
/* Simple modal styling (if needed later) */
/* .modal { */
/* ... styles for modal background and container ... */
/* } */