JezK
Edit File: dashboard.css
/** * Admin Style Sheet — Modernized * All original class names preserved. No class or code removed. */ /* ─── Navigation Tabs ──────────────────────────────────────────── */ .nav-tab-wrapper, .wrap h2.nav-tab-wrapper, h1.nav-tab-wrapper { border-bottom: none !important; display: flex; gap: 6px; padding-bottom: 0; } a.nav-tab { background: #006400; border-radius: 8px 8px 0 0 !important; color: #fff !important; border: none !important; padding: 9px 22px; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: 0.01em; transition: background 0.18s ease; } a.nav-tab:hover { background: #004d00; color: #fff !important; } a.nav-tab.nav-tab-active { background: #fff !important; color: #006400 !important; border: none !important; border-radius: 8px 8px 0 0 !important; font-weight: 600; } /* ─── Tab Content Wrapper ──────────────────────────────────────── */ .tab-content.std-admin-menu { /* background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%); */ padding: 24px; border-radius: 0 8px 8px 8px; border-top: 3px solid #006400; } .tab-content.std-admin-menu .submit .button-primary { background: #006400 !important; border-color: #004d00 !important; border-radius: 6px !important; padding: 8px 22px; font-size: 13px; font-weight: 500; box-shadow: 0 2px 6px rgba(0, 100, 0, 0.25); transition: background 0.18s ease, box-shadow 0.18s ease; } .tab-content.std-admin-menu .submit .button-primary:hover { background: #004d00 !important; box-shadow: 0 3px 10px rgba(0, 100, 0, 0.35); } /* ─── Main Dashboard Container ─────────────────────────────────── */ .std-dashboard { position: relative; overflow: hidden; background: #fff; padding: 28px 32px; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 6px 20px rgba(0, 100, 0, 0.08); max-width: 550px; /* margin: 0 auto; */ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; border: 1px solid rgba(0, 100, 0, 0.12); } .std-dashboard * { position: relative; z-index: 1; } /* ─── Watermark Title ──────────────────────────────────────────── */ .std-title { text-align: center; width: 100%; padding: 8px; margin-bottom: 4px; padding: 20px; } .std-title::before { content: ""; position: absolute; top: 50%; left: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); background: url('../img/logo.png') no-repeat center center; background-size: contain; opacity: 0.50; pointer-events: none; z-index: 0; } /* ─── Sections ─────────────────────────────────────────────────── */ .std-section { margin-top: 16px; padding: 20px 22px; border-radius: 10px; background: #f3faf3; border: 1px solid rgba(0, 100, 0, 0.1); transition: box-shadow 0.2s ease; } .std-section:hover { box-shadow: 0 2px 12px rgba(0, 100, 0, 0.09); } .std-section-title { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: #1a4d1a; text-transform: uppercase; letter-spacing: 0.06em; } /* ─── Check Balance Button ─────────────────────────────────────── */ .std-btn { display: inline-flex; align-items: center; gap: 7px; background: #006400; color: #fff !important; padding: 9px 20px; border-radius: 7px; border: none; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease; box-shadow: 0 2px 6px rgba(0, 100, 0, 0.22); } .std-btn:hover { background: #004d00; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 100, 0, 0.3); } .std-btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(0, 100, 0, 0.2); } /* ─── Balance Result ───────────────────────────────────────────── */ .std-balance-result { margin-top: 14px; padding: 12px 16px; background: #e6f4e6; border-radius: 8px; border-left: 4px solid #006400; font-weight: 600; color: #1a4d1a; font-size: 14px; transition: opacity 0.3s ease; } /* ─── Social / Contact Links ───────────────────────────────────── */ .std-social-links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; } .std-social { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; color: #fff !important; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 500; transition: opacity 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14); } .std-social:hover { opacity: 0.90; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .std-social:active { transform: translateY(0); } .std-facebook { background: #1877f2; } .std-whatsapp { background: #25d366; } /* ─── Settings Page ────────────────────────────────────────────── */ .wrap.std-settings { /* max-width: 560px; */ margin: 0 auto; } .wrap.std-settings form#std-settings-form, #std-settings-form { background: #fff; border-radius: 14px; padding: 28px 32px; border: 1px solid rgba(0, 100, 0, 0.12); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 100, 0, 0.06); } #std-settings-form label h2 { font-size: 13px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #1a4d1a; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(0, 100, 0, 0.12); } #std-settings-form input[type="file"] { display: block; margin-bottom: 14px; font-size: 13px; color: #555; padding: 8px 0; cursor: pointer; } #std-settings-form img { display: block; border-radius: 8px; border: 1px solid rgba(0, 100, 0, 0.15); margin-bottom: 18px; padding: 5px; background: #f3faf3; max-width: 150px; max-height: 80px; } /* ─── Utility ──────────────────────────────────────────────────── */ .hidden { display: none; }