2015-10-20 08:44:40 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Positionnement global et mise en page
|
|
|
|
* -------------------------------------
|
|
|
|
* 1. Propriétés globales
|
2015-10-20 20:10:38 +00:00
|
|
|
* 2. HEADER
|
|
|
|
* 3. MENU
|
|
|
|
* 4. AUTH(entification)
|
|
|
|
* 5. CONTAINER
|
|
|
|
* 6. msgBox
|
2015-10-20 08:44:40 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************************/
|
|
|
|
/*** 1. Propriétés globales ***/
|
|
|
|
/******************************/
|
|
|
|
*{ /* on supprime le margin/padding par défaut */
|
2015-10-20 20:10:38 +00:00
|
|
|
margin: 0;
|
2015-10-20 08:44:40 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-20 20:10:38 +00:00
|
|
|
a{ text-decoration: none; color: inherit; }
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
/* on initialise le body avec les valeurs par défaut [compatibilité] */
|
|
|
|
body{
|
|
|
|
/* position */
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2015-10-20 20:10:38 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2015-10-22 21:06:25 +00:00
|
|
|
min-height: 100%;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
/* background */
|
2015-10-21 08:53:45 +00:00
|
|
|
background: #ecf0f1;
|
|
|
|
background: url(../src/wallpaper.jpg) top left no-repeat;
|
|
|
|
background-size: cover;
|
2015-10-21 17:13:56 +00:00
|
|
|
background-attachment: fixed;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-22 21:06:25 +00:00
|
|
|
/* scroll */
|
|
|
|
overflow: auto;
|
2015-10-20 08:44:40 +00:00
|
|
|
overflow-x: hidden; /* empêche la barre horizontale de scroll [précaution] */
|
|
|
|
|
|
|
|
/* foreground */
|
2015-10-21 17:13:56 +00:00
|
|
|
font: 16px 'Ubuntu', 'Open Sans', 'Helvetica Neue', 'Arial', 'sans-serif';
|
2015-10-20 08:44:40 +00:00
|
|
|
}
|
|
|
|
|
2015-11-06 15:23:00 +00:00
|
|
|
/* @blurred */
|
|
|
|
*.blurred{
|
2015-11-09 08:56:34 +00:00
|
|
|
filter: blur(5px);
|
|
|
|
-moz-filter: blur(5px);
|
|
|
|
-webkit-filter: blur(5px);
|
|
|
|
-ms-filter: blur(5px);
|
|
|
|
-o-filter: blur(5px);
|
2015-11-06 15:23:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-11-22 18:17:04 +00:00
|
|
|
#LOADER{
|
2015-10-26 00:32:18 +00:00
|
|
|
/* position */
|
2015-11-22 18:17:04 +00:00
|
|
|
display: block;
|
2015-10-26 00:32:18 +00:00
|
|
|
position: fixed;
|
2015-11-22 18:17:04 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
2015-10-27 11:30:56 +00:00
|
|
|
|
2015-11-22 18:17:04 +00:00
|
|
|
/* background */
|
|
|
|
background-color: #22d135;
|
|
|
|
|
|
|
|
/* z axis */
|
2015-10-27 11:30:56 +00:00
|
|
|
z-index: 100;
|
2015-11-22 18:17:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* animation */
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
-moz-transition: all .2s ease-in-out;
|
|
|
|
-webkit-transition: all .2s ease-in-out;
|
|
|
|
-ms-transition: all .2s ease-in-out;
|
|
|
|
-o-transition: all .2s ease-in-out;
|
2015-10-26 00:32:18 +00:00
|
|
|
}
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
#WRAPPER{
|
2015-10-20 20:10:38 +00:00
|
|
|
/* position */
|
2015-10-20 21:41:55 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2015-10-27 11:30:56 +00:00
|
|
|
width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
/*margin: 50px;*/
|
2015-10-20 21:41:55 +00:00
|
|
|
|
2015-10-21 17:13:56 +00:00
|
|
|
/* border */
|
2015-10-23 08:04:26 +00:00
|
|
|
box-shadow: 0 0 5px #555;
|
2015-10-21 17:13:56 +00:00
|
|
|
|
|
|
|
/* background */
|
|
|
|
background-color: #ecf0f1;
|
|
|
|
|
|
|
|
/* scroll */
|
|
|
|
overflow: hidden;
|
2015-10-20 08:44:40 +00:00
|
|
|
}
|
|
|
|
|
2015-10-21 11:22:34 +00:00
|
|
|
#MENU{
|
|
|
|
/* position */
|
|
|
|
display: flex;
|
2015-11-30 16:32:17 +00:00
|
|
|
position: fixed;
|
2015-10-21 11:22:34 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 14em;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
/* flex */
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
/* background */
|
|
|
|
background-color: #34495e;
|
|
|
|
|
|
|
|
/* Z */
|
|
|
|
z-index: 10;
|
|
|
|
|
2015-10-21 11:35:59 +00:00
|
|
|
/* extra */
|
|
|
|
user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
-o-user-select: none;
|
|
|
|
|
2015-10-21 11:22:34 +00:00
|
|
|
}
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
#HEADER{
|
|
|
|
/* position */
|
2015-10-21 11:22:34 +00:00
|
|
|
display: flex;
|
2015-10-21 08:53:45 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2015-10-21 11:22:34 +00:00
|
|
|
left: 14em;
|
|
|
|
width: calc( 100% - 14em );
|
2015-10-21 08:53:45 +00:00
|
|
|
height: 5em;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-21 11:22:34 +00:00
|
|
|
/* flex */
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
/* border */
|
2015-10-30 11:52:50 +00:00
|
|
|
border-bottom: 1px solid #d2d3d5;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
/* background */
|
|
|
|
background-color: #fff;
|
2015-10-31 16:25:19 +00:00
|
|
|
|
|
|
|
/* scroll */
|
|
|
|
overflow: hidden;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
/* Z */
|
|
|
|
z-index: 9;
|
|
|
|
}
|
2015-10-20 21:41:55 +00:00
|
|
|
|
|
|
|
|
2015-10-30 11:52:50 +00:00
|
|
|
#HEADER nav.subsections{
|
2015-10-21 08:53:45 +00:00
|
|
|
/* Z */
|
|
|
|
z-index: 8;
|
|
|
|
}
|
2015-10-20 20:10:38 +00:00
|
|
|
|
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
#CONTAINER{
|
|
|
|
/* position */
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2015-10-30 11:52:50 +00:00
|
|
|
margin-top: 5em;
|
2015-10-21 11:22:34 +00:00
|
|
|
margin-left: 14em;
|
|
|
|
width: calc( 100% - 14em );
|
2015-10-22 21:06:25 +00:00
|
|
|
/*min-height: 100%;*/
|
|
|
|
height: auto;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
/* background */
|
|
|
|
background-color: #ecf0f1;
|
2015-10-20 20:10:38 +00:00
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
/* Z */
|
|
|
|
z-index: 7;
|
2015-10-21 22:13:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* le formulaire */
|
|
|
|
#AUTH{
|
|
|
|
/* position */
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
/*top: 10em;*/ top: -150%;
|
|
|
|
left: calc( 50% - 25em/2 - 2em );
|
|
|
|
width: 25em;
|
|
|
|
padding: 2em;
|
|
|
|
|
|
|
|
/* border */
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 0 0 .5em #333;
|
|
|
|
|
|
|
|
/* background */
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
/* Z */
|
|
|
|
z-index: 101;
|
|
|
|
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
-moz-transition: all .2s ease-in-out;
|
|
|
|
-webkit-transition: all .2s ease-in-out;
|
|
|
|
-ms-transition: all .2s ease-in-out;
|
|
|
|
-o-transition: all .2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* affichage du formulaire si filtre actif */
|
2015-11-06 15:23:00 +00:00
|
|
|
#WRAPPER.blurred ~ #AUTH{ top: 10em; }
|
2015-10-21 22:13:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* le titre */
|
|
|
|
#AUTH label{
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
margin-left: 1em;
|
|
|
|
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* tout les champs du formulaire */
|
|
|
|
#AUTH input{
|
|
|
|
/* position */
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-left: 1em;
|
|
|
|
width: calc( 100% - 2*2em );
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
/* border */
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid #b3b3b3;
|
|
|
|
|
2015-10-22 06:55:12 +00:00
|
|
|
/* background */
|
|
|
|
background-color: #fff;
|
|
|
|
|
2015-10-21 22:13:58 +00:00
|
|
|
/* foreground */
|
2015-10-22 06:55:12 +00:00
|
|
|
font: inherit;
|
2015-10-21 22:13:58 +00:00
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* le bouton */
|
|
|
|
#AUTH input[type=button]{
|
|
|
|
/* position */
|
|
|
|
width: calc( 100% - 2em );
|
|
|
|
|
|
|
|
/* border */
|
|
|
|
border-color: #3dcc70;
|
|
|
|
|
|
|
|
/* foreground */
|
|
|
|
color: #3dcc70;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
/* extra */
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
/* animation */
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
-moz-transition: all .2s ease-in-out;
|
|
|
|
-webkit-transition: all .2s ease-in-out;
|
|
|
|
-ms-transition: all .2s ease-in-out;
|
|
|
|
-o-transition: all .2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* quand on selectionne le texte */
|
|
|
|
#AUTH input[type=text]:focus,
|
|
|
|
#AUTH input[type=password]:focus{
|
|
|
|
border-color: #3dcc70;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* quand on a la souris sur le bouton */
|
2015-10-23 11:08:33 +00:00
|
|
|
#AUTH input[type=button]:focus,
|
2015-10-21 22:13:58 +00:00
|
|
|
#AUTH input[type=button]:hover{
|
|
|
|
background-color: #3dcc70;
|
|
|
|
color: #fff;
|
2015-10-22 10:07:41 +00:00
|
|
|
}
|
2015-10-28 17:08:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* errorbox (identifiants incorrects) */
|
|
|
|
#AUTH span.errorbox{
|
|
|
|
/* position */
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 1em;
|
|
|
|
padding-left: 1em;
|
|
|
|
|
|
|
|
|
|
|
|
color: #ff5c5c;
|
|
|
|
}
|