Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-38893 - Fixing layout of the debug boxes for cache information un…

…der bootstrap - patch provided by David Scotson <david.scotson@glasgow.ac.uk>
  • Loading branch information...
commit c01404f99a62725a5c6f69bc08023977d02d36b1 1 parent 3a8c438
@jsnfwlr jsnfwlr authored
View
28 theme/bootstrap/less/moodle/debug.less
@@ -49,19 +49,27 @@
.performanceinfo .cachesused {
margin-top: 1em;
}
-.performanceinfo .cachesused .cache-stats-heading {
+.performanceinfo .cachesused .cache-stats-heading,
+.performanceinfo .cachesused .cache-total-stats {
font-weight: bold;
- text-decoration: underline;
font-size: 110%;
-}
-.performanceinfo .cachesused .cache-definition-stats {
- font-weight: bold;
margin-top: 0.3em;
}
-.performanceinfo .cachesused .cache-store-stats {
- text-indent: 1em;
+#page-footer .performanceinfo .cachesused .cache-definition-stats {
+ margin: .3em;
+ display: inline-block;
+ vertical-align: top;
+ background-color: @wellBackground;
}
-.performanceinfo .cachesused .cache-total-stats {
- font-weight: bold;
- margin-top: 0.3em;
+.cache-store-stats {
+ padding: 0 1.3em;
+}
+.cache-store-stats.nohits {
+ background-color: @errorBackground;
+}
+.cache-store-stats.lowhits {
+ background-color: @warningBackground;
}
+.cache-store-stats.hihits {
+ background-color: @successBackground;
+}
View
4 theme/bootstrap/style/generated.css
2 additions, 2 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.