From f14d3d69f7b21bea3a621f3fcd4367fe2918b01c Mon Sep 17 00:00:00 2001 From: dignajar Date: Tue, 30 Aug 2016 21:57:24 -0300 Subject: [PATCH] Dashboard, Improves on Installer --- .../admin/themes/default2/css/default.css | 55 +++++++++++++++++++ bl-kernel/admin/themes/default2/index.php | 3 +- bl-kernel/admin/views/dashboard.php | 20 +++---- bl-kernel/admin/views/new-post.php | 4 +- install.php | 21 ++++--- 5 files changed, 82 insertions(+), 21 deletions(-) diff --git a/bl-kernel/admin/themes/default2/css/default.css b/bl-kernel/admin/themes/default2/css/default.css index ed16f111..d72b7c9b 100644 --- a/bl-kernel/admin/themes/default2/css/default.css +++ b/bl-kernel/admin/themes/default2/css/default.css @@ -10,18 +10,54 @@ width: 80% !important; } +/* UIKIT HACKs tabs +---------------------------------------------------------------- */ + +.uk-nav-dropdown > li > a:focus, +.uk-nav-dropdown > li > a:hover { + background-color: #007add !important; +} + /* UIKIT HACKs buttons ---------------------------------------------------------------- */ +.uk-button { + border-radius: 2px !important; + padding: 1px 20px !important; +} + +.uk-button-primary { + background-color: #007add !important; +} + +.uk-button-primary:hover, +.uk-button-primary:focus { + background-color: #0069BE !important; +} + + /* UIKIT HACKs forms ---------------------------------------------------------------- */ +.uk-form input:not([type]), .uk-form input[type="text"], .uk-form input[type="password"], .uk-form input[type="email"], .uk-form input[type="url"], .uk-form input[type="search"], .uk-form input[type="tel"], .uk-form input[type="number"], .uk-form input[type="datetime"], .uk-form input[type="datetime-local"], .uk-form input[type="date"], .uk-form input[type="month"], .uk-form input[type="time"], .uk-form input[type="week"], .uk-form input[type="color"], .uk-form select, .uk-form textarea { + border-radius: 2px !important; +} + +.uk-form-help-block { + color: #777 !important; + font-size: 0.9em !important; +} + /* CSS defaults ---------------------------------------------------------------- */ body { overflow-y: scroll; } +#bl-container { + margin-bottom: 20px; +} + /* TOPBAR ---------------------------------------------------------------- */ @@ -66,6 +102,10 @@ body { margin-right: 20px; } +#bl-view .uk-width-2-10 { + padding-left: 10px !important; +} + .plugin-incompatible, .theme-incompatible { background: #ffdc7d; @@ -77,6 +117,21 @@ body { padding: 1px 10px; } +/* DASHBOARD +---------------------------------------------------------------- */ + +#dashboard-panel .uk-panel { + background-color: #fafafa !important; + border: 1px solid #f8f8f8; + box-shadow: 5px 1px 1px #fdfdfd; + padding: 10px !important; +} + +#dashboard-panel .uk-panel h4.panel-title { + text-transform: uppercase; + font-size: 14px !important; +} + /* OLD ---------------------------------------------------------------- */ diff --git a/bl-kernel/admin/themes/default2/index.php b/bl-kernel/admin/themes/default2/index.php index 3c33c65f..278bf990 100644 --- a/bl-kernel/admin/themes/default2/index.php +++ b/bl-kernel/admin/themes/default2/index.php @@ -77,8 +77,7 @@ $(document).ready(function() { BLUDIT - -
+
diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php index 8c896d28..4fbeb69b 100644 --- a/bl-kernel/admin/views/dashboard.php +++ b/bl-kernel/admin/views/dashboard.php @@ -59,12 +59,12 @@
-
+
-
+
-
-

p('Statistics') ?>

+
+

p('Statistics') ?>

@@ -85,10 +85,10 @@ -
+
-
-

p('Drafts') ?>

+
+

p('Drafts') ?>

    -
    +
    -
    -

    p('Scheduled posts') ?>

    +
    +

    p('Scheduled posts') ?>

      'uk-form-stacked')); // ---- LEFT SIDE ---- echo '
      '; -echo '
      '; +echo '
      '; // Title input HTML::formInputText(array( @@ -39,7 +39,7 @@ echo '
      '; echo '
      '; // ---- RIGHT SIDE ---- -echo '