hensei-web/styles/globals.scss

180 lines
3 KiB
SCSS

@import '~meyer-reset-scss';
html {
background: $background-color;
font-size: 62.5%;
}
body {
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 1.4rem;
height: 100vh;
padding: $unit * 2 !important;
&.no-scroll {
overflow: hidden;
}
}
#__next {
height: 100%;
}
main {
min-height: 90%;
}
a {
text-decoration: none;
}
button, input {
font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1, h2, h3, p {
color: $grey-00;
}
h1 {
font-size: 2.1rem;
font-weight: $medium;
text-align: center;
}
select {
appearance: none;
background-image: url('/icons/Arrow.svg');
background-repeat: no-repeat;
background-position-y: center;
background-position-x: 98%;
background-size: $unit * 1.5;
border: none;
border-radius: 6px;
color: $grey-00;
margin-bottom: $unit;
font-size: $font-regular;
padding: 0 ($unit * 2);
height: $unit * 6;
width: 100%;
&:hover {
cursor: pointer;
}
}
#Content {
display: flex;
flex-direction: column;
gap: $unit * 3;
margin-top: $unit * 3;
min-width: 752px;
@media (max-width: $medium-screen) {
min-width: auto;
width: 100%;
}
}
.Overlay {
background: rgba(0, 0, 0, 0.6);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 20;
}
.Dialog {
animation: 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running openModal;
background: white;
border-radius: $unit;
display: flex;
flex-direction: column;
gap: $unit * 3;
height: auto;
min-width: $unit * 48;
min-height: $unit * 12;
padding: $unit * 3;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 21;
.DialogHeader {
display: flex;
}
.DialogClose {
background: transparent;
height: 21px;
width: 21px;
&:hover {
cursor: pointer;
svg {
fill: $grey-00;
}
}
svg {
fill: $grey-40;
}
}
.DialogTitle {
font-size: $font-large;
flex-grow: 1;
}
.DialogDescription {
flex-grow: 1;
}
.actions {
display: flex;
justify-content: flex-end;
width: 100%;
}
}
#Teams {
display: flex;
height: 100%;
flex-direction: column;
gap: $unit * 4;
}
#NotFound {
height: 200px;
width: 400px;
margin: auto;
display: flex;
justify-content: center;
align-items: center;;
h2 {
color: $grey-60;
font-size: $font-regular;
text-align: center;
}
}
@keyframes openModal {
0% {
opacity: 0;
transform: translate(-50%, -48%) scale(0.96);
}
100% {
// opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}