diff css/core.css @ 2297:b0b4d264d9a8

Fix for #28. z-index properly managed and elements fixed
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 27 Apr 2016 09:59:01 +0100
parents e59327ebdb15
children 42f4d06fa98a
line wrap: on
line diff
--- a/css/core.css	Wed Apr 27 09:47:45 2016 +0100
+++ b/css/core.css	Wed Apr 27 09:59:01 2016 +0100
@@ -41,8 +41,8 @@
 	background-color: #fff;
 	border-radius: 10px;
 	box-shadow: 0px 0px 50px #000;
-	z-index: 2;
-    position: absolute;
+	z-index: 10;
+    position: fixed;
 }
 
 div#popupContent {
@@ -107,10 +107,10 @@
 	/* Specify any colouring during the test halt for pre/post questions */
 	background-color: rgba(0,0,0,0.5);
 	/* Don't mess with this bit */
-	z-index: 2;
+	z-index: 9;
 	width: 100%;
 	height: 100%;
-	position: absolute;
+	position: fixed;
 	left: 0px;
 	top: 0px;
 }