search form display #797

This commit is contained in:
2020-07-21 15:52:10 +02:00
parent 1e15c60fa3
commit 44388adaf8
+43 -13
View File
@@ -556,6 +556,7 @@ footer[role="tools"]{
.results-list{ .results-list{
overflow-x: hidden; overflow-x: hidden;
.wrapper{ .wrapper{
position:relative;
height:100%; height:100%;
// hidding the scrollbar // hidding the scrollbar
overflow-y: auto; overflow-y: auto;
@@ -603,6 +604,9 @@ footer[role="tools"]{
// } // }
// } // }
} }
.infinite-loading-container{
// TODO: how to center the loading
}
} }
} }
#footer-bottom{ #footer-bottom{
@@ -648,17 +652,19 @@ footer[role="tools"]{
color: #fff; color: #fff;
background-color: $bleuroi; background-color: $bleuroi;
form{ form{
padding: 0.7em; // padding: 0.7em;
fieldset{ fieldset{
padding:0em 1em; padding:0.7em 1em;
border: none; border: none;
// width correction as row is not the same width as others in the page
flex-basis: 17.667%;
&:not(:first-of-type){ &:not(:first-of-type){
border-left: 1px solid $grisclair; border-left: 1px solid $grisclair;
} }
} }
fieldset.search{ fieldset.search{
display: inline-flex;
>div{ >div{
display: inline-block;
width:80%; width:80%;
vertical-align: middle; vertical-align: middle;
} }
@@ -692,6 +698,14 @@ footer[role="tools"]{
} }
} }
} }
fieldset.filters{
.vs__actions{
background-color: $grisclair;
align-items:baseline;
padding-top:0.2em;
}
}
} }
} }
h2{ h2{
@@ -701,8 +715,9 @@ footer[role="tools"]{
text-transform: uppercase; text-transform: uppercase;
padding:0; padding:0;
} }
} }
// vue-select
.v-select{ .v-select{
padding:0; padding:0;
div[role="combobox"]{ div[role="combobox"]{
@@ -735,18 +750,19 @@ footer[role="tools"]{
} }
.vs__selected{ .vs__selected{
margin:0; margin:0;
padding:0; padding:0.2em 0;
line-height:1; line-height:1;
font-size: 0.756em; font-size: 0.756em;
}
// border-radius: 2px;
// border: none;
}
.v-select{
.vs__selected{
background-color: #fff; background-color: #fff;
border:none; border:none;
padding:0.3em 0.5em; align-items: middle;
box-sizing: content-box;
display: inline-block;
width: calc(100% - 12px);
// &>*:not(button){
// display: inline-block;
// width:70%;
// }
button{ button{
svg{ svg{
transform: scale(0.8); transform: scale(0.8);
@@ -754,20 +770,34 @@ footer[role="tools"]{
fill: $bleuroi; fill: $bleuroi;
} }
} }
&.vs__deselect{
line-height: 0;
}
} }
} }
// border-radius: 2px;
// border: none;
} }
// vue-select
ul[role="listbox"]{ ul[role="listbox"]{
@include fontsans; @include fontsans;
padding:0; padding:0;
margin:0; margin:0;
border:none; border:none;
position: relative;
li{ li{
box-sizing: content-box;
padding:0.3em; padding:0.3em;
margin:0; margin:0;
font-size: 0.756em; font-size: 0.756em;
line-height: 1; line-height: 1;
white-space: normal;
position: relative;
*{
max-width: 100%;
}
} }
} }