Plugin Directory

Changeset 3180216


Ignore:
Timestamp:
11/02/2024 12:34:34 AM (17 months ago)
Author:
blizhost
Message:

Fix minor style bug

Location:
blizhost-cache-purge
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • blizhost-cache-purge/tags/5.0.0/blizhost-cache-purge.php

    r3180208 r3180216  
    382382
    383383        // Define status dots with adjusted colors
    384         $green_dot = '<span style="color: #00ff3a; font-size: 16px;">●</span>';
    385         $red_dot = '<span style="color: #e11e31; font-size: 16px;">●</span>';
     384        $green_dot = '<span style="color: #00ff3a; font-size: 16px; margin-left: 15px;">●</span>';
     385        $red_dot = '<span style="color: #e11e31; font-size: 16px; margin-left: 15px;">●</span>';
    386386
    387387        // Assign status dots based on service status
     
    406406            'parent' => 'bliz-purge-ccache-cache',
    407407            'id'     => 'bliz-cloudcache-status',
    408             'title'  => '<span style="display: flex; align-items: center; width: 250px;">' . __( 'CloudCache Status - Speed and Security', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cloudcache_status_dot . '</span></span>',
     408            'title'  => '<span style="display: flex; align-items: center; width: auto;">' . __( 'CloudCache Status - Speed and Security', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cloudcache_status_dot . '</span></span>',
    409409            'meta'   => array(
    410410                'title' => $cloudcache_tooltip, // Add tooltip if inactive
     
    416416            'parent' => 'bliz-purge-ccache-cache',
    417417            'id'     => 'bliz-cdn-status',
    418             'title'  => '<span style="display: flex; align-items: center; width: 250px;">' . __( 'CDN and Image Optimization Status', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cdn_status_dot . '</span></span>',
     418            'title'  => '<span style="display: flex; align-items: center; width: auto;">' . __( 'CDN and Image Optimization Status', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cdn_status_dot . '</span></span>',
    419419            'meta'   => array(
    420420                'title' => $cdn_tooltip, // Add tooltip if inactive
     
    426426            'parent' => 'bliz-purge-ccache-cache',
    427427            'id'     => 'bliz-purge-ccache-cache-all',
    428             'title'  => '<span style="display: flex; align-items: center; width: 250px; border-top: 1px solid rgba(255, 255, 255, 0.4); margin-top: 10px;">' . __( 'Purge Entire Cache', 'blizhost-cache-purge' ) . '</span>',
     428            'title'  => '<span style="display: flex; align-items: center; width: auto; border-top: 1px solid rgba(255, 255, 255, 0.4); margin-top: 10px;">' . __( 'Purge Entire Cache', 'blizhost-cache-purge' ) . '</span>',
    429429            'href'   => $fallback_url, // Fallback URL
    430430            'meta'   => array(
  • blizhost-cache-purge/trunk/blizhost-cache-purge.php

    r3180199 r3180216  
    382382
    383383        // Define status dots with adjusted colors
    384         $green_dot = '<span style="color: #00ff3a; font-size: 16px;">●</span>';
    385         $red_dot = '<span style="color: #e11e31; font-size: 16px;">●</span>';
     384        $green_dot = '<span style="color: #00ff3a; font-size: 16px; margin-left: 15px;">●</span>';
     385        $red_dot = '<span style="color: #e11e31; font-size: 16px; margin-left: 15px;">●</span>';
    386386
    387387        // Assign status dots based on service status
     
    406406            'parent' => 'bliz-purge-ccache-cache',
    407407            'id'     => 'bliz-cloudcache-status',
    408             'title'  => '<span style="display: flex; align-items: center; width: 250px;">' . __( 'CloudCache Status - Speed and Security', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cloudcache_status_dot . '</span></span>',
     408            'title'  => '<span style="display: flex; align-items: center; width: auto;">' . __( 'CloudCache Status - Speed and Security', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cloudcache_status_dot . '</span></span>',
    409409            'meta'   => array(
    410410                'title' => $cloudcache_tooltip, // Add tooltip if inactive
     
    416416            'parent' => 'bliz-purge-ccache-cache',
    417417            'id'     => 'bliz-cdn-status',
    418             'title'  => '<span style="display: flex; align-items: center; width: 250px;">' . __( 'CDN and Image Optimization Status', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cdn_status_dot . '</span></span>',
     418            'title'  => '<span style="display: flex; align-items: center; width: auto;">' . __( 'CDN and Image Optimization Status', 'blizhost-cache-purge' ) . '<span style="margin-left: auto;">' . $cdn_status_dot . '</span></span>',
    419419            'meta'   => array(
    420420                'title' => $cdn_tooltip, // Add tooltip if inactive
     
    426426            'parent' => 'bliz-purge-ccache-cache',
    427427            'id'     => 'bliz-purge-ccache-cache-all',
    428             'title'  => '<span style="display: flex; align-items: center; width: 250px; border-top: 1px solid rgba(255, 255, 255, 0.4); margin-top: 10px;">' . __( 'Purge Entire Cache', 'blizhost-cache-purge' ) . '</span>',
     428            'title'  => '<span style="display: flex; align-items: center; width: auto; border-top: 1px solid rgba(255, 255, 255, 0.4); margin-top: 10px;">' . __( 'Purge Entire Cache', 'blizhost-cache-purge' ) . '</span>',
    429429            'href'   => $fallback_url, // Fallback URL
    430430            'meta'   => array(
Note: See TracChangeset for help on using the changeset viewer.