Use a "zoom-in" mouse cursor suggest the panel fixing.
This commit is contained in:
parent
0f2b8ed8cf
commit
b578f6c623
2 changed files with 8 additions and 1 deletions
|
|
@ -85,7 +85,10 @@
|
||||||
</script> <script>
|
</script> <script>
|
||||||
$( ".bshd" ).on("click",function(e) {
|
$( ".bshd" ).on("click",function(e) {
|
||||||
if (e.target == "[object HTMLElement]") {
|
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");
|
$(this).children(".bsh").toggleClass("hidden");
|
||||||
} });
|
} });
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,10 @@ main {
|
||||||
border-radius:5px; border: solid 1px #000060;
|
border-radius:5px; border: solid 1px #000060;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bsh { float: right; }
|
.bsh { float: right; }
|
||||||
|
|
||||||
|
|
||||||
video,img {
|
video,img {
|
||||||
max-width:100%;
|
max-width:100%;
|
||||||
max-height:75%;
|
max-height:75%;
|
||||||
|
|
@ -184,6 +187,7 @@ padding-left: 20px;
|
||||||
}
|
}
|
||||||
@media all and (max-width: 640px) {
|
@media all and (max-width: 640px) {
|
||||||
|
|
||||||
|
.bshpanel { cursor:zoom-in; }
|
||||||
|
|
||||||
.bshd:hover > .bshpanel {
|
.bshd:hover > .bshpanel {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue