Add viewer controls.. Rotation works and will cache val per sequence

This commit is contained in:
Bryan Housel
2017-11-06 10:41:17 -05:00
parent ccc8153370
commit eefbb68dda
3 changed files with 96 additions and 11 deletions
+34
View File
@@ -21,6 +21,7 @@
.photo-wrapper img {
width: 100%;
height: 100%;
overflow: hidden;
}
@@ -151,3 +152,36 @@
.osc-attribution a:hover {
color: #77ddff;
}
.osc-controls-wrap {
text-align: center;
position: absolute;
top: 10px;
width: 100%;
z-index: 10;
}
.osc-controls {
display: inline-block;
z-index: 10;
}
.osc-controls button {
height: 18px;
width: 18px;
background: rgba(0,0,0,0.65);
color: #eee;
border-radius: 0;
}
.osc-controls button:first-of-type {
border-radius: 3px 0 0 3px;
}
.osc-controls button:last-of-type {
border-radius: 0 3px 3px 0;
}
.osc-controls button:hover,
.osc-controls button:active,
.osc-controls button:focus {
background: rgba(0,0,0,0.85);
color: #fff;
}