fanatic/resources/sass/admin/_layout.scss

74 lines
987 B
SCSS
Raw Normal View History

2022-04-23 10:57:56 -07:00
@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;
2022-04-23 19:31:00 -07:00
display: grid;
grid-template-rows: 7% auto;
grid-template-columns: auto;
2022-04-23 10:57:56 -07:00
}
.l-nav {
2022-04-23 19:31:00 -07:00
grid-row: 1/2;
2022-04-23 10:57:56 -07:00
display: flex;
align-items: stretch;
border-bottom: 1px solid $c-main;
}
.l-nav__tab {
flex-grow: 1;
border-right: 1px solid $c-main;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
&:last-child { border-right: none; }
}
2022-04-23 16:25:16 -07:00
.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;
}
2022-04-23 10:57:56 -07:00
.l-main {
2022-04-23 19:31:00 -07:00
grid-row: 2/3;
2022-04-23 11:39:07 -07:00
padding: 10px 40px;
2022-04-23 16:25:16 -07:00
overflow: auto;
2022-04-23 10:57:56 -07:00
}