From ca21be3e16b77fd1223a974a1a3f7616d63f4a0b Mon Sep 17 00:00:00 2001 From: Tobias Merkle Date: Sun, 2 Apr 2017 14:54:24 -0400 Subject: [PATCH 1/2] remove black border on buttons --- .../javascripts/components/components/video_player.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/components/components/video_player.jsx b/app/assets/javascripts/components/components/video_player.jsx index 1d41c14d4..92079387d 100644 --- a/app/assets/javascripts/components/components/video_player.jsx +++ b/app/assets/javascripts/components/components/video_player.jsx @@ -23,8 +23,8 @@ const muteStyle = { position: 'absolute', top: '10px', right: '10px', - color: 'white', - boxShadow: '1px 1px 1px #000', + color: white, + textShadow: "0px 1px 1px black, 1px 0px 1px black", opacity: '0.8', zIndex: '5' }; @@ -56,8 +56,8 @@ const spoilerButtonStyle = { position: 'absolute', top: '6px', left: '8px', - color: 'white', - boxShadow: '1px 1px 1px #000', + color: white, + textShadow: "0px 1px 1px black, 1px 0px 1px black", zIndex: '100' }; From f25fc04ea198fd3407232a629f0b7b21967b8c64 Mon Sep 17 00:00:00 2001 From: Tobias Merkle Date: Sun, 2 Apr 2017 14:55:13 -0400 Subject: [PATCH 2/2] single-quotes --- app/assets/javascripts/components/components/video_player.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/components/components/video_player.jsx b/app/assets/javascripts/components/components/video_player.jsx index 92079387d..ab21ca9cd 100644 --- a/app/assets/javascripts/components/components/video_player.jsx +++ b/app/assets/javascripts/components/components/video_player.jsx @@ -23,7 +23,7 @@ const muteStyle = { position: 'absolute', top: '10px', right: '10px', - color: white, + color: 'white', textShadow: "0px 1px 1px black, 1px 0px 1px black", opacity: '0.8', zIndex: '5' @@ -56,7 +56,7 @@ const spoilerButtonStyle = { position: 'absolute', top: '6px', left: '8px', - color: white, + color: 'white', textShadow: "0px 1px 1px black, 1px 0px 1px black", zIndex: '100' };