Merge branch 'MDL-63923-master' of git://github.com/bmbrands/moodle
[moodle.git] / theme / bootstrapbase / style / moodle.css
index 3e252bb..868a53c 100644 (file)
@@ -16266,39 +16266,86 @@ body {
   -moz-border-radius: 4px;
   border-radius: 4px;
   margin-bottom: 0.5rem;
+  margin-right: 0.25rem;
+  margin-left: 0.25rem;
   flex-grow: 0;
   flex-shrink: 0;
   min-width: 0;
-  width: 100%;
+  width: calc(100% - 0.5rem);
   flex-basis: auto;
 }
-@media (min-width: 576px) {
+@media (min-width: 647px) {
   .dashboard-card-deck .dashboard-card {
     display: flex;
     flex-direction: column;
-    margin-right: 0.25rem;
-    margin-left: 0.25rem;
     width: calc(50% - 0.5rem);
   }
 }
-@media (min-width: 1200px) {
+@media (min-width: 888px) {
   .dashboard-card-deck .dashboard-card {
     width: calc(33.333% - 0.5rem);
   }
 }
+@media (min-width: 1147px) {
+  .dashboard-card-deck .dashboard-card {
+    width: calc(25% - 0.5rem);
+  }
+}
+@media (min-width: 1407px) {
+  .dashboard-card-deck .dashboard-card {
+    width: calc(20% - 0.5rem);
+  }
+}
 @media (min-width: 768px) {
-  #block-region-side-post .dashboard-card-deck,
-  #block-region-side-pre .dashboard-card-deck {
-    margin: 0;
-    height: unset;
+  body.used-region-side-pre.empty-region-side-post .dashboard-card-deck .dashboard-card,
+  body.used-region-side-post.empty-region-side-pre .dashboard-card-deck .dashboard-card {
+    width: calc(100% - 0.5rem);
+  }
+}
+@media (min-width: 815px) {
+  body.used-region-side-pre.empty-region-side-post .dashboard-card-deck .dashboard-card,
+  body.used-region-side-post.empty-region-side-pre .dashboard-card-deck .dashboard-card {
+    width: calc(50% - 0.5rem);
+  }
+}
+@media (min-width: 1163px) {
+  body.used-region-side-pre.empty-region-side-post .dashboard-card-deck .dashboard-card,
+  body.used-region-side-post.empty-region-side-pre .dashboard-card-deck .dashboard-card {
+    width: calc(33.333% - 0.5rem);
+  }
+}
+@media (min-width: 1514px) {
+  body.used-region-side-pre.empty-region-side-post .dashboard-card-deck .dashboard-card,
+  body.used-region-side-post.empty-region-side-pre .dashboard-card-deck .dashboard-card {
+    width: calc(25% - 0.5rem);
   }
+}
+@media (min-width: 768px) {
+  body.used-region-side-pre.used-region-side-post .dashboard-card-deck .dashboard-card {
+    width: calc(100% - 0.5rem);
+  }
+}
+@media (min-width: 1144px) {
+  body.used-region-side-pre.used-region-side-post .dashboard-card-deck .dashboard-card {
+    width: calc(50% - 0.5rem);
+  }
+}
+@media (min-width: 1680px) {
+  body.used-region-side-pre.used-region-side-post .dashboard-card-deck .dashboard-card {
+    width: calc(33.333% - 0.5rem);
+  }
+}
+/* stylelint-disable declaration-no-important */
+@media (min-width: 768px) {
   #block-region-side-post .dashboard-card-deck .dashboard-card,
   #block-region-side-pre .dashboard-card-deck .dashboard-card {
-    width: 100%;
-    margin-left: 0;
-    margin-right: 0;
+    width: calc(100% - 0.5rem) !important;
   }
 }
+.block_docked .dashboard-card {
+  width: calc(100% - 0.5rem) !important;
+}
+/* stylelint-enable */
 .dashboard-card-img {
   height: 7rem;
   background-position: center;