diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-14 09:54:04 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-14 09:54:04 -0400 |
| commit | 7921253dfc1e115b9e8beaa845f952fa5c3eb226 (patch) | |
| tree | 3c785523ab35f421b69ad3c5517e22d2bb55027a /src/client/views/collections/CollectionVideoView.scss | |
| parent | f905d60fecaf7301c1ffb716529d6e5b86130798 (diff) | |
fixed zoom behavior of pdf / video buttons.
Diffstat (limited to 'src/client/views/collections/CollectionVideoView.scss')
| -rw-r--r-- | src/client/views/collections/CollectionVideoView.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionVideoView.scss b/src/client/views/collections/CollectionVideoView.scss index 6c2f5a62a..ec3c0327d 100644 --- a/src/client/views/collections/CollectionVideoView.scss +++ b/src/client/views/collections/CollectionVideoView.scss @@ -1,4 +1,9 @@ -.collectionVideoView-controls{ +.collectionVideoView-buttonTray{ + width: 100%; + height: 100%; + position: absolute; +} +.collectionVideoView-cont{ width: 100%; height: 100%; position: absolute; @@ -9,6 +14,7 @@ left : 25px; position: absolute; background-color: rgba(50, 50, 50, 0.2); + transform-origin: left top; } .collectionVideoView-play { width: 25px; @@ -20,6 +26,7 @@ background-color: rgba(50, 50, 50, 0.2); border-radius: 4px; text-align: center; + transform-origin: left bottom; } .collectionVideoView-full { width: 25px; @@ -31,5 +38,6 @@ background-color: rgba(50, 50, 50, 0.2); border-radius: 4px; text-align: center; + transform-origin: right bottom; }
\ No newline at end of file |
