Spaces:
Running on Zero
Running on Zero
Download static/css/panels.css from Mmsmsjsjdnddb/Videoeditor: direct link, hf CLI and curl.
- Browser
- Download file 27.4 kB
-
https://huggingface.co/spaces/Mmsmsjsjdnddb/Videoeditor/resolve/main/static/css/panels.css
- Command line
-
hf download hf://spaces/Mmsmsjsjdnddb/Videoeditor/static/css/panels.css
-
curl -L -o panels.css https://huggingface.co/spaces/Mmsmsjsjdnddb/Videoeditor/resolve/main/static/css/panels.css
27.4 kB
| /* ========================================================================== | |
| panels.css — پنلها (شیت موبایل و ستونهای دسکتاپ)، کاشیها، ابزارکها | |
| ========================================================================== */ | |
| /* ---------------- شیتهای ویرایشگر ---------------- */ | |
| .sheet.ed-sheet { max-height: min(50%, 460px); } | |
| .sheet.ed-sheet.tall { max-height: min(64%, 600px); } | |
| .sheet.text-sheet { max-height: min(70%, 640px); } | |
| .sheet.crop-sheet { max-height: min(82%, 720px); } | |
| .sheet.kb { max-height: 62%; transition: transform 0.32s var(--ease), bottom 0.15s; } | |
| .sheet.peek { opacity: 0.18; pointer-events: none; transition: opacity 0.2s; } | |
| .pnl { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; } | |
| .sheet-body > .pnl { min-height: 100%; } | |
| .pane-body .pnl { gap: 10px; } | |
| /* پنجرهی وسط صفحه (خروجی) */ | |
| .sheet.modal-sheet { max-height: 92%; } | |
| @media (min-width: 700px) { | |
| .sheet.modal-sheet { | |
| left: 50%; right: auto; bottom: auto; top: 50%; width: min(560px, 92vw); max-height: min(88vh, 820px); | |
| border-radius: var(--r4); border: 1px solid var(--line2); transform: translate(-50%, -46%) scale(0.97); opacity: 0; | |
| transition: transform 0.28s var(--spring), opacity 0.2s; padding-bottom: 0; | |
| } | |
| .sheet.modal-sheet.show { transform: translate(-50%, -50%); opacity: 1; } | |
| .sheet.modal-sheet .sheet-grab { visibility: hidden; height: 12px; } | |
| } | |
| /* ---------------- ابزارکها ---------------- */ | |
| .pnote { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--tx3); line-height: 1.85; padding: 4px 2px; } | |
| .pnote .ic { margin-top: 3px; color: var(--tx3); } | |
| .pmode { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tx2); background: rgba(124, 92, 255, 0.08); border: 1px solid rgba(124, 92, 255, 0.18); padding: 8px 10px; border-radius: 12px; } | |
| .pmode .ic { color: var(--ac-l); } | |
| .pchips { padding: 2px 0 4px; margin: 0 -2px; } | |
| .sheet-body .pchips { margin: 0 -16px; padding: 2px 16px 4px; } | |
| .pane-body .pchips { margin: 0 -14px; padding: 2px 14px 4px; } | |
| .seg.block { display: flex; width: 100%; } | |
| .seg.block button { flex: 1 1 0; justify-content: center; min-width: 0; padding: 0 6px; } | |
| .seg.wrap { flex-wrap: wrap; } | |
| .seg.wrap button { flex: 1 1 auto; justify-content: center; } | |
| .seg.grow { flex: 1 1 auto; } | |
| .seg.grow button { flex: 1 1 0; justify-content: center; padding: 0 4px; } | |
| .seg button span:empty { display: none; } | |
| .tab-body { display: flex; flex-direction: column; gap: 8px; } | |
| .kv.tgl { cursor: pointer; } | |
| .kv.tgl > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--tx); } | |
| .kv.tgl > span:first-child .ic { color: var(--tx2); } | |
| .apply-all { align-self: center; margin-top: 4px; color: var(--ac-l); } | |
| .loading-row { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px; color: var(--tx2); font-size: 13px; } | |
| .empty.sm { padding: 18px 10px; font-size: 12.5px; } | |
| .empty.sm .ic { width: 30px; height: 30px; } | |
| .field + .field { margin-top: 2px; } | |
| /* رنگ */ | |
| .pcolor { display: flex; flex-direction: column; } | |
| .pcolor-row { width: 100%; padding: 0 2px; } | |
| .pcolor-row > span { color: var(--tx); font-size: 13px; } | |
| .pcolor-sw { width: 30px; height: 30px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.18); flex: 0 0 auto; position: relative; overflow: hidden; } | |
| .pcolor-sw.none { background: repeating-conic-gradient(#444 0 25%, #888 0 50%) 50% / 10px 10px ; } | |
| .pcolor-row.open .pcolor-sw { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px var(--ac); } | |
| .pcolor-cp { padding: 4px 0 10px; } | |
| /* قطرهچکان */ | |
| .eyedrop { position: absolute; inset: 0; z-index: 40; cursor: crosshair; touch-action: none; background: rgba(0, 0, 0, 0.08); } | |
| .eyedrop-hint { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: rgba(10, 10, 15, 0.85); padding: 7px 14px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; pointer-events: none; } | |
| .eyedrop-lens { display: none; position: absolute; width: 46px; height: 46px; margin: -70px 0 0 -23px; border-radius: 50% 50% 50% 4px; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6); pointer-events: none; transform: rotate(-45deg); } | |
| /* ---------------- کاشیها ---------------- */ | |
| .tile .th canvas { image-rendering: auto; } | |
| .tile .th.checker { background-color: #2a2a38; background-image: linear-gradient(45deg, #232331 25%, transparent 25%), linear-gradient(-45deg, #232331 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #232331 75%), linear-gradient(-45deg, transparent 75%, #232331 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; } | |
| .tiles.text-tiles .th canvas { object-fit: contain; } | |
| .tiles.small .th { border-radius: 12px; } | |
| .tiles.emoji-tiles .th { background: transparent; } | |
| .tiles.emoji-tiles .th img { width: 76%; height: 76%; object-fit: contain; } | |
| .tiles.anim-tiles { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); } | |
| .tiles.anim-tiles .th { background: #1b1b26; } | |
| .tiles.curves { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } | |
| .tiles.curves .th { aspect-ratio: 1.6 / 1; } | |
| .tile .th .corner.badge { top: 5px; left: 5px; right: auto; } | |
| /* ---------------- افزودن ---------------- */ | |
| .add-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } | |
| .add-big { | |
| display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 18px; text-align: right; | |
| background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.10)); border: 1px solid rgba(124, 92, 255, 0.35); | |
| transition: transform 0.15s var(--ease); | |
| } | |
| .add-big:active { transform: scale(0.97); } | |
| .add-big i { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; box-shadow: var(--sh-ac); } | |
| .add-big b { font-size: 13.5px; } | |
| .add-big small { font-size: 11px; color: var(--tx2); } | |
| .add-big.alt { background: rgba(255, 255, 255, 0.04); border-color: var(--line2); } | |
| .add-big.alt i { background: var(--bg5); box-shadow: none; } | |
| .mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; } | |
| .mtile { display: flex; flex-direction: column; gap: 5px; min-width: 0; position: relative; } | |
| .mth { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--bg4); display: flex; align-items: center; justify-content: center; color: var(--tx3); cursor: pointer; } | |
| .mth img { width: 100%; height: 100%; object-fit: cover; } | |
| .mdur { position: absolute; bottom: 4px; left: 4px; font-size: 10px; font-weight: 700; background: rgba(0, 0, 0, 0.65); padding: 0 5px; border-radius: 5px; } | |
| .mstate { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; } | |
| .mstate .spinner { width: 16px; height: 16px; border-width: 2px; } | |
| .mstate.err { background: rgba(120, 10, 30, 0.6); } | |
| .mtile .nm { font-size: 11px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .macts { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; opacity: 0; transition: opacity 0.15s; } | |
| .macts .ibtn { width: 28px; height: 28px; background: rgba(10, 10, 15, 0.8); border-radius: 8px; } | |
| .mtile:hover .macts, .touch .macts { opacity: 1; } | |
| .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; } | |
| .card-sw { aspect-ratio: 1 / 1; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.1); } | |
| .card-sw:active { transform: scale(0.92); } | |
| .card-sw.none { background: repeating-conic-gradient(#444 0 25%, #777 0 50%) 50% / 12px 12px; } | |
| /* ---------------- صدا ---------------- */ | |
| .alist { display: flex; flex-direction: column; gap: 6px; } | |
| .arow { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); } | |
| .aplay { width: 40px; height: 40px; border-radius: 12px; background: var(--bg5); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--tx); } | |
| .aplay.on { background: var(--grad); color: #fff; } | |
| .ainfo { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; } | |
| .ainfo b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .ainfo small { font-size: 11px; color: var(--tx3); } | |
| .rec { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0 4px; } | |
| .rec-meter { width: 100%; height: 56px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); } | |
| .rec-time { font-size: 22px; font-weight: 800; font-feature-settings: "tnum" 1; color: var(--tx2); } | |
| .rec.on .rec-time { color: #fb5779; } | |
| .rec-btn { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; display: flex; align-items: center; justify-content: center; } | |
| .rec-btn i { width: 54px; height: 54px; border-radius: 50%; background: #fb5779; transition: all 0.25s var(--spring); } | |
| .rec.on .rec-btn i { width: 28px; height: 28px; border-radius: 8px; } | |
| .rec-hint { font-size: 12px; color: var(--tx3); text-align: center; line-height: 1.9; max-width: 340px; } | |
| /* ---------------- بوم ---------------- */ | |
| .ratios { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; } | |
| .ratio { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line); } | |
| .ratio b { font-size: 13px; } | |
| .ratio small { font-size: 10px; color: var(--tx3); line-height: 1.3; text-align: center; } | |
| .ratio.on { border-color: var(--ac); background: var(--ac-soft); } | |
| .ratio-ic { display: block; border: 2px solid currentColor; border-radius: 4px; color: var(--tx2); margin: 2px 0; } | |
| .ratio.on .ratio-ic { color: var(--ac-l); } | |
| .ratio-ic.orig { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-style: dashed; } | |
| /* ---------------- رنگ ---------------- */ | |
| .hsl-bands { display: flex; gap: 10px; justify-content: space-between; padding: 6px 2px; } | |
| .hsl-b { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; transition: transform 0.15s; flex: 0 0 auto; } | |
| .hsl-b.on { transform: scale(1.12); box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #fff; } | |
| .curve-wrap { position: relative; width: 100%; aspect-ratio: 1.35 / 1; max-height: 260px; border-radius: 14px; overflow: hidden; background: #111119; border: 1px solid var(--line); margin-top: 6px; } | |
| .curve-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; } | |
| .fx-params { display: flex; flex-direction: column; } | |
| .fx-card { border: 1px solid var(--line2); border-radius: 16px; padding: 8px 10px 4px; background: rgba(255, 255, 255, 0.02); } | |
| .fx-card.off { opacity: 0.5; } | |
| .fx-card-h { display: flex; align-items: center; gap: 8px; } | |
| .fx-card-h canvas { width: 40px; height: 40px; border-radius: 10px; } | |
| .fx-card-h b { font-size: 13px; } | |
| .adj-icons { display: flex; gap: 4px; margin: 2px -16px 0; padding: 4px 16px 6px; } | |
| .adj-i { flex: 0 0 auto; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; color: var(--tx3); font-weight: 600; } | |
| .adj-i i { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg4); color: var(--tx2); position: relative; transition: all 0.15s; } | |
| .adj-i.set i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--ac-l); border: 2px solid var(--bg2); } | |
| .adj-i.on { color: var(--tx); } | |
| .adj-i.on i { background: var(--tx); color: #0b0b12; } | |
| .adj-i span { white-space: nowrap; } | |
| .adj-one { min-height: 70px; } | |
| /* ---------------- سرعت ---------------- */ | |
| .speed-curve { width: 100%; height: 150px; border-radius: 14px; background: #111119; border: 1px solid var(--line); touch-action: none; } | |
| /* ---------------- برش کادر ---------------- */ | |
| .crop-stage { position: relative; height: clamp(220px, 42vh, 420px); border-radius: 14px; background: #08080c; overflow: hidden; touch-action: none; } | |
| .crop-cv { position: absolute; } | |
| .crop-rect { position: absolute; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6); border: 1.5px solid #fff; cursor: move; touch-action: none; } | |
| .crop-rect .g { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px); background-size: 33.333% 33.333%; background-position: -1px -1px; } | |
| .crop-rect .c { position: absolute; width: 24px; height: 24px; z-index: 2; touch-action: none; border: 0 solid #fff; } | |
| .crop-rect .c::before { content: ""; position: absolute; inset: -12px; } | |
| .crop-rect .c.tl { left: -4px; top: -4px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 4px; } | |
| .crop-rect .c.tr { right: -4px; top: -4px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 4px; } | |
| .crop-rect .c.bl { left: -4px; bottom: -4px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 4px; } | |
| .crop-rect .c.br { right: -4px; bottom: -4px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 4px; } | |
| /* ---------------- ماسک ---------------- */ | |
| .mask-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; } | |
| .mtype { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line); font-size: 11.5px; color: var(--tx2); } | |
| .mtype.on { border-color: var(--ac); color: var(--tx); background: var(--ac-soft); } | |
| .mask-ov { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; } | |
| .mask-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; } | |
| .mask-svg .m-out { fill: none; stroke: rgba(0, 0, 0, 0.6); stroke-width: 4; } | |
| .mask-svg .m-in { fill: none; stroke: #ffd400; stroke-width: 1.8; stroke-dasharray: 6 4; } | |
| .mh { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); pointer-events: auto; touch-action: none; cursor: grab; } | |
| .mh .ic { width: 16px; height: 16px; stroke-width: 2.3; } | |
| .mh-move { background: rgba(255, 255, 255, 0.9); } | |
| .mh-f { background: #ffd400; width: 26px; height: 26px; } | |
| .mh-rot { background: var(--ac); color: #fff; } | |
| .stage.mask-mode .selbox { display: none; } | |
| /* کروما و ترکیب */ | |
| .dotc { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); } | |
| .blend-grid { display: flex; flex-wrap: wrap; gap: 7px; } | |
| .blend-grid .chip { height: 30px; font-size: 12px; } | |
| .kf-row { display: flex; align-items: center; gap: 8px; justify-content: center; } | |
| .kf-tog { flex: 1 1 auto; max-width: 260px; } | |
| .kf-tog .ic { color: var(--warn); } | |
| .kf-tog.on { background: rgba(251, 191, 36, 0.16); border-color: rgba(251, 191, 36, 0.5); } | |
| /* ---------------- متن ---------------- */ | |
| .text-top { display: flex; gap: 8px; align-items: flex-end; } | |
| .text-input { min-height: 46px; max-height: 140px; font-size: 15px; line-height: 1.7; padding: 10px 14px; } | |
| .ttabs { display: flex; gap: 4px; margin: 0 -16px; padding: 2px 16px 6px; border-bottom: 1px solid var(--line); } | |
| .pane-body .ttabs { margin: 0 -14px; padding: 2px 14px 6px; } | |
| .ttabs button { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 12px; color: var(--tx3); font-size: 11px; font-weight: 700; } | |
| .ttabs button.on { color: var(--tx); background: var(--bg4); } | |
| .ttabs button.on .ic { color: var(--ac-l); } | |
| .font-list { display: flex; flex-direction: column; gap: 6px; } | |
| .font-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line); min-height: 56px; } | |
| .font-row .fs { font-size: 21px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .font-row small { color: var(--tx3); font-size: 10.5px; flex: 0 0 auto; } | |
| .font-row.on { border-color: var(--ac); background: var(--ac-soft); } | |
| /* زیرنویسها */ | |
| .tr-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 0; font-size: 12px; } | |
| .tr-bar:empty { display: none; } | |
| .tr-list { display: flex; flex-direction: column; gap: 4px; } | |
| .tr-row { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 12px; border: 1px solid transparent; transition: background 0.15s; } | |
| .tr-row.now { background: var(--ac-soft); border-color: rgba(124, 92, 255, 0.35); } | |
| .tr-chk { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line3); flex: 0 0 auto; position: relative; } | |
| .tr-chk.on { background: var(--err); border-color: var(--err); } | |
| .tr-chk.on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); } | |
| .tr-time { font-size: 11px; color: var(--ac-l); font-weight: 700; flex: 0 0 auto; padding: 4px 6px; border-radius: 8px; background: rgba(124, 92, 255, 0.1); font-feature-settings: "tnum" 1; } | |
| .tr-text { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 6px 2px; font-size: 13.5px; color: var(--tx); outline: none; } | |
| .tr-text:focus { border-bottom-color: var(--ac); } | |
| /* ---------------- هوشمند ---------------- */ | |
| .ai-hero { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.08)); border: 1px solid rgba(124, 92, 255, 0.25); } | |
| .ai-hero i { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; box-shadow: var(--sh-ac); } | |
| .ai-hero i .ic { width: 26px; height: 26px; } | |
| .ai-hero p { margin: 0; font-size: 12.5px; line-height: 1.95; color: var(--tx2); } | |
| .ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } | |
| .ai-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 16px; text-align: right; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); min-height: 112px; transition: border-color 0.15s, transform 0.15s; } | |
| .ai-card:active { transform: scale(0.97); } | |
| .ai-card:hover { border-color: rgba(124, 92, 255, 0.5); } | |
| .ai-card i { width: 34px; height: 34px; border-radius: 11px; background: var(--ac-soft); color: var(--ac-l); display: flex; align-items: center; justify-content: center; margin-bottom: 2px; } | |
| .ai-card b { font-size: 13px; } | |
| .ai-card small { font-size: 11px; color: var(--tx3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } | |
| .voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; } | |
| .vcard { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 12px; color: var(--tx2); } | |
| .vcard i { width: 42px; height: 42px; border-radius: 50%; background: var(--bg4); display: flex; align-items: center; justify-content: center; color: var(--tx); } | |
| .vcard:active { transform: scale(0.95); } | |
| .tts-voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; } | |
| .tts-v { display: flex; flex-direction: column; align-items: flex-start; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line); text-align: right; } | |
| .tts-v b { font-size: 13px; } | |
| .tts-v small { font-size: 10.5px; color: var(--tx3); } | |
| .tts-v.on { border-color: var(--ac); background: var(--ac-soft); } | |
| .ttl-block { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; } | |
| .ttl-text { font-size: 13.5px; line-height: 1.9; white-space: pre-wrap; user-select: text; -webkit-user-select: text; } | |
| /* ---------------- نوار کارهای در حال انجام ---------------- */ | |
| .job-tray { position: absolute; top: 10px; right: 10px; z-index: 25; display: flex; flex-direction: column; gap: 8px; max-width: min(320px, calc(100% - 20px)); pointer-events: none; } | |
| .job-pill { | |
| display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 16px; background: rgba(20, 20, 29, 0.92); | |
| border: 1px solid var(--line2); box-shadow: var(--sh2); pointer-events: auto; animation: pillIn 0.3s var(--spring); text-align: right; color: var(--tx); | |
| -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); | |
| } | |
| .job-pill.out { opacity: 0; transform: translateY(-8px); transition: all 0.3s; } | |
| .jp-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; } | |
| .jp-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.4; } | |
| .jp-txt b { font-size: 12.5px; } | |
| .jp-txt small { font-size: 10.5px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .jp-txt .prog { height: 4px; } | |
| @keyframes pillIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } } | |
| /* ---------------- خروجی ---------------- */ | |
| .exp-head { display: flex; gap: 12px; align-items: center; } | |
| .exp-thumb { width: 64px; max-height: 96px; border-radius: 12px; overflow: hidden; background: #000; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; } | |
| .exp-thumb img { width: 100%; height: 100%; object-fit: cover; } | |
| .exp-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.6; } | |
| .exp-meta b { font-size: 15px; } | |
| .exp-meta .dim { font-size: 12px; } | |
| .exp-est { font-size: 12px; color: var(--ac-l); font-weight: 700; } | |
| .exp-formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; } | |
| .exp-f { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line); text-align: center; } | |
| .exp-f b { font-size: 13px; } | |
| .exp-f small { font-size: 10px; color: var(--tx3); line-height: 1.5; } | |
| .exp-f.on { border-color: var(--ac); background: var(--ac-soft); } | |
| .exp-f.on .ic { color: var(--ac-l); } | |
| .exp-go { margin-top: 16px; } | |
| .exp-prog { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 8px; } | |
| .ring-box { position: relative; width: 140px; height: 140px; } | |
| .ring { width: 100%; height: 100%; transform: rotate(-90deg); } | |
| .ring .rbg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 8; } | |
| .ring .rfg { fill: none; stroke: var(--ac); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.4s var(--ease); } | |
| .ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; font-feature-settings: "tnum" 1; } | |
| .exp-stage { font-size: 15px; font-weight: 800; } | |
| .exp-sub { font-size: 12px; text-align: center; min-height: 20px; } | |
| .exp-done { display: flex; flex-direction: column; gap: 10px; } | |
| .exp-ok { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ok); font-weight: 800; font-size: 15px; } | |
| .exp-media { width: 100%; max-height: 46vh; object-fit: contain; border-radius: 14px; background: #000; } | |
| .exp-audio { width: 100%; } | |
| .exp-info { text-align: center; font-size: 12px; } | |
| .exp-pill { border: 1px solid rgba(124, 92, 255, 0.45); } | |
| /* ---------------- دانلود داخل برنامه ---------------- */ | |
| .dl-ov { position: fixed; inset: 0; z-index: 120; background: rgba(4, 4, 8, 0.7); display: none; align-items: center; justify-content: center; padding: 20px; } | |
| .dl-ov.on { display: flex; } | |
| .dl-card { width: 100%; max-width: 340px; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r4); padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; } | |
| .dl-card b { font-size: 15px; } | |
| .dl-card small { font-size: 12px; color: var(--tx2); } | |
| .dl-card .prog { width: 100%; } | |
| .drop-zone { position: fixed; inset: 12px; z-index: 150; border: 2.5px dashed var(--ac); border-radius: 28px; background: rgba(10, 10, 15, 0.82); display: flex; align-items: center; justify-content: center; pointer-events: none; animation: pillIn 0.2s; } | |
| .drop-zone div { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--tx); } | |
| .drop-zone .ic { width: 54px; height: 54px; color: var(--ac-l); } | |
| .drop-zone span { color: var(--tx2); font-size: 13px; } | |
| /* ---------------- ستون ویژگیها (دسکتاپ) ---------------- */ | |
| .insp-headbox { flex: 0 0 auto; } | |
| .insp-headbox .insp-head { padding: 12px 12px 8px; } | |
| .insp-headbox .ibtn { margin-right: auto; } | |
| .ed-inspector .insp-tabs { padding: 4px 8px 0; gap: 2px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } | |
| .ed-inspector .insp-tabs::-webkit-scrollbar { display: none; } | |
| .ed-inspector .insp-tabs button { flex: 0 0 auto; } | |
| .ed-inspector .pane-body, .ed-assets .pane-body { padding: 12px 14px 22px; } | |
| .ed-inspector .pane-body::-webkit-scrollbar, .ed-assets .pane-body::-webkit-scrollbar { width: 6px; } | |
| .ed-inspector .pane-body::-webkit-scrollbar-thumb, .ed-assets .pane-body::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 6px; } | |
| @media (min-width: 900px) and (min-height: 560px) { | |
| .tiles { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); } | |
| .tiles.big { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } | |
| .ai-grid { grid-template-columns: 1fr 1fr; } | |
| .add-big { padding: 12px; } | |
| } | |
| /* ویدیوی خودکار: سبکها */ | |
| .ae-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; } | |
| .ae-style { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 16px; background: var(--bg3); | |
| border: 1.5px solid transparent; font-size: 12.5px; font-weight: 700; color: var(--tx2); transition: transform 0.15s var(--ease), border-color 0.15s; } | |
| .ae-style i { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; | |
| background: var(--sc, var(--ac)); box-shadow: 0 8px 18px -8px var(--sc, var(--ac)); } | |
| .ae-style.on { border-color: var(--sc, var(--ac)); color: var(--tx); background: var(--bg4); } | |
| .ae-style:active { transform: scale(0.96); } | |