2025-05-01 15:02:40 +02:00

116 lines
1.8 KiB
CSS

.event-details-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.event-details-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
padding-bottom: 16px;
border-bottom: 1px solid #f0f0f0;
}
.event-details-title {
margin: 0;
font-size: 24px;
font-weight: 600;
color: #333;
text-align: center;
flex: 1;
}
.back-button, .edit-button {
padding: 8px 16px;
border: none;
border-radius: 4px;
background-color: #f5f5f5;
color: #333;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
}
.back-button:hover, .edit-button:hover {
background-color: #e0e0e0;
}
.edit-button {
background-color: #4285f4;
color: white;
}
.edit-button:hover {
background-color: #3367d6;
}
.event-details-content {
padding: 16px 0;
}
.event-details-time {
margin-bottom: 24px;
padding: 16px;
background-color: #f8f9fa;
border-radius: 8px;
}
.event-date, .event-time, .event-all-day {
margin-bottom: 8px;
font-size: 16px;
}
.event-all-day {
font-weight: 500;
color: #4285f4;
}
.event-description {
margin-top: 24px;
}
.event-description h3 {
font-size: 18px;
margin-bottom: 8px;
color: #333;
}
.event-description p {
font-size: 16px;
line-height: 1.6;
color: #555;
white-space: pre-line;
}
.event-details-error {
max-width: 600px;
margin: 100px auto;
padding: 24px;
text-align: center;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.event-details-error p {
margin-bottom: 20px;
font-size: 18px;
color: #d93025;
}
@media (max-width: 768px) {
.event-details-container {
border-radius: 0;
box-shadow: none;
padding: 16px;
}
.event-details-title {
font-size: 20px;
}
}