From 816959215dff92ee0af295be6d801b4cfa150269 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 31 May 2017 15:44:11 +0200 Subject: Two changes have been made in this commit: + Update [core]: Parsedown has been updated to version 1.6.2. + Optimization [admin template]: The markdown buttons have been placed directly above the content editor. + Optimization [admin template]: The content editor has been visually embellished (padding from the parent was removed). --- template/admin/html/database.php | 2 +- template/admin/html/page/form.php | 32 ++++++++++++++++---------------- template/admin/html/post/form.php | 32 ++++++++++++++++---------------- template/admin/html/user/form.php | 32 ++++++++++++++++---------------- template/admin/rsrc/main.css | 16 ++++++++++++---- 5 files changed, 61 insertions(+), 53 deletions(-) (limited to 'template') diff --git a/template/admin/html/database.php b/template/admin/html/database.php index 8e69459..69dce0a 100644 --- a/template/admin/html/database.php +++ b/template/admin/html/database.php @@ -10,7 +10,7 @@
-
+
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 93c45fe..8930ec3 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -50,12 +50,22 @@
-
+
+
+
    +
  • +
  • +
  • + +
  • +
  • +
  • +
  • +
  • +
+
-
- -
    $data):?> @@ -63,18 +73,8 @@
-
-
    -
  • -
  • -
  • - -
  • -
  • -
  • -
  • -
  • -
+
+
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 14888aa..1f69529 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -50,12 +50,22 @@
-
+
+
+
    +
  • +
  • +
  • + +
  • +
  • +
  • +
  • +
  • +
+
-
- -
    $data):?> @@ -63,18 +73,8 @@
-
-
    -
  • -
  • -
  • - -
  • -
  • -
  • -
  • -
  • -
+
+
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 3da96d2..8156496 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -56,12 +56,22 @@
-
+
+
+
    +
  • +
  • +
  • + +
  • +
  • +
  • +
  • +
  • +
+
-
- -
    $data):?> @@ -69,18 +79,8 @@
-
-
    -
  • -
  • -
  • - -
  • -
  • -
  • -
  • -
  • -
+
+
diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css index ed79989..e19aa31 100644 --- a/template/admin/rsrc/main.css +++ b/template/admin/rsrc/main.css @@ -177,11 +177,19 @@ form{border:0.05rem solid #AAA;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Form buttons /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.button-list {margin:0;padding:0;list-style:none;} -.button-list > li{display:inline-block;background:#EEE;padding:0.5rem;border:0.05rem solid #AAA;cursor:pointer;} +#button-list-wrapper{border-bottom:0.05rem solid #AAA;background:#EEE;} + +.button-list{margin:0;padding:0;list-style:none;} +.button-list.emoticons > li{display:inline-block;background:#EEE;padding:0.5rem;border:0.05rem solid #AAA;cursor:pointer;} .button-list.emoticons > li {padding:0.25rem 0.5rem;} -.button-list > li:hover, -.button-list > li:active{background:#CCC;} +.button-list.emoticons > li:hover, +.button-list.emoticons > li:active{background:#CCC;} + +.button-list.markdown > li{float:left;padding:0.5rem;cursor:pointer;width:1.75rem;height:1.75rem;box-sizing:border-box;text-align:center;} +.button-list.markdown > li:hover, +.button-list.markdown > li:active{color:#40779A;} + +#content-editor{border:none;margin:0;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Form elements -- cgit v1.2.3