Explorar o código

ux: updated look of info box

Torkel Ödegaard %!s(int64=8) %!d(string=hai) anos
pai
achega
2479ad262e

+ 1 - 1
public/app/features/templating/partials/editor.html

@@ -72,7 +72,7 @@
 
 
     <div ng-show="mode === 'help'">
     <div ng-show="mode === 'help'">
 			<div class="grafana-info-box col-lg-8">
 			<div class="grafana-info-box col-lg-8">
-				<h3 class="page-heading">What does templating do?</h3>
+				<h5>What does templating do?</h5>
 				<p>Templating allows for more interactive and dynamic dashboards. Instead of hard-coding things like server, application
 				<p>Templating allows for more interactive and dynamic dashboards. Instead of hard-coding things like server, application
 				and sensor name in you metric queries you can use variables in their place. Variables are shown as dropdown select boxes at the top of
 				and sensor name in you metric queries you can use variables in their place. Variables are shown as dropdown select boxes at the top of
 				the dashboard. These dropdowns make it easy to change the data being displayed in your dashboard.
 				the dashboard. These dropdowns make it easy to change the data being displayed in your dashboard.

+ 1 - 0
public/app/partials/metrics.html

@@ -17,3 +17,4 @@
   </rebuild-on-change>
   </rebuild-on-change>
 </div>
 </div>
 
 
+<div class="clearfix"></div>

+ 5 - 3
public/sass/components/_infobox.scss

@@ -10,9 +10,11 @@
 
 
 .grafana-info-box {
 .grafana-info-box {
   position: relative;
   position: relative;
-  padding: 5px 20px;
-  background-color: $tight-form-bg;
-  border: 1px solid $tight-form-border;
+  background: $card-background;
+  box-shadow: $card-shadow;
+  padding: 1rem;
+  border-radius: 4px;
+
   h5 {
   h5 {
     margin-top: 5px;
     margin-top: 5px;
   }
   }