fix in filters if send empty index array it reset this menu
+ fix in filters if click reset it really reset to init + made buttons be inputs
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
#ljdp_map_filters,
|
||||
#ljdp_map_filters * {
|
||||
display: flex;
|
||||
@@ -19,11 +20,13 @@
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
overwrite display:none to avoid html flash at begining
|
||||
<div class="filter_menu" style="display:none;">
|
||||
*/
|
||||
/*
|
||||
#ljdp_map_filters .filter_menu {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
@@ -43,12 +46,15 @@
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
*/
|
||||
/* display inline-block for text-align to work */
|
||||
/*
|
||||
#ljdp_map_filters .filter_menu_title p {
|
||||
/* display inline-block for text-align to work */
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -57,7 +63,6 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
*/
|
||||
#ljdp_map_filters .filter_menu_drop_title {
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
@@ -73,11 +78,13 @@
|
||||
overflow: scroll;
|
||||
background-color: #ffffff;
|
||||
|
||||
*/
|
||||
/* opacity is toogled instantanously, for visual confort, but element is still present and clickable */
|
||||
/* then, visibility is toogle, after x seconds, letting plainty of times for the browser to catch the 'onclick' event */
|
||||
/*
|
||||
display: none;
|
||||
*/
|
||||
/*
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: visibility 0.5s;
|
||||
@@ -90,9 +97,11 @@
|
||||
}
|
||||
|
||||
#ljdp_map_filters .filter_menu_drop:focus .filter_menu_drop_items {
|
||||
*/
|
||||
/*
|
||||
display: flex;
|
||||
*/
|
||||
/*
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
@@ -106,6 +115,7 @@
|
||||
#ljdp_map_filters .filter_menu_drop_items p:hover {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -115,7 +125,6 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
*/
|
||||
#ljdp_map_filters label.filter_menu_checkbox {
|
||||
border-radius: 20px;
|
||||
}
|
||||
@@ -124,6 +133,7 @@
|
||||
color: #ffffff;
|
||||
background-color: #ba197a;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -133,11 +143,11 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
*/
|
||||
#ljdp_map_filters .filter_menu_button {
|
||||
flex-shrink: 2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user