Skip to content
Snippets Groups Projects
Commit 753745d6 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

add transition to loader & custom color to multiselect tags

parent c7538276
No related branches found
No related tags found
1 merge request!750REDMINE_ISSUE-19724 | Liste et carte – Faire de la sélection multiple dans les filtres
......@@ -469,4 +469,14 @@ export default {
#form-filters .multiselect__tags {
white-space: normal !important;
}
#form-filters .multiselect__tag {
background: var(--primary-color, #008c86) !important;
}
#form-filters .multiselect__tag-icon:focus, #form-filters .multiselect__tag-icon:hover{
background: var(--primary-highlight-color, #006f6a) !important;
}
#form-filters .multiselect__tag-icon:not(:hover)::after {
color: var(--primary-highlight-color, #006f6a);
filter: brightness(0.6);
}
</style>
\ No newline at end of file
......@@ -57,11 +57,10 @@
@update:page="handlePageChange"
@update:sort="handleSortChange"
/>
<Transition name="ease">
<Transition name="fadeIn">
<div
v-if="loading"
:class="{ active: loading }"
class="ui inverted dimmer"
class="ui inverted dimmer active"
>
<div class="ui text loader">
Récupération des signalements en cours...
......@@ -540,7 +539,11 @@ export default {
<style lang="less" scoped>
.loader-container {
position: relative;
min-height: 250px; // keep a the spinner above result and below table header
z-index: 1;
.ui.inverted.dimmer.active {
opacity: .6;
}
}
.map-container {
width: 80vw;
......@@ -590,19 +593,36 @@ div.geolocation-container {
}
}
.ease-enter-active {
animation: ease-in 0.5s;
.fadeIn-enter-active {
animation: fadeIn .5s;
}
.fadeIn-leave-active {
animation: fadeIn .5s reverse;
}
.transition.fade.in {
-webkit-animation-name: fadeIn;
animation-name: fadeIn
}
.ease-leave-active {
animation: ease-in 0.5s reverse;
@-webkit-keyframes fadeIn {
0% {
opacity: 0
}
100% {
opacity: .9
}
}
@keyframes ease-in {
@keyframes fadeIn {
0% {
opacity: 0;
opacity: 0
}
100% {
opacity: 1;
opacity: .9
}
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment