From cb5f723e88eec5f75b65a15eeecfb6ed817b6f44 Mon Sep 17 00:00:00 2001
From: Thomas ZILLIOX <thomas@zilliox.me>
Date: Fri, 27 Sep 2013 22:29:22 +0200
Subject: [PATCH] Alignment of the dashboard elements

---
 plugins/CoreHome/stylesheets/coreHome.less     | 2 +-
 plugins/Dashboard/stylesheets/dashboard.less   | 6 +++++-
 plugins/Dashboard/templates/embeddedIndex.twig | 2 --
 plugins/LeftMenu/stylesheets/theme.less        | 1 +
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/plugins/CoreHome/stylesheets/coreHome.less b/plugins/CoreHome/stylesheets/coreHome.less
index 71a130f999..61738c2c81 100644
--- a/plugins/CoreHome/stylesheets/coreHome.less
+++ b/plugins/CoreHome/stylesheets/coreHome.less
@@ -48,7 +48,7 @@ h3 {
 
 /* Content */
 #content.home {
-    padding-top: 5px;
+    padding-top: 15px;
     font-size: 14px;
 }
 
diff --git a/plugins/Dashboard/stylesheets/dashboard.less b/plugins/Dashboard/stylesheets/dashboard.less
index f00fe46366..b39bcf2bf1 100644
--- a/plugins/Dashboard/stylesheets/dashboard.less
+++ b/plugins/Dashboard/stylesheets/dashboard.less
@@ -83,6 +83,10 @@
     z-index: 1;
 }
 
+.widget:first-child {
+    margin-top: 0;
+}
+
 .widgetHover {
     border: 1px solid #aba494;
 }
@@ -124,7 +128,7 @@
 }
 
 .widgetTopHover {
-    background: #B0A798 url(plugins/Zeitgeist/images/dashboard_h_bg_hover.png) repeat-x 0 0;
+    background: #C4BBAD url(plugins/Zeitgeist/images/dashboard_h_bg_hover.png) repeat-x 0 0;
 }
 
 .widgetName {
diff --git a/plugins/Dashboard/templates/embeddedIndex.twig b/plugins/Dashboard/templates/embeddedIndex.twig
index e509b5c4b7..ff71623b4b 100644
--- a/plugins/Dashboard/templates/embeddedIndex.twig
+++ b/plugins/Dashboard/templates/embeddedIndex.twig
@@ -122,7 +122,5 @@
         <div class="widgetpreview-preview"></div>
     </div>
 
-    <div class="clear"></div>
-
     <div id="dashboardWidgetsArea"></div>
 </div>
diff --git a/plugins/LeftMenu/stylesheets/theme.less b/plugins/LeftMenu/stylesheets/theme.less
index 12c5ceecd5..ed21fb4ab5 100644
--- a/plugins/LeftMenu/stylesheets/theme.less
+++ b/plugins/LeftMenu/stylesheets/theme.less
@@ -6,6 +6,7 @@
   padding: 0;
   float: left;
   width: 240px;
+  padding-top: 10px;
 }
 
 .Menu--dashboard > .Menu-tabList {
-- 
GitLab