MDL-59382 theme: bring the date picker forward
authorSimey Lameze <simey@moodle.com>
Tue, 1 Aug 2017 04:02:35 +0000 (12:02 +0800)
committerRyan Wyllie <ryan@moodle.com>
Wed, 2 Aug 2017 07:52:20 +0000 (07:52 +0000)
theme/bootstrapbase/less/bootstrap/variables.less
theme/bootstrapbase/less/moodle/calendar.less
theme/bootstrapbase/less/moodle/modal.less
theme/bootstrapbase/style/moodle.css

index 220bbde..934de95 100644 (file)
 @zindexFixedNavbar:       1030;
 @zindexModalBackdrop:     1040;
 @zindexModal:             1050;
-
+@zindexModalContainer:    4050;
 
 // Sprite icons path
 // -------------------------
index f8f9ca5..cbb29dc 100644 (file)
@@ -22,6 +22,9 @@
 
 // Calendar restyling.
 .path-calendar {
+    #dateselector-calendar-panel {
+        z-index: @zindexModalContainer+4;
+    }
     .calendartable {
         width: 100%;
         th,
index ecf0b0c..819acc1 100644 (file)
@@ -10,7 +10,7 @@ body {
     right: 0;
     bottom: 0;
     left: 0;
-    z-index: 4050;
+    z-index: @zindexModalContainer;
     outline: 0;
     overflow-x: hidden;
     overflow-y: auto;
index 77d5aa2..52e7b7f 100644 (file)
@@ -5551,6 +5551,9 @@ img.iconsmall {
 .calendar_event_user {
   background-color: #dce7ec;
 }
+.path-calendar #dateselector-calendar-panel {
+  z-index: 4054;
+}
 .path-calendar .calendartable {
   width: 100%;
 }