v3 · 37 files

ProjectElly/content/content.css 1.9 KB Raw
/* Import Tabler Icons */
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/dist/tabler-icons.min.css');

/* Icon styling for content script */
.ti {
    font-size: inherit;
    vertical-align: middle;
}

/* Tabler-style modal overlay (replaces window.alert on injected / block UI) */
.elly-content-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.elly-content-alert-card {
    max-width: min(420px, 92vw);
    width: 100%;
    background: #0f172a;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(99, 102, 241, 0.12);
    padding: 24px;
    box-sizing: border-box;
}

.elly-content-alert-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
}

.elly-content-alert-title .ti {
    font-size: 1.25rem;
    color: #60a5fa;
}

.elly-content-alert-msg {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #94a3b8;
    white-space: pre-wrap;
}

.elly-content-alert-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.elly-content-alert-ok:hover {
    filter: brightness(1.06);
}