From 90dd652c9519c6d1151b991f5d6c48b440938423 Mon Sep 17 00:00:00 2001 From: Timotei Date: Thu, 26 Sep 2024 20:27:08 +0300 Subject: [PATCH] Other fixes --- assets/css/litespeed.css | 96 ++++++++++++++++++++-------------------- src/tag.cls.php | 4 +- tpl/inc/modal.footer.php | 3 +- 3 files changed, 52 insertions(+), 51 deletions(-) diff --git a/assets/css/litespeed.css b/assets/css/litespeed.css index ac4edf18f..32e3ecc48 100644 --- a/assets/css/litespeed.css +++ b/assets/css/litespeed.css @@ -2769,7 +2769,8 @@ g.litespeed-pie_info .litespeed-pie-done { vertical-align: middle; } -.litespeed-postbox .button.button-small .dashicons, .litespeed-dashboard-title--w-btn .button.button-small .dashicons { +.litespeed-postbox .button.button-small .dashicons, +.litespeed-dashboard-title--w-btn .button.button-small .dashicons { font-size: 1rem; top: 0.05em; vertical-align: middle; @@ -3195,56 +3196,58 @@ a.litespeed-redetect { ======================================= */ .litespeed-dashboard-qc { - position: relative; + position: relative; } .litespeed-dashboard-unlock { - text-align: center; - background-color: #fff; - box-shadow: 0 .125rem .4rem -.0625rem rgba(0, 0, 0, .03), 0px 3px 0px 0px rgba(0, 0, 0, .07); - border-radius: .5rem; - padding: 2rem; - position: absolute; - z-index: 5; - left: 50%; - transform: translate(-50%, 25%); - top: 0; - max-width: 96%; - width: 540px; + text-align: center; + background-color: #fff; + box-shadow: + 0 0.125rem 0.4rem -0.0625rem rgba(0, 0, 0, 0.03), + 0px 3px 0px 0px rgba(0, 0, 0, 0.07); + border-radius: 0.5rem; + padding: 2rem; + position: absolute; + z-index: 5; + left: 50%; + transform: translate(-50%, 25%); + top: 0; + max-width: 96%; + width: 540px; } .litespeed-dashboard-unlock-title { - font-size: 28px; + font-size: 28px; } .litespeed-dashboard-unlock-desc { - font-size: 17px; - color: #000; + font-size: 17px; + color: #000; } .litespeed-dashboard-unlock-desc span { - font-size: 14px; - color: #666; + font-size: 14px; + color: #666; } -p.litespeed-dashboard-unlock-footer{ +p.litespeed-dashboard-unlock-footer { margin-top: 3em; - margin-bottom: 0; + margin-bottom: 0; } .litespeed-qc-text-gradient { - background: -webkit-linear-gradient(130deg, #ff2a91, #2295d8 60%, #161f29); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - font-weight: 800; + background: -webkit-linear-gradient(130deg, #ff2a91, #2295d8 60%, #161f29); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + font-weight: 800; } .litespeed-dashboard-unlock a.button.button-primary { - font-size: 1.2em; - padding: 0.35em 1em 0.35em 0.85em; - min-width: 210px; - text-align: center; - margin-top: 10px; + font-size: 1.2em; + padding: 0.35em 1em 0.35em 0.85em; + min-width: 210px; + text-align: center; + margin-top: 10px; } .litespeed-dashboard-unlock a.button.button-primary .dashicons { @@ -3253,27 +3256,27 @@ p.litespeed-dashboard-unlock-footer{ margin-right: 0.5em; } -.litespeed-dashboard-unlock+.litespeed-dashboard-qc-enable { - opacity: 0.75; - filter: blur(2px); +.litespeed-dashboard-unlock + .litespeed-dashboard-qc-enable { + opacity: 0.75; + filter: blur(2px); } -.litespeed-dashboard-unlock+.litespeed-dashboard-qc-enable:before { - content: ''; - position: absolute; - left: -10px; - top: -5px; - width: calc(100% + 20px); - height: calc(100% + 10px); - background: #161e29; - z-index: 2; - opacity: 0.55; - filter: blur(2px); +.litespeed-dashboard-unlock + .litespeed-dashboard-qc-enable:before { + content: ''; + position: absolute; + left: -10px; + top: -5px; + width: calc(100% + 20px); + height: calc(100% + 10px); + background: #161e29; + z-index: 2; + opacity: 0.55; + filter: blur(2px); } @media screen and (min-width: 1400px) { .litespeed-dashboard-unlock { - width:800px; + width: 800px; } } @@ -3288,7 +3291,6 @@ p.litespeed-dashboard-unlock-footer{ font-size: 22px; line-height: 1.2; } - } @media screen and (max-width: 340px) { @@ -3300,7 +3302,7 @@ p.litespeed-dashboard-unlock-footer{ display: none; } - p.litespeed-dashboard-unlock-footer{ + p.litespeed-dashboard-unlock-footer { margin-top: 2em; } } diff --git a/src/tag.cls.php b/src/tag.cls.php index 538ecea2b..16dd0c518 100644 --- a/src/tag.cls.php +++ b/src/tag.cls.php @@ -263,8 +263,8 @@ private static function _build_type_tags() $tags[] = self::TYPE_AUTHOR . $queried_obj_id; } elseif (is_date()) { global $post; - - if($post && isset($post->post_date)){ + + if ($post && isset($post->post_date)) { $date = $post->post_date; $date = strtotime($date); if (is_day()) { diff --git a/tpl/inc/modal.footer.php b/tpl/inc/modal.footer.php index 8637aea38..b76747c1c 100644 --- a/tpl/inc/modal.footer.php +++ b/tpl/inc/modal.footer.php @@ -1,3 +1,2 @@ '; - +echo '';