From 887322c29d0e6c08b095a1e109ed7685079364f6 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Fri, 21 Apr 2017 13:37:24 +0000 Subject: [PATCH] Move general zoom popup styles to main CSS file. WIP #815 @0:15 --- inc/ws/Util/html5/class.ws.html5.links.php | 45 ---------------------- 1 file changed, 45 deletions(-) diff --git a/inc/ws/Util/html5/class.ws.html5.links.php b/inc/ws/Util/html5/class.ws.html5.links.php index a75a56854..614da6d40 100644 --- a/inc/ws/Util/html5/class.ws.html5.links.php +++ b/inc/ws/Util/html5/class.ws.html5.links.php @@ -1104,52 +1104,7 @@ class zoomLink extends normalLink { return $res; } - public function getClasses() { return array_merge(['zoomPopup'], parent::getClasses()); } - - public function getCSSContainer() { - $css = " - #zoomPopupOverlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: rgba(0,0,0,0.6); - z-index: 100; - display: none; - } - - body.zoomPopup #zoomPopupOverlay { - display: block; - } - - #zoomPopupWrapper { - display: none; - background-color: #ffcc00; - background-repeat: no-repeat; - background-position: center; - background-size: cover; - transition: all 0.5s ease-in-out; - position: absolute; - z-index: 101; - } - - .zoomPopupClose { - position: absolute; - top: 10px; - right: 10px; - width: 20px; - height: 20px; - background: url('../images/interface-close.svg') center no-repeat; - background-size: contain; - }"; - - return parent::getCSSContainer() . $css; - } - - - } \ No newline at end of file -- 2.39.5