From a21c6f8785ac4967f21ffe25bb28652e3383f951 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jana=20Deutschla=CC=88nder?= <deutschlaender@cosmocode.de>
Date: Thu, 13 Apr 2017 12:44:53 +0200
Subject: [PATCH] SPR-869: debug for wiki in root

---
 css/area_nav-page-attributes.less | 25 +++++++++++++++++++++++++
 js/plugins/qc.js                  |  4 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/css/area_nav-page-attributes.less b/css/area_nav-page-attributes.less
index eb9d612..6cfa847 100644
--- a/css/area_nav-page-attributes.less
+++ b/css/area_nav-page-attributes.less
@@ -12,6 +12,13 @@
         max-width: 90%;
     }
 
+    li.plugin_qc .qc_icon svg {
+        margin-left: 0;
+        margin-top: 0.2em;
+        width: 1.5em;
+        height: 1.5em;
+    }
+
     > li {
         .btn-usertools-wrapper(); // uniform li
         .btn-usertools-num();
@@ -26,6 +33,24 @@
         text-align: center;
         margin: 0 .25rem;
 
+        a {
+            display: block;
+            width: auto;
+            min-height: 26px;
+            &:hover, &:focus, &:active {
+                background-color: @ini_nav_menu_hover_color;
+                border-color: @ini_nav_menu_hover_color;
+                color: @ini_nav_menu_hover_bg;
+                span.qc_icon {
+                    &.qc_bad, &.qc_meh, &.qc_good {
+                        fill: @ini_nav_menu_hover_bg;
+                        color: @ini_nav_menu_hover_bg;
+                    }
+                }
+
+            }
+        }
+
         .prefix {
             .btn-prefix ();
             .icon-clipboard();
diff --git a/js/plugins/qc.js b/js/plugins/qc.js
index 65d795b..5a0de75 100644
--- a/js/plugins/qc.js
+++ b/js/plugins/qc.js
@@ -6,7 +6,7 @@ jQuery(function () {
 
     // load summary
     jQuery('.page-attributes .plugin_qc a').load(
-        DOKU_BASE + '/lib/exe/ajax.php',
+        DOKU_BASE + 'lib/exe/ajax.php',
         {
             call: 'plugin_qc_short',
             id: JSINFO['id']
@@ -20,7 +20,7 @@ jQuery(function () {
         if ($panel.html() == '') {
             // load output
             $panel.load(
-                DOKU_BASE + '/lib/exe/ajax.php',
+                DOKU_BASE + 'lib/exe/ajax.php',
                 {
                     call: 'plugin_qc_long',
                     id: JSINFO['id']