From 01cbd757d69668b39c1b072b0449b77e6e2bee8d Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 14 Jul 2021 16:42:16 +0200 Subject: Do some minor optimizations on the admin theme * Add noisy background images * Rename SCSS/CSS file "main" to "bright" * Remove uppercase text-transform for headings * Replace hardcoded font sizes with SCSS variables * Decrease font size for category link in post item template * Move right-floated ID before the heading in the HTML markup to ensure it does not moves to the second line if the heading text is too wide. --- theme/admin/html/category/item.php | 2 +- theme/admin/html/main.php | 2 +- theme/admin/html/page/item.php | 2 +- theme/admin/html/post/item.php | 2 +- theme/admin/html/user/item.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'theme/admin/html') diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php index 710253c..0c6d243 100644 --- a/theme/admin/html/category/item.php +++ b/theme/admin/html/category/item.php @@ -1,8 +1,8 @@

- # +

  • diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php index a0a1412..82dd407 100644 --- a/theme/admin/html/main.php +++ b/theme/admin/html/main.php @@ -11,7 +11,7 @@ if($toogle = HTTP::GET('colors')) { } } -$theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'main'; +$theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright'; ?> diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php index 018286e..6e394bb 100644 --- a/theme/admin/html/page/item.php +++ b/theme/admin/html/page/item.php @@ -1,8 +1,8 @@

    - # +

    • diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index 5261bdb..e4b2bec 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -1,8 +1,8 @@

      - # +

      • diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php index 9a5a83e..3a9ecb6 100644 --- a/theme/admin/html/user/item.php +++ b/theme/admin/html/user/item.php @@ -1,8 +1,8 @@

        - # +

        • -- cgit v1.2.3