# thinkrank/1.0.0/src/admin/styles/components/_performance.scss

ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console &amp; Local SEO, version 1.0.0. 184 lines.

- Page: https://pluginprobe.com/plugins/thinkrank/1.0.0/code/src/admin/styles/components/_performance.scss
- Raw: https://pluginprobe.com/plugins/thinkrank/1.0.0/raw/src/admin/styles/components/_performance.scss
- Modified: 2025-08-10T07:57:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/thinkrank/1.0.0/code/src/admin/styles/components/_performance.scss#L10-L20`.

```scss
/**
 * Performance Tab Styles
 *
 * Styles for Chart.js performance charts and layout
 *
 * @package ThinkRank
 * @since 1.0.0
 */

// Performance charts - Chart stats styling with higher specificity
.components-card .thinkrank-chart-stats {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e0e0e0 !important;

    .thinkrank-current-value {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: #1f2937 !important;
        line-height: 1.2 !important;
    }

    .thinkrank-current-label {
        font-size: 0.875rem !important;
        color: #6b7280 !important;
        margin-top: 4px !important;
    }

    .thinkrank-trend {
        text-align: right !important;
    }

    .thinkrank-trend-value {
        font-size: 0.875rem !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;

        &.status-good {
            color: #22c55e !important;
        }

        &.status-poor {
            color: #ef4444 !important;
        }
    }

    .thinkrank-trend-label {
        font-size: 0.75rem !important;
        color: #6b7280 !important;
        margin-top: 2px !important;
    }
}

// Chart container styling
.thinkrank-chart-container {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

// Performance status indicators
.thinkrank-performance-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;

    &.status-good {
        background-color: #e8f5e8;
        color: #34a853;
    }

    &.status-needs-improvement {
        background-color: #fef7e0;
        color: #fbbc04;
    }

    &.status-poor {
        background-color: #fce8e6;
        color: #ea4335;
    }
}

// Chart.js custom styles
.thinkrank-performance-chart {
    canvas {
        border-radius: 8px;
    }
}

// Performance monitoring section
.thinkrank-performance-monitoring {
    .thinkrank-monitoring-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;

        @media (max-width: 768px) {
            grid-template-columns: 1fr;
        }
    }

    .thinkrank-monitoring-item {
        padding: 16px;
        background: #f9f9f9;
        border-radius: 8px;
        border-left: 4px solid #0073aa;

        h4 {
            margin: 0 0 8px 0;
            font-size: 14px;
            font-weight: 600;
            color: #1e1e1e;
        }

        .thinkrank-monitoring-list {
            list-style: none;
            margin: 0;
            padding: 0;

            li {
                font-size: 14px;
                margin-bottom: 4px;
                display: flex;
                align-items: center;

                &:before {
                    content: '✅';
                    margin-right: 8px;
                }

                &.warning:before {
                    content: '⚠️';
                }

                &.error:before {
                    content: '❌';
                }
            }
        }
    }
}

// Performance recommendations
.thinkrank-performance-recommendations {
    .thinkrank-recommendation-item {
        padding: 12px 16px;
        margin-bottom: 8px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        border-left: 4px solid #0073aa;

        &.priority-high {
            border-left-color: #ea4335;
        }

        &.priority-medium {
            border-left-color: #fbbc04;
        }

        &.priority-low {
            border-left-color: #34a853;
        }

        .thinkrank-recommendation-title {
            font-weight: 600;
            margin-bottom: 4px;
            color: #1e1e1e;
        }

        .thinkrank-recommendation-description {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }
    }
}

```
