Files
Schichtenplaner/frontend/src/pages/ShiftPlans/ShiftPlanCreate.module.css
2025-10-28 23:33:00 +01:00

125 lines
1.7 KiB
CSS

.container {
padding: 20px;
max-width: 800px;
margin: 0 auto;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.header h1 {
margin: 0;
font-size: 24px;
color: #2c3e50;
}
.backButton {
padding: 8px 16px;
background-color: #f1f1f1;
border: none;
border-radius: 4px;
cursor: pointer;
color: #333;
}
.backButton:hover {
background-color: #e4e4e4;
}
.form {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.formGroup {
margin-bottom: 20px;
}
.formGroup label {
display: block;
margin-bottom: 8px;
color: #34495e;
font-weight: 500;
}
.formGroup input,
.formGroup select {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.formGroup select.empty {
color: #999;
}
.dateGroup {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.error {
background-color: #fde8e8;
color: #c53030;
padding: 12px;
border-radius: 4px;
margin-bottom: 20px;
}
.noTemplates {
color: #666;
margin-top: 8px;
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
}
.linkButton {
background: none;
border: none;
color: #3498db;
padding: 0;
font: inherit;
cursor: pointer;
text-decoration: underline;
}
.linkButton:hover {
color: #2980b9;
}
.actions {
margin-top: 30px;
display: flex;
justify-content: flex-end;
}
.createButton {
padding: 10px 20px;
background-color: #51258f;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}
.createButton:hover {
background-color: #51258f;
}
.createButton:disabled {
background-color: #95a5a6;
cursor: not-allowed;
}