Files
hermes/WebApp/wwwroot/css/panel.css
eee4 5536a9ad7f fix: front-end improvements
makes some fields visible and other hidden depending on the result of
some API calls, e.g. visitor is logged in -> show "Log out" button
2025-05-19 00:43:15 +02:00

190 lines
3.9 KiB
CSS

.logo {
font-family: 'Nunito', sans-serif;
font-weight: 800;
font-size: 36px;
}
.hidden-before-load {
display: none !important;
visibility: hidden !important;
}
body {
font-family: 'Segoe UI', sans-serif;
}
.sidebar {
width: 120px;
position: fixed;
top: 113px;
bottom: 0;
background-color: white;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.sidebar .nav-link {
text-align: center;
padding: 20px 0;
font-size: 20px;
}
.iconText {
color: #666666;
font-size: 14px;
}
.topnav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 113px;
background-color: white;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
z-index: 1050;
padding: 0 70px;
}
.button-join {
width: 150px;
height: 50px;
background-color: #2898BD;
border: none;
border-radius: 50px;
color: white;
font-weight:500;
font-size: 22px;
}
.button-join:hover {
width: 150px;
height: 50px;
background-color: #2485A6;
border: none;
border-radius: 50px;
color: white;
font-weight: 500;
font-size: 22px;
}
.button-sign {
width: 150px;
height: 50px;
background-color: transparent;
border: 2px, solid, #2898BD;
border-radius: 50px;
color: #2898BD;
font-weight: 500;
font-size: 22px;
}
.button-sign:hover {
width: 150px;
height: 50px;
background-color: #2898BD;
border: none;
border-radius: 50px;
color: white;
font-weight: 500;
font-size: 22px;
}
.icon-box {
width: 90px;
height: 90px;
border-radius: 30px;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
transition: box-shadow 0.2s ease;
cursor: pointer;
padding-top: 30px;
}
.icon-box:hover {
box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
}
.main {
margin-left: 10%; /* exact width of .sidebar */
margin-top: 113px; /* exact height of .topnav */
padding: 30px;
justify-content: center;
width: 80%;
}
.search-bar {
margin-left: 12%;
position: relative;
width: 60%;
}
.search-bar input {
height: 70px;
border: 2px solid #2898BD;
border-radius: 50px;
margin-bottom: 20px;
padding-right: 3rem; /* Make space for the icon */
}
.search-bar input:focus {
height: 70px;
border: 3px solid #2898BD;
border-radius: 50px;
margin-bottom: 20px;
padding-right: 3rem; /* Make space for the icon */
outline: none;
box-shadow: none;
}
.button-add {
background-color: #2898BD;
width: 70px;
height: 70px;
/* padding: 30px; */
z-index: 50;
}
.events-card {
width: 75%; /* or whatever your design max is */
margin: 0 auto; /* center it horizontally */
background-color: white;
padding: 3rem;
border-radius: 30px;
box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
}
.eventsText {
color: #2898BD;
}
#eventList .event-card {
background-color: white;
border: 2px dashed #2898BD;
border-radius: 10px;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
#eventList .event-card.filled {
border-style: solid;
}
#eventList .event-card .remove-btn {
background-color: #F05234;
border: none;
border-radius: 30px;
color: white;
font-size: 1.2rem;
width: 99px;
height: 50px;
line-height: 1;
}
#eventList .event-card .remove-btn:hover {
background-color: #CD4A31;
border: none;
border-radius: 30px;
color: white;
font-size: 1.2rem;
width: 99px;
height: 50px;
line-height: 1;
}
.center-text {
display: flex;
justify-content: center;
align-items: center;
}