74 lines
1.2 KiB
SCSS
Executable File
74 lines
1.2 KiB
SCSS
Executable File
@import 'constants';
|
|
|
|
#WRAPPER{
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
background-color: #edf0f5;
|
|
|
|
font-family: 'Ubuntu';
|
|
|
|
|
|
/* [1] Header de la page
|
|
==========================================*/
|
|
& > #HEADER{
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: calc( #{$menu-side-width} - 1px );
|
|
|
|
border-bottom: 1px solid darken($theme-color, 10);
|
|
|
|
background-color: $theme-color;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
/* [2] Side-Menu de la page
|
|
==========================================*/
|
|
// Gestion du menu
|
|
& > #MENU-SIDE{
|
|
display: block;
|
|
position: absolute;
|
|
top: $menu-side-width;
|
|
left: 0;
|
|
width: $menu-side-width;
|
|
height: 100%;
|
|
|
|
box-shadow: 2px 1px 3px #ddd;
|
|
|
|
background-color: #fff;
|
|
|
|
transition: all .3s;
|
|
|
|
z-index: 9;
|
|
}
|
|
|
|
|
|
/* [3] Container de la page
|
|
==========================================*/
|
|
& > #CONTAINER{
|
|
display: flex;
|
|
position: absolute;
|
|
top: $menu-side-width;
|
|
left: $menu-side-width;
|
|
width: calc( 100% - #{$menu-side-width} - 2*1em );
|
|
height: calc( 100% - #{$menu-side-width} - 2*1em );
|
|
padding: 1em;
|
|
|
|
// Flex properties
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
|
|
overflow-x: none;
|
|
overflow-y: auto;
|
|
}
|
|
} |