MDL-58732 block_myoverview: improve style of empty course palceholder
authorRyan Wyllie <ryan@moodle.com>
Mon, 1 May 2017 02:17:47 +0000 (02:17 +0000)
committerRyan Wyllie <ryan@moodle.com>
Mon, 1 May 2017 02:17:47 +0000 (02:17 +0000)
blocks/myoverview/templates/course-event-list.mustache
theme/boost/scss/moodle/blocks.scss
theme/bootstrapbase/less/moodle/blocks.less
theme/bootstrapbase/style/moodle.css
theme/bootstrapbase/templates/block_myoverview/course-event-list.mustache

index ac16e44..036d55c 100644 (file)
@@ -87,7 +87,7 @@
             </button>
         </div>
     </div>
-    <div class="hidden text-xs-center text-center" data-region="empty-message">
+    <div class="hidden text-xs-center text-center m-y-3" data-region="empty-message">
         <img class="empty-placeholder-image-sm"
              src="{{urls.noevents}}"
              alt="{{#str}} noevents, block_myoverview {{/str}}">
index 889363d..bfa7815 100644 (file)
@@ -186,13 +186,11 @@ $doughnut-fill-colour: $brand-warning;
     }
 
     .empty-placeholder-image-sm {
-        height: 70px;
-        width: 85px;
+        height: 50px;
     }
 
     .empty-placeholder-image-lg {
         height: 125px;
-        width: 145px;
     }
 
     .courses-view-course-item {
index caf8d62..c42131d 100644 (file)
     }
 
     .empty-placeholder-image-sm {
-        height: 70px;
-        width: 85px;
+        height: 50px;
     }
 
     .empty-placeholder-image-lg {
         height: 125px;
-        width: 145px;
     }
 
     .courses-view-course-item {
index 5487b8d..7614364 100644 (file)
@@ -16404,12 +16404,10 @@ body {
   display: block;
 }
 .block_myoverview .empty-placeholder-image-sm {
-  height: 70px;
-  width: 85px;
+  height: 50px;
 }
 .block_myoverview .empty-placeholder-image-lg {
   height: 125px;
-  width: 145px;
 }
 .block_myoverview .courses-view-course-item {
   height: 220px;
index 555966e..526fc8e 100644 (file)
@@ -86,7 +86,7 @@
             </button>
         </div>
     </div>
-    <div class="hidden text-xs-center text-center" data-region="empty-message">
+    <div class="hidden text-xs-center text-center m-y-3" data-region="empty-message">
         <img class="empty-placeholder-image-sm"
              src="{{urls.noevents}}"
              alt="{{#str}} noevents, block_myoverview {{/str}}">