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;
|
2016-02-15 21:01:00 +00:00
|
|
|
flex-direction: row;
|
2016-02-16 19:27:57 +00:00
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: flex-start;
|
2016-02-15 21:01:00 +00:00
|
|
|
flex-wrap: wrap;
|
2016-02-08 20:46:11 +00:00
|
|
|
|
|
|
|
.inline-box{
|
2016-02-15 21:26:34 +00:00
|
|
|
flex: 0 0 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Barre de recherche
|
|
|
|
.searchbar{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2016-02-16 19:27:57 +00:00
|
|
|
// width: calc( 100% - 2*1em - 2*1em );
|
|
|
|
flex: calc( 100% - 2*1em - 2*1em );
|
|
|
|
height: 1em;
|
2016-02-15 21:36:39 +00:00
|
|
|
margin: 1em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
padding-left: 2em;
|
2016-02-15 21:26:34 +00:00
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #b1b1b1;
|
|
|
|
// box-shadow: 0 0 1px #b7b7b7;
|
|
|
|
|
2016-07-08 15:04:41 +00:00
|
|
|
background: #fff url('/src/static/sub-menu-side/search.svg?b1b1b1') .5em center no-repeat;
|
2016-07-08 13:18:23 +00:00
|
|
|
background-size: 1em;
|
2016-02-15 21:26:34 +00:00
|
|
|
|
|
|
|
transition: border .4s ease-in-out;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus{
|
2016-02-16 13:25:06 +00:00
|
|
|
border-color: $form-search-color;
|
2016-02-15 21:26:34 +00:00
|
|
|
}
|
2016-02-08 20:46:11 +00:00
|
|
|
}
|
2016-02-15 21:36:39 +00:00
|
|
|
|
|
|
|
// Erreur
|
|
|
|
.error{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: calc( 100% - 2*1em - 2*1em );
|
|
|
|
height: 1em;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid $form-invalid-color;
|
|
|
|
|
|
|
|
background: $form-invalid-color;
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: 1px 1px darken($form-invalid-color, 10);
|
|
|
|
}
|
2016-02-08 20:46:11 +00:00
|
|
|
}
|
|
|
|
|
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-16 19:27:57 +00:00
|
|
|
// width: calc( 50% - 2*1em - 2*1em );
|
|
|
|
flex: calc( 50% - 2*1em - 2*1em );
|
2016-02-15 21:01:00 +00:00
|
|
|
margin: 1em;
|
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-16 19:27:57 +00:00
|
|
|
// Lors de la recherche, quand on veut en masquer
|
|
|
|
&.hidden{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2016-02-15 21:01:00 +00:00
|
|
|
color: darken($theme-color, 10);
|
2016-02-16 19:27:57 +00:00
|
|
|
white-space: nowrap;
|
2016-02-15 21:01:00 +00:00
|
|
|
|
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-15 21:01:00 +00:00
|
|
|
/* (3) Adresse mail */
|
2016-02-14 21:50:07 +00:00
|
|
|
.code,
|
|
|
|
.mail{
|
2016-02-15 21:01:00 +00:00
|
|
|
display: block;
|
|
|
|
margin: 1em;
|
2016-02-14 14:17:26 +00:00
|
|
|
color: #333;
|
2016-02-16 19:27:57 +00:00
|
|
|
white-space: nowrap;
|
2016-07-08 13:18:23 +00:00
|
|
|
|
2016-02-05 09:51:38 +00:00
|
|
|
// svg (icone)
|
|
|
|
svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2016-02-15 21:01:00 +00:00
|
|
|
margin-left: .5em;
|
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-07-08 13:18:23 +00:00
|
|
|
|
2016-02-14 21:50:07 +00:00
|
|
|
pointer-events: none;
|
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-16 19:27:57 +00:00
|
|
|
white-space: nowrap;
|
2016-07-08 13:18:23 +00:00
|
|
|
|
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-15 21:01:00 +00:00
|
|
|
pointer-events: none;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-08 16:14:06 +00:00
|
|
|
& > span{
|
2016-02-11 09:34:26 +00:00
|
|
|
display: inline-block;
|
2016-03-02 07:14:19 +00:00
|
|
|
position: relative;
|
2016-02-11 09:34:26 +00:00
|
|
|
padding: .1em .5em;
|
2016-07-08 16:14:06 +00:00
|
|
|
margin-right: calc( .4em + 2em );
|
2016-02-11 09:34:26 +00:00
|
|
|
|
2016-03-02 07:14:19 +00:00
|
|
|
border-radius: 3px 0 0 3px;
|
2016-02-11 09:34:26 +00:00
|
|
|
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-03-02 07:14:19 +00:00
|
|
|
|
2016-07-08 16:14:06 +00:00
|
|
|
&.add-group{
|
|
|
|
border-radius: 3px;
|
2016-07-08 17:33:58 +00:00
|
|
|
|
|
|
|
cursor: pointer;
|
2016-07-08 16:14:06 +00:00
|
|
|
}
|
2016-03-02 07:14:19 +00:00
|
|
|
|
2016-07-08 16:14:06 +00:00
|
|
|
& > span.rem-group{
|
2016-03-02 07:14:19 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: 100%;
|
2016-07-08 16:14:06 +00:00
|
|
|
width: 1em;
|
|
|
|
height: calc( 100% - .1em - 2px );
|
|
|
|
padding: .1em .5em;
|
2016-03-02 07:14:19 +00:00
|
|
|
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
border: 1px solid #bdbdbd;
|
|
|
|
box-shadow: inset 0 0 2px #fafafa;
|
|
|
|
|
2016-07-08 16:14:06 +00:00
|
|
|
background: url('/src/static/sub-menu-side/remove.svg') center center no-repeat;
|
|
|
|
background-size: auto 70%;
|
2016-03-02 07:14:19 +00:00
|
|
|
background-color: #f9f9f9;
|
|
|
|
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
2016-07-08 16:14:06 +00:00
|
|
|
&:hover{
|
|
|
|
background-image: url('/src/static/sub-menu-side/remove.svg?'+$form-invalid-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-02 07:14:19 +00:00
|
|
|
}
|
2016-07-08 16:14:06 +00:00
|
|
|
|
2016-02-11 09:34:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
/* (5) Lien vers la modification */
|
|
|
|
.link_edit,
|
|
|
|
.link_remove{
|
|
|
|
display: inline-block;
|
2016-02-18 11:12:54 +00:00
|
|
|
float: right;
|
2016-02-15 21:01:00 +00:00
|
|
|
position: relative;
|
2016-02-15 21:26:34 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2016-02-15 21:01:00 +00:00
|
|
|
margin-left: 1em;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
& > svg{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
fill: #ddd !important;
|
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
transition: fill .4s ease-in-out;
|
2016-02-14 21:50:07 +00:00
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
& > svg{
|
2016-02-15 09:22:47 +00:00
|
|
|
fill: $form-neutral-color !important;
|
2016-02-14 21:50:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (6) Lien vers la suppression */
|
|
|
|
.link_remove{
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
& > svg{
|
2016-02-15 09:22:47 +00:00
|
|
|
fill: $form-invalid-color !important;
|
2016-02-14 21:50:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-08 13:18:23 +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;
|
2016-02-15 14:55:28 +00:00
|
|
|
left: 50%;
|
2016-02-14 19:37:41 +00:00
|
|
|
margin: .3em 0;
|
|
|
|
padding: 1em;
|
|
|
|
|
2016-02-15 14:55:28 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
border-color: $form-invalid-color;
|
|
|
|
box-shadow: 0 0 1px #b7b7b7;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 14:55:28 +00:00
|
|
|
background-color: #fff;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 14:55:28 +00:00
|
|
|
transform: translateX(-50%);
|
2016-07-08 13:18:23 +00:00
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 11:27:01 +00:00
|
|
|
|
|
|
|
&.valid{
|
|
|
|
border-color: $form-valid-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.neutral{
|
|
|
|
border-color: $form-neutral-color;
|
|
|
|
}
|
|
|
|
|
2016-02-16 13:25:06 +00:00
|
|
|
&.search{
|
|
|
|
border-color: $form-neutral-color;
|
|
|
|
}
|
|
|
|
|
2016-02-17 11:09:23 +00:00
|
|
|
// Textes centres
|
|
|
|
.edit_search_view,
|
|
|
|
.remove_search_view{
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
color: #aaaaaa;
|
|
|
|
|
|
|
|
span{
|
|
|
|
color: #888888;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-15 11:27:01 +00:00
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
/* (1) Champs de texte */
|
|
|
|
input[type=text],
|
|
|
|
input[type=mail],
|
2016-02-15 09:22:47 +00:00
|
|
|
input[type=password],
|
|
|
|
&.invalid > input[type=text],
|
|
|
|
&.invalid > input[type=mail],
|
|
|
|
&.invalid > input[type=password],
|
|
|
|
input.invalid[type=text],
|
|
|
|
input.invalid[type=mail],
|
|
|
|
input.invalid[type=password]{
|
2016-02-14 19:37:41 +00:00
|
|
|
display: inline-block;
|
|
|
|
margin: 1em 0;
|
2016-02-15 18:33:10 +00:00
|
|
|
padding: .7em 1em;
|
2016-02-15 09:22:47 +00:00
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #d7dde8;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 09:22:47 +00:00
|
|
|
color: #2f3033;
|
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
transition: border .4s ease-in-out;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
2016-02-15 09:22:47 +00:00
|
|
|
border-color: $form-invalid-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Champs valides
|
|
|
|
&.valid > input[type=text],
|
|
|
|
&.valid > input[type=mail],
|
|
|
|
&.valid > input[type=password],
|
|
|
|
input.valid[type=text],
|
|
|
|
input.valid[type=mail],
|
|
|
|
input.valid[type=password]{
|
2016-02-15 15:43:06 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover{
|
2016-02-15 09:22:47 +00:00
|
|
|
border-color: $form-valid-color;
|
|
|
|
}
|
|
|
|
}
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 09:22:47 +00:00
|
|
|
// Champs neutres
|
|
|
|
&.neutral > input[type=text],
|
|
|
|
&.neutral > input[type=mail],
|
|
|
|
&.neutral > input[type=password],
|
|
|
|
input.neutral[type=text],
|
|
|
|
input.neutral[type=mail],
|
|
|
|
input.neutral[type=password]{
|
2016-02-15 15:43:06 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover{
|
2016-02-15 09:22:47 +00:00
|
|
|
border-color: $form-neutral-color;
|
2016-02-14 19:37:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-16 13:25:06 +00:00
|
|
|
// Champs neutres
|
|
|
|
&.search > input[type=text],
|
|
|
|
&.search > input[type=mail],
|
|
|
|
&.search > input[type=password],
|
|
|
|
input.search[type=text],
|
|
|
|
input.search[type=mail],
|
|
|
|
input.search[type=password]{
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
border-color: $form-search-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-15 09:22:47 +00:00
|
|
|
|
|
|
|
|
2016-02-14 19:37:41 +00:00
|
|
|
/* (2) Boutons */
|
2016-02-15 09:22:47 +00:00
|
|
|
button,
|
|
|
|
button.invalid,
|
|
|
|
&.invalid > button{
|
2016-02-14 19:37:41 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
|
2016-02-15 18:33:10 +00:00
|
|
|
padding: .7em 1em;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 18:33:10 +00:00
|
|
|
border-radius: 3px;
|
2016-02-14 19:37:41 +00:00
|
|
|
border: 1px solid $form-invalid-color;
|
|
|
|
|
2016-02-18 09:54:26 +00:00
|
|
|
background: $form-invalid-color center center no-repeat;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 15:48:17 +00:00
|
|
|
color: #fff;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
transition: background .4s ease-in-out;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
&:hover,
|
2016-02-16 21:59:01 +00:00
|
|
|
&:focus,
|
|
|
|
&:disabled{
|
2016-02-15 15:48:17 +00:00
|
|
|
background-color: #fff;
|
|
|
|
color: $form-invalid-color;
|
2016-02-14 19:37:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-15 09:22:47 +00:00
|
|
|
// Boutons valides
|
|
|
|
button.valid,
|
2016-07-08 13:18:23 +00:00
|
|
|
&.valid > button{
|
2016-02-14 19:37:41 +00:00
|
|
|
border-color: $form-valid-color;
|
|
|
|
|
2016-02-15 15:48:17 +00:00
|
|
|
background-color: $form-valid-color;
|
2016-02-14 19:37:41 +00:00
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
&:hover,
|
2016-02-16 21:59:01 +00:00
|
|
|
&:focus,
|
|
|
|
&:disabled{
|
2016-02-15 15:48:17 +00:00
|
|
|
background-color: #fff;
|
|
|
|
color: $form-valid-color;
|
2016-02-14 19:37:41 +00:00
|
|
|
}
|
|
|
|
}
|
2016-02-15 09:22:47 +00:00
|
|
|
|
|
|
|
// Boutons neutres
|
|
|
|
button.neutral,
|
2016-07-08 13:18:23 +00:00
|
|
|
&.neutral > button{
|
2016-02-15 09:22:47 +00:00
|
|
|
border-color: $form-neutral-color;
|
|
|
|
|
2016-02-15 15:48:17 +00:00
|
|
|
background-color: $form-neutral-color;
|
2016-02-15 09:22:47 +00:00
|
|
|
|
2016-02-15 15:43:06 +00:00
|
|
|
&:hover,
|
2016-02-16 21:59:01 +00:00
|
|
|
&:focus,
|
|
|
|
&:disabled{
|
2016-02-15 15:48:17 +00:00
|
|
|
background-color: #fff;
|
|
|
|
color: $form-neutral-color;
|
2016-02-15 09:22:47 +00:00
|
|
|
}
|
|
|
|
}
|
2016-02-15 11:27:01 +00:00
|
|
|
|
2016-02-16 13:25:06 +00:00
|
|
|
// Boutons recherche
|
|
|
|
button.search,
|
2016-07-08 13:18:23 +00:00
|
|
|
&.search > button{
|
2016-02-16 13:25:06 +00:00
|
|
|
border-color: $form-search-color;
|
|
|
|
|
|
|
|
background-color: $form-search-color;
|
|
|
|
|
|
|
|
&:hover,
|
2016-02-16 21:59:01 +00:00
|
|
|
&:focus,
|
|
|
|
&:disabled{
|
2016-02-16 13:25:06 +00:00
|
|
|
background-color: #fff;
|
|
|
|
color: $form-search-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-18 09:43:05 +00:00
|
|
|
|
|
|
|
// Boutons quand action validee
|
|
|
|
&.invalid > button.active,
|
|
|
|
button.invalid.active,
|
|
|
|
button.active{
|
2016-02-18 09:54:26 +00:00
|
|
|
background-color: #fff;
|
2016-07-08 15:04:41 +00:00
|
|
|
background-image: url('/src/static/container/active.svg?'+$rd-form-invalid-color) !important;
|
2016-02-18 09:43:05 +00:00
|
|
|
background-size: 1em auto;
|
|
|
|
|
|
|
|
color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
button.valid.active,
|
|
|
|
&.valid > button.active{
|
2016-07-08 15:04:41 +00:00
|
|
|
background-image: url('/src/static/container/active.svg?'+$rd-form-valid-color) !important;
|
2016-02-18 09:43:05 +00:00
|
|
|
}
|
|
|
|
button.neutral.active,
|
|
|
|
&.neutral > button.active{
|
2016-07-08 15:04:41 +00:00
|
|
|
background-image: url('/src/static/container/active.svg?'+$rd-form-neutral-color) !important;
|
2016-02-18 09:43:05 +00:00
|
|
|
}
|
|
|
|
button.search.active,
|
|
|
|
&.search > button.active{
|
2016-07-08 15:04:41 +00:00
|
|
|
background-image: url('/src/static/container/active.svg?'+$rd-form-search-color) !important;
|
2016-02-18 09:43:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-15 11:27:01 +00:00
|
|
|
// "OU" separant les boutons
|
2016-02-17 10:24:26 +00:00
|
|
|
hr.OR[data-label]{
|
2016-02-15 11:27:01 +00:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px dashed $form-invalid-color;
|
|
|
|
|
|
|
|
&:before{
|
2016-02-17 10:24:26 +00:00
|
|
|
content: attr(data-label);
|
2016-02-15 11:27:01 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
padding: 0 1em;
|
2016-07-08 13:18:23 +00:00
|
|
|
|
2016-02-15 11:27:01 +00:00
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
color: $form-invalid-color;
|
|
|
|
|
|
|
|
transform: translateX(-50%) translatey(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// "OU" valide
|
|
|
|
.valid > hr.OR,
|
|
|
|
hr.OR.valid{
|
|
|
|
border-bottom: 1px dashed $form-valid-color;
|
|
|
|
&:before{
|
|
|
|
color: $form-valid-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// "OU" neutre
|
|
|
|
.neutral > hr.OR,
|
|
|
|
hr.OR.neutral{
|
|
|
|
border-bottom: 1px dashed $form-neutral-color;
|
|
|
|
&:before{
|
|
|
|
color: $form-neutral-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-02-16 13:25:06 +00:00
|
|
|
|
|
|
|
// "OU" recherche
|
|
|
|
.search > hr.OR,
|
|
|
|
hr.OR.search{
|
|
|
|
border-bottom: 1px dashed $form-search-color;
|
|
|
|
&:before{
|
|
|
|
color: $form-search-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-02-14 19:37:41 +00:00
|
|
|
}
|
2016-02-05 09:26:10 +00:00
|
|
|
|
2016-07-08 13:18:23 +00:00
|
|
|
}
|