Feat : ajout de classes CSS pour pouvoir styler les checkbox action
This commit is contained in:
parent
0367fd9e94
commit
e3aba7b00a
2 changed files with 16 additions and 6 deletions
|
@ -203,7 +203,8 @@ td.icone>* {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.gamutable .url_action:not(.sans_css) {
|
||||
.gamutable .url_action:not(.sans_css),
|
||||
.gamutable .btn_action:not(.sans_css) {
|
||||
padding: 0.2rem;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
|
@ -211,10 +212,19 @@ td.icone>* {
|
|||
border: 1px solid #cecece;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.gamutable .url_action:hover {
|
||||
.gamutable .url_action:hover,
|
||||
.gamutable .btn_action:hover {
|
||||
background-color: #cecece;
|
||||
}
|
||||
.gamutable .filtreColonne input.check_tout {
|
||||
margin-right: 1rem;
|
||||
height: 2rem;
|
||||
width: 2rem;
|
||||
}
|
||||
.gamutable input.check_action {
|
||||
height: 2.5rem;
|
||||
width: 2.5rem;
|
||||
}
|
||||
|
||||
td.icone i {
|
||||
font-size: 1.8rem;
|
||||
|
|
|
@ -89,8 +89,8 @@
|
|||
<th v-for="(label, head, i) in header" :key="'filtreCol_' + i" :class="head">
|
||||
<div v-if="checkbox[head] !== undefined" :id="'filtreCol_' + head" :class="classes[head]"
|
||||
class="flex justify-between">
|
||||
<input class="ml-2" type="checkbox" @click.stop="validerCheckboxCol(head)" />
|
||||
<button @click.stop="checkboxValider(head, checkbox[head])">
|
||||
<input class="ml-2 check_tout" type="checkbox" @click.stop="validerCheckboxCol(head)" />
|
||||
<button @click.stop="checkboxValider(head, checkbox[head])" class="btn_action">
|
||||
<i class="gt-check"></i> <span class="checkCol">Valider</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<div v-if="checkbox[name] !== undefined">
|
||||
<div v-if="td.split('-')[0] === 'dataid'" class="text-center">
|
||||
<label>
|
||||
<input type="checkbox" v-model="Tcheckbox[name]" :value="td.split('-')[1]" />
|
||||
<input class="check_action" type="checkbox" v-model="Tcheckbox[name]" :value="td.split('-')[1]" />
|
||||
</label>
|
||||
</div>
|
||||
<div v-else v-html="td"></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue