Skip to content

Commit

Permalink
diff link if QC CDN enabled, mobile fixes (#773)
Browse files Browse the repository at this point in the history
Co-authored-by: Eliza Witkowska <kokers@MacBook-Pro.local>
  • Loading branch information
kokers and Eliza Witkowska authored Nov 7, 2024
1 parent f5754f7 commit 7c45d17
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
22 changes: 19 additions & 3 deletions assets/css/litespeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -3044,7 +3044,7 @@ a.litespeed-redetect {
}

.litespeed-postbox .inside.litespeed-postbox-footer--compact {
padding: 7px 20px 8px 20px;
padding: 7px 15px 8px 15px;
font-size: 12px;
}

Expand Down Expand Up @@ -3160,8 +3160,9 @@ a.litespeed-redetect {
background: #253545;
color: #e2e4e5;
margin-top: -11px;
padding-top: 10px;
padding-bottom: 10px;
padding: 10px 15px;
margin-left: -15px;
margin-right: -15px;
}

.litespeed-postbox--quiccloud.litespeed-postbox .inside .litespeed-title a {
Expand All @@ -3172,7 +3173,22 @@ a.litespeed-redetect {
color: #a5caf2;
}

@media screen and (min-width: 1401px) {
.litespeed-postbox--quiccloud.litespeed-postbox .inside .litespeed-title {
padding-left: 20px;
padding-right: 20px;
margin-left: -20px;
margin-right: -20px;
}

.litespeed-postbox .inside.litespeed-postbox-footer--compact {
padding-left: 20px;
padding-right: 20px;
}
}

@media screen and (max-width: 1400px) and (min-width: 1024px) {

.litespeed-dashboard-stats-wrapper .litespeed-postbox {
flex-grow: 1;
}
Expand Down
8 changes: 6 additions & 2 deletions tpl/dash/dashboard.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</a>
</p>
<p class="litespeed-dashboard-unlock-footer">
<?php _e('QUIC.cloud provides CDN and online optimization services, and is not required. You may use many features of this plugin without QUIC.cloud.', 'litespeed-cache'); ?>
<?php _e('QUIC.cloud provides CDN and online optimization services, and is not required. You may use many features of this plugin without QUIC.cloud.', 'litespeed-cache'); ?><br>
<a href="https://www.quic.cloud/" target="_blank">
<?php _e('Learn More about QUIC.cloud', 'litespeed-cache'); ?>
</a>
Expand Down Expand Up @@ -759,7 +759,11 @@
<div class="inside">
<h3 class="litespeed-title litespeed-dashboard-title--w-btn">
<span class="litespeed-quic-icon"></span>QUIC.cloud CDN
<a href="https://www.quic.cloud/quic-cloud-services-and-features/litespeed-cache-service/" class="litespeed-title-right-icon" target="_blank"><?php echo __('Learn More', 'litespeed-cache'); ?></a>
<?php if (empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') : ?>
<a href="https://www.quic.cloud/quic-cloud-services-and-features/litespeed-cache-service/" class="litespeed-title-right-icon" target="_blank"><?php echo __('Learn More', 'litespeed-cache'); ?></a>
<?php else: ?>
<a href="<?php echo admin_url('admin.php?page=litespeed-cdn'); ?>" class="litespeed-title-right-icon"><?php echo __('More', 'litespeed-cache'); ?></a>
<?php endif; ?>
</h3>
<?php if (empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') : ?>
<div class="litespeed-text-center litespeed-empty-space-medium">
Expand Down

0 comments on commit 7c45d17

Please sign in to comment.