303 lines
4.9 KiB
CSS
303 lines
4.9 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
}
|
|
|
|
header {
|
|
background-color: #007bff;
|
|
color: white;
|
|
padding: 15px 20px;
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 200px;
|
|
background-color: #f4f4f4;
|
|
border-right: 1px solid #ccc;
|
|
padding: 10px;
|
|
}
|
|
|
|
.sidebar button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 5px;
|
|
border: none;
|
|
background-color: #e0e0e0;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.sidebar button.active {
|
|
background-color: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
padding: 20px;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Dark Mode Styles */
|
|
body.dark-mode {
|
|
background-color: #121212;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
body.dark-mode header {
|
|
background-color: #1f1f1f;
|
|
}
|
|
|
|
body.dark-mode .sidebar {
|
|
background-color: #1a1a1a;
|
|
border-right: 1px solid #333;
|
|
}
|
|
|
|
body.dark-mode .sidebar button {
|
|
background-color: #333;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
body.dark-mode .sidebar button.active {
|
|
background-color: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
body.dark-mode .content {
|
|
background-color: #121212;
|
|
}
|
|
|
|
/* Toggle Button */
|
|
#darkModeToggle {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 20px;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
background-color: #e0e0e0;
|
|
border: none;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
body.dark-mode #darkModeToggle {
|
|
background-color: #333;
|
|
color: white;
|
|
}
|
|
|
|
.service-group {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.group-title {
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
}
|
|
|
|
.group-services {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.service-group {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.group-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
font-weight: bold;
|
|
user-select: none;
|
|
}
|
|
|
|
.group-title:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.group-services {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.service-group.open .group-services {
|
|
max-height: 500px;
|
|
/* genug für alle Buttons */
|
|
}
|
|
|
|
.arrow {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.service-group.open .arrow {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* ===== Login Page ===== */
|
|
|
|
.login-container {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #f5f6f8;
|
|
}
|
|
|
|
body.dark-mode .login-container {
|
|
background-color: #121212;
|
|
}
|
|
|
|
.login-box {
|
|
background-color: white;
|
|
padding: 30px 35px;
|
|
border-radius: 8px;
|
|
width: 320px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
body.dark-mode .login-box {
|
|
background-color: #1a1a1a;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.login-box h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.login-box input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 12px;
|
|
border-radius: 4px;
|
|
border: 1px solid #ccc;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
body.dark-mode .login-box input {
|
|
background-color: #333;
|
|
border: 1px solid #555;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
.login-box button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-box button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
.login-error {
|
|
color: #dc3545;
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
body.dark-mode .login-box h2 {
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
body.dark-mode .login-error {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.overtime-container {
|
|
max-width: 400px;
|
|
background-color: #f9f9f9;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
body.dark-mode .overtime-container {
|
|
background-color: #1e1e1e;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
.overtime-container label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.overtime-container input,
|
|
.overtime-container button {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 10px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
body.dark-mode .overtime-container input {
|
|
background-color: #333;
|
|
border: 1px solid #555;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
.overtime-container button {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.overtime-container button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.overtime-result {
|
|
text-align: center;
|
|
font-size: 1.3rem;
|
|
font-weight: bold;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background-color: #e0f7e0;
|
|
}
|
|
|
|
body.dark-mode .overtime-result {
|
|
background-color: #333;
|
|
}
|
|
|
|
.overtime-result.negative {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
body.dark-mode .overtime-result.negative {
|
|
background-color: #551b1e;
|
|
color: #f88;
|
|
} |