mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
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
59 lines
1.0 KiB
CSS
59 lines
1.0 KiB
CSS
body {
|
|
color: #2898BD;
|
|
}
|
|
|
|
.hidden-before-load {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
.input-field {
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
border: 2px solid #2898BD;
|
|
box-shadow: none;
|
|
}
|
|
.input-field:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
border: 3px solid #2898BD;
|
|
}
|
|
|
|
.button {
|
|
border-radius: 30px;
|
|
background-color: #2898BD;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
font-size: 28px;
|
|
padding: 20px 30px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.5s;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: rgb(189, 0, 0);
|
|
}
|
|
|
|
.button span:first-child {
|
|
padding-left: 10px;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
.button:hover span:first-child {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.button span:last-child {
|
|
opacity: 0;
|
|
transition: all 0.5s;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.button:hover span:last-child {
|
|
opacity: 1;
|
|
padding-left: 10px;
|
|
}
|