Cloudflare Pro

PHP

Advanced Cloudflare DNS management extension for Plesk with DNS record synchronization, zone management, proxy control, SSL automation, and seamless Cloudflare integration.

Stars
16
Forks
1
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
htdocs/css/cloudflare-pro.css
.gc-extension {
    width: 100%;
    max-width: none;
}

.gc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.gc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gc-logo {
    display: block;
    width: 112px;
    height: auto;
    flex: 0 0 auto;
}

.gc-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.gc-vendor {
    margin-top: 2px;
    color: #737373;
}

.gc-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.gc-panel .gc-panel-body {
    padding: 0;
}

#gc-token-list {
    width: 100%;
}

#gc-token-list .pul-list {
    width: 100%;
}

#gc-domain-list {
    width: 100%;
}

#gc-domain-list .pul-list {
    width: 100%;
}

#gc-domain-list .pul-list__row,
#gc-domain-list .pul-list__head-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(145px, .75fr) minmax(190px, 1fr) minmax(105px, .55fr) minmax(150px, .7fr) minmax(105px, .5fr) minmax(390px, 1.6fr);
    align-items: center;
    column-gap: 18px;
}

#gc-records-list {
    width: 100%;
}

#gc-records-list .pul-list {
    width: 100%;
}

#gc-records-list .gc-record-list .pul-list__header {
    display: none;
}

.gc-list-toolbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto 0 0;
}

.gc-list-toolbar .pul-search-bar {
    width: 360px;
    max-width: 100%;
}

#gc-records-list .pul-list__row,
#gc-records-list .pul-list__head-row {
    display: grid;
    grid-template-columns: minmax(38px, 38px) minmax(70px, .35fr) minmax(230px, 1.1fr) minmax(120px, .55fr) minmax(560px, 2.75fr) minmax(80px, .35fr);
    align-items: center;
    column-gap: 18px;
}

#gc-records-list .pul-list__cell {
    min-width: 0;
}

#gc-records-list .pul-list__cell:not(:nth-child(5)) {
    white-space: nowrap;
}

.gc-record-values {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.gc-record-value-row {
    display: grid;
    grid-template-columns: 18px 82px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    min-width: 0;
}

.gc-record-value-row span {
    color: #737373;
}

.gc-record-value-row code,
.gc-record-single-value {
    display: block;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gc-record-actions {
    justify-content: flex-end;
}

.gc-record-actions .pul-button {
    min-width: 38px;
    width: 38px;
    padding-left: 0;
    padding-right: 0;
}

.gc-record-main-actions {
    margin: 0 0 12px;
}

.gc-record-selection-actions {
    margin: 0 0 16px;
}

#gc-domain-list .pul-list__cell {
    min-width: 0;
    white-space: nowrap;
}

.gc-last-synced {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.gc-last-synced > span:last-child {
    color: #737373;
    overflow: hidden;
    text-overflow: ellipsis;
}

#gc-token-list .pul-list__row,
#gc-token-list .pul-list__head-row {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(120px, .75fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(300px, 1.35fr);
    align-items: center;
    column-gap: 22px;
}

#gc-token-list .pul-list__cell {
    min-width: 0;
    white-space: nowrap;
}

.gc-token-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.gc-token-actions .pul-button {
    flex: 0 0 auto;
}

#gc-api-log-list {
    width: 100%;
}

.gc-api-log-shell {
    width: 100%;
}

.gc-api-log-shell .pul-toolbar {
    margin-bottom: 14px;
}

#gc-api-log-list .pul-list__row,
#gc-api-log-list .pul-list__head-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(260px, 1.8fr) minmax(90px, .6fr) minmax(110px, .7fr) minmax(110px, .7fr) minmax(220px, 1fr);
    align-items: center;
    column-gap: 20px;
}

#gc-api-log-list .pul-list__cell {
    min-width: 0;
    white-space: nowrap;
}

.gc-api-log-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.gc-api-log-actions .pul-button {
    flex: 0 0 auto;
}

.gc-settings-shell {
    width: 100%;
}

.gc-settings-section {
    margin: 0 0 28px;
}

.gc-settings-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 10px;
}

.gc-settings-section-header h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.gc-settings-section-header p {
    margin: 3px 0 0;
    color: #737373;
    font-size: 13px;
}

.gc-settings-section .pul-list {
    width: 100%;
}

.gc-about {
    display: grid;
    gap: 22px;
    width: 100%;
}

.gc-about-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 32px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(243, 128, 32, .16), rgba(40, 170, 222, .08)),
        rgba(255, 255, 255, .03);
    box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .18);
}

.gc-about-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.gc-about-logo {
    display: block;
    width: 150px;
    max-width: 28vw;
    height: auto;
    flex: 0 0 auto;
}

.gc-about-brand h2 {
    margin: 10px 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.gc-about-brand p {
    max-width: 760px;
    margin: 0;
    color: #737373;
    font-size: 15px;
    line-height: 1.55;
}

.gc-about-version {
    display: grid;
    gap: 4px;
    min-width: 132px;
    padding: 16px 18px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .08);
    text-align: right;
}

.gc-about-version span {
    color: #737373;
    font-size: 12px;
    text-transform: uppercase;
}

.gc-about-version strong {
    font-size: 22px;
    line-height: 1.2;
}

.gc-about-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gc-about-card {
    min-width: 0;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
    box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .16);
}

.gc-about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 6px;
    color: #f38020;
    background: rgba(243, 128, 32, .14);
}

.gc-about-card h3 {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.35;
}

.gc-about-card p {
    margin: 0;
    color: #737373;
    line-height: 1.5;
}

.gc-about-developer {
    display: grid;
    grid-template-columns: 280px minmax(360px, 1fr) minmax(420px, .95fr);
    align-items: center;
    gap: 34px;
    padding: 30px 34px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(40, 170, 222, .08), rgba(128, 175, 38, .06)),
        rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .16);
}

.gc-about-developer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .12);
}

.gc-about-developer-logo img {
    display: block;
    max-width: 220px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gc-about-developer-copy h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.25;
}

.gc-about-developer-copy p {
    max-width: 620px;
    margin: 0;
    color: #737373;
    line-height: 1.55;
}

.gc-about-developer-meta {
    display: grid;
    gap: 0;
    align-self: stretch;
    align-content: center;
}

.gc-about-developer-meta > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(128, 128, 128, .16);
}

.gc-about-developer-meta > div:last-child {
    border-bottom: 0;
}

.gc-about-developer-meta span {
    color: #737373;
}

.gc-about-developer-meta strong,
.gc-about-developer-meta a {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.gc-setting-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gc-setting-title > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-log-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.gc-log-summary > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
}

.gc-log-summary span {
    color: #737373;
}

.gc-log-summary code {
    white-space: normal;
    word-break: break-word;
}

.gc-log-copy-row {
    margin-bottom: 18px;
}

.gc-log-json-block {
    margin: 0 0 18px;
}

.gc-log-json-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.gc-log-json-title h3 {
    margin: 0;
    font-size: 16px;
}

.gc-log-json-block pre {
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.gc-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    width: 100%;
    margin: 14px 0 10px;
}

.gc-table {
    width: 100%;
    border-collapse: collapse;
}

.gc-table th,
.gc-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
}

.gc-table th {
    color: #555;
    font-weight: 600;
}

.gc-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #d99;
    border-radius: 4px;
    background: #fff4f4;
    color: #a33;
}

.gc-credentials-help {
    margin-bottom: 34px;
    color: #444;
    font-size: 16px;
    line-height: 1.45;
}

.gc-credentials-help p {
    margin: 0 0 4px;
}

.gc-credentials-help ol {
    margin: 0;
    padding-left: 28px;
}

.gc-credentials-help a {
    color: #1b86b8;
    text-decoration: none;
}

.gc-drawer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.gc-drawer-note {
    margin-top: 12px;
    color: #737373;
}

@media (max-width: 1200px) {
    .gc-about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gc-about-developer {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .gc-about-developer-meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .gc-about-hero,
    .gc-about-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .gc-about-version {
        width: 100%;
        text-align: left;
    }

    .gc-about-grid,
    .gc-about-developer {
        grid-template-columns: 1fr;
    }

    .gc-about-developer-meta {
        grid-column: auto;
    }

    .gc-about-developer-logo {
        min-height: 160px;
    }

    .gc-about-developer-logo img {
        max-width: 190px;
        max-height: 125px;
    }
}