From 24877f1ed91380c76c49e3780f3c70c009509b07 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 4 Jul 2021 14:50:48 +0200 Subject: Use list for item meta elements --- theme/admin/html/category/item.php | 16 +++++++++++----- theme/admin/html/page/item.php | 12 ++++++++---- theme/admin/html/post/item.php | 14 ++++++++++---- theme/admin/html/user/item.php | 8 +++++--- theme/admin/rsrc/css/main.css | 8 ++++++++ theme/admin/rsrc/css/main.scss | 10 ++++++++++ 6 files changed, 52 insertions(+), 16 deletions(-) (limited to 'theme') diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php index f8e7223..ad458d6 100644 --- a/theme/admin/html/category/item.php +++ b/theme/admin/html/category/item.php @@ -4,11 +4,17 @@ # -
- - text('posts')?>: - text('categories')?>: -
+
diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php index 267416a..c88256e 100644 --- a/theme/admin/html/page/item.php +++ b/theme/admin/html/page/item.php @@ -4,10 +4,14 @@ # -
- " title="text('update_user')?>"> - -
+
diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index 330e682..03b39d3 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -4,13 +4,19 @@ # -
- " title="text('update_user')?>"> +
+
  • + +
  • +
    diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php index 80edd3b..c84e24b 100644 --- a/theme/admin/html/user/item.php +++ b/theme/admin/html/user/item.php @@ -4,9 +4,11 @@ # -
    - -
    +
      +
    • + +
    • +
    diff --git a/theme/admin/rsrc/css/main.css b/theme/admin/rsrc/css/main.css index 63c9dd0..9ffea66 100644 --- a/theme/admin/rsrc/css/main.css +++ b/theme/admin/rsrc/css/main.css @@ -457,6 +457,14 @@ table, td { font-size: 0.7rem; font-weight: normal; } +.item-meta { + margin: 0; + padding: 0; + list-style: none; +} +.item-meta li { + display: inline-block; +} .item-image { float: left; display: block; diff --git a/theme/admin/rsrc/css/main.scss b/theme/admin/rsrc/css/main.scss index e8944ea..a83e1e8 100644 --- a/theme/admin/rsrc/css/main.scss +++ b/theme/admin/rsrc/css/main.scss @@ -507,6 +507,16 @@ table, td { font-weight: normal; } + &-meta { + margin: 0; + padding: 0; + list-style: none; + + li { + display: inline-block; + } + } + &-image { float: left; display: block; -- cgit v1.2.3