Skip to content

Commit

Permalink
Other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymotey committed Sep 26, 2024
1 parent e1b2573 commit 90dd652
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 51 deletions.
96 changes: 49 additions & 47 deletions assets/css/litespeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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;
}
}

Expand All @@ -3288,7 +3291,6 @@ p.litespeed-dashboard-unlock-footer{
font-size: 22px;
line-height: 1.2;
}

}

@media screen and (max-width: 340px) {
Expand All @@ -3300,7 +3302,7 @@ p.litespeed-dashboard-unlock-footer{
display: none;
}

p.litespeed-dashboard-unlock-footer{
p.litespeed-dashboard-unlock-footer {
margin-top: 2em;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/tag.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
3 changes: 1 addition & 2 deletions tpl/inc/modal.footer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
echo '</div>';

echo '</div>';

0 comments on commit 90dd652

Please sign in to comment.