move styles and js to the root directory
This commit is contained in:
committed by
richard-dds
parent
dacb950349
commit
1ec82cd6ea
36
styles/components/_global_layout.scss
Normal file
36
styles/components/_global_layout.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
body {
|
||||
background-color: $color-gray-lightest;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
min-height: 100vh;
|
||||
|
||||
> footer {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
&.modalOpen {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.global-layout {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-grow: 1;
|
||||
|
||||
.global-navigation {
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.global-panel-container {
|
||||
margin: $gap;
|
||||
max-width: $site-max-width;
|
||||
overflow-x: hidden;
|
||||
flex-grow: 1;
|
||||
|
||||
@include media($medium-screen) {
|
||||
margin: $gap * 2;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user