Use a "zoom-in" mouse cursor suggest the panel fixing.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user