2016-04-04 09:47:17 +00:00
|
|
|
@import 'constants';
|
|
|
|
|
|
|
|
#WRAPPER{
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
2016-04-05 13:08:42 +00:00
|
|
|
background-color: $theme-bg;
|
2016-04-04 09:47:17 +00:00
|
|
|
|
2016-04-05 13:08:42 +00:00
|
|
|
font-family: 'Open Sans';
|
2016-04-10 13:33:36 +00:00
|
|
|
font-size: 15px;
|
2016-04-04 09:47:17 +00:00
|
|
|
|
2016-04-11 08:18:10 +00:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
/* [1] Header de la page
|
|
|
|
==========================================*/
|
|
|
|
& > #HEADER{
|
2016-04-08 09:56:04 +00:00
|
|
|
display: flex;
|
2016-04-04 09:47:17 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2016-04-05 13:08:42 +00:00
|
|
|
left: $menu-side-width;
|
2016-04-08 09:56:04 +00:00
|
|
|
width: calc( 100% - #{$menu-side-width} );
|
2016-04-05 13:08:42 +00:00
|
|
|
height: calc( #{$header-height} - 1px );
|
2016-04-04 09:47:17 +00:00
|
|
|
|
2016-04-05 13:08:42 +00:00
|
|
|
border-bottom: 1px solid darken($theme-bg, 1);
|
2016-04-04 09:47:17 +00:00
|
|
|
|
2016-04-05 13:08:42 +00:00
|
|
|
background-color: $theme-bg-primary;
|
2016-04-04 09:47:17 +00:00
|
|
|
|
2016-04-08 09:56:04 +00:00
|
|
|
// Flex properties
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-content: space-around;
|
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* [2] Side-Menu de la page
|
|
|
|
==========================================*/
|
|
|
|
// Gestion du menu
|
|
|
|
& > #MENU-SIDE{
|
|
|
|
display: block;
|
2016-04-11 08:18:10 +00:00
|
|
|
position: fixed;
|
2016-04-05 13:08:42 +00:00
|
|
|
top: 0;
|
2016-04-04 09:47:17 +00:00
|
|
|
left: 0;
|
|
|
|
width: $menu-side-width;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
box-shadow: 2px 1px 3px #ddd;
|
|
|
|
|
2016-04-05 13:08:42 +00:00
|
|
|
background-color: $dark-bg;
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
|
|
|
z-index: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* [3] Container de la page
|
|
|
|
==========================================*/
|
|
|
|
& > #CONTAINER{
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
2016-04-05 13:08:42 +00:00
|
|
|
top: $header-height;
|
2016-04-04 09:47:17 +00:00
|
|
|
left: $menu-side-width;
|
|
|
|
width: calc( 100% - #{$menu-side-width} - 2*1em );
|
2016-04-11 08:18:10 +00:00
|
|
|
min-height: calc( 100% - #{$header-height} - 2*1em );
|
2016-04-04 09:47:17 +00:00
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
// Flex properties
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
overflow-x: none;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|