From d64def4d532aa6805cc2cf642edcdd8c8761c525 Mon Sep 17 00:00:00 2001
From: Bas Brands <bas@moodle.com>
Date: Mon, 2 Nov 2020 11:29:23 +0000
Subject: [PATCH] MDL-70100 theme_boost: quiztimer zindex fix

---
 theme/boost/scss/moodle/modules.scss | 2 +-
 theme/boost/style/moodle.css         | 2 +-
 theme/classic/style/moodle.css       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/theme/boost/scss/moodle/modules.scss b/theme/boost/scss/moodle/modules.scss
index 971c1879b8d..5218e74732c 100644
--- a/theme/boost/scss/moodle/modules.scss
+++ b/theme/boost/scss/moodle/modules.scss
@@ -1275,7 +1275,7 @@ div#dock {
     position: sticky;
     justify-content: end;
     top: $navbar-height + 5px;
-    z-index: $zindex-modal;
+    z-index: $zindex-sticky;
     #quiz-timer {
         border: $border-width solid $red;
         background-color: $white;
diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css
index fcce58b62ea..441b7af193c 100644
--- a/theme/boost/style/moodle.css
+++ b/theme/boost/style/moodle.css
@@ -17569,7 +17569,7 @@ div#dock {
   position: sticky;
   justify-content: end;
   top: 55px;
-  z-index: 1050; }
+  z-index: 1020; }
   #quiz-timer-wrapper #quiz-timer {
     border: 1px solid #ca3120;
     background-color: #fff; }
diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css
index a52cae54b5a..22c43409b27 100644
--- a/theme/classic/style/moodle.css
+++ b/theme/classic/style/moodle.css
@@ -17796,7 +17796,7 @@ div#dock {
   position: sticky;
   justify-content: end;
   top: 55px;
-  z-index: 1050; }
+  z-index: 1020; }
   #quiz-timer-wrapper #quiz-timer {
     border: 1px solid #ca3120;
     background-color: #fff; }