fanatic/resources/sass/admin/_layout.scss
Marley Rae 91bbf06126 g
2022-04-24 17:44:39 -07:00

86 lines
No EOL
1.1 KiB
SCSS

@use 'vars' as *;
html, body {
width: 100%;
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
.l-container {
width: 80%;
height: 90%;
margin: 0 auto;
background-color: #f8f8ff;
border: 1px solid $c-main;
display: grid;
grid-template-rows: 7% auto;
grid-template-columns: auto;
}
.l-nav {
grid-row: 1/2;
display: flex;
align-items: stretch;
border-bottom: 1px solid $c-main;
}
.l-nav__tab {
flex-grow: 1;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
// log out button
background: unset;
color: $c-main;
cursor: pointer;
transition: color 0.2s;
border: none;
border-left: 1px solid $c-main;
&:hover {
color: $c-accent;
transition: color 0.2s;
}
&:first-child { border-left: none; }
}
.l-page-nav {
width: 100%;
margin: 10px;
display: flex;
justify-content: stretch;
align-items: center;
column-gap: 20px;
}
.l-page-nav__links {
flex-grow: 1;
text-align: right;
margin-right: 40px;
}
.l-page-nav__link {
@extend %btn;
text-decoration: none;
}
.l-main {
grid-row: 2/3;
padding: 10px 40px;
overflow: auto;
}