2016-02-02 13:32:02 +00:00
|
|
|
@import 'constants';
|
2016-02-01 22:09:35 +00:00
|
|
|
|
|
|
|
#WRAPPER{
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background-color: #edf0f5;
|
|
|
|
|
2017-01-08 15:30:40 +00:00
|
|
|
font-family: 'Open Sans', 'Ubuntu', 'Verdana', 'Arial';
|
2016-02-01 22:09:35 +00:00
|
|
|
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-01 22:09:35 +00:00
|
|
|
/* [1] Header de la page
|
|
|
|
==========================================*/
|
|
|
|
& > #HEADER{
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2016-02-18 21:33:20 +00:00
|
|
|
height: calc( #{$menu-side-width} - 1px );
|
2016-02-01 22:09:35 +00:00
|
|
|
|
|
|
|
border-bottom: 1px solid darken($theme-color, 10);
|
|
|
|
|
|
|
|
background-color: $theme-color;
|
|
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-01 22:09:35 +00:00
|
|
|
/* [2] Side-Menu de la page
|
2016-07-08 15:04:41 +00:00
|
|
|
==========================================*/
|
2016-02-01 22:09:35 +00:00
|
|
|
// Gestion du menu
|
|
|
|
& > #MENU-SIDE{
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2016-02-18 21:33:20 +00:00
|
|
|
top: $menu-side-width;
|
2016-02-01 22:09:35 +00:00
|
|
|
left: 0;
|
2016-02-18 21:33:20 +00:00
|
|
|
width: $menu-side-width;
|
2016-02-01 22:09:35 +00:00
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
box-shadow: 2px 1px 3px #ddd;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
|
|
|
z-index: 9;
|
|
|
|
}
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-01 22:09:35 +00:00
|
|
|
|
|
|
|
/* [3] Container de la page
|
|
|
|
==========================================*/
|
|
|
|
& > #CONTAINER{
|
2016-02-02 22:29:30 +00:00
|
|
|
display: flex;
|
2016-02-01 22:09:35 +00:00
|
|
|
position: absolute;
|
2016-02-18 21:33:20 +00:00
|
|
|
top: $menu-side-width;
|
|
|
|
left: $menu-side-width;
|
|
|
|
width: calc( 100% - #{$menu-side-width} - 2*1em );
|
|
|
|
height: calc( 100% - #{$menu-side-width} - 2*1em );
|
2016-02-01 22:09:35 +00:00
|
|
|
padding: 1em;
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
// Flex properties
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2017-11-12 16:22:35 +00:00
|
|
|
overflow: hidden;
|
2016-02-01 22:09:35 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2017-11-09 11:38:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* [4] Popup background - window
|
|
|
|
==========================================*/
|
|
|
|
& > #POPUP{
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
min-width: 50%;
|
|
|
|
max-width: 50%;
|
|
|
|
min-height: 30%;
|
|
|
|
max-height: 50%;
|
|
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
background: #fff;
|
|
|
|
color: #34495e;
|
|
|
|
|
|
|
|
box-shadow: -10px 10px 0 rgba(26, 33, 40, .8);
|
|
|
|
|
|
|
|
-webkit-transform: translateX(-50%) translateY(-50%);
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
|
|
|
|
|
|
|
z-index: 101;
|
|
|
|
|
|
|
|
&.active{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
& > .header{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: calc( 100% - 2*1em );
|
|
|
|
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
border-bottom: 2px solid #ecf0f1;
|
|
|
|
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .body{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: calc( 100% - 2*1em );
|
|
|
|
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
b, strong{
|
|
|
|
color: #5630ed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .footer{
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
width: calc( 100% - 2*1em );
|
|
|
|
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
background-color: #ecf0f1;
|
|
|
|
|
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
|
|
|
|
// flex props.
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
& button{
|
|
|
|
left: auto;
|
|
|
|
margin: 0 1em;
|
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
& > #POPUP-BG{
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background: #29333f;
|
|
|
|
background: rgba(41, 51, 63, .8);
|
|
|
|
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
& #POPUP.active ~ #POPUP-BG{
|
|
|
|
display: block;
|
|
|
|
}
|
2016-07-08 15:04:41 +00:00
|
|
|
}
|