Add Surah/Ayah browse with Gharaati Tafsir Noor crawl.
build-and-deploy / deploy (push) Failing after 11m0s
build-and-deploy / deploy (push) Failing after 11m0s
Replace episode bookmarks with surah/ayah bookmarks and ayah favorites; import ayah text, notes, messages, and official per-ayah audio from gharaati.ir.
This commit is contained in:
@@ -226,3 +226,49 @@ button, input { font: inherit; }
|
||||
.link-btn {
|
||||
margin-top: 0.85rem; border: 0; background: transparent; color: var(--brand-deep); cursor: pointer;
|
||||
}
|
||||
|
||||
.surah-grid { display: grid; gap: 0.55rem; }
|
||||
.surah-card {
|
||||
display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center;
|
||||
border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 0.35rem;
|
||||
}
|
||||
.surah-main {
|
||||
border: 0; background: transparent; cursor: pointer; text-align: right;
|
||||
display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
|
||||
padding: 0.65rem 0.75rem; width: 100%;
|
||||
}
|
||||
.surah-num {
|
||||
width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center;
|
||||
background: rgba(31,107,74,0.12); color: var(--brand-deep); font-weight: 700; font-size: 0.85rem;
|
||||
}
|
||||
.surah-names { display: flex; flex-direction: column; gap: 0.1rem; }
|
||||
.ayah-list { display: flex; flex-direction: column; gap: 0.4rem; max-height: 70vh; overflow: auto; }
|
||||
.ayah-row {
|
||||
border: 1px solid var(--line); background: var(--surface); border-radius: 14px;
|
||||
padding: 0.75rem 0.9rem; text-align: right; cursor: pointer;
|
||||
display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center;
|
||||
}
|
||||
.ayah-row:hover { border-color: rgba(31,107,74,0.45); background: #fff; }
|
||||
.ayah-num { font-weight: 700; color: var(--brand); }
|
||||
.ayah-preview { color: var(--muted); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.ayah-flags { display: flex; gap: 0.25rem; }
|
||||
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
|
||||
.dot.fav { background: #c45c26; }
|
||||
.dot.mark { background: var(--brand); }
|
||||
.dot.audio { background: #3b6ea5; }
|
||||
.section-title { margin: 1.25rem 0 0.6rem; font-size: 1.05rem; }
|
||||
.linkish { border: 0; background: transparent; color: var(--brand-deep); cursor: pointer; padding: 0; }
|
||||
.ayah-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
|
||||
.content-block {
|
||||
margin-top: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0.85rem 1rem;
|
||||
}
|
||||
.content-block summary { cursor: pointer; font-weight: 600; margin-bottom: 0.5rem; }
|
||||
.html-body { line-height: 1.95; color: var(--ink); }
|
||||
.html-body p { margin: 0 0 0.65rem; }
|
||||
.video-wrap { position: relative; aspect-ratio: 16 / 9; max-width: 520px; }
|
||||
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
|
||||
.list-row {
|
||||
display: flex; flex-direction: column; gap: 0.2rem;
|
||||
padding: 0.9rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
|
||||
}
|
||||
.chip:disabled { opacity: 0.45; cursor: default; }
|
||||
|
||||
Reference in New Issue
Block a user