movi-player 0.1.2-beta.1 → 0.1.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/element.cjs +117 -5
- package/dist/element.js +117 -5
- package/dist/index.cjs +117 -5
- package/dist/index.js +117 -5
- package/dist/render/MoviElement.d.ts.map +1 -1
- package/dist/render/MoviElement.js +117 -5
- package/dist/render/MoviElement.js.map +1 -1
- package/package.json +1 -1
package/dist/element.cjs
CHANGED
|
@@ -51252,12 +51252,21 @@ class MoviElement extends HTMLElement {
|
|
|
51252
51252
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-runnable-track {
|
|
51253
51253
|
background: rgba(0, 0, 0, 0.15);
|
|
51254
51254
|
}
|
|
51255
|
-
|
|
51255
|
+
|
|
51256
51256
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-thumb {
|
|
51257
51257
|
background: #11142d;
|
|
51258
51258
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51259
51259
|
}
|
|
51260
51260
|
|
|
51261
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-track {
|
|
51262
|
+
background: rgba(0, 0, 0, 0.15);
|
|
51263
|
+
}
|
|
51264
|
+
|
|
51265
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-thumb {
|
|
51266
|
+
background: #11142d;
|
|
51267
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51268
|
+
}
|
|
51269
|
+
|
|
51261
51270
|
/* Light Theme Tooltip */
|
|
51262
51271
|
:host([theme="light"]) .movi-seek-thumbnail {
|
|
51263
51272
|
background-color: rgba(255, 255, 255, 0.65) !important;
|
|
@@ -51283,7 +51292,88 @@ class MoviElement extends HTMLElement {
|
|
|
51283
51292
|
:host([theme="light"]) .movi-osd-text {
|
|
51284
51293
|
color: #11142d !important;
|
|
51285
51294
|
}
|
|
51286
|
-
|
|
51295
|
+
|
|
51296
|
+
/* Light Theme Button Hover */
|
|
51297
|
+
:host([theme="light"]) .movi-btn:hover {
|
|
51298
|
+
background: var(--movi-btn-hover-bg) !important;
|
|
51299
|
+
}
|
|
51300
|
+
|
|
51301
|
+
/* Light Theme Controls Overlay */
|
|
51302
|
+
:host([theme="light"]) .movi-controls-overlay {
|
|
51303
|
+
background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, transparent 30%) !important;
|
|
51304
|
+
}
|
|
51305
|
+
|
|
51306
|
+
/* Light Theme Progress Bar */
|
|
51307
|
+
:host([theme="light"]) .movi-progress-bar {
|
|
51308
|
+
background: rgba(0, 0, 0, 0.15) !important;
|
|
51309
|
+
}
|
|
51310
|
+
|
|
51311
|
+
:host([theme="light"]) .movi-progress-bar:hover {
|
|
51312
|
+
background: rgba(0, 0, 0, 0.2) !important;
|
|
51313
|
+
}
|
|
51314
|
+
|
|
51315
|
+
:host([theme="light"]) .movi-progress-buffer {
|
|
51316
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51317
|
+
}
|
|
51318
|
+
|
|
51319
|
+
/* Light Theme Center Play Button */
|
|
51320
|
+
:host([theme="light"]) .movi-center-play-pause {
|
|
51321
|
+
background: rgba(255, 255, 255, 0.8) !important;
|
|
51322
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51323
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
|
|
51324
|
+
}
|
|
51325
|
+
|
|
51326
|
+
:host([theme="light"]) .movi-center-play-pause:hover {
|
|
51327
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51328
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
|
|
51329
|
+
}
|
|
51330
|
+
|
|
51331
|
+
:host([theme="light"]) .movi-center-play-pause svg {
|
|
51332
|
+
color: #11142d !important;
|
|
51333
|
+
filter: none !important;
|
|
51334
|
+
}
|
|
51335
|
+
|
|
51336
|
+
/* Light Theme Context Menu */
|
|
51337
|
+
:host([theme="light"]) .movi-context-menu {
|
|
51338
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51339
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51340
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51341
|
+
}
|
|
51342
|
+
|
|
51343
|
+
:host([theme="light"]) .movi-context-menu-divider {
|
|
51344
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51345
|
+
}
|
|
51346
|
+
|
|
51347
|
+
:host([theme="light"]) .movi-speed-menu,
|
|
51348
|
+
:host([theme="light"]) .movi-audio-track-menu,
|
|
51349
|
+
:host([theme="light"]) .movi-subtitle-track-menu,
|
|
51350
|
+
:host([theme="light"]) .movi-quality-menu {
|
|
51351
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51352
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51353
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51354
|
+
}
|
|
51355
|
+
|
|
51356
|
+
/* Light Theme Menu Items Hover */
|
|
51357
|
+
:host([theme="light"]) .movi-audio-track-item:hover,
|
|
51358
|
+
:host([theme="light"]) .movi-subtitle-track-item:hover,
|
|
51359
|
+
:host([theme="light"]) .movi-speed-item:hover {
|
|
51360
|
+
background: rgba(139, 92, 246, 0.08) !important;
|
|
51361
|
+
}
|
|
51362
|
+
|
|
51363
|
+
:host([theme="light"]) .movi-audio-track-item.movi-audio-track-active,
|
|
51364
|
+
:host([theme="light"]) .movi-subtitle-track-item.movi-subtitle-track-active,
|
|
51365
|
+
:host([theme="light"]) .movi-speed-item.movi-speed-active {
|
|
51366
|
+
background: rgba(139, 92, 246, 0.15) !important;
|
|
51367
|
+
}
|
|
51368
|
+
|
|
51369
|
+
:host([theme="light"]) .movi-quality-item:hover {
|
|
51370
|
+
background: rgba(0, 0, 0, 0.05) !important;
|
|
51371
|
+
}
|
|
51372
|
+
|
|
51373
|
+
:host([theme="light"]) .movi-quality-item.movi-quality-active {
|
|
51374
|
+
background: rgba(139, 92, 246, 0.12) !important;
|
|
51375
|
+
}
|
|
51376
|
+
|
|
51287
51377
|
:host:focus,
|
|
51288
51378
|
:host:active,
|
|
51289
51379
|
:host:focus-visible {
|
|
@@ -52253,7 +52343,12 @@ class MoviElement extends HTMLElement {
|
|
|
52253
52343
|
-webkit-backdrop-filter: none !important;
|
|
52254
52344
|
background: rgba(10, 10, 18, 0.95) !important; /* Solid dark background fallback */
|
|
52255
52345
|
}
|
|
52256
|
-
|
|
52346
|
+
|
|
52347
|
+
/* Light theme mobile controls bar */
|
|
52348
|
+
:host([theme="light"]) .movi-controls-bar {
|
|
52349
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
52350
|
+
}
|
|
52351
|
+
|
|
52257
52352
|
/* Remove the slide-up/down effect */
|
|
52258
52353
|
.movi-controls-container,
|
|
52259
52354
|
.movi-controls-container.movi-controls-hidden,
|
|
@@ -52523,7 +52618,11 @@ class MoviElement extends HTMLElement {
|
|
|
52523
52618
|
background-color: rgba(255, 255, 255, 0.08);
|
|
52524
52619
|
transform: scale(1.02);
|
|
52525
52620
|
}
|
|
52526
|
-
|
|
52621
|
+
|
|
52622
|
+
:host([theme="light"]) .movi-context-menu-item:hover {
|
|
52623
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
52624
|
+
}
|
|
52625
|
+
|
|
52527
52626
|
.movi-context-menu-item:hover .movi-context-menu-arrow {
|
|
52528
52627
|
transform: translateX(2px);
|
|
52529
52628
|
color: var(--movi-primary-light);
|
|
@@ -52981,6 +53080,12 @@ class MoviElement extends HTMLElement {
|
|
|
52981
53080
|
z-index: 20000 !important;
|
|
52982
53081
|
}
|
|
52983
53082
|
|
|
53083
|
+
/* Light theme mobile context menu */
|
|
53084
|
+
:host([theme="light"]) .movi-context-menu.movi-context-menu-mobile {
|
|
53085
|
+
border-left-color: rgba(0, 0, 0, 0.1) !important;
|
|
53086
|
+
box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2) !important;
|
|
53087
|
+
}
|
|
53088
|
+
|
|
52984
53089
|
.movi-context-menu.movi-context-menu-mobile.visible {
|
|
52985
53090
|
transform: translateX(0) !important;
|
|
52986
53091
|
}
|
|
@@ -53034,8 +53139,15 @@ class MoviElement extends HTMLElement {
|
|
|
53034
53139
|
.movi-context-menu-shortcut {
|
|
53035
53140
|
display: none !important; /* Shortcuts don't make sense on mobile */
|
|
53036
53141
|
}
|
|
53142
|
+
|
|
53143
|
+
/* Light theme mobile submenus */
|
|
53144
|
+
:host([theme="light"]) .movi-context-menu-submenu,
|
|
53145
|
+
:host([theme="light"]) .movi-context-menu-submenu-audio,
|
|
53146
|
+
:host([theme="light"]) .movi-context-menu-submenu-subtitle {
|
|
53147
|
+
background: rgba(255, 255, 255, 0.98) !important;
|
|
53148
|
+
}
|
|
53037
53149
|
}
|
|
53038
|
-
|
|
53150
|
+
|
|
53039
53151
|
/* Mobile Responsiveness for Context Menu */
|
|
53040
53152
|
@media (max-width: 600px) {
|
|
53041
53153
|
.movi-context-menu {
|
package/dist/element.js
CHANGED
|
@@ -51355,12 +51355,21 @@ class MoviElement extends HTMLElement {
|
|
|
51355
51355
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-runnable-track {
|
|
51356
51356
|
background: rgba(0, 0, 0, 0.15);
|
|
51357
51357
|
}
|
|
51358
|
-
|
|
51358
|
+
|
|
51359
51359
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-thumb {
|
|
51360
51360
|
background: #11142d;
|
|
51361
51361
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51362
51362
|
}
|
|
51363
51363
|
|
|
51364
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-track {
|
|
51365
|
+
background: rgba(0, 0, 0, 0.15);
|
|
51366
|
+
}
|
|
51367
|
+
|
|
51368
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-thumb {
|
|
51369
|
+
background: #11142d;
|
|
51370
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51371
|
+
}
|
|
51372
|
+
|
|
51364
51373
|
/* Light Theme Tooltip */
|
|
51365
51374
|
:host([theme="light"]) .movi-seek-thumbnail {
|
|
51366
51375
|
background-color: rgba(255, 255, 255, 0.65) !important;
|
|
@@ -51386,7 +51395,88 @@ class MoviElement extends HTMLElement {
|
|
|
51386
51395
|
:host([theme="light"]) .movi-osd-text {
|
|
51387
51396
|
color: #11142d !important;
|
|
51388
51397
|
}
|
|
51389
|
-
|
|
51398
|
+
|
|
51399
|
+
/* Light Theme Button Hover */
|
|
51400
|
+
:host([theme="light"]) .movi-btn:hover {
|
|
51401
|
+
background: var(--movi-btn-hover-bg) !important;
|
|
51402
|
+
}
|
|
51403
|
+
|
|
51404
|
+
/* Light Theme Controls Overlay */
|
|
51405
|
+
:host([theme="light"]) .movi-controls-overlay {
|
|
51406
|
+
background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, transparent 30%) !important;
|
|
51407
|
+
}
|
|
51408
|
+
|
|
51409
|
+
/* Light Theme Progress Bar */
|
|
51410
|
+
:host([theme="light"]) .movi-progress-bar {
|
|
51411
|
+
background: rgba(0, 0, 0, 0.15) !important;
|
|
51412
|
+
}
|
|
51413
|
+
|
|
51414
|
+
:host([theme="light"]) .movi-progress-bar:hover {
|
|
51415
|
+
background: rgba(0, 0, 0, 0.2) !important;
|
|
51416
|
+
}
|
|
51417
|
+
|
|
51418
|
+
:host([theme="light"]) .movi-progress-buffer {
|
|
51419
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51420
|
+
}
|
|
51421
|
+
|
|
51422
|
+
/* Light Theme Center Play Button */
|
|
51423
|
+
:host([theme="light"]) .movi-center-play-pause {
|
|
51424
|
+
background: rgba(255, 255, 255, 0.8) !important;
|
|
51425
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51426
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
|
|
51427
|
+
}
|
|
51428
|
+
|
|
51429
|
+
:host([theme="light"]) .movi-center-play-pause:hover {
|
|
51430
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51431
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
|
|
51432
|
+
}
|
|
51433
|
+
|
|
51434
|
+
:host([theme="light"]) .movi-center-play-pause svg {
|
|
51435
|
+
color: #11142d !important;
|
|
51436
|
+
filter: none !important;
|
|
51437
|
+
}
|
|
51438
|
+
|
|
51439
|
+
/* Light Theme Context Menu */
|
|
51440
|
+
:host([theme="light"]) .movi-context-menu {
|
|
51441
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51442
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51443
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51444
|
+
}
|
|
51445
|
+
|
|
51446
|
+
:host([theme="light"]) .movi-context-menu-divider {
|
|
51447
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51448
|
+
}
|
|
51449
|
+
|
|
51450
|
+
:host([theme="light"]) .movi-speed-menu,
|
|
51451
|
+
:host([theme="light"]) .movi-audio-track-menu,
|
|
51452
|
+
:host([theme="light"]) .movi-subtitle-track-menu,
|
|
51453
|
+
:host([theme="light"]) .movi-quality-menu {
|
|
51454
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51455
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51456
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51457
|
+
}
|
|
51458
|
+
|
|
51459
|
+
/* Light Theme Menu Items Hover */
|
|
51460
|
+
:host([theme="light"]) .movi-audio-track-item:hover,
|
|
51461
|
+
:host([theme="light"]) .movi-subtitle-track-item:hover,
|
|
51462
|
+
:host([theme="light"]) .movi-speed-item:hover {
|
|
51463
|
+
background: rgba(139, 92, 246, 0.08) !important;
|
|
51464
|
+
}
|
|
51465
|
+
|
|
51466
|
+
:host([theme="light"]) .movi-audio-track-item.movi-audio-track-active,
|
|
51467
|
+
:host([theme="light"]) .movi-subtitle-track-item.movi-subtitle-track-active,
|
|
51468
|
+
:host([theme="light"]) .movi-speed-item.movi-speed-active {
|
|
51469
|
+
background: rgba(139, 92, 246, 0.15) !important;
|
|
51470
|
+
}
|
|
51471
|
+
|
|
51472
|
+
:host([theme="light"]) .movi-quality-item:hover {
|
|
51473
|
+
background: rgba(0, 0, 0, 0.05) !important;
|
|
51474
|
+
}
|
|
51475
|
+
|
|
51476
|
+
:host([theme="light"]) .movi-quality-item.movi-quality-active {
|
|
51477
|
+
background: rgba(139, 92, 246, 0.12) !important;
|
|
51478
|
+
}
|
|
51479
|
+
|
|
51390
51480
|
:host:focus,
|
|
51391
51481
|
:host:active,
|
|
51392
51482
|
:host:focus-visible {
|
|
@@ -52356,7 +52446,12 @@ class MoviElement extends HTMLElement {
|
|
|
52356
52446
|
-webkit-backdrop-filter: none !important;
|
|
52357
52447
|
background: rgba(10, 10, 18, 0.95) !important; /* Solid dark background fallback */
|
|
52358
52448
|
}
|
|
52359
|
-
|
|
52449
|
+
|
|
52450
|
+
/* Light theme mobile controls bar */
|
|
52451
|
+
:host([theme="light"]) .movi-controls-bar {
|
|
52452
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
52453
|
+
}
|
|
52454
|
+
|
|
52360
52455
|
/* Remove the slide-up/down effect */
|
|
52361
52456
|
.movi-controls-container,
|
|
52362
52457
|
.movi-controls-container.movi-controls-hidden,
|
|
@@ -52626,7 +52721,11 @@ class MoviElement extends HTMLElement {
|
|
|
52626
52721
|
background-color: rgba(255, 255, 255, 0.08);
|
|
52627
52722
|
transform: scale(1.02);
|
|
52628
52723
|
}
|
|
52629
|
-
|
|
52724
|
+
|
|
52725
|
+
:host([theme="light"]) .movi-context-menu-item:hover {
|
|
52726
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
52727
|
+
}
|
|
52728
|
+
|
|
52630
52729
|
.movi-context-menu-item:hover .movi-context-menu-arrow {
|
|
52631
52730
|
transform: translateX(2px);
|
|
52632
52731
|
color: var(--movi-primary-light);
|
|
@@ -53084,6 +53183,12 @@ class MoviElement extends HTMLElement {
|
|
|
53084
53183
|
z-index: 20000 !important;
|
|
53085
53184
|
}
|
|
53086
53185
|
|
|
53186
|
+
/* Light theme mobile context menu */
|
|
53187
|
+
:host([theme="light"]) .movi-context-menu.movi-context-menu-mobile {
|
|
53188
|
+
border-left-color: rgba(0, 0, 0, 0.1) !important;
|
|
53189
|
+
box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2) !important;
|
|
53190
|
+
}
|
|
53191
|
+
|
|
53087
53192
|
.movi-context-menu.movi-context-menu-mobile.visible {
|
|
53088
53193
|
transform: translateX(0) !important;
|
|
53089
53194
|
}
|
|
@@ -53137,8 +53242,15 @@ class MoviElement extends HTMLElement {
|
|
|
53137
53242
|
.movi-context-menu-shortcut {
|
|
53138
53243
|
display: none !important; /* Shortcuts don't make sense on mobile */
|
|
53139
53244
|
}
|
|
53245
|
+
|
|
53246
|
+
/* Light theme mobile submenus */
|
|
53247
|
+
:host([theme="light"]) .movi-context-menu-submenu,
|
|
53248
|
+
:host([theme="light"]) .movi-context-menu-submenu-audio,
|
|
53249
|
+
:host([theme="light"]) .movi-context-menu-submenu-subtitle {
|
|
53250
|
+
background: rgba(255, 255, 255, 0.98) !important;
|
|
53251
|
+
}
|
|
53140
53252
|
}
|
|
53141
|
-
|
|
53253
|
+
|
|
53142
53254
|
/* Mobile Responsiveness for Context Menu */
|
|
53143
53255
|
@media (max-width: 600px) {
|
|
53144
53256
|
.movi-context-menu {
|
package/dist/index.cjs
CHANGED
|
@@ -51252,12 +51252,21 @@ class MoviElement extends HTMLElement {
|
|
|
51252
51252
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-runnable-track {
|
|
51253
51253
|
background: rgba(0, 0, 0, 0.15);
|
|
51254
51254
|
}
|
|
51255
|
-
|
|
51255
|
+
|
|
51256
51256
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-thumb {
|
|
51257
51257
|
background: #11142d;
|
|
51258
51258
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51259
51259
|
}
|
|
51260
51260
|
|
|
51261
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-track {
|
|
51262
|
+
background: rgba(0, 0, 0, 0.15);
|
|
51263
|
+
}
|
|
51264
|
+
|
|
51265
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-thumb {
|
|
51266
|
+
background: #11142d;
|
|
51267
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51268
|
+
}
|
|
51269
|
+
|
|
51261
51270
|
/* Light Theme Tooltip */
|
|
51262
51271
|
:host([theme="light"]) .movi-seek-thumbnail {
|
|
51263
51272
|
background-color: rgba(255, 255, 255, 0.65) !important;
|
|
@@ -51283,7 +51292,88 @@ class MoviElement extends HTMLElement {
|
|
|
51283
51292
|
:host([theme="light"]) .movi-osd-text {
|
|
51284
51293
|
color: #11142d !important;
|
|
51285
51294
|
}
|
|
51286
|
-
|
|
51295
|
+
|
|
51296
|
+
/* Light Theme Button Hover */
|
|
51297
|
+
:host([theme="light"]) .movi-btn:hover {
|
|
51298
|
+
background: var(--movi-btn-hover-bg) !important;
|
|
51299
|
+
}
|
|
51300
|
+
|
|
51301
|
+
/* Light Theme Controls Overlay */
|
|
51302
|
+
:host([theme="light"]) .movi-controls-overlay {
|
|
51303
|
+
background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, transparent 30%) !important;
|
|
51304
|
+
}
|
|
51305
|
+
|
|
51306
|
+
/* Light Theme Progress Bar */
|
|
51307
|
+
:host([theme="light"]) .movi-progress-bar {
|
|
51308
|
+
background: rgba(0, 0, 0, 0.15) !important;
|
|
51309
|
+
}
|
|
51310
|
+
|
|
51311
|
+
:host([theme="light"]) .movi-progress-bar:hover {
|
|
51312
|
+
background: rgba(0, 0, 0, 0.2) !important;
|
|
51313
|
+
}
|
|
51314
|
+
|
|
51315
|
+
:host([theme="light"]) .movi-progress-buffer {
|
|
51316
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51317
|
+
}
|
|
51318
|
+
|
|
51319
|
+
/* Light Theme Center Play Button */
|
|
51320
|
+
:host([theme="light"]) .movi-center-play-pause {
|
|
51321
|
+
background: rgba(255, 255, 255, 0.8) !important;
|
|
51322
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51323
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
|
|
51324
|
+
}
|
|
51325
|
+
|
|
51326
|
+
:host([theme="light"]) .movi-center-play-pause:hover {
|
|
51327
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51328
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
|
|
51329
|
+
}
|
|
51330
|
+
|
|
51331
|
+
:host([theme="light"]) .movi-center-play-pause svg {
|
|
51332
|
+
color: #11142d !important;
|
|
51333
|
+
filter: none !important;
|
|
51334
|
+
}
|
|
51335
|
+
|
|
51336
|
+
/* Light Theme Context Menu */
|
|
51337
|
+
:host([theme="light"]) .movi-context-menu {
|
|
51338
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51339
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51340
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51341
|
+
}
|
|
51342
|
+
|
|
51343
|
+
:host([theme="light"]) .movi-context-menu-divider {
|
|
51344
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51345
|
+
}
|
|
51346
|
+
|
|
51347
|
+
:host([theme="light"]) .movi-speed-menu,
|
|
51348
|
+
:host([theme="light"]) .movi-audio-track-menu,
|
|
51349
|
+
:host([theme="light"]) .movi-subtitle-track-menu,
|
|
51350
|
+
:host([theme="light"]) .movi-quality-menu {
|
|
51351
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51352
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51353
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51354
|
+
}
|
|
51355
|
+
|
|
51356
|
+
/* Light Theme Menu Items Hover */
|
|
51357
|
+
:host([theme="light"]) .movi-audio-track-item:hover,
|
|
51358
|
+
:host([theme="light"]) .movi-subtitle-track-item:hover,
|
|
51359
|
+
:host([theme="light"]) .movi-speed-item:hover {
|
|
51360
|
+
background: rgba(139, 92, 246, 0.08) !important;
|
|
51361
|
+
}
|
|
51362
|
+
|
|
51363
|
+
:host([theme="light"]) .movi-audio-track-item.movi-audio-track-active,
|
|
51364
|
+
:host([theme="light"]) .movi-subtitle-track-item.movi-subtitle-track-active,
|
|
51365
|
+
:host([theme="light"]) .movi-speed-item.movi-speed-active {
|
|
51366
|
+
background: rgba(139, 92, 246, 0.15) !important;
|
|
51367
|
+
}
|
|
51368
|
+
|
|
51369
|
+
:host([theme="light"]) .movi-quality-item:hover {
|
|
51370
|
+
background: rgba(0, 0, 0, 0.05) !important;
|
|
51371
|
+
}
|
|
51372
|
+
|
|
51373
|
+
:host([theme="light"]) .movi-quality-item.movi-quality-active {
|
|
51374
|
+
background: rgba(139, 92, 246, 0.12) !important;
|
|
51375
|
+
}
|
|
51376
|
+
|
|
51287
51377
|
:host:focus,
|
|
51288
51378
|
:host:active,
|
|
51289
51379
|
:host:focus-visible {
|
|
@@ -52253,7 +52343,12 @@ class MoviElement extends HTMLElement {
|
|
|
52253
52343
|
-webkit-backdrop-filter: none !important;
|
|
52254
52344
|
background: rgba(10, 10, 18, 0.95) !important; /* Solid dark background fallback */
|
|
52255
52345
|
}
|
|
52256
|
-
|
|
52346
|
+
|
|
52347
|
+
/* Light theme mobile controls bar */
|
|
52348
|
+
:host([theme="light"]) .movi-controls-bar {
|
|
52349
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
52350
|
+
}
|
|
52351
|
+
|
|
52257
52352
|
/* Remove the slide-up/down effect */
|
|
52258
52353
|
.movi-controls-container,
|
|
52259
52354
|
.movi-controls-container.movi-controls-hidden,
|
|
@@ -52523,7 +52618,11 @@ class MoviElement extends HTMLElement {
|
|
|
52523
52618
|
background-color: rgba(255, 255, 255, 0.08);
|
|
52524
52619
|
transform: scale(1.02);
|
|
52525
52620
|
}
|
|
52526
|
-
|
|
52621
|
+
|
|
52622
|
+
:host([theme="light"]) .movi-context-menu-item:hover {
|
|
52623
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
52624
|
+
}
|
|
52625
|
+
|
|
52527
52626
|
.movi-context-menu-item:hover .movi-context-menu-arrow {
|
|
52528
52627
|
transform: translateX(2px);
|
|
52529
52628
|
color: var(--movi-primary-light);
|
|
@@ -52981,6 +53080,12 @@ class MoviElement extends HTMLElement {
|
|
|
52981
53080
|
z-index: 20000 !important;
|
|
52982
53081
|
}
|
|
52983
53082
|
|
|
53083
|
+
/* Light theme mobile context menu */
|
|
53084
|
+
:host([theme="light"]) .movi-context-menu.movi-context-menu-mobile {
|
|
53085
|
+
border-left-color: rgba(0, 0, 0, 0.1) !important;
|
|
53086
|
+
box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2) !important;
|
|
53087
|
+
}
|
|
53088
|
+
|
|
52984
53089
|
.movi-context-menu.movi-context-menu-mobile.visible {
|
|
52985
53090
|
transform: translateX(0) !important;
|
|
52986
53091
|
}
|
|
@@ -53034,8 +53139,15 @@ class MoviElement extends HTMLElement {
|
|
|
53034
53139
|
.movi-context-menu-shortcut {
|
|
53035
53140
|
display: none !important; /* Shortcuts don't make sense on mobile */
|
|
53036
53141
|
}
|
|
53142
|
+
|
|
53143
|
+
/* Light theme mobile submenus */
|
|
53144
|
+
:host([theme="light"]) .movi-context-menu-submenu,
|
|
53145
|
+
:host([theme="light"]) .movi-context-menu-submenu-audio,
|
|
53146
|
+
:host([theme="light"]) .movi-context-menu-submenu-subtitle {
|
|
53147
|
+
background: rgba(255, 255, 255, 0.98) !important;
|
|
53148
|
+
}
|
|
53037
53149
|
}
|
|
53038
|
-
|
|
53150
|
+
|
|
53039
53151
|
/* Mobile Responsiveness for Context Menu */
|
|
53040
53152
|
@media (max-width: 600px) {
|
|
53041
53153
|
.movi-context-menu {
|
package/dist/index.js
CHANGED
|
@@ -51355,12 +51355,21 @@ class MoviElement extends HTMLElement {
|
|
|
51355
51355
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-runnable-track {
|
|
51356
51356
|
background: rgba(0, 0, 0, 0.15);
|
|
51357
51357
|
}
|
|
51358
|
-
|
|
51358
|
+
|
|
51359
51359
|
:host([theme="light"]) .movi-volume-slider::-webkit-slider-thumb {
|
|
51360
51360
|
background: #11142d;
|
|
51361
51361
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51362
51362
|
}
|
|
51363
51363
|
|
|
51364
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-track {
|
|
51365
|
+
background: rgba(0, 0, 0, 0.15);
|
|
51366
|
+
}
|
|
51367
|
+
|
|
51368
|
+
:host([theme="light"]) .movi-volume-slider::-moz-range-thumb {
|
|
51369
|
+
background: #11142d;
|
|
51370
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
51371
|
+
}
|
|
51372
|
+
|
|
51364
51373
|
/* Light Theme Tooltip */
|
|
51365
51374
|
:host([theme="light"]) .movi-seek-thumbnail {
|
|
51366
51375
|
background-color: rgba(255, 255, 255, 0.65) !important;
|
|
@@ -51386,7 +51395,88 @@ class MoviElement extends HTMLElement {
|
|
|
51386
51395
|
:host([theme="light"]) .movi-osd-text {
|
|
51387
51396
|
color: #11142d !important;
|
|
51388
51397
|
}
|
|
51389
|
-
|
|
51398
|
+
|
|
51399
|
+
/* Light Theme Button Hover */
|
|
51400
|
+
:host([theme="light"]) .movi-btn:hover {
|
|
51401
|
+
background: var(--movi-btn-hover-bg) !important;
|
|
51402
|
+
}
|
|
51403
|
+
|
|
51404
|
+
/* Light Theme Controls Overlay */
|
|
51405
|
+
:host([theme="light"]) .movi-controls-overlay {
|
|
51406
|
+
background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, transparent 30%) !important;
|
|
51407
|
+
}
|
|
51408
|
+
|
|
51409
|
+
/* Light Theme Progress Bar */
|
|
51410
|
+
:host([theme="light"]) .movi-progress-bar {
|
|
51411
|
+
background: rgba(0, 0, 0, 0.15) !important;
|
|
51412
|
+
}
|
|
51413
|
+
|
|
51414
|
+
:host([theme="light"]) .movi-progress-bar:hover {
|
|
51415
|
+
background: rgba(0, 0, 0, 0.2) !important;
|
|
51416
|
+
}
|
|
51417
|
+
|
|
51418
|
+
:host([theme="light"]) .movi-progress-buffer {
|
|
51419
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51420
|
+
}
|
|
51421
|
+
|
|
51422
|
+
/* Light Theme Center Play Button */
|
|
51423
|
+
:host([theme="light"]) .movi-center-play-pause {
|
|
51424
|
+
background: rgba(255, 255, 255, 0.8) !important;
|
|
51425
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51426
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
|
|
51427
|
+
}
|
|
51428
|
+
|
|
51429
|
+
:host([theme="light"]) .movi-center-play-pause:hover {
|
|
51430
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51431
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
|
|
51432
|
+
}
|
|
51433
|
+
|
|
51434
|
+
:host([theme="light"]) .movi-center-play-pause svg {
|
|
51435
|
+
color: #11142d !important;
|
|
51436
|
+
filter: none !important;
|
|
51437
|
+
}
|
|
51438
|
+
|
|
51439
|
+
/* Light Theme Context Menu */
|
|
51440
|
+
:host([theme="light"]) .movi-context-menu {
|
|
51441
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51442
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51443
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51444
|
+
}
|
|
51445
|
+
|
|
51446
|
+
:host([theme="light"]) .movi-context-menu-divider {
|
|
51447
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
51448
|
+
}
|
|
51449
|
+
|
|
51450
|
+
:host([theme="light"]) .movi-speed-menu,
|
|
51451
|
+
:host([theme="light"]) .movi-audio-track-menu,
|
|
51452
|
+
:host([theme="light"]) .movi-subtitle-track-menu,
|
|
51453
|
+
:host([theme="light"]) .movi-quality-menu {
|
|
51454
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
51455
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
51456
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
|
|
51457
|
+
}
|
|
51458
|
+
|
|
51459
|
+
/* Light Theme Menu Items Hover */
|
|
51460
|
+
:host([theme="light"]) .movi-audio-track-item:hover,
|
|
51461
|
+
:host([theme="light"]) .movi-subtitle-track-item:hover,
|
|
51462
|
+
:host([theme="light"]) .movi-speed-item:hover {
|
|
51463
|
+
background: rgba(139, 92, 246, 0.08) !important;
|
|
51464
|
+
}
|
|
51465
|
+
|
|
51466
|
+
:host([theme="light"]) .movi-audio-track-item.movi-audio-track-active,
|
|
51467
|
+
:host([theme="light"]) .movi-subtitle-track-item.movi-subtitle-track-active,
|
|
51468
|
+
:host([theme="light"]) .movi-speed-item.movi-speed-active {
|
|
51469
|
+
background: rgba(139, 92, 246, 0.15) !important;
|
|
51470
|
+
}
|
|
51471
|
+
|
|
51472
|
+
:host([theme="light"]) .movi-quality-item:hover {
|
|
51473
|
+
background: rgba(0, 0, 0, 0.05) !important;
|
|
51474
|
+
}
|
|
51475
|
+
|
|
51476
|
+
:host([theme="light"]) .movi-quality-item.movi-quality-active {
|
|
51477
|
+
background: rgba(139, 92, 246, 0.12) !important;
|
|
51478
|
+
}
|
|
51479
|
+
|
|
51390
51480
|
:host:focus,
|
|
51391
51481
|
:host:active,
|
|
51392
51482
|
:host:focus-visible {
|
|
@@ -52356,7 +52446,12 @@ class MoviElement extends HTMLElement {
|
|
|
52356
52446
|
-webkit-backdrop-filter: none !important;
|
|
52357
52447
|
background: rgba(10, 10, 18, 0.95) !important; /* Solid dark background fallback */
|
|
52358
52448
|
}
|
|
52359
|
-
|
|
52449
|
+
|
|
52450
|
+
/* Light theme mobile controls bar */
|
|
52451
|
+
:host([theme="light"]) .movi-controls-bar {
|
|
52452
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
52453
|
+
}
|
|
52454
|
+
|
|
52360
52455
|
/* Remove the slide-up/down effect */
|
|
52361
52456
|
.movi-controls-container,
|
|
52362
52457
|
.movi-controls-container.movi-controls-hidden,
|
|
@@ -52626,7 +52721,11 @@ class MoviElement extends HTMLElement {
|
|
|
52626
52721
|
background-color: rgba(255, 255, 255, 0.08);
|
|
52627
52722
|
transform: scale(1.02);
|
|
52628
52723
|
}
|
|
52629
|
-
|
|
52724
|
+
|
|
52725
|
+
:host([theme="light"]) .movi-context-menu-item:hover {
|
|
52726
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
52727
|
+
}
|
|
52728
|
+
|
|
52630
52729
|
.movi-context-menu-item:hover .movi-context-menu-arrow {
|
|
52631
52730
|
transform: translateX(2px);
|
|
52632
52731
|
color: var(--movi-primary-light);
|
|
@@ -53084,6 +53183,12 @@ class MoviElement extends HTMLElement {
|
|
|
53084
53183
|
z-index: 20000 !important;
|
|
53085
53184
|
}
|
|
53086
53185
|
|
|
53186
|
+
/* Light theme mobile context menu */
|
|
53187
|
+
:host([theme="light"]) .movi-context-menu.movi-context-menu-mobile {
|
|
53188
|
+
border-left-color: rgba(0, 0, 0, 0.1) !important;
|
|
53189
|
+
box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2) !important;
|
|
53190
|
+
}
|
|
53191
|
+
|
|
53087
53192
|
.movi-context-menu.movi-context-menu-mobile.visible {
|
|
53088
53193
|
transform: translateX(0) !important;
|
|
53089
53194
|
}
|
|
@@ -53137,8 +53242,15 @@ class MoviElement extends HTMLElement {
|
|
|
53137
53242
|
.movi-context-menu-shortcut {
|
|
53138
53243
|
display: none !important; /* Shortcuts don't make sense on mobile */
|
|
53139
53244
|
}
|
|
53245
|
+
|
|
53246
|
+
/* Light theme mobile submenus */
|
|
53247
|
+
:host([theme="light"]) .movi-context-menu-submenu,
|
|
53248
|
+
:host([theme="light"]) .movi-context-menu-submenu-audio,
|
|
53249
|
+
:host([theme="light"]) .movi-context-menu-submenu-subtitle {
|
|
53250
|
+
background: rgba(255, 255, 255, 0.98) !important;
|
|
53251
|
+
}
|
|
53140
53252
|
}
|
|
53141
|
-
|
|
53253
|
+
|
|
53142
53254
|
/* Mobile Responsiveness for Context Menu */
|
|
53143
53255
|
@media (max-width: 600px) {
|
|
53144
53256
|
.movi-context-menu {
|