File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
components/ft-shaka-video-player Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 43
43
flex-direction : column-reverse;
44
44
}
45
45
46
+ /*
47
+ Apply the active FreeTube base theme to shaka-player's menus.
48
+ Usually we go for classes and not element names,
49
+ however as we need to override shaka-player's CSS
50
+ we need to use the same selectors that they do.
51
+ */
52
+
53
+ : deep (.shaka-overflow-menu ),
54
+ : deep (.shaka-settings-menu ) {
55
+ background : var (--card-bg-color ) !important ;
56
+ }
57
+
58
+ : deep (.shaka-overflow-menu button ),
59
+ : deep (.shaka-settings-menu button ) {
60
+ color : var (--primary-text-color ) !important ;
61
+ }
62
+
63
+ : deep (.shaka-overflow-menu button : hover ),
64
+ : deep (.shaka-settings-menu button : hover ) {
65
+ background : var (--side-nav-hover-color ) !important ;
66
+ color : var (--side-nav-hover-text-color ) !important ;
67
+ }
68
+
69
+ /* End of theming code */
70
+
46
71
.sixteenByNine {
47
72
aspect-ratio : 16 / 9 ;
48
73
}
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ it can be safely elided. This looks quite pleasant on this theme. */
73
73
text-decoration : underline;
74
74
}
75
75
76
+ .hotPink .shaka-range-container {
77
+ --primary-color : # fff ;
78
+ }
79
+
76
80
77
81
/*************** DARK THEME ADJUSTMENTS ***************/
78
82
You can’t perform that action at this time.
0 commit comments