show/hide menu if elem hovered
This commit is contained in:
parent
f02f050e56
commit
76e55f1132
|
@ -15,13 +15,12 @@
|
||||||
/*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);*/
|
/*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);*/
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
margin-bottom: 35px;
|
|
||||||
|
|
||||||
&__menu-padding {
|
&__menu-padding {
|
||||||
height: 35px;
|
height: 10px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -35px;
|
bottom: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__showmore {
|
&__showmore {
|
||||||
|
|
|
@ -113,11 +113,23 @@
|
||||||
/**
|
/**
|
||||||
* Hovered video thumbnail.
|
* Hovered video thumbnail.
|
||||||
*/
|
*/
|
||||||
#remoteVideos .videocontainer:hover {
|
#remoteVideos .videocontainer {
|
||||||
|
.remotevideomenu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show/hide items for hover event here
|
||||||
|
*/
|
||||||
|
&:hover {
|
||||||
cursor: hand;
|
cursor: hand;
|
||||||
border: 2px solid $videoThumbnailHovered;
|
border: 2px solid $videoThumbnailHovered;
|
||||||
box-shadow: inset 0 0 3px $videoThumbnailHovered,
|
box-shadow: inset 0 0 3px $videoThumbnailHovered,
|
||||||
0 0 3px $videoThumbnailHovered;
|
0 0 3px $videoThumbnailHovered;
|
||||||
|
.remotevideomenu {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#localVideoWrapper {
|
#localVideoWrapper {
|
||||||
|
|
|
@ -53,7 +53,8 @@ var JitsiPopover = (function () {
|
||||||
`<div class="jitsipopover ${this.options.skin}">
|
`<div class="jitsipopover ${this.options.skin}">
|
||||||
${arrow}
|
${arrow}
|
||||||
<div class="jitsipopover__content"></div>
|
<div class="jitsipopover__content"></div>
|
||||||
<div class="jitsipopover__menu-padding"></div></div>`
|
<div class="jitsipopover__menu-padding"></div>
|
||||||
|
</div>`
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -516,7 +516,7 @@ RemoteVideo.prototype.addRemoteStreamElement = function (stream) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$(streamElement).click(onClickHandler);
|
$(streamElement).click(onClickHandler);
|
||||||
},
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show/hide peer container for the given id.
|
* Show/hide peer container for the given id.
|
||||||
|
|
Loading…
Reference in New Issue