Use a "zoom-in" mouse cursor suggest the panel fixing.

vnext
Paul Schneider 10 years ago
parent 0f2b8ed8cf
commit b578f6c623
2 changed files with 8 additions and 1 deletions

@ -85,7 +85,10 @@
</script> <script>
$( ".bshd" ).on("click",function(e) {
if (e.target == "[object HTMLElement]") {
$(this).children(".bshpanel").toggleClass("hidden");
var panel = $(this).children(".bshpanel");
if (panel.hasClass("hidden")) panel.css("cursor","zoom-out");
else panel.css("cursor","zoom-in");
panel.toggleClass("hidden");
$(this).children(".bsh").toggleClass("hidden");
} });
</script>

@ -28,7 +28,10 @@ main {
border-radius:5px; border: solid 1px #000060;
float: right;
}
.bsh { float: right; }
video,img {
max-width:100%;
max-height:75%;
@ -184,6 +187,7 @@ padding-left: 20px;
}
@media all and (max-width: 640px) {
.bshpanel { cursor:zoom-in; }
.bshd:hover > .bshpanel {
display: block;

Loading…