From 8401a6149ca36a9dece68c84507f7793a7ab985e Mon Sep 17 00:00:00 2001 From: sean1138 Date: Wed, 13 Jan 2021 07:02:17 -0500 Subject: [PATCH] tweak toolbar selected style, use classes more like original project instead of IDs on the toolbar LIs --- system/includes/functions.php | 28 ++++++++++++++-------------- system/resources/css/toolbar.css | 37 ++++++++++++++++++------------------- 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index a6eb2dc..a58db44 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2767,28 +2767,28 @@ function toolbar() EOF; echo '
'; } diff --git a/system/resources/css/toolbar.css b/system/resources/css/toolbar.css index 8019015..a2c43bb 100644 --- a/system/resources/css/toolbar.css +++ b/system/resources/css/toolbar.css @@ -2,19 +2,19 @@ body { padding-top: 30px } -.admin-front #lAdmin, -.all-posts #lPosts, -.admin-popular #lPopular, -.admin-mine #lMine, -.admin-draft #lDraft, -.admin-content #lAddContent, -.admin-categories #lCategories, -.edit-profile #lEditProfile, -.admin-import #lImport, -.admin-backup #lBackup, -.admin-config #lConfig, -.admin-clear-cache #lClearCache, -.admin-update #lUpdate { +.admin-front .tb-admin, +.all-posts .tb-posts, +.admin-popular .tb-popular, +.admin-mine .tb-mine, +.admin-draft .tb-draft, +.admin-content .tb-addcontent, +.admin-categories .tb-categories, +.edit-profile .tb-editprofile, +.admin-import .tb-import, +.admin-backup .tb-backup, +.admin-config .tb-config, +.admin-clear-cache .tb-clearcache, +.admin-update .tb-update { background:#400; } @@ -39,16 +39,16 @@ body { #toolbar ul { margin: 0; - padding-top: 5px; - padding-bottom: 5px; + padding: 0; padding-left: 30px; - float: left } #toolbar ul li, #toolbar ul li a { - float: left; + display:inline-block; list-style: none; - margin: 0 + margin: 0; + height: 30px; + line-height: 30px; } #toolbar a { @@ -57,7 +57,6 @@ body { text-decoration: none; border-radius: 10px; padding: 0 10px; - line-height: 1.6 } @media all and (max-width: 550px) {