Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

MediaWiki:ScmcScanner.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 217: Строка 217:
         grid-column: auto;
         grid-column: auto;
         max-height: 360px;
         max-height: 360px;
    }
}
.scmc-scan-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid rgba(128,178,210,.35);
    border-radius: 999px;
    background: rgba(37,64,82,.72);
    color: #eaf3fa;
    cursor: pointer;
    font: inherit;
    font-size: 78%;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
.scmc-scan-add-btn:hover {
    border-color: rgba(128,178,210,.58);
    background: rgba(48,82,105,.92);
}
.scmc-scan-add-btn:disabled,
.scmc-scan-add-btn.is-added {
    opacity: .65;
    cursor: default;
}
.scmc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: rgba(0,0,0,.62);
}
.scmc-modal {
    width: min(560px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid rgba(128,178,210,.55);
    border-radius: 12px;
    background: rgba(18,22,28,.98);
    color: #dce8f2;
    box-shadow: 0 0 36px rgba(0,0,0,.72);
}
.scmc-modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #f0f5fa;
}
.scmc-modal-subtitle {
    margin-top: 5px;
    color: #9faab6;
    font-size: 13px;
    line-height: 1.35;
}
.scmc-modal-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.scmc-modal-field {
    display: grid;
    gap: 5px;
    color: #aebdca;
    font-size: 13px;
    font-weight: 750;
}
.scmc-modal-field input,
.scmc-modal-field select,
.scmc-modal-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid rgba(120,140,155,.28);
    border-radius: 8px;
    background: rgba(10,13,18,.74);
    color: #e3e8ee;
    font: inherit;
    font-size: 13px;
}
.scmc-modal-field input:focus,
.scmc-modal-field select:focus,
.scmc-modal-field textarea:focus {
    outline: none;
    border-color: rgba(128,178,210,.62);
    box-shadow: 0 0 0 2px rgba(80,145,190,.16);
}
.scmc-modal-field input[readonly] {
    color: #9faab6;
    background: rgba(8,11,16,.48);
}
.scmc-modal-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    color: #dce8f2;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}
.scmc-modal-check input {
    width: auto;
}
.scmc-modal-error {
    min-height: 18px;
    margin-top: 10px;
    color: #ffb6b6;
    font-size: 13px;
    font-weight: 750;
}
.scmc-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.scmc-modal-btn {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(128,178,210,.35);
    border-radius: 8px;
    background: rgba(37,64,82,.82);
    color: #eaf3fa;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}
.scmc-modal-btn:hover {
    background: rgba(48,82,105,.92);
}
.scmc-modal-btn:disabled {
    opacity: .55;
    cursor: default;
}
.scmc-modal-btn-secondary {
    background: rgba(34,39,46,.82);
}
@media screen and (max-width: 620px) {
    .scmc-modal-backdrop {
        align-items: flex-start;
        padding: 12px;
    }
    .scmc-modal {
        width: 100%;
        max-height: calc(100vh - 24px);
    }
    .scmc-modal-actions {
        justify-content: stretch;
    }
    .scmc-modal-btn {
        flex: 1;
     }
     }
}
}

Версия от 14:46, 15 июня 2026

.scmc-link-scanner {
    display: grid;
    gap: 12px;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(120,140,155,.22);
    border-radius: 12px;
    background: rgba(13,17,22,.66);
    color: #dce8f2;
}

.scmc-scan-header {
    display: grid;
    gap: 4px;
}

.scmc-scan-title {
    font-size: 135%;
    font-weight: 800;
    color: #f0f5fa;
}

.scmc-scan-subtitle {
    color: #aebdca;
    font-size: 92%;
}

.scmc-scan-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scmc-scan-btn {
    padding: 8px 12px;
    border: 1px solid rgba(128,178,210,.35);
    border-radius: 8px;
    background: rgba(37,64,82,.82);
    color: #eaf3fa;
    cursor: pointer;
    font-weight: 700;
}

.scmc-scan-btn:hover {
    background: rgba(48,82,105,.92);
}

.scmc-scan-btn:disabled {
    opacity: .55;
    cursor: default;
}

.scmc-scan-btn-secondary {
    background: rgba(34,39,46,.82);
}

.scmc-scan-status {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(24,31,39,.72);
    color: #cbd6e2;
}

.scmc-scan-status[data-mode="scanning"] {
    color: #ffe7a6;
}

.scmc-scan-status[data-mode="done"] {
    color: #bff0c8;
}

.scmc-scan-status[data-mode="error"] {
    color: #ffb6b6;
}

.scmc-scan-stats {
    color: #aebdca;
    font-size: 92%;
}

.scmc-scan-result {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 12px;
}

.scmc-scan-box {
    min-width: 0;
    max-height: 620px;
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 10px;
    background: rgba(10,13,18,.55);
}

.scmc-scan-box-wide {
    grid-column: 1 / -1;
    max-height: 360px;
}

.scmc-scan-box-title {
    margin-bottom: 10px;
    padding-left: 9px;
    border-left: 4px solid #619CCD;
    font-weight: 800;
    color: #f0f5fa;
}

.scmc-scan-node {
    margin: 4px 0;
}

.scmc-scan-node-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 3px 0;
}

.scmc-scan-node-line a,
.scmc-scan-page-list a {
    color: #dce8f2 !important;
    text-decoration: none !important;
}

.scmc-scan-node-line a:hover,
.scmc-scan-page-list a:hover {
    color: #8fc7ef !important;
}

.scmc-scan-children {
    margin-left: 18px;
    padding-left: 10px;
    border-left: 1px solid rgba(128,178,210,.22);
}

.scmc-scan-depth,
.scmc-scan-redirect-mini,
.scmc-scan-missing,
.scmc-scan-ref,
.scmc-scan-candidate,
.scmc-scan-stopped {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 78%;
    white-space: nowrap;
}

.scmc-scan-depth {
    background: rgba(97,156,205,.16);
    color: #9fc6e6;
}

.scmc-scan-redirect-mini {
    background: rgba(196,154,70,.16);
    color: #e8c783;
}

.scmc-scan-missing {
    background: rgba(190,70,70,.18);
    color: #ffb6b6;
}

.scmc-scan-ref {
    background: rgba(120,140,155,.16);
    color: #aebdca;
}

.scmc-scan-candidate {
    background: rgba(145,104,210,.18);
    color: #d5c2ff;
}

.scmc-scan-stopped {
    background: rgba(220,160,70,.18);
    color: #ffd48a;
}

.scmc-scan-node-ref {
    opacity: .78;
}

.scmc-scan-loop,
.scmc-scan-also {
    margin-left: 18px;
    color: #8d9aa8;
    font-size: 86%;
}

.scmc-scan-page-list {
    margin: 0;
    padding-left: 24px;
}

.scmc-scan-page-list li {
    margin: 5px 0;
}

.scmc-scan-empty {
    color: #8d9aa8;
}

@media screen and (max-width: 900px) {
    .scmc-scan-result {
        grid-template-columns: 1fr;
    }

    .scmc-scan-box {
        max-height: 520px;
    }

    .scmc-scan-box-wide {
        grid-column: auto;
        max-height: 360px;
    }
}

.scmc-scan-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid rgba(128,178,210,.35);
    border-radius: 999px;
    background: rgba(37,64,82,.72);
    color: #eaf3fa;
    cursor: pointer;
    font: inherit;
    font-size: 78%;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.scmc-scan-add-btn:hover {
    border-color: rgba(128,178,210,.58);
    background: rgba(48,82,105,.92);
}

.scmc-scan-add-btn:disabled,
.scmc-scan-add-btn.is-added {
    opacity: .65;
    cursor: default;
}

.scmc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: rgba(0,0,0,.62);
}

.scmc-modal {
    width: min(560px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid rgba(128,178,210,.55);
    border-radius: 12px;
    background: rgba(18,22,28,.98);
    color: #dce8f2;
    box-shadow: 0 0 36px rgba(0,0,0,.72);
}

.scmc-modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #f0f5fa;
}

.scmc-modal-subtitle {
    margin-top: 5px;
    color: #9faab6;
    font-size: 13px;
    line-height: 1.35;
}

.scmc-modal-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.scmc-modal-field {
    display: grid;
    gap: 5px;
    color: #aebdca;
    font-size: 13px;
    font-weight: 750;
}

.scmc-modal-field input,
.scmc-modal-field select,
.scmc-modal-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid rgba(120,140,155,.28);
    border-radius: 8px;
    background: rgba(10,13,18,.74);
    color: #e3e8ee;
    font: inherit;
    font-size: 13px;
}

.scmc-modal-field input:focus,
.scmc-modal-field select:focus,
.scmc-modal-field textarea:focus {
    outline: none;
    border-color: rgba(128,178,210,.62);
    box-shadow: 0 0 0 2px rgba(80,145,190,.16);
}

.scmc-modal-field input[readonly] {
    color: #9faab6;
    background: rgba(8,11,16,.48);
}

.scmc-modal-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    color: #dce8f2;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.scmc-modal-check input {
    width: auto;
}

.scmc-modal-error {
    min-height: 18px;
    margin-top: 10px;
    color: #ffb6b6;
    font-size: 13px;
    font-weight: 750;
}

.scmc-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.scmc-modal-btn {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(128,178,210,.35);
    border-radius: 8px;
    background: rgba(37,64,82,.82);
    color: #eaf3fa;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.scmc-modal-btn:hover {
    background: rgba(48,82,105,.92);
}

.scmc-modal-btn:disabled {
    opacity: .55;
    cursor: default;
}

.scmc-modal-btn-secondary {
    background: rgba(34,39,46,.82);
}

@media screen and (max-width: 620px) {
    .scmc-modal-backdrop {
        align-items: flex-start;
        padding: 12px;
    }

    .scmc-modal {
        width: 100%;
        max-height: calc(100vh - 24px);
    }

    .scmc-modal-actions {
        justify-content: stretch;
    }

    .scmc-modal-btn {
        flex: 1;
    }
}