From 137ef1f781e9608e2ad1386a9ce84a42db519341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 1 Feb 2016 21:17:18 +0100 Subject: [PATCH] ux(home dashboard): minor polish to home dashboard header --- public/dashboards/home.json | 7 ++++--- public/less/grafana.less | 15 +++++++++------ 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/public/dashboards/home.json b/public/dashboards/home.json index 735586c0f40..e05a882ef57 100644 --- a/public/dashboards/home.json +++ b/public/dashboards/home.json @@ -12,10 +12,10 @@ { "collapse": false, "editable": true, - "height": "100px", + "height": "90px", "panels": [ { - "content": "
\nHome Dashboard\n
", + "content": "
\n Home Dashboard\n
", "editable": true, "id": 1, "mode": "html", @@ -23,7 +23,8 @@ "style": {}, "title": "", "transparent": true, - "type": "text" + "type": "text", + "links": [] } ], "title": "New row" diff --git a/public/less/grafana.less b/public/less/grafana.less index 041636d5448..88745f6a57b 100644 --- a/public/less/grafana.less +++ b/public/less/grafana.less @@ -391,12 +391,15 @@ } .dashboard-header { - margin-top: 1rem; font-family: "grafana-icons"; font-size: 22px; - padding-bottom: 1rem; - border: none; - border-bottom: 2px solid transparent; - border-image: linear-gradient(to right, rgba(255,213,0,1) 0%, rgba(255,68,0,1) 99%, rgba(255,68,0,1) 100%); - border-image-slice: 1; + text-align: center; + span { + display: inline-block; + border: none; + border-image: linear-gradient(to right, rgba(255,213,0,1) 0%, rgba(255,68,0,1) 99%, rgba(255,68,0,1) 100%); + border-image-slice: 1; + border-bottom: 2px solid transparent; + padding: 1.2rem 3rem 0.8rem 3rem; + } }