1 @use '_variables' as *;
4 @use './_player-variables' as *;
6 $setting-transition-duration: 0.15s;
7 $setting-transition-easing: ease-out;
9 /* Sass for videojs-settings-menu */
13 .vjs-settings-sub-menu-title {
15 text-transform: initial;
18 .vjs-settings-dialog {
22 color: pvar(--embedForegroundColor);
23 opacity: $primary-foreground-opacity;
25 font-size: $font-size !important;
31 transition: width $setting-transition-duration $setting-transition-easing, height $setting-transition-duration $setting-transition-easing;
33 .vjs-settings-sub-menu-value,
34 .vjs-settings-sub-menu-title {
37 text-transform: capitalize;
40 .vjs-settings-sub-menu-title {
42 font-weight: $font-semibold;
45 .vjs-settings-sub-menu-value {
64 .vjs-settings-panel-child {
67 align-items: flex-end;
81 > .vjs-settings-sub-menu {
82 transition: all $setting-transition-duration $setting-transition-easing;
86 text-transform: initial;
90 background-color: rgba(255, 255, 255, 0.2);
103 cursor: default !important;
104 background-color: inherit !important;
114 .vjs-settings-sub-menu-value::after {
115 @include chevron-right(9px, 2px);
117 @include margin-left(5px);
121 > .vjs-settings-sub-menu {
126 font-weight: $font-semibold;
131 padding: 8px 8px 13px 12px;
133 border-bottom: 1px solid #808080;
137 @include chevron-left(9px, 2px);
139 @include margin-right(5px);
144 background-color: inherit;
149 background-color: rgba(115, 133, 159, 0.5);
159 background-image: url('#{$assets-path}/player/images/tick-white.svg');
164 // Special captions case
165 // Bigger caption button
166 &.vjs-captions-button {
172 .vjs-menu-item-text {
173 @include margin-left(25px);
174 text-transform: capitalize;