harmonisation des selecteurs de filtre
This commit is contained in:
parent
e1a677d9e0
commit
1986977f15
6 changed files with 58 additions and 42 deletions
|
@ -1,11 +1,45 @@
|
||||||
|
.gamutable__input--rechercher {
|
||||||
|
padding: 0.25rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.vue-tags .vue-tag.selected {
|
.vue-tags .vue-tag.selected {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.vue-input > input {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.tag--ub {
|
.tag--ub {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gamutable__input--filtrer {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
box-shadow: 0 0 0 1px #999999 inset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gamutable__input--filtrer:valid {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
background-color: #999999;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gamutable__input--filtrer:-moz-placeholder-shown {
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gamutable__input--filtrer:-ms-input-placeholder {
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gamutable__input--filtrer:placeholder-shown {
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.gamutable--surTable select,
|
.gamutable--surTable select,
|
||||||
.gamutable--surTable input {
|
.gamutable--surTable input {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -42,31 +76,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gamutable__input--rechercher {
|
|
||||||
padding: 0.25rem 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gamutable__input--rechercher:valid {
|
|
||||||
background-color: #999999;
|
|
||||||
color: #000;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gamutable__input--rechercher:-moz-placeholder-shown {
|
|
||||||
background-color: transparent;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gamutable__input--rechercher:-ms-input-placeholder {
|
|
||||||
background-color: transparent;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gamutable__input--rechercher:placeholder-shown {
|
|
||||||
background-color: transparent;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.h2-like.titregamutable,
|
.h2-like.titregamutable,
|
||||||
.h2-like.titregamutable_deux {
|
.h2-like.titregamutable_deux {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,12 +1,31 @@
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
// Surcharge de vue-next-select
|
// Surcharge de vue-next-select
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
|
.gamutable__input--rechercher {
|
||||||
|
padding: 0.25rem 1rem;
|
||||||
|
}
|
||||||
.vue-tags .vue-tag.selected {
|
.vue-tags .vue-tag.selected {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
div.vue-input > input {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
.tag--ub {
|
.tag--ub {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
.gamutable__input--filtrer {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
box-shadow: 0 0 0 1px rgb(153, 153, 153) inset;
|
||||||
|
&:valid {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
background-color: rgb(153, 153, 153);
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.gamutable__input--filtrer:placeholder-shown {
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
// Fin de la surcharge de vue-next-select
|
// Fin de la surcharge de vue-next-select
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
|
@ -37,18 +56,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.gamutable__input--rechercher {
|
|
||||||
padding: 0.25rem 1rem;
|
|
||||||
}
|
|
||||||
.gamutable__input--rechercher:valid {
|
|
||||||
background-color: rgb(153, 153, 153);
|
|
||||||
color: #000;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.gamutable__input--rechercher:placeholder-shown {
|
|
||||||
background-color: transparent;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.h2-like.titregamutable,
|
.h2-like.titregamutable,
|
||||||
.h2-like.titregamutable_deux {
|
.h2-like.titregamutable_deux {
|
||||||
|
|
|
@ -756,7 +756,7 @@ let monTableau = {
|
||||||
|
|
||||||
<input
|
<input
|
||||||
v-if="filtreColType[head] === 'input'"
|
v-if="filtreColType[head] === 'input'"
|
||||||
class="gamutable__input--rechercher"
|
class="gamutable__input--filtrer"
|
||||||
v-model="filtreColSelected[head]"
|
v-model="filtreColSelected[head]"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Rechercher"
|
placeholder="Rechercher"
|
||||||
|
@ -766,7 +766,7 @@ let monTableau = {
|
||||||
v-if="filtreColType[head] === 'input' && filtreColSelected[head].length !== 0"
|
v-if="filtreColType[head] === 'input' && filtreColSelected[head].length !== 0"
|
||||||
@click.stop="filtreColSelected[head] = []"
|
@click.stop="filtreColSelected[head] = []"
|
||||||
title="Vider ce champ"
|
title="Vider ce champ"
|
||||||
class="gamutable__input--rechercher"
|
class="gamutable__input--filtrer"
|
||||||
>X</button>
|
>X</button>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
<paquet
|
<paquet
|
||||||
prefix="gamutable"
|
prefix="gamutable"
|
||||||
categorie="outil"
|
categorie="outil"
|
||||||
version="3.4.3"
|
version="3.4.4"
|
||||||
etat="dev"
|
etat="dev"
|
||||||
compatibilite="[3.2.0-dev;4.1.*]"
|
compatibilite="[3.2.0-dev;4.1.*]"
|
||||||
logo="prive/themes/spip/images/gamutable-xx.svg"
|
logo="prive/themes/spip/images/gamutable-xx.svg"
|
||||||
|
|
Loading…
Add table
Reference in a new issue