* { body { } body.dark-mode { body.dark-mode .app-header { body.dark-mode .card { background: #1e1e2a; box-shadow: 0 25px 45px -12px rgba(0,0,0,0.5); } body.dark-mode .control-panel { background: #1e1e2a; border-bottom-color: #333; } body.dark-mode .font-row { background: #2a2a35; } body.dark-mode .font-size-indicator, body.dark-mode .stats, body.dark-mode .hadith-item { background: #2a2a35; color: #e0e0e0; } body.dark-mode .hadith-text { color: #f0f0f0; } body.dark-mode .hadith-meta span { background: #3a3a48; color: #ccc; } body.dark-mode .share-btn, body.dark-mode .fav-btn { background: #2a2a35; border-color: #555; color: #ddd; } body.dark-mode .search-wrapper input { background: #2a2a35; border-color: #555; color: white; } body.dark-mode .drop-zone { background: #2a2a35; border-color: #9b7b4c; color: #ddd; } body.dark-mode .footer { background: #1a1a24; border-top-color: #333; color: #aaa; } body.dark-mode .index-select { background: #2a2a35; color: white; border-color: #555; } .app-header { background: #1e3a2e; color: white; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #e9b35f; width: 100%; } .app-header .brand { font-size: 1.6rem; font-weight: 800; } .menu-btn { background: rgba(255, 255, 255, 0.15); border: none; font-size: 1.8rem; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; color: white; transition: 0.2s; } .container { max-width: 800px; margin: 0 auto; padding: 20px; } .card { background: #ffffff; border-radius: 16px; box-shadow: 0 25px 45px -12px rgba(0,0,0,0.2); overflow: hidden; } /* القائمة الجانبية */ .side-menu { position: fixed; top: 0; right: -280px; width: 260px; height: 100%; background: #1e3a2e; color: white; transition: 0.3s; z-index: 1000; padding: 24px 16px; display: flex; flex-direction: column; gap: 15px; box-shadow: -4px 0 20px rgba(0,0,0,0.2); } .side-menu.open { right: 0; } .side-menu .close-btn { background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; text-align: left; } .side-menu button:not(.close-btn) { background: #2b5e42; border: none; color: white; padding: 12px; border-radius: 60px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: 0.2s; text-align: center; } .side-menu button:not(.close-btn):hover { background: #e9b35f; color: #1e3a2e; } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; } .overlay.active { display: block; } /* لوحة التحكم */ .control-panel { background: #ffffff; padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.05); text-align: center; } .control-title { font-size: 1.3rem; font-weight: 800; color: #1e3a2e; margin-bottom: 16px; display: inline-block; background: #f3efe7; padding: 4px 24px; border-radius: 60px; } .control-tools { display: none; flex-direction: column; gap: 20px; margin-top: 8px; } .control-tools.show { display: flex; } .font-row { display: flex; justify-content: center; align-items: center; gap: 20px; background: #f5f2eb; padding: 12px 20px; border-radius: 80px; } .font-row button { background: #2b5e42; border: none; color: white; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; } .font-size-indicator { background: white; border-radius: 60px; padding: 6px 20px; font-weight: 800; color: #1e3a2e; min-width: 70px; } .action-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } .action-btn { background: #2b5e42; border: none; padding: 10px 20px; border-radius: 60px; font-size: 0.9rem; font-weight: 700; color: white; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; } .action-btn:hover { background: #e9b35f; color: #1e3a2e; transform: translateY(-2px); } .action-btn.danger { background: #bc5a5a; } .action-btn.secondary { background: #7a6a53; } .search-wrapper { width: 100%; } .search-wrapper input { width: 100%; padding: 12px 20px; border-radius: 60px; border: 1.5px solid #e0d6c8; font-size: 1rem; font-family: inherit; } .drop-zone { border: 2.5px dashed #c0a86a; border-radius: 32px; background: #fefcf7; margin: 20px 24px; padding: 48px 20px; text-align: center; cursor: pointer; transition: 0.25s; } .drop-zone.drag-over { background: #fdf5e6; border-color: #2b5e42; } .choose-btn { background: #2b5e42; border: none; padding: 10px 28px; border-radius: 60px; color: white; font-weight: 700; cursor: pointer; margin-top: 15px; } #fileInput { display: none; } .hadith-list { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 20px; max-height: 55vh; overflow-y: auto; } .hadith-item { background: #ffffff; border-radius: 24px; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); position: relative; border-right: 8px solid #e9b35f; transition: 0.2s; } .hadith-item:hover { transform: translateY(-3px); } .hadith-text { font-size: 1rem; line-height: 1.7; margin-bottom: 12px; padding-left: 80px; transition: font-size 0.2s; } .hadith-meta { display: flex; flex-wrap: wrap; gap: 8px; } .hadith-meta span { background: #f3efe7; padding: 4px 14px; border-radius: 60px; font-size: 0.7rem; } .item-actions { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; } .item-actions button { background: #fef8ef; border: 1px solid #eeddbb; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; transition: 0.2s; } .item-actions button:hover { background: #2b5e42; color: white; } .fav-btn.favorited { color: gold; background: #fff0d0; } .stats { background: #f3efe7; display: inline-block; padding: 6px 18px; border-radius: 60px; margin: 8px 24px 0; font-size: 0.8rem; font-weight: 700; } .index-select { margin: 0 24px 10px; padding: 6px 12px; border-radius: 40px; font-family: inherit; background: #f0f0f0; border: none; width: auto; } .compact .hadith-item { padding: 12px; } .compact .hadith-text { font-size: 0.85rem; padding-left: 70px; } .footer { text-align: center; padding: 18px; background: #faf7f0; font-size: 0.7rem; color: #b59d6e; border-top: 1px solid #eee6da; } .hidden { display: none !important; } .fab { position: fixed; bottom: 24px; right: 24px; background: #2b5e42; color: white; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer; box-shadow: 0 12px 20px rgba(0,0,0,0.2); z-index: 100; } .toast-msg { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #2b5e42; color: white; padding: 6px 16px; border-radius: 50px; z-index: 999; font-size: 0.8rem; }
📂 الآغا لقراءة الملفات
لوحة التحكم
16px

📂 اسحب وأفلت ملف JSON هنا