This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
readyornot/styles/ReadyOrNot.module.css
2022-12-09 21:38:23 +01:00

264 lines
3.8 KiB
CSS

.page {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
background-color: var(--background_black);
}
.main {
color: var(--text_normal);
min-height: 100vh;
padding: 1rem;
display: flex;
flex: 1;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
.mapContainer {
aspect-ratio: 1;
margin-top: 2rem;
display: flex;
align-items: center;
justify-content: center;
}
.mc_desktop {
height: 80%;
flex-direction: row;
}
.mc_mobile {
width: 90%;
flex-direction: column;
}
.map {
position: relative;
aspect-ratio: 1;
}
.map_desktop {
height: 90%;
max-height: 100%;
}
.map_mobile {
width: 90%;
max-width: 100%;
}
.floorSelection {
display: flex;
justify-content: center;
}
.fs_desktop {
height: 100%;
align-items: left;
margin: 4%;
flex-direction: column;
}
.fs_mobile {
width: 100%;
align-items: center;
margin: 8%;
flex-direction: row;
}
.floor_button {
color: var(--text_normal);
background-color: var(--background_red);
border: 1px solid var(--button_border_normal);
min-width: 32px;
min-height: 32px;
}
.fb_mobile {
margin: 0 5%;
}
.floor_button:active {
border: 1px solid var(--button_border_pressed);
}
.floorIndicator {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.findicator_desktop {
flex-direction: column;
margin-right: 2%;
height: 100%;
}
.findicator_mobile {
flex-direction: row;
}
.floorNumber {
font-size: 18pt;
}
.fn_desktop {
margin: 2%;
margin-bottom: 50%;
}
.fn_mobile {
margin-right: 4%;
}
.floorIcon {
background-clip: content-box;
}
.fi_desktop {
min-height: 4px;
min-width: 40px;
width: 100%;
height: 1%;
margin: 8%;
}
.fi_mobile {
aspect-ratio: 0.5;
min-height: 40px;
min-width: 4px;
height: 25%;
margin: 0.5rem;
}
.fi_inactive {
background-color: var(--floor_selector);
}
.fi_inactive:hover {
background-color: var(--red_light);
}
.fi_active {
background-color: var(--red);
}
.sidebarPlaceholder {
width: 10px;
}
.sidebar {
max-width: 100%;
min-width: 5%;
z-index: 100;
position: absolute;
display: flex;
flex-direction: row;
align-items: center;
height: 100%;
}
.sidebarArrow {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
width: 3%;
min-width: 10px;
background-color: var(--background_red);
}
.sidebarList {
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: none;
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: flex-start;
background-color: var(--background_grey_opaque);
padding: 2rem;
}
.sidebar::-webkit-scrollbar {
width: 0px;
background: transparent;
}
.sl_wrapper {
height: 100%;
overflow: hidden;
transition-property: width, visibility;
transition-timing-function: ease-in-out, linear;
transition-duration: 0.3s, 0s;
}
.sl_active {
visibility: visible;
width: 97%;
transition-delay: 0s, 0s;
}
.sl_inactive {
visibility: hidden;
width: 0;
transition-delay: 0s, 0.3s;
}
.navElem {
white-space:nowrap;
font-size: 14pt;
width: auto;
border-radius: 5px;
margin: 0.4rem;
padding: 0.8rem;
}
.ne_inactive:hover {
color: var(--red_light);
background-color: var(--background_grey_opaque);
border-radius: 5px;
outline: 2px solid;
outline-offset: -2px;
}
.ne_inactive {
color: var(--text_normal);
background-color: var(--background_grey);
}
.ne_active {
color: var(--red);
outline: 2px solid;
outline-offset: -2px;
background-color: transparent;
}
.title a {
color: var(--red);
text-decoration: none;
}
.title {
margin: 0;
line-height: 1.15;
font-size: 4rem;
}
.title,
.description {
text-align: center;
}
.description {
margin: 4rem 0;
line-height: 1.5;
font-size: 1.5rem;
}