From ebaaca1a36db9f51e1aeb0a37f8dc1733ccdcbf7 Mon Sep 17 00:00:00 2001 From: waqas ahmad Date: Fri, 2 Apr 2021 18:20:53 +0500 Subject: [PATCH 1/2] Add image on lms view --- image_explorer/public/css/image_explorer.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/image_explorer/public/css/image_explorer.css b/image_explorer/public/css/image_explorer.css index bad4798..81f6cb3 100644 --- a/image_explorer/public/css/image_explorer.css +++ b/image_explorer/public/css/image_explorer.css @@ -50,6 +50,9 @@ -webkit-transition: all 0.0s linear 0s; -moz-transition: all 0.0s linear 0s; transition: all 0.0s linear 0s; + background: url("/static/studio/xblock/resources/image_explorer/public/images/hotspot-sprite.8e637638fd95.png") 0px 0px no-repeat scroll rgba(0, 0, 0, 0) !important; + outline: none; + box-shadow: none; } .image-explorer-wrapper button.image-explorer-hotspot > span{ display: none;} @@ -102,6 +105,16 @@ button.image-explorer-hotspot .image-explorer-hotspot-reveal .image-explorer-hot position: absolute; top: 0; right: 0; + box-shadow: none; + outline: none; +} + +.image-explorer-close-reveal:hover, +.image-explorer-close-reveal:active { + box-shadow: none; + background-color: transparent; + background-image: none; + border: 0; } .codemirror-editor-wrapper { From 666673f2361074fa553a41d9b43bfe13c5738dc9 Mon Sep 17 00:00:00 2001 From: waqas ahmad Date: Fri, 2 Apr 2021 18:58:08 +0500 Subject: [PATCH 2/2] Fix style --- image_explorer/public/css/image_explorer.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/image_explorer/public/css/image_explorer.css b/image_explorer/public/css/image_explorer.css index 81f6cb3..9dba9e2 100644 --- a/image_explorer/public/css/image_explorer.css +++ b/image_explorer/public/css/image_explorer.css @@ -111,10 +111,10 @@ button.image-explorer-hotspot .image-explorer-hotspot-reveal .image-explorer-hot .image-explorer-close-reveal:hover, .image-explorer-close-reveal:active { - box-shadow: none; - background-color: transparent; - background-image: none; - border: 0; + box-shadow: none !important; + background-color: transparent !important; + background-image: none !important; + border: 0 !important; } .codemirror-editor-wrapper {