Compare commits

...
24 Commits
Author SHA1 Message Date
Enes Yakıştır 52480401c8 feat(sso): add silent sso-frame probe to automatically recognize active YakNet sessions v1.4.15 2026-08-31 20:35:08 +03:00
Enes Yakıştır 46a9c8ab8c feat(auth): robust hybrid YakNet SSO architecture with zero shadow DOM duplicate buttons v1.4.14 2026-08-31 20:29:13 +03:00
Enes Yakıştır a5568de3cc fix(a11y): completely remove yaknet-account from DOM tree when guest for 100% screen reader cleanliness v1.4.13 2026-08-31 20:25:24 +03:00
Enes Yakıştır d629c97dd8 fix(header): keep yaknet-account hidden for silent SSO probe when guest and show only single clean login button v1.4.12 2026-08-31 20:23:46 +03:00
Enes Yakıştır 3016fc6328 fix: suppress app banners, seamless background audio auto-resume, and continuous YakNet SSO session probe v1.4.11 2026-08-31 20:20:55 +03:00
Enes Yakıştır dac3137330 fix(compatibility): safe matchMedia check and wrap client in try-catch to prevent incompatible browser screen v1.4.10 2026-08-31 18:48:19 +03:00
Enes Yakıştır 15361a21b6 fix(search): restore dynamic recent searches in search modal and auto URL search capture v1.4.9 2026-08-31 18:46:13 +03:00
Enes Yakıştır c6e5abf87e chore: remove internal docs from public repo, make apk download instance-scoped v1.4.8 2026-08-31 17:04:44 +03:00
Enes Yakıştır e161dea9da feat(player): add native background playback on lock-screen and MediaSession API integration v1.4.7 2026-08-31 16:41:58 +03:00
Enes Yakıştır 6fc0f0ef97 feat(search): dynamic recent search history and popular trending topics v1.4.6 2026-08-31 14:43:22 +03:00
Enes Yakıştır c4fc917677 fix(a11y): polish login button label to YakNet ile Giriş Yap across DOM text and attributes v1.4.5 2026-08-31 14:33:55 +03:00
Enes Yakıştır 551b6d1ab6 fix(header): eliminate duplicate login button and polish single YakNet login link v1.4.4 2026-08-31 14:32:22 +03:00
Enes Yakıştır 51e41df3ca fix(peertube-spec): add library, staticDirs, translations, bugs for 100% PeerTube core compliance v1.4.3 2026-08-31 14:27:10 +03:00
Enes Yakıştır 97079931f2 feat(admin): add dedicated local admin login modal, Alt+A shortcut and 403 handler v1.4.2 2026-08-31 14:04:28 +03:00
Enes Yakıştır 22ed7a4bda chore(pkg): update GitHub repository URL in package.json 2026-08-30 12:29:35 +03:00
Enes Yakıştır 774c8f0f02 feat(a11y): add Alt modifier shortcuts, Turkish Q key mapping and accessible player action bar v1.4.1 2026-08-30 11:38:46 +03:00
Enes Yakıştır b5c2c97559 feat(player): add pro player controls, speed adjustment, theater mode and quick info toast v1.4.0 2026-08-30 02:21:21 +03:00
Enes Yakıştır b71e2a83a0 fix(modal): fix close button display none override and prettier format v1.3.3 2026-08-29 23:09:14 +03:00
Enes Yakıştır 85340b85c6 chore(ui): clean generic search labels and placeholders v1.3.2 2026-08-29 23:06:17 +03:00
Enes Yakıştır efa61318f6 refactor(ui): streamline search header into unified trigger pill and voice button v1.3.1 2026-08-29 23:04:50 +03:00
Enes Yakıştır 7572ddb565 feat(modal): implement interactive full YouTube search & voice modal with trends v1.3.0 2026-08-29 23:02:50 +03:00
Enes Yakıştır 8bc648a6bd fix(modal): guarantee unconditional voice modal opening and instant user feedback v1.2.4 2026-08-29 23:01:08 +03:00
Enes Yakıştır f17b1a3ecc feat(ui): ensure universal visibility for pill search bar, submit & voice buttons v1.2.3 2026-08-29 22:59:18 +03:00
Enes Yakıştır 1342281bef fix(a11y): remove repetitive card titles, clean date buttons & simplify search header v1.2.2 2026-08-29 22:43:55 +03:00
5 changed files with 3445 additions and 2564 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
node_modules/
docs/
*.log
.DS_Store
dist/
+4
View File
@@ -0,0 +1,4 @@
docs/
*.log
.git
.github
+3012 -2317
View File
File diff suppressed because it is too large Load Diff
+8 -4
View File
@@ -1,14 +1,17 @@
{
"name": "peertube-plugin-yaktube-ondemand",
"version": "1.2.1",
"version": "1.4.15",
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
"main": "main.js",
"library": "./main.js",
"staticDirs": {},
"translations": {},
"clientScripts": [
{
"script": "client.js",
"scopes": [
"common"
],
"script": "client.js"
]
}
],
"css": [
@@ -36,8 +39,9 @@
"author": "Enes Yakıştır <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/enesyakistir/peertube-plugin-yaktube-ondemand.git"
"url": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand.git"
},
"homepage": "https://yaktube.yakhub.com.tr",
"bugs": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand/issues",
"license": "AGPL-3.0-or-later"
}
+420 -242
View File
@@ -1,3 +1,29 @@
/* Permanent Aggressive Suppression of Generic JoinPeerTube / Framasoft Open-in-App Banners */
my-open-app,
my-open-in-app,
my-client-app-banner,
.open-app-container,
.app-banner,
[class*='open-app'],
[class*='open-in-app'],
.mobile-app-banner,
.app-promotion,
.client-app-banner,
a[href*='play.google.com/store/apps/details?id=app.joinpeertube'],
a[href*='f-droid.org'],
a[href*='joinpeertube'] {
display: none !important;
visibility: hidden !important;
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
pointer-events: none !important;
opacity: 0 !important;
position: absolute !important;
z-index: -99999 !important;
}
/* YakTube Accessibility & On-Demand CSS */
:focus-visible {
@@ -408,114 +434,82 @@ my-header .action-buttons {
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* YOUTUBE-STYLE SEARCH BAR & VOICE SEARCH MODAL (v1.2.1) */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* YOUTUBE FULL SEARCH & VOICE MODAL (v1.3.3 - Display Fix) */
/* -------------------------------------------------------------------------- */
/* Desktop & Common Pill Styling */
@media (min-width: 769px) {
my-search-typeahead,
.search-container,
.header-search {
display: flex !important;
align-items: center !important;
position: relative !important;
width: 100% !important;
max-width: 580px !important;
margin: 0 auto !important;
}
.yaktube-search-back-btn {
display: none !important;
}
.yaktube-mobile-search-trigger {
display: none !important;
}
/* Header Search Trigger Container */
my-search-typeahead,
.search-container,
.header-search {
display: flex !important;
align-items: center !important;
position: relative !important;
width: 100% !important;
max-width: 540px !important;
margin: 0 auto !important;
}
.yaktube-search-pill-wrapper {
.yaktube-search-outer-wrap {
display: flex !important;
align-items: center !important;
width: 100% !important;
}
/* Clickable Pill Button in Header */
.yaktube-search-trigger-pill {
display: flex !important;
align-items: center !important;
background: #121212 !important;
border: 1px solid #303030 !important;
border-radius: 40px !important;
padding: 2px 6px 2px 14px !important;
padding: 8px 18px !important;
transition: all 0.2s ease !important;
width: 100% !important;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}
.yaktube-search-pill-wrapper:focus-within {
border-color: #ff8f37 !important;
box-shadow:
0 0 0 1px #ff8f37,
0 0 12px rgba(255, 143, 55, 0.3) !important;
background: #0f0f0f !important;
}
.yaktube-search-pill-wrapper input {
background: transparent !important;
border: none !important;
color: #f1f1f1 !important;
font-size: 15px !important;
padding: 8px 6px !important;
width: 100% !important;
outline: none !important;
box-shadow: none !important;
}
.yaktube-search-pill-wrapper input::placeholder {
cursor: pointer !important;
color: #888 !important;
font-size: 14px !important;
font-size: 15px !important;
user-select: none !important;
gap: 10px !important;
}
/* Clear Button Inside Pill */
.yaktube-clear-search-btn {
background: rgba(255, 255, 255, 0.12) !important;
color: #aaa !important;
border: none !important;
border-radius: 50% !important;
width: 24px !important;
height: 24px !important;
display: none;
align-items: center !important;
justify-content: center !important;
font-size: 12px !important;
font-weight: 700 !important;
cursor: pointer !important;
margin: 0 6px !important;
transition: all 0.2s ease !important;
flex-shrink: 0 !important;
}
.yaktube-clear-search-btn:hover {
background: rgba(255, 255, 255, 0.25) !important;
color: #fff !important;
}
/* Search Submit Button on Right of Pill */
.yaktube-search-submit-btn {
background: #222222 !important;
.yaktube-search-trigger-pill:hover,
.yaktube-search-trigger-pill:focus {
border-color: #ff8f37 !important;
background: #18181c !important;
color: #f1f1f1 !important;
border: none !important;
border-left: 1px solid #303030 !important;
border-radius: 0 40px 40px 0 !important;
padding: 8px 18px !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-size: 14px !important;
transition: all 0.2s ease !important;
margin: -2px -6px -2px 0 !important;
box-shadow: 0 0 12px rgba(255, 143, 55, 0.25) !important;
outline: none !important;
}
.yaktube-search-submit-btn:hover {
background: #272727 !important;
.yaktube-search-trigger-icon {
font-size: 15px !important;
color: #ff8f37 !important;
}
/* YouTube Circular Voice Button Beside Search Box */
.yaktube-search-trigger-text {
flex: 1 !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
text-align: left !important;
}
.yaktube-search-trigger-shortcut {
font-size: 11px !important;
background: #252530 !important;
color: #aaa !important;
padding: 2px 6px !important;
border-radius: 6px !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* Circular Voice Button in Header */
.yaktube-voice-search-btn {
background: #1f1f1f !important;
color: #f1f1f1 !important;
@@ -528,217 +522,401 @@ my-header .action-buttons {
justify-content: center !important;
font-size: 18px !important;
cursor: pointer !important;
margin-left: 10px !important;
margin-left: 8px !important;
transition: all 0.25s ease !important;
flex-shrink: 0 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
.yaktube-voice-search-btn:hover {
.yaktube-voice-search-btn:hover,
.yaktube-voice-search-btn:focus {
background: #2a2a2a !important;
border-color: #ff8f37 !important;
color: #ff8f37 !important;
transform: scale(1.06) !important;
outline: none !important;
}
/* YouTube-Style Voice Search Modal Overlay */
.yaktube-voice-modal-overlay {
/* -------------------------------------------------------------------------- */
/* FULL YOUTUBE SEARCH & VOICE MODAL OVERLAY */
/* -------------------------------------------------------------------------- */
.yaktube-full-search-modal {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(0, 0, 0, 0.75) !important;
backdrop-filter: blur(8px) !important;
z-index: 99999 !important;
display: flex !important;
align-items: flex-start !important;
justify-content: center !important;
padding-top: 80px !important;
animation: yaktube-fade-in 0.2s ease !important;
}
.yaktube-voice-modal-card {
background: #212121 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 16px !important;
width: 90% !important;
max-width: 560px !important;
padding: 24px 28px !important;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;
color: #fff !important;
position: relative !important;
}
.yaktube-voice-modal-header {
display: flex !important;
justify-content: space-between !important;
background: rgba(0, 0, 0, 0.82) !important;
backdrop-filter: blur(12px) !important;
z-index: 999999 !important;
display: none;
flex-direction: column !important;
align-items: center !important;
margin-bottom: 24px !important;
justify-content: flex-start !important;
padding-top: 40px !important;
}
.yaktube-voice-modal-title {
font-size: 20px !important;
font-weight: 500 !important;
margin: 0 !important;
color: #f1f1f1 !important;
.yaktube-full-search-modal.yaktube-modal-open {
display: flex !important;
animation: yaktube-fade-in 0.2s ease-out !important;
}
.yaktube-voice-modal-close-btn {
.yaktube-modal-search-card {
background: #1e1e24 !important;
border: 1px solid rgba(255, 143, 55, 0.3) !important;
border-radius: 20px !important;
width: 92% !important;
max-width: 680px !important;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
overflow: hidden !important;
color: #fff !important;
}
/* Modal Search Bar */
.yaktube-modal-search-bar {
display: flex !important;
align-items: center !important;
padding: 10px 14px !important;
background: #141418 !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.yaktube-modal-back-btn {
background: transparent !important;
border: none !important;
color: #aaa !important;
font-size: 20px !important;
cursor: pointer !important;
width: 36px !important;
height: 36px !important;
font-size: 22px !important;
width: 40px !important;
height: 40px !important;
border-radius: 50% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
margin-right: 8px !important;
flex-shrink: 0 !important;
transition: all 0.2s ease !important;
}
.yaktube-voice-modal-close-btn:hover {
.yaktube-modal-back-btn:hover {
background: rgba(255, 255, 255, 0.1) !important;
color: #fff !important;
}
.yaktube-voice-modal-body {
text-align: center !important;
padding: 10px 0 20px 0 !important;
.yaktube-modal-input-wrap {
display: flex !important;
align-items: center !important;
flex: 1 !important;
background: #22222a !important;
border: 1px solid #33333f !important;
border-radius: 30px !important;
padding: 2px 8px 2px 14px !important;
margin-right: 10px !important;
}
.yaktube-voice-status-text {
font-size: 22px !important;
font-weight: 600 !important;
color: #f1f1f1 !important;
margin-bottom: 12px !important;
min-height: 30px !important;
.yaktube-modal-input-wrap:focus-within {
border-color: #ff8f37 !important;
box-shadow: 0 0 10px rgba(255, 143, 55, 0.3) !important;
}
.yaktube-voice-transcript-preview {
.yaktube-modal-input-wrap input {
flex: 1 !important;
background: transparent !important;
border: none !important;
color: #fff !important;
font-size: 16px !important;
color: #ff8f37 !important;
font-weight: 500 !important;
margin-bottom: 30px !important;
min-height: 24px !important;
word-break: break-word !important;
padding: 8px 4px !important;
outline: none !important;
}
/* Pulsing Mic Circle Animation */
.yaktube-voice-mic-wrapper {
position: relative !important;
.yaktube-modal-clear-btn {
background: rgba(255, 255, 255, 0.12) !important;
color: #aaa !important;
border: none !important;
border-radius: 50% !important;
width: 24px !important;
height: 24px !important;
display: none;
align-items: center !important;
justify-content: center !important;
font-size: 12px !important;
font-weight: 700 !important;
cursor: pointer !important;
margin-right: 4px !important;
}
.yaktube-modal-clear-btn:hover {
background: rgba(255, 255, 255, 0.25) !important;
color: #fff !important;
}
.yaktube-modal-search-action-btn {
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%) !important;
color: #fff !important;
border: none !important;
border-radius: 30px !important;
padding: 8px 18px !important;
font-size: 14px !important;
font-weight: 700 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
transition: all 0.2s ease !important;
flex-shrink: 0 !important;
}
.yaktube-modal-search-action-btn:hover {
transform: scale(1.03) !important;
box-shadow: 0 4px 14px rgba(255, 143, 55, 0.4) !important;
}
.yaktube-modal-voice-btn {
background: #2a2a34 !important;
color: #ff8f37 !important;
border: 1px solid rgba(255, 143, 55, 0.3) !important;
border-radius: 50% !important;
width: 40px !important;
height: 40px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
margin: 10px 0 25px 0 !important;
font-size: 18px !important;
cursor: pointer !important;
margin-left: 8px !important;
transition: all 0.2s ease !important;
flex-shrink: 0 !important;
}
.yaktube-voice-mic-pulse-btn {
.yaktube-modal-voice-btn:hover {
background: #ff8f37 !important;
color: #fff !important;
transform: scale(1.06) !important;
}
/* Modal Body Content */
.yaktube-modal-body {
padding: 20px 24px 28px 24px !important;
}
/* Voice Recognition Banner Inside Modal */
.yaktube-modal-voice-section {
display: none;
background: #141418 !important;
border: 1px solid rgba(255, 143, 55, 0.3) !important;
border-radius: 14px !important;
padding: 20px !important;
text-align: center !important;
margin-bottom: 20px !important;
animation: yaktube-fade-in 0.2s ease !important;
}
.yaktube-modal-voice-status {
font-size: 18px !important;
font-weight: 700 !important;
color: #f1f1f1 !important;
margin-bottom: 12px !important;
}
.yaktube-modal-voice-transcript {
font-size: 16px !important;
color: #ff8f37 !important;
font-weight: 600 !important;
min-height: 24px !important;
margin-bottom: 16px !important;
}
.yaktube-modal-mic-pulse-btn {
background: #cc0000 !important;
color: #fff !important;
border: none !important;
border-radius: 50% !important;
width: 76px !important;
height: 76px !important;
font-size: 34px !important;
width: 64px !important;
height: 64px !important;
font-size: 28px !important;
cursor: pointer !important;
display: flex !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 4px 20px rgba(204, 0, 0, 0.5) !important;
z-index: 2 !important;
animation: yaktube-pulse-recording 1.5s infinite !important;
}
/* Popular Topics & Chips */
.yaktube-modal-section-title {
font-size: 13px !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
color: #888 !important;
margin-bottom: 12px !important;
display: flex !important;
align-items: center !important;
gap: 6px !important;
}
.yaktube-modal-chips-grid {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px !important;
margin-bottom: 18px !important;
}
.yaktube-modal-chip {
background: #252530 !important;
color: #e2e8f0 !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
border-radius: 20px !important;
padding: 8px 14px !important;
font-size: 13px !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
}
.yaktube-modal-chip:hover {
background: rgba(255, 143, 55, 0.2) !important;
border-color: #ff8f37 !important;
color: #fff !important;
transform: translateY(-1px) !important;
}
.yaktube-modal-hint-footer {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
font-size: 12px !important;
color: #777 !important;
border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
padding-top: 12px !important;
margin-top: 8px !important;
}
/* -------------------------------------------------------------------------- */
/* YOUTUBE THEATER MODE & QUICK VIDEO INFO TOAST (v1.4.0) */
/* -------------------------------------------------------------------------- */
/* Theater / Cinema Mode (T) */
body.yaktube-theater-mode my-video-watch,
body.yaktube-theater-mode .video-watch,
body.yaktube-theater-mode .watch-container {
max-width: 100% !important;
width: 100% !important;
padding: 0 !important;
}
body.yaktube-theater-mode .player-container,
body.yaktube-theater-mode .video-player-container,
body.yaktube-theater-mode .player-wrapper {
max-height: 82vh !important;
height: 82vh !important;
width: 100% !important;
max-width: 100% !important;
background: #000 !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
margin-bottom: 20px !important;
}
body.yaktube-theater-mode video,
body.yaktube-theater-mode .video-js {
width: 100% !important;
height: 100% !important;
max-height: 82vh !important;
}
/* Quick Video Info Toast (I) */
.yaktube-video-info-toast {
position: fixed !important;
top: 70px !important;
right: 20px !important;
background: rgba(20, 20, 26, 0.95) !important;
backdrop-filter: blur(12px) !important;
border: 1px solid rgba(255, 143, 55, 0.4) !important;
border-radius: 14px !important;
padding: 16px 20px !important;
color: #fff !important;
font-size: 14px !important;
z-index: 99999 !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
max-width: 380px !important;
animation: yaktube-fade-in 0.25s ease-out !important;
pointer-events: none !important;
}
.yaktube-info-toast-title {
font-size: 15px !important;
font-weight: 700 !important;
color: #ff8f37 !important;
margin-bottom: 8px !important;
display: flex !important;
align-items: center !important;
gap: 6px !important;
}
.yaktube-info-toast-row {
display: flex !important;
justify-content: space-between !important;
margin: 4px 0 !important;
font-size: 13px !important;
color: #ccc !important;
}
.yaktube-info-toast-row b {
color: #fff !important;
}
/* -------------------------------------------------------------------------- */
/* ACCESSIBLE PLAYER ACTION BAR & SHORTCUTS (v1.4.1) */
/* -------------------------------------------------------------------------- */
.yaktube-player-action-bar {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px !important;
align-items: center !important;
background: #181820 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 12px !important;
padding: 10px 14px !important;
margin: 12px 0 16px 0 !important;
width: 100% !important;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}
.yaktube-player-bar-label {
font-size: 13px !important;
font-weight: 700 !important;
color: #ff8f37 !important;
margin-right: 6px !important;
display: flex !important;
align-items: center !important;
gap: 4px !important;
}
.yaktube-player-action-btn {
background: #252530 !important;
color: #f1f1f1 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 8px !important;
padding: 6px 12px !important;
font-size: 13px !important;
font-weight: 600 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
transition: all 0.2s ease !important;
}
.yaktube-voice-mic-pulse-btn:hover {
transform: scale(1.05) !important;
}
.yaktube-voice-mic-pulse-btn.yaktube-idle-mic {
background: #333 !important;
box-shadow: none !important;
}
.yaktube-voice-ripple {
position: absolute !important;
width: 76px !important;
height: 76px !important;
border-radius: 50% !important;
background: rgba(204, 0, 0, 0.4) !important;
animation: yaktube-ripple-wave 1.6s infinite ease-out !important;
z-index: 1 !important;
}
@keyframes yaktube-ripple-wave {
0% {
transform: scale(1);
opacity: 0.8;
}
100% {
transform: scale(2.2);
opacity: 0;
}
}
.yaktube-voice-hint-text {
font-size: 13px !important;
color: #888 !important;
margin-top: 10px !important;
}
/* -------------------------------------------------------------------------- */
/* MOBILE SEARCH OVERLAY MODE (< 768px) */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
/* Default Mobile State: Hide Full Search Input */
body:not(.yaktube-mobile-search-active) my-search-typeahead,
body:not(.yaktube-mobile-search-active) .search-container,
body:not(.yaktube-mobile-search-active) .header-search {
display: none !important;
}
.yaktube-mobile-search-trigger {
display: inline-flex !important;
}
/* Active Mobile Search Overlay: Full Width Bar */
body.yaktube-mobile-search-active my-header {
padding: 0 8px !important;
position: relative !important;
}
body.yaktube-mobile-search-active my-header .header-left,
body.yaktube-mobile-search-active my-header .header-right,
body.yaktube-mobile-search-active my-header .user-menu,
body.yaktube-mobile-search-active my-header .brand-name {
display: none !important;
}
body.yaktube-mobile-search-active my-search-typeahead,
body.yaktube-mobile-search-active .search-container {
width: 100% !important;
max-width: 100% !important;
display: flex !important;
position: static !important;
margin: 0 !important;
z-index: 1000 !important;
}
.yaktube-search-back-btn {
display: inline-flex !important;
background: transparent !important;
border: none !important;
color: #fff !important;
font-size: 22px !important;
width: 38px !important;
height: 38px !important;
border-radius: 50% !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
margin-right: 6px !important;
flex-shrink: 0 !important;
}
.yaktube-player-action-btn:hover,
.yaktube-player-action-btn:focus {
background: rgba(255, 143, 55, 0.2) !important;
border-color: #ff8f37 !important;
color: #fff !important;
outline: none !important;
}