From 5c043c6311345d0c195d2068c547aedcbe52cacc Mon Sep 17 00:00:00 2001 From: Omar Chehab Date: Tue, 11 Jun 2019 19:36:44 -0700 Subject: [PATCH] server/perkeepd/ui: Fix blob item video play button styling Closes #776 Change-Id: I85c17f5478b476c06de611f759f618e608120976 --- server/perkeepd/ui/blob_item_video.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/server/perkeepd/ui/blob_item_video.css b/server/perkeepd/ui/blob_item_video.css index f8fbcbebb..3847cc3ad 100644 --- a/server/perkeepd/ui/blob_item_video.css +++ b/server/perkeepd/ui/blob_item_video.css @@ -35,19 +35,10 @@ limitations under the License. .cam-blobitem-video .fa-pause { cursor: default; position: absolute; - left: 35%; - top: 40%; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); color: rgba(125, 125, 125, 0.85); line-height: 100%; -} - -.cam-blobitem-video .fa-pause { - left: 32%; -} - -.cam-blobitem-video-loaded .fa-play { - left: 40%; -} -.cam-blobitem-video-loaded .fa-pause { - left: 37%; + cursor: pointer; }