2016-02-02 22:56:48 +00:00
|
|
|
@import 'constants';
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
#WRAPPER > #CONTAINER{
|
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
/* [1] Section (contenu)
|
2016-02-05 09:26:10 +00:00
|
|
|
=========================================================*/
|
2016-02-03 08:00:06 +00:00
|
|
|
& > section{
|
2016-02-06 10:41:50 +00:00
|
|
|
display: none;
|
2016-02-03 08:00:06 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
// @active
|
|
|
|
& > section.active{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-02-08 20:46:11 +00:00
|
|
|
// @active + .list
|
|
|
|
& > section.active.list{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
// justify-content: space-between;
|
|
|
|
// flex-wrap: wrap;
|
|
|
|
|
|
|
|
.inline-box{
|
|
|
|
flex: 1 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
/* [2] INLINE-BOX pour afficher les listes de donnees
|
2016-02-05 09:26:10 +00:00
|
|
|
=========================================================*/
|
|
|
|
& > section > .inline-box{
|
2016-02-08 20:46:11 +00:00
|
|
|
display: inline-block;
|
2016-02-05 09:26:10 +00:00
|
|
|
position: relative;
|
2016-02-08 20:46:11 +00:00
|
|
|
// width: calc( 100% - 2*1em - 2*1em );
|
|
|
|
margin: .3em 0;
|
2016-02-05 09:26:10 +00:00
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 1px #b7b7b7;
|
|
|
|
|
|
|
|
background-color: #fff;
|
2016-02-05 09:51:38 +00:00
|
|
|
|
2016-02-14 14:17:26 +00:00
|
|
|
a{
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2016-02-05 09:51:38 +00:00
|
|
|
/* (1) Titre de l'element */
|
|
|
|
.title{
|
|
|
|
display: inline-block;
|
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
font-size: 1.15em;
|
2016-02-05 09:51:38 +00:00
|
|
|
font-weight: bold;
|
2016-02-06 10:41:50 +00:00
|
|
|
|
|
|
|
& > span{
|
|
|
|
font-size: .8em;
|
|
|
|
color: #333;
|
|
|
|
}
|
2016-02-05 09:51:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* (2) Code RFID */
|
2016-02-14 21:50:07 +00:00
|
|
|
.code,
|
|
|
|
.mail{
|
2016-02-05 09:51:38 +00:00
|
|
|
display: inline-block;
|
2016-02-14 14:17:26 +00:00
|
|
|
color: #333;
|
2016-02-05 09:51:38 +00:00
|
|
|
|
|
|
|
// svg (icone)
|
|
|
|
svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2016-02-14 21:50:07 +00:00
|
|
|
margin-left: .8em;
|
2016-02-05 09:51:38 +00:00
|
|
|
margin-right: .5em;
|
|
|
|
margin-bottom: -.6em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 2em;
|
|
|
|
|
2016-02-14 21:50:07 +00:00
|
|
|
pointer-events: none;
|
|
|
|
|
2016-02-05 09:51:38 +00:00
|
|
|
path{
|
2016-02-14 14:17:26 +00:00
|
|
|
fill: #333 !important;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
pointer-events: none;
|
2016-02-05 09:51:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (3) Adresse mail */
|
|
|
|
.mail{
|
2016-02-14 21:50:07 +00:00
|
|
|
display: inline-block;
|
2016-02-14 14:17:26 +00:00
|
|
|
color: #333;
|
2016-02-06 10:41:50 +00:00
|
|
|
|
|
|
|
// svg (icone)
|
|
|
|
svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: .5em;
|
|
|
|
margin-bottom: -.6em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 2em;
|
|
|
|
|
2016-02-14 21:50:07 +00:00
|
|
|
pointer-events: none;
|
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
path{
|
2016-02-14 14:17:26 +00:00
|
|
|
fill: #333 !important;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
pointer-events: none;
|
2016-02-06 10:41:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-05 09:51:38 +00:00
|
|
|
}
|
2016-02-11 09:34:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* (4) Groupes */
|
|
|
|
.groups{
|
|
|
|
display: block;
|
|
|
|
margin: 1em;
|
2016-02-14 14:17:26 +00:00
|
|
|
color: #333;
|
2016-02-11 09:34:26 +00:00
|
|
|
|
|
|
|
// svg (icone)
|
|
|
|
svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: .5em;
|
|
|
|
margin-bottom: -.6em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 2em;
|
|
|
|
|
2016-02-14 21:50:07 +00:00
|
|
|
pointer-events: none;
|
|
|
|
|
2016-02-11 09:34:26 +00:00
|
|
|
path{
|
2016-02-14 14:17:26 +00:00
|
|
|
fill: #333 !important;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
pointer-events: none;
|
2016-02-11 09:34:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span{
|
|
|
|
display: inline-block;
|
|
|
|
padding: .1em .5em;
|
|
|
|
margin-right: .2em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #bdbdbd;
|
2016-02-14 14:17:26 +00:00
|
|
|
box-shadow: inset 0 0 2px #fafafa;
|
2016-02-11 09:34:26 +00:00
|
|
|
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
|
2016-02-14 14:17:26 +00:00
|
|
|
color: #333;
|
2016-02-11 09:34:26 +00:00
|
|
|
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
/* (5) Lien vers la modification */
|
|
|
|
.link_edit,
|
|
|
|
.link_remove{
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc( 100% - 1.2em - 2*1em );
|
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
|
|
|
margin: 1em;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
& > svg{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
fill: #ddd !important;
|
|
|
|
|
|
|
|
transition: fill .2s ease-in-out;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
& > svg{
|
|
|
|
fill: #3c89e8 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (6) Lien vers la suppression */
|
|
|
|
.link_remove{
|
|
|
|
top: calc( 100% - 1.2em - 2*1em );
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
& > svg{
|
|
|
|
fill: #d44f18 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-02-05 09:51:38 +00:00
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
}
|
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
/* [3] Formulaires
|
|
|
|
=========================================================*/
|
|
|
|
& > section > form{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
// width: calc( 100% - 2*1em - 2*1em );
|
|
|
|
margin: .3em 0;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 1px #b7b7b7;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
/* (1) Champs de texte */
|
|
|
|
input[type=text],
|
|
|
|
input[type=mail],
|
|
|
|
input[type=password]{
|
|
|
|
display: inline-block;
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: .3em .5em;
|
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
&:focus{
|
|
|
|
border-color: $theme-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (2) Boutons */
|
|
|
|
button, button.invalid{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
|
|
|
|
padding: .5em 1em;
|
|
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid $form-invalid-color;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
color: $form-invalid-color;
|
|
|
|
|
|
|
|
transition: background .2s ease-in-out;
|
|
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
background-color: $form-invalid-color;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button.valid{
|
|
|
|
border-color: $form-valid-color;
|
|
|
|
|
|
|
|
color: $form-valid-color;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
background-color: $form-valid-color;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-02-05 09:26:10 +00:00
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
}
|