Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d49d3666e | ||
|
|
8411c5c23d | ||
|
|
89c42e2d74 | ||
|
|
d4b7da078a | ||
|
|
1b00c9dd27 | ||
|
|
3cc67d7eea | ||
|
|
b40267b7da | ||
|
|
b5e8ea28ce | ||
|
|
18f8a601e8 | ||
|
|
e90d928bf1 | ||
|
|
b6bc8b639e | ||
|
|
15afecd728 | ||
|
|
37849474e3 | ||
|
|
2b48dce79b | ||
|
|
875ee098bd | ||
|
|
d8e87f29d5 | ||
|
|
64a961bc74 | ||
|
|
1fb61b784e | ||
|
|
65fdc8a71f | ||
|
|
944b779fcd |
@@ -0,0 +1,55 @@
|
|||||||
|
name: Publish PeerTube Plugin to npm
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '24'
|
||||||
|
|
||||||
|
- name: Syntax check main plugin entrypoint
|
||||||
|
run: node --check main.js
|
||||||
|
|
||||||
|
- name: Check npm version and publish if new
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
NPM_TOKEN_SECRET: ${{ secrets.NPM_TOKEN }}
|
||||||
|
run: |
|
||||||
|
PKG_NAME=$(node -p "require('./package.json').name")
|
||||||
|
PKG_VER=$(node -p "require('./package.json').version")
|
||||||
|
PUBLISHED=$(npm view "${PKG_NAME}@${PKG_VER}" version 2>/dev/null || true)
|
||||||
|
|
||||||
|
if [ "$PUBLISHED" = "$PKG_VER" ]; then
|
||||||
|
echo "Version ${PKG_VER} of ${PKG_NAME} is already on npm. Skipping publish."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$NPM_TOKEN_SECRET" ]; then
|
||||||
|
printf "//registry.npmjs.org/:_authToken=%s\n" "$NPM_TOKEN_SECRET" > ~/.npmrc
|
||||||
|
npm publish --access public
|
||||||
|
else
|
||||||
|
npm install -g npm@latest
|
||||||
|
npm -v
|
||||||
|
npm publish --provenance --access public
|
||||||
|
fi
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.7.3",
|
"version": "1.8.0",
|
||||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube",
|
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"library": "./main.js",
|
"library": "./main.js",
|
||||||
|
|||||||
@@ -75,13 +75,13 @@ a[href*='joinpeertube'] {
|
|||||||
.yaktube-ondemand-section {
|
.yaktube-ondemand-section {
|
||||||
margin: 24px 0;
|
margin: 24px 0;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background: rgba(22, 22, 30, 0.92);
|
background: rgba(18, 20, 28, 0.96);
|
||||||
border: 1px solid rgba(255, 143, 55, 0.35);
|
border: 1px solid rgba(255, 143, 55, 0.35);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
backdrop-filter: blur(10px);
|
|
||||||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
overflow-anchor: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.yaktube-header {
|
.yaktube-header {
|
||||||
@@ -153,16 +153,14 @@ a[href*='joinpeertube'] {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transition:
|
transition:
|
||||||
transform 0.2s ease,
|
|
||||||
border-color 0.2s ease,
|
border-color 0.2s ease,
|
||||||
box-shadow 0.2s ease;
|
box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.yaktube-card:hover,
|
.yaktube-card:hover,
|
||||||
.yaktube-card:focus-within {
|
.yaktube-card:focus-within {
|
||||||
transform: translateY(-4px);
|
border-color: rgba(255, 143, 55, 0.65);
|
||||||
border-color: rgba(255, 143, 55, 0.6);
|
box-shadow: 0 8px 20px rgba(255, 143, 55, 0.18);
|
||||||
box-shadow: 0 10px 22px rgba(255, 143, 55, 0.18);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.yaktube-thumb-wrap {
|
.yaktube-thumb-wrap {
|
||||||
@@ -180,11 +178,6 @@ a[href*='joinpeertube'] {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transition: transform 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yaktube-card:hover .yaktube-thumb-img {
|
|
||||||
transform: scale(1.05);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.yaktube-duration-badge {
|
.yaktube-duration-badge {
|
||||||
@@ -1764,7 +1757,6 @@ my-date-toggle .date-toggle:focus-visible {
|
|||||||
outline: 2px solid #ff8f37 !important;
|
outline: 2px solid #ff8f37 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* === YakTube WCAG 2.1 AAA Video Player Accessibility: Keep Controls Accessible === */
|
/* === YakTube WCAG 2.1 AAA Video Player Accessibility: Keep Controls Accessible === */
|
||||||
|
|
||||||
/* 1. Video duraklatıldığında veya klavye/ekran okuyucu odaklandığında denetim çubuğunu görünür tut */
|
/* 1. Video duraklatıldığında veya klavye/ekran okuyucu odaklandığında denetim çubuğunu görünür tut */
|
||||||
@@ -1789,3 +1781,904 @@ my-date-toggle .date-toggle:focus-visible {
|
|||||||
outline-offset: 2px !important;
|
outline-offset: 2px !important;
|
||||||
box-shadow: 0 0 10px rgba(255, 143, 55, 0.8) !important;
|
box-shadow: 0 0 10px rgba(255, 143, 55, 0.8) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* === YakTube NLnet WCAG 2.2 AAA & Privacy Suite Styles === */
|
||||||
|
|
||||||
|
/* 1. Yalnızca Ses ve Ekran Karartma Modu */
|
||||||
|
.yaktube-audio-blank-overlay {
|
||||||
|
position: fixed !important;
|
||||||
|
top: 0 !important;
|
||||||
|
left: 0 !important;
|
||||||
|
width: 100vw !important;
|
||||||
|
height: 100vh !important;
|
||||||
|
background: #000 !important;
|
||||||
|
z-index: 9999999 !important;
|
||||||
|
display: flex !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
text-align: center !important;
|
||||||
|
color: #fff !important;
|
||||||
|
padding: 24px !important;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-audio-blank-content {
|
||||||
|
background: rgba(20, 20, 28, 0.95) !important;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.5) !important;
|
||||||
|
border-radius: 20px !important;
|
||||||
|
padding: 32px 24px !important;
|
||||||
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9) !important;
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
align-items: center !important;
|
||||||
|
animation: yaktube-fade-in 0.25s ease-out !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-audio-action-btn {
|
||||||
|
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
|
||||||
|
color: #fff !important;
|
||||||
|
border: none !important;
|
||||||
|
border-radius: 10px !important;
|
||||||
|
padding: 12px 20px !important;
|
||||||
|
font-size: 14px !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
transition:
|
||||||
|
transform 0.15s,
|
||||||
|
opacity 0.15s !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-audio-action-btn:hover,
|
||||||
|
.yaktube-audio-action-btn:focus-visible {
|
||||||
|
transform: scale(1.05) !important;
|
||||||
|
outline: 3px solid #ff8f37 !important;
|
||||||
|
outline-offset: 3px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 2. Erişilebilir Canlı Transkript Paneli */
|
||||||
|
.yaktube-transcript-panel {
|
||||||
|
margin: 16px 0 !important;
|
||||||
|
background: #181824 !important;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.35) !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
|
||||||
|
color: #fff !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
animation: yaktube-fade-in 0.2s ease-out !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-header {
|
||||||
|
display: flex !important;
|
||||||
|
justify-content: space-between !important;
|
||||||
|
align-items: center !important;
|
||||||
|
padding: 14px 18px !important;
|
||||||
|
background: rgba(255, 255, 255, 0.04) !important;
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||||
|
flex-wrap: wrap !important;
|
||||||
|
gap: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-search {
|
||||||
|
background: #22222e !important;
|
||||||
|
border: 1px solid #444 !important;
|
||||||
|
border-radius: 8px !important;
|
||||||
|
padding: 6px 12px !important;
|
||||||
|
color: #fff !important;
|
||||||
|
font-size: 13px !important;
|
||||||
|
width: 180px !important;
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-search:focus {
|
||||||
|
border-color: #ff8f37 !important;
|
||||||
|
box-shadow: 0 0 8px rgba(255, 143, 55, 0.4) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-list {
|
||||||
|
list-style: none !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 8px 12px !important;
|
||||||
|
max-height: 280px !important;
|
||||||
|
overflow-y: auto !important;
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
gap: 4px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-item {
|
||||||
|
display: flex !important;
|
||||||
|
align-items: baseline !important;
|
||||||
|
gap: 12px !important;
|
||||||
|
padding: 8px 12px !important;
|
||||||
|
border-radius: 8px !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
transition: background 0.15s ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-item:hover,
|
||||||
|
.yaktube-transcript-item:focus-visible {
|
||||||
|
background: rgba(255, 143, 55, 0.15) !important;
|
||||||
|
outline: 2px solid #ff8f37 !important;
|
||||||
|
outline-offset: -2px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-item.active {
|
||||||
|
background: rgba(255, 143, 55, 0.25) !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
border-left: 4px solid #ff8f37 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-time {
|
||||||
|
font-family: monospace !important;
|
||||||
|
font-size: 12px !important;
|
||||||
|
color: #ff8f37 !important;
|
||||||
|
background: rgba(255, 143, 55, 0.1) !important;
|
||||||
|
padding: 2px 6px !important;
|
||||||
|
border-radius: 4px !important;
|
||||||
|
flex-shrink: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-text {
|
||||||
|
font-size: 14px !important;
|
||||||
|
line-height: 1.45 !important;
|
||||||
|
color: #e5e5e5 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 3. Araç Çubuğu Butonlarının Aktif Hali */
|
||||||
|
.yaktube-player-action-btn.active {
|
||||||
|
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
|
||||||
|
color: #fff !important;
|
||||||
|
border-color: #ff8f37 !important;
|
||||||
|
box-shadow: 0 0 12px rgba(255, 143, 55, 0.6) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 4. Fediverse Çift Otomatik Oynatma Düğmesi Çakışmasını Engelleme (Tek Birleşik YakTube Oto-Oynat) */
|
||||||
|
my-recommended-videos .other-videos-header,
|
||||||
|
.other-videos .other-videos-header,
|
||||||
|
my-recommended-videos my-input-switch,
|
||||||
|
.other-videos my-input-switch,
|
||||||
|
my-recommended-videos .autoplay-line,
|
||||||
|
.other-videos .autoplay-line,
|
||||||
|
#auto-play-video,
|
||||||
|
label[for='auto-play-video'],
|
||||||
|
.vjs-upnext-content {
|
||||||
|
display: none !important;
|
||||||
|
visibility: hidden !important;
|
||||||
|
pointer-events: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================================
|
||||||
|
5. Live Audio Studio, Spectrum & A-B Loop (v1.8.0)
|
||||||
|
============================================================================ */
|
||||||
|
.yaktube-studio-modal {
|
||||||
|
max-width: 520px !important;
|
||||||
|
width: 94vw !important;
|
||||||
|
background: #141824 !important;
|
||||||
|
color: #f8fafc !important;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.35) !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
padding: 20px !important;
|
||||||
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-spectrum {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
height: 64px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background: rgba(15, 23, 42, 0.85);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
margin: 10px 0 14px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-warn {
|
||||||
|
background: rgba(59, 130, 246, 0.16);
|
||||||
|
border: 1px solid rgba(96, 165, 250, 0.45);
|
||||||
|
color: #bfdbfe;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
font-size: 13px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-presets {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-preset-btn {
|
||||||
|
background: #1e293b;
|
||||||
|
color: #e2e8f0;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-preset-btn:hover,
|
||||||
|
.yaktube-studio-preset-btn:focus-visible {
|
||||||
|
border-color: #ff8f37;
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-preset-btn.active {
|
||||||
|
background: linear-gradient(135deg, #ff8f37 0%, #ea580c 100%);
|
||||||
|
color: #0b0f19;
|
||||||
|
font-weight: 800;
|
||||||
|
border-color: #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-sliders {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #cbd5e1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-row span {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-row input[type='range'] {
|
||||||
|
width: 100%;
|
||||||
|
accent-color: #ff8f37;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-studio-check {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #e2e8f0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-ab-loop-pill {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 20px;
|
||||||
|
left: 20px;
|
||||||
|
z-index: 99990;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
background: rgba(15, 23, 42, 0.96);
|
||||||
|
color: #f8fafc;
|
||||||
|
border: 1.5px solid #ff8f37;
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 8px 14px;
|
||||||
|
font-size: 13px;
|
||||||
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-ab-clear-btn {
|
||||||
|
background: rgba(255, 143, 55, 0.18);
|
||||||
|
color: #ff8f37;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.5);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 3px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 700;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================================
|
||||||
|
6. Smart Transcript Chapters, Playback Queue & Background Import (v1.8.0)
|
||||||
|
============================================================================ */
|
||||||
|
.yaktube-transcript-langs,
|
||||||
|
.yaktube-transcript-chapters {
|
||||||
|
padding: 10px 14px;
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
background: rgba(15, 23, 42, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-langs {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-lang-btn {
|
||||||
|
background: #1e293b;
|
||||||
|
color: #cbd5e1;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-lang-btn.active {
|
||||||
|
background: #ff8f37;
|
||||||
|
color: #0b0f19;
|
||||||
|
font-weight: 700;
|
||||||
|
border-color: #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-chapters-title {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #ff8f37;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-chapters-row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
|
max-height: 120px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-chapter-chip {
|
||||||
|
background: rgba(30, 41, 59, 0.9);
|
||||||
|
color: #f1f5f9;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.3);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-chapter-chip:hover,
|
||||||
|
.yaktube-chapter-chip:focus-visible {
|
||||||
|
background: rgba(255, 143, 55, 0.22);
|
||||||
|
border-color: #ff8f37;
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-chapter-time {
|
||||||
|
font-family: monospace;
|
||||||
|
color: #ff8f37;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-transcript-loading {
|
||||||
|
padding: 10px 14px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #93c5fd;
|
||||||
|
background: rgba(59, 130, 246, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-card-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
|
gap: 6px;
|
||||||
|
margin-top: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-card-actions > .yaktube-import-btn,
|
||||||
|
.yaktube-card-actions > .yaktube-play-btn {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-add-btn {
|
||||||
|
background: rgba(30, 41, 59, 0.95);
|
||||||
|
color: #fde68a;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.45);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 700;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-add-btn:hover,
|
||||||
|
.yaktube-queue-add-btn:focus-visible {
|
||||||
|
background: #ff8f37;
|
||||||
|
color: #0b0f19;
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-floating-queue-btn {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 20px;
|
||||||
|
right: 20px;
|
||||||
|
z-index: 99985;
|
||||||
|
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
|
||||||
|
color: #ff8f37;
|
||||||
|
border: 1.5px solid #ff8f37;
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 10px 16px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 800;
|
||||||
|
cursor: pointer;
|
||||||
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-floating-queue-btn:focus-visible {
|
||||||
|
outline: 3px solid #fff;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-modal {
|
||||||
|
max-width: 580px !important;
|
||||||
|
width: 95vw !important;
|
||||||
|
background: #141824 !important;
|
||||||
|
color: #f8fafc !important;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.35) !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
padding: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-scroll {
|
||||||
|
max-height: 55vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
margin: 10px 0 14px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-list {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
background: rgba(30, 41, 59, 0.72);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 8px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-num {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(255, 143, 55, 0.2);
|
||||||
|
color: #ff8f37;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 12px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-thumb {
|
||||||
|
width: 68px;
|
||||||
|
height: 40px;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 6px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-meta {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-item-title {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #f8fafc;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-item-sub {
|
||||||
|
font-size: 11px;
|
||||||
|
color: #94a3b8;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-item-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 4px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-act-btn {
|
||||||
|
background: #0f172a;
|
||||||
|
color: #f8fafc;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 4px 7px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-queue-act-btn:hover,
|
||||||
|
.yaktube-queue-act-btn:focus-visible {
|
||||||
|
border-color: #ff8f37;
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-pill {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 70px;
|
||||||
|
right: 20px;
|
||||||
|
z-index: 99992;
|
||||||
|
max-width: 360px;
|
||||||
|
background: rgba(15, 23, 42, 0.97);
|
||||||
|
color: #f8fafc;
|
||||||
|
border: 1.5px solid #38bdf8;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 12px 14px;
|
||||||
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-pill.ready {
|
||||||
|
border-color: #10b981;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-text {
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-go-btn {
|
||||||
|
background: #10b981;
|
||||||
|
color: #052e16;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 5px 12px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-bg-import-sub-btn,
|
||||||
|
.yaktube-bg-import-close-btn {
|
||||||
|
background: #1e293b;
|
||||||
|
color: #e2e8f0;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================================
|
||||||
|
7. Continue Watching Shelf, Command Palette & Admin Server Cockpit (v1.8.0)
|
||||||
|
============================================================================ */
|
||||||
|
.yaktube-cmd-palette-trigger-btn {
|
||||||
|
width: 34px;
|
||||||
|
height: 34px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(30, 41, 59, 0.9);
|
||||||
|
color: #ff8f37;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.45);
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 14px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-palette-trigger-btn:hover,
|
||||||
|
.yaktube-cmd-palette-trigger-btn:focus-visible {
|
||||||
|
background: #ff8f37;
|
||||||
|
color: #0b0f19;
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-shelf {
|
||||||
|
margin: 14px 0 22px 0;
|
||||||
|
padding: 16px;
|
||||||
|
background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.85) 100%);
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.28);
|
||||||
|
border-radius: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-header h3 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 800;
|
||||||
|
color: #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-card {
|
||||||
|
background: rgba(15, 23, 42, 0.85);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
border-radius: 12px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-thumb-link {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
background: #020617;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-thumb-link img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-badge {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 8px;
|
||||||
|
right: 8px;
|
||||||
|
background: rgba(2, 6, 23, 0.88);
|
||||||
|
color: #fde68a;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 700;
|
||||||
|
padding: 2px 7px;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-progress {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 4px;
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-progress > div {
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(90deg, #ff8f37, #ea580c);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-body {
|
||||||
|
padding: 10px 12px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-title {
|
||||||
|
color: #f8fafc;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.35;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-sub {
|
||||||
|
font-size: 11px;
|
||||||
|
color: #94a3b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-continue-resume-btn {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
text-align: center;
|
||||||
|
background: linear-gradient(135deg, #ff8f37 0%, #ea580c 100%);
|
||||||
|
color: #0b0f19 !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cw-remove-btn {
|
||||||
|
background: #1e293b;
|
||||||
|
color: #cbd5e1;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 6px 8px;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-modal {
|
||||||
|
max-width: 580px !important;
|
||||||
|
width: 95vw !important;
|
||||||
|
background: #0f172a !important;
|
||||||
|
color: #f8fafc !important;
|
||||||
|
border: 1.5px solid #ff8f37 !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
padding: 18px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-input {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 10px 0 12px 0;
|
||||||
|
padding: 10px 14px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(255, 143, 55, 0.5);
|
||||||
|
background: #1e293b;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-input:focus {
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-list {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
max-height: 50vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-item {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background: rgba(30, 41, 59, 0.65);
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-item:hover,
|
||||||
|
.yaktube-cmd-item.selected {
|
||||||
|
background: rgba(255, 143, 55, 0.24);
|
||||||
|
outline: 2px solid #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cmd-empty {
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
color: #94a3b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-modal {
|
||||||
|
max-width: 720px !important;
|
||||||
|
width: 96vw !important;
|
||||||
|
background: #0f172a !important;
|
||||||
|
color: #f8fafc !important;
|
||||||
|
border: 1.5px solid rgba(56, 189, 248, 0.55) !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
padding: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
||||||
|
gap: 10px;
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-card {
|
||||||
|
background: rgba(30, 41, 59, 0.82);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-label {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #94a3b8;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-val {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 800;
|
||||||
|
color: #ff8f37;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-sub {
|
||||||
|
font-size: 11px;
|
||||||
|
color: #cbd5e1;
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-section-title {
|
||||||
|
text-align: left;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #38bdf8;
|
||||||
|
margin: 8px 0 6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-issues {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0 0 14px 0;
|
||||||
|
padding: 0;
|
||||||
|
max-height: 150px;
|
||||||
|
overflow-y: auto;
|
||||||
|
text-align: left;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-issues li {
|
||||||
|
background: rgba(30, 41, 59, 0.6);
|
||||||
|
padding: 7px 10px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-size: 12px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yaktube-cockpit-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-end;
|
||||||
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user