fix error
This commit is contained in:
parent
e541d529a9
commit
baab751921
|
@ -7,7 +7,7 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.s-space.show-space .selection-box-label.absolute-center{
|
||||
.s-space.show-space .selection-box-label{
|
||||
display: none;
|
||||
}
|
||||
.fa.fa-map-marker{
|
||||
|
@ -22,7 +22,7 @@
|
|||
border-width: 1em 1em 0 1em;
|
||||
border-color: #2196f3 transparent transparent transparent;
|
||||
}
|
||||
.s-space.show-space .selection-box-label.absolute-center.active{
|
||||
.s-space.show-space .selection-box-label.active{
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 110%;
|
||||
|
|
|
@ -376,10 +376,10 @@
|
|||
border-color: #2196f3 transparent transparent transparent;
|
||||
}
|
||||
}
|
||||
.s-space.show-space .selection-box-label.absolute-center{
|
||||
.s-space.show-space .selection-box-label{
|
||||
display: none;
|
||||
}
|
||||
.s-space.show-space .selection-box-label.absolute-center.active{
|
||||
.s-space.show-space .selection-box-label.active{
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 110%;
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
if (obj[0].url == "#") {
|
||||
temp.find('.pulse').remove();
|
||||
}
|
||||
var text = $(this).find('.selection-box-label.absolute-center')
|
||||
var text = $(this).find('.selection-box-label')
|
||||
text.append('<div class="anchor"></div>')
|
||||
temp.prepend('<i class="fa fa-map-marker"></i>')
|
||||
temp.find('.fa-map-marker').css('color',map_color)
|
||||
|
@ -77,25 +77,25 @@
|
|||
$(this).on('mouseleave',function(){
|
||||
var pin_link = $(this).find('.s-space__pin-link')
|
||||
if (!pin_link.is(':focus')){
|
||||
$(this).find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).find('.selection-box-label').removeClass('active')
|
||||
inactive_map(pin_link)
|
||||
}
|
||||
})
|
||||
temp.on('focus',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').addClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').addClass('active')
|
||||
active_map(this)
|
||||
})
|
||||
temp.on('mouseover',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').addClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').addClass('active')
|
||||
active_map(this)
|
||||
})
|
||||
temp.on('blur',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').removeClass('active')
|
||||
inactive_map(this)
|
||||
})
|
||||
temp.on('mouseleave',function(){
|
||||
if (!$(this).is(':focus')){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').removeClass('active')
|
||||
inactive_map(this)
|
||||
}
|
||||
})
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
if (obj[0].url == "#") {
|
||||
temp.find('.pulse').remove();
|
||||
}
|
||||
var text = $(this).find('.selection-box-label.absolute-center')
|
||||
var text = $(this).find('.selection-box-label')
|
||||
text.append('<div class="anchor"></div>')
|
||||
temp.prepend('<i class="fa fa-map-marker"></i>')
|
||||
temp.find('.fa-map-marker').css('color',map_color)
|
||||
|
@ -77,25 +77,25 @@
|
|||
$(this).on('mouseleave',function(){
|
||||
var pin_link = $(this).find('.s-space__pin-link')
|
||||
if (!pin_link.is(':focus')){
|
||||
$(this).find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).find('.selection-box-label').removeClass('active')
|
||||
inactive_map(pin_link)
|
||||
}
|
||||
})
|
||||
temp.on('focus',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').addClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').addClass('active')
|
||||
active_map(this)
|
||||
})
|
||||
temp.on('mouseover',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').addClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').addClass('active')
|
||||
active_map(this)
|
||||
})
|
||||
temp.on('blur',function(){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').removeClass('active')
|
||||
inactive_map(this)
|
||||
})
|
||||
temp.on('mouseleave',function(){
|
||||
if (!$(this).is(':focus')){
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label.absolute-center').removeClass('active')
|
||||
$(this).parents('.selection-box.overlay').find('.selection-box-label').removeClass('active')
|
||||
inactive_map(this)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue