Initial implementation of magnifier.

This commit is contained in:
Michael Jumper
2012-11-10 21:29:16 -08:00
parent 1a3801c2f7
commit bcfb2bd328
3 changed files with 211 additions and 5 deletions

View File

@@ -41,6 +41,13 @@ img {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#eventTarget {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
}
/* Dialogs */
div.dialogOuter {
@@ -163,6 +170,21 @@ div#display > * {
margin-right: auto;
}
div#magnifier {
display: none;
position: absolute;
left: 0;
right: 0;
z-index: 1;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.75);
width: 50%;
height: 50%;
overflow: hidden;
}
/* Viewport Clone */
div#viewportClone {