[webpack.teacher.view] fixed button on 'create' card

This commit is contained in:
xdrm-brackets 2018-03-06 16:34:30 +01:00
parent 54c2455da4
commit 276582b131
2 changed files with 13 additions and 21 deletions

View File

@ -6,7 +6,7 @@
<div class='card container'>
<section data-create>
<section data-create=''>
<select class='category'>
<option selected='selected' disabled='disabled'>Catégorie d'enseignant</option>
@ -23,12 +23,10 @@
</div>
</div>
<button class='sub valid'>Créer l'enseignant</button>
<div class='sub'>&nbsp;</div>
<div class='footer'>
<span class='course'><span>Cours</span></span><hr>
<span class='td'><span>TD</span></span><hr>
<span class='tp'><span>TP</span></span>
<button class='valid'>Créer l'enseignant</button>
</div>
</section>

View File

@ -154,6 +154,11 @@
justify-content: flex-start;
flex-wrap: nowrap;
&[data-create]{
border: 1px solid $form-valid-color;
}
// hidden mode
&.search-hidden,
&.filter-hidden{ display: none; }
@ -428,6 +433,11 @@
background-color: darken(#fff, 10%);
}
/* (6-edit) Card button submit */
& > button{
margin: auto;
}
}
@ -442,22 +452,6 @@
}
/* (6-edit) Card button submit */
& > button.sub{
display: inline-block;
margin-top: 1em;
margin-bottom: -.5em;
padding: .2em 1em;
color: lighten($primary-color, 20%);
align-self: center;
}
}
}