@locpd/vidstack 1.12.14

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.
Files changed (242) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +22 -0
  3. package/analyze.json.d.ts +8 -0
  4. package/bundle.d.ts +1 -0
  5. package/cdn/chunks/vidstack-2f5gzOW6.js +1 -0
  6. package/cdn/chunks/vidstack-BYgY9wmd.js +1 -0
  7. package/cdn/chunks/vidstack-BfBBPhXV.js +1 -0
  8. package/cdn/chunks/vidstack-Bjo5esRp.js +1 -0
  9. package/cdn/chunks/vidstack-BuL67v3q.js +1 -0
  10. package/cdn/chunks/vidstack-C0msPRTd.js +3 -0
  11. package/cdn/chunks/vidstack-CJNLoJPa.js +1 -0
  12. package/cdn/chunks/vidstack-CQSpZ7X8.js +16 -0
  13. package/cdn/chunks/vidstack-C_AxqLKV.js +1 -0
  14. package/cdn/chunks/vidstack-CioT3Yw2.js +1 -0
  15. package/cdn/chunks/vidstack-CrqkytHl.js +1 -0
  16. package/cdn/chunks/vidstack-D0M8R0ZU.js +1 -0
  17. package/cdn/chunks/vidstack-D40FSa5B.js +3 -0
  18. package/cdn/chunks/vidstack-DD2JwFVU.js +1 -0
  19. package/cdn/chunks/vidstack-DRH_1tFW.js +1 -0
  20. package/cdn/chunks/vidstack-DfDZuHNP.js +1 -0
  21. package/cdn/chunks/vidstack-DiNS2Vx5.js +1 -0
  22. package/cdn/chunks/vidstack-xjJ-ui_l.js +1 -0
  23. package/cdn/providers/vidstack-audio-2Dt_Ivbp.js +1 -0
  24. package/cdn/providers/vidstack-dash-CUtD4e6q.js +1 -0
  25. package/cdn/providers/vidstack-google-cast-BdORATUX.js +1 -0
  26. package/cdn/providers/vidstack-hls-R25Kb6DP.js +1 -0
  27. package/cdn/providers/vidstack-html-DaAUJYsD.js +1 -0
  28. package/cdn/providers/vidstack-video-Csvox7SO.js +1 -0
  29. package/cdn/providers/vidstack-vimeo-D4Z96kg2.js +1 -0
  30. package/cdn/providers/vidstack-youtube-DiND6h3s.js +1 -0
  31. package/cdn/vidstack.js +1 -0
  32. package/cdn/with-layouts/chunks/vidstack-2f5gzOW6.js +1 -0
  33. package/cdn/with-layouts/chunks/vidstack-45yH5los.js +1 -0
  34. package/cdn/with-layouts/chunks/vidstack-BBVMdOnf.js +1 -0
  35. package/cdn/with-layouts/chunks/vidstack-BB_ulI_T.js +1 -0
  36. package/cdn/with-layouts/chunks/vidstack-BcAewM33.js +1 -0
  37. package/cdn/with-layouts/chunks/vidstack-BfBBPhXV.js +1 -0
  38. package/cdn/with-layouts/chunks/vidstack-Bxv1Qnxe.js +1 -0
  39. package/cdn/with-layouts/chunks/vidstack-C2ZbG62f.js +3 -0
  40. package/cdn/with-layouts/chunks/vidstack-CCYIOKgL.js +1 -0
  41. package/cdn/with-layouts/chunks/vidstack-CL6PeIO1.js +1 -0
  42. package/cdn/with-layouts/chunks/vidstack-C_AxqLKV.js +1 -0
  43. package/cdn/with-layouts/chunks/vidstack-CifDkwDH.js +795 -0
  44. package/cdn/with-layouts/chunks/vidstack-Cry7aD59.js +3 -0
  45. package/cdn/with-layouts/chunks/vidstack-D065okCn.js +1 -0
  46. package/cdn/with-layouts/chunks/vidstack-DGuMoXmI.js +1 -0
  47. package/cdn/with-layouts/chunks/vidstack-DRH_1tFW.js +1 -0
  48. package/cdn/with-layouts/chunks/vidstack-DVBs1XoQ.js +1 -0
  49. package/cdn/with-layouts/chunks/vidstack-Dge3KT8k.js +1 -0
  50. package/cdn/with-layouts/chunks/vidstack-DiNS2Vx5.js +1 -0
  51. package/cdn/with-layouts/chunks/vidstack-HvYfJoen.js +1 -0
  52. package/cdn/with-layouts/providers/vidstack-audio-DE5vKIzW.js +1 -0
  53. package/cdn/with-layouts/providers/vidstack-dash-CA2agUuZ.js +1 -0
  54. package/cdn/with-layouts/providers/vidstack-google-cast-CGs-t8HM.js +1 -0
  55. package/cdn/with-layouts/providers/vidstack-hls-BHMbMFFR.js +1 -0
  56. package/cdn/with-layouts/providers/vidstack-html-Dm9gmNk6.js +1 -0
  57. package/cdn/with-layouts/providers/vidstack-video-C5it_Lbl.js +1 -0
  58. package/cdn/with-layouts/providers/vidstack-vimeo-BabLn9sy.js +1 -0
  59. package/cdn/with-layouts/providers/vidstack-youtube-D8UlccUL.js +1 -0
  60. package/cdn/with-layouts/vidstack.js +1 -0
  61. package/dev/chunks/vidstack-B7Zi3v_O.js +104 -0
  62. package/dev/chunks/vidstack-BFg1ZqiG.js +91 -0
  63. package/dev/chunks/vidstack-BGB2pa9s.js +58 -0
  64. package/dev/chunks/vidstack-BaIbHZE3.js +1519 -0
  65. package/dev/chunks/vidstack-Bb2rASIc.js +5188 -0
  66. package/dev/chunks/vidstack-Bcmx8pmK.js +224 -0
  67. package/dev/chunks/vidstack-Bl4b0Nen.js +29 -0
  68. package/dev/chunks/vidstack-Bo5OTJ06.js +58 -0
  69. package/dev/chunks/vidstack-BoAGnlRt.js +58 -0
  70. package/dev/chunks/vidstack-Bpr4fI4n.js +7 -0
  71. package/dev/chunks/vidstack-Bt8MP2DK.js +204 -0
  72. package/dev/chunks/vidstack-Bu2kfzUd.js +1637 -0
  73. package/dev/chunks/vidstack-C-ffXlSV.js +2995 -0
  74. package/dev/chunks/vidstack-C-ztJq-f.js +109 -0
  75. package/dev/chunks/vidstack-CFNlaVTR.js +55 -0
  76. package/dev/chunks/vidstack-C_l97D5j.js +254 -0
  77. package/dev/chunks/vidstack-CjhKISI0.js +114 -0
  78. package/dev/chunks/vidstack-CofXIJAy.js +57 -0
  79. package/dev/chunks/vidstack-CwTj4H1w.js +18 -0
  80. package/dev/chunks/vidstack-DDwbYVHV.js +66 -0
  81. package/dev/chunks/vidstack-DFImIcIL.js +11 -0
  82. package/dev/chunks/vidstack-DGDvUbvO.js +33 -0
  83. package/dev/chunks/vidstack-DO0kqA99.js +107 -0
  84. package/dev/chunks/vidstack-DXxIKXmd.js +50 -0
  85. package/dev/chunks/vidstack-DajrMUR0.js +297 -0
  86. package/dev/chunks/vidstack-DbBJlz7I.js +10 -0
  87. package/dev/chunks/vidstack-Dihypf8P.js +11 -0
  88. package/dev/chunks/vidstack-DlAhl87f.js +1193 -0
  89. package/dev/chunks/vidstack-Dm1xEU9Q.js +34 -0
  90. package/dev/chunks/vidstack-Dv_LIPFu.js +14 -0
  91. package/dev/chunks/vidstack-igYn0Apa.js +254 -0
  92. package/dev/chunks/vidstack-krOAtKMi.js +32 -0
  93. package/dev/chunks/vidstack-qh1N5_f_.js +26 -0
  94. package/dev/chunks/vidstack-rB-wqXw1.js +107 -0
  95. package/dev/chunks/vidstack-zG6PIeGg.js +66 -0
  96. package/dev/define/plyr-layout.js +51 -0
  97. package/dev/define/templates/plyr-layout.js +571 -0
  98. package/dev/define/templates/vidstack-audio-layout.js +167 -0
  99. package/dev/define/templates/vidstack-video-layout.js +390 -0
  100. package/dev/define/vidstack-icons.js +1 -0
  101. package/dev/define/vidstack-player-default-layout.js +21 -0
  102. package/dev/define/vidstack-player-layouts.js +25 -0
  103. package/dev/define/vidstack-player-ui.js +70 -0
  104. package/dev/define/vidstack-player.js +19 -0
  105. package/dev/global/plyr.js +501 -0
  106. package/dev/global/vidstack-player.js +129 -0
  107. package/dev/providers/vidstack-audio.js +35 -0
  108. package/dev/providers/vidstack-dash.js +516 -0
  109. package/dev/providers/vidstack-google-cast.js +474 -0
  110. package/dev/providers/vidstack-hls.js +408 -0
  111. package/dev/providers/vidstack-html.js +567 -0
  112. package/dev/providers/vidstack-video.js +207 -0
  113. package/dev/providers/vidstack-vimeo.js +554 -0
  114. package/dev/providers/vidstack-youtube.js +286 -0
  115. package/dev/vidstack-elements.js +36 -0
  116. package/dev/vidstack.js +91 -0
  117. package/dom.d.ts +91 -0
  118. package/elements.d.ts +1433 -0
  119. package/empty.vtt +1 -0
  120. package/global/player.d.ts +52 -0
  121. package/global/plyr.d.ts +343 -0
  122. package/google-cast.d.ts +1422 -0
  123. package/icons.d.ts +1 -0
  124. package/index.d.ts +402 -0
  125. package/package.json +199 -0
  126. package/player/index.d.ts +3 -0
  127. package/player/layouts/default.d.ts +3 -0
  128. package/player/layouts/index.d.ts +3 -0
  129. package/player/layouts/plyr.d.ts +3 -0
  130. package/player/styles/base.css +153 -0
  131. package/player/styles/default/buffering.css +55 -0
  132. package/player/styles/default/buttons.css +175 -0
  133. package/player/styles/default/captions.css +181 -0
  134. package/player/styles/default/chapter-title.css +26 -0
  135. package/player/styles/default/controls.css +56 -0
  136. package/player/styles/default/gestures.css +19 -0
  137. package/player/styles/default/icons.css +6 -0
  138. package/player/styles/default/keyboard.css +148 -0
  139. package/player/styles/default/layouts/audio.css +417 -0
  140. package/player/styles/default/layouts/video.css +590 -0
  141. package/player/styles/default/menus.css +959 -0
  142. package/player/styles/default/poster.css +52 -0
  143. package/player/styles/default/sliders.css +391 -0
  144. package/player/styles/default/theme.css +2461 -0
  145. package/player/styles/default/thumbnail.css +40 -0
  146. package/player/styles/default/time.css +45 -0
  147. package/player/styles/default/tooltips.css +141 -0
  148. package/player/styles/plyr/theme.css +1237 -0
  149. package/player/ui.d.ts +3 -0
  150. package/plugins.d.ts +19 -0
  151. package/plugins.js +13 -0
  152. package/prod/chunks/vidstack-B01xzxC4.js +7 -0
  153. package/prod/chunks/vidstack-BCeb7ryV.js +201 -0
  154. package/prod/chunks/vidstack-BGSTndAW.js +1590 -0
  155. package/prod/chunks/vidstack-BPitBBjh.js +1519 -0
  156. package/prod/chunks/vidstack-BQlOPwOu.js +45 -0
  157. package/prod/chunks/vidstack-BSDzlwxO.js +4778 -0
  158. package/prod/chunks/vidstack-BT0m6zEi.js +109 -0
  159. package/prod/chunks/vidstack-BTigPj2h.js +55 -0
  160. package/prod/chunks/vidstack-BiyXcJ_M.js +107 -0
  161. package/prod/chunks/vidstack-BoVf5n1M.js +2985 -0
  162. package/prod/chunks/vidstack-Bq6c3Bam.js +58 -0
  163. package/prod/chunks/vidstack-ByLCIBtB.js +297 -0
  164. package/prod/chunks/vidstack-C2US-gSO.js +248 -0
  165. package/prod/chunks/vidstack-C9vIqaYT.js +10 -0
  166. package/prod/chunks/vidstack-CF6fixCQ.js +1193 -0
  167. package/prod/chunks/vidstack-CTojmhKq.js +66 -0
  168. package/prod/chunks/vidstack-ChQTHmIQ.js +77 -0
  169. package/prod/chunks/vidstack-Cm6_unwd.js +246 -0
  170. package/prod/chunks/vidstack-CwTj4H1w.js +18 -0
  171. package/prod/chunks/vidstack-D3ltXc3a.js +33 -0
  172. package/prod/chunks/vidstack-D5EzK014.js +14 -0
  173. package/prod/chunks/vidstack-DDXt6fpN.js +58 -0
  174. package/prod/chunks/vidstack-DJDnh4xT.js +11 -0
  175. package/prod/chunks/vidstack-DXxIKXmd.js +50 -0
  176. package/prod/chunks/vidstack-D_-9AA6_.js +29 -0
  177. package/prod/chunks/vidstack-DbkZGjSn.js +107 -0
  178. package/prod/chunks/vidstack-Dihypf8P.js +11 -0
  179. package/prod/chunks/vidstack-Dm1xEU9Q.js +34 -0
  180. package/prod/chunks/vidstack-Dq5Yu0Vr.js +205 -0
  181. package/prod/chunks/vidstack-DqAw8m9J.js +26 -0
  182. package/prod/chunks/vidstack-DsPOyKtl.js +57 -0
  183. package/prod/chunks/vidstack-krOAtKMi.js +32 -0
  184. package/prod/chunks/vidstack-nLyr4NEP.js +58 -0
  185. package/prod/chunks/vidstack-xMS8dnYq.js +114 -0
  186. package/prod/chunks/vidstack-yEGTpgeA.js +104 -0
  187. package/prod/define/plyr-layout.js +51 -0
  188. package/prod/define/templates/plyr-layout.js +571 -0
  189. package/prod/define/templates/vidstack-audio-layout.js +167 -0
  190. package/prod/define/templates/vidstack-video-layout.js +390 -0
  191. package/prod/define/vidstack-icons.js +1 -0
  192. package/prod/define/vidstack-player-default-layout.js +21 -0
  193. package/prod/define/vidstack-player-layouts.js +25 -0
  194. package/prod/define/vidstack-player-ui.js +70 -0
  195. package/prod/define/vidstack-player.js +19 -0
  196. package/prod/global/plyr.js +493 -0
  197. package/prod/global/vidstack-player.js +129 -0
  198. package/prod/providers/vidstack-audio.js +35 -0
  199. package/prod/providers/vidstack-dash.js +501 -0
  200. package/prod/providers/vidstack-google-cast.js +468 -0
  201. package/prod/providers/vidstack-hls.js +393 -0
  202. package/prod/providers/vidstack-html.js +555 -0
  203. package/prod/providers/vidstack-video.js +204 -0
  204. package/prod/providers/vidstack-vimeo.js +548 -0
  205. package/prod/providers/vidstack-youtube.js +286 -0
  206. package/prod/vidstack-elements.js +36 -0
  207. package/prod/vidstack.js +158 -0
  208. package/server/chunks/vidstack-6juFdkKy.js +29 -0
  209. package/server/chunks/vidstack-B7iHmv7_.js +307 -0
  210. package/server/chunks/vidstack-BmxyML9v.js +1619 -0
  211. package/server/chunks/vidstack-BskfxwD3.js +566 -0
  212. package/server/chunks/vidstack-BvLV0SMz.js +4642 -0
  213. package/server/chunks/vidstack-BvWwluXZ.js +205 -0
  214. package/server/chunks/vidstack-C-413dj2.js +8 -0
  215. package/server/chunks/vidstack-C26K8z_-.js +55 -0
  216. package/server/chunks/vidstack-CJJiksDz.js +107 -0
  217. package/server/chunks/vidstack-CUNv52x1.js +141 -0
  218. package/server/chunks/vidstack-CqyBCODe.js +295 -0
  219. package/server/chunks/vidstack-CwTj4H1w.js +18 -0
  220. package/server/chunks/vidstack-DHAyGSOl.js +1502 -0
  221. package/server/chunks/vidstack-DLU3cjcp.js +381 -0
  222. package/server/chunks/vidstack-DXxIKXmd.js +50 -0
  223. package/server/chunks/vidstack-DbtDXDS2.js +104 -0
  224. package/server/chunks/vidstack-Dm1xEU9Q.js +34 -0
  225. package/server/chunks/vidstack-DzTHw_bw.js +207 -0
  226. package/server/chunks/vidstack-Wn3NH5Sg.js +1566 -0
  227. package/server/chunks/vidstack-krOAtKMi.js +32 -0
  228. package/server/chunks/vidstack-wNViAkr4.js +3045 -0
  229. package/server/define/plyr-layout.js +16 -0
  230. package/server/define/vidstack-icons.js +1 -0
  231. package/server/define/vidstack-player-default-layout.js +13 -0
  232. package/server/define/vidstack-player-layouts.js +16 -0
  233. package/server/define/vidstack-player-ui.js +11 -0
  234. package/server/define/vidstack-player.js +6 -0
  235. package/server/global/plyr.js +322 -0
  236. package/server/global/vidstack-player.js +58 -0
  237. package/server/vidstack-elements.js +46 -0
  238. package/server/vidstack.js +148 -0
  239. package/tailwind.cjs +101 -0
  240. package/tailwind.d.cts +15 -0
  241. package/types/vidstack-BOvzfZjK.d.ts +1269 -0
  242. package/types/vidstack-Cttpg6GU.d.ts +7474 -0
@@ -0,0 +1,959 @@
1
+ /*
2
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ * Theme
4
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+ */
6
+
7
+ :where(.vds-menu-items) {
8
+ --color-inverse: var(--media-menu-color-inverse, var(--default-inverse));
9
+ --color-gray-50: var(--media-menu-color-gray-50, var(--default-gray-50));
10
+ --color-gray-100: var(--media-menu-color-gray-100, var(--default-gray-100));
11
+ --color-gray-200: var(--media-menu-color-gray-200, var(--default-gray-200));
12
+ --color-gray-300: var(--media-menu-color-gray-300, var(--default-gray-300));
13
+ --color-gray-400: var(--media-menu-color-gray-400, var(--default-gray-400));
14
+
15
+ --text-color: var(--media-menu-text-color, var(--default-text));
16
+ --text-secondary-color: var(--media-menu-text-secondary-color, var(--default-text-secondary));
17
+
18
+ --root-border: var(--media-menu-border, var(--default-root-border));
19
+ }
20
+
21
+ .light .vds-menu-items {
22
+ --default-inverse: black;
23
+ --default-gray-50: rgb(80 80 80 / 0.15);
24
+ --default-gray-100: rgb(80 80 80 / 0.45);
25
+ --default-gray-200: rgb(235 235 235 / 0.6);
26
+ --default-gray-300: rgb(238 238 238);
27
+ --default-gray-400: rgb(250 250 250);
28
+
29
+ --default-text: #1a1a1a;
30
+ --default-text-secondary: #6b6b6b;
31
+
32
+ --default-root-border: 1px solid rgb(10 10 10 / 0.1);
33
+ }
34
+
35
+ .dark .vds-menu-items {
36
+ --default-inverse: white;
37
+ --default-gray-50: rgb(245 245 245 / 0.1);
38
+ --default-gray-100: rgb(245 245 245 / 0.45);
39
+ --default-gray-200: rgb(10 10 10 / 0.6);
40
+ --default-gray-300: rgb(27 27 27);
41
+ --default-gray-400: rgb(10 10 10);
42
+
43
+ --default-text: #f5f5f5;
44
+ --default-text-secondary: #8a8a8a;
45
+
46
+ --default-root-border: 1px solid rgb(255 255 255 / 0.1);
47
+ }
48
+
49
+ :where(.vds-menu-items) {
50
+ --font-family: var(--media-font-family, sans-serif);
51
+ --font-size: var(--media-menu-font-size, 14px);
52
+ --font-weight: var(--media-menu-font-weight, 500);
53
+
54
+ --root-bg: var(--media-menu-bg, var(--color-gray-400));
55
+ --root-padding: var(--media-menu-padding, 12px);
56
+ --root-border-radius: var(--media-menu-border-radius, 4px);
57
+
58
+ --divider: var(--media-menu-divider, 1px solid var(--color-gray-50));
59
+
60
+ --section-bg: var(--media-menu-section-bg, var(--color-gray-300));
61
+ --section-border: var(--media-menu-section-border);
62
+ --section-divider: var(--media-menu-section-divider, var(--divider));
63
+
64
+ --top-bar-bg: var(--media-menu-top-bar-bg, var(--color-gray-200));
65
+ --top-bar-divider: var(--media-menu-divider, transparent);
66
+
67
+ --text-hint-color: var(--media-menu-hint-color, var(--text-secondary-color));
68
+
69
+ --chapter-divider: var(--media-chapters-divider, var(--divider));
70
+ --chapter-active-bg: var(--media-chapters-item-active-bg, var(--color-gray-50));
71
+ --chapter-active-border-left: var(--media-chapters-item-active-border-left);
72
+
73
+ --chapter-progress-bg: var(--media-chapters-progress-bg, var(--color-inverse));
74
+
75
+ --chapter-time-font-size: var(--media-chapters-time-font-size, 12px);
76
+ --chapter-time-font-weight: var(--media-chapters-time-font-weight, 500);
77
+ --chapter-time-gap: var(--media-chapters-time-gap, 6px);
78
+
79
+ --chapter-duration-bg: var(--media-chapters-duration-bg);
80
+
81
+ --item-border: var(--media-menu-item-border, 0);
82
+ --item-bg: var(--media-menu-item-bg, transparent);
83
+ --item-hover-bg: var(--media-menu-item-hover-bg, var(--color-gray-50));
84
+ --item-icon-size: var(--media-menu-item-icon-size, 18px);
85
+ --item-padding: var(--media-menu-item-padding, 10px);
86
+ --item-min-height: var(--media-menu-item-height, 40px);
87
+ --item-border-radius: var(--media-menu-item-border-radius, 2px);
88
+
89
+ --scrollbar-track-bg: var(--media-menu-scrollbar-track-bg, transparent);
90
+ --scrollbar-thumb-bg: var(--media-menu-scrollbar-thumb-bg, var(--color-gray-50));
91
+ --webkit-scrollbar-bg: var(--color-gray-400);
92
+ --webkit-scrollbar-track-bg: var(--media-menu-scrollbar-track-bg, var(--color-gray-50));
93
+
94
+ --checkbox-bg: var(--media-menu-checkbox-bg, var(--color-gray-100));
95
+ --checkbox-active-bg: var(--media-menu-checkbox-bg-active, #1ba13f);
96
+ --checkbox-handle-bg: var(--media-menu-checkbox-handle-bg, #f5f5f5);
97
+ --checkbox-handle-border: var(--media-menu-checkbox-handle-border);
98
+
99
+ --radio-icon-color: var(--media-menu-radio-icon-color, var(--text-color));
100
+ }
101
+
102
+ /*
103
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104
+ * Menu
105
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106
+ */
107
+
108
+ :where(.vds-menu[data-root] media-menu[data-root]) {
109
+ display: contents;
110
+ }
111
+
112
+ :where(.vds-menu) {
113
+ font-family: var(--font-family);
114
+ font-size: var(--font-size);
115
+ font-weight: var(--font-weight);
116
+ }
117
+
118
+ :where(.vds-menu[data-disabled][data-root]) {
119
+ display: none;
120
+ }
121
+
122
+ :where(.vds-menu[data-submenu]) {
123
+ display: inline-block;
124
+ }
125
+
126
+ :where(.vds-menu-items:focus) {
127
+ outline: none;
128
+ }
129
+
130
+ :where(.vds-menu-item:focus, .vds-radio:focus) {
131
+ outline: none;
132
+ }
133
+
134
+ :where(
135
+ .vds-menu-item:focus-visible,
136
+ .vds-menu-item[data-focus],
137
+ .vds-radio:focus-visible,
138
+ .vds-radio[data-focus]
139
+ ) {
140
+ outline: none;
141
+ box-shadow: var(--media-focus-ring);
142
+ }
143
+
144
+ :where(.vds-menu[data-open] .vds-tooltip-content) {
145
+ display: none !important;
146
+ }
147
+
148
+ .vds-menu-items [data-hidden] {
149
+ display: none !important;
150
+ }
151
+
152
+ /*
153
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154
+ * Scroll
155
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156
+ */
157
+
158
+ @media (prefers-reduced-motion: no-preference) {
159
+ :where(.vds-menu-items) {
160
+ scroll-behavior: smooth;
161
+ }
162
+ }
163
+
164
+ :where(.vds-menu-items) {
165
+ box-sizing: border-box;
166
+ min-width: var(--media-menu-min-width, 280px);
167
+ scrollbar-width: thin;
168
+ scrollbar-color: var(--scrollbar-thumb-bg) var(--scrollbar-track-bg);
169
+ transform: translate3d(0, 0, 0);
170
+ }
171
+
172
+ :where(.vds-menu-items)::-webkit-scrollbar {
173
+ background-color: var(--webkit-scrollbar-bg);
174
+ border-radius: var(--root-border-radius);
175
+ height: 6px;
176
+ width: 5px;
177
+ }
178
+
179
+ :where(.vds-menu-items)::-webkit-scrollbar-track {
180
+ background-color: var(--webkit-scrollbar-track-bg);
181
+ border-radius: 4px;
182
+ }
183
+
184
+ :where(.vds-menu-items)::-webkit-scrollbar-thumb {
185
+ background-color: var(--scrollbar-thumb-bg);
186
+ border-radius: 4px;
187
+ }
188
+
189
+ :where(.vds-menu-items)::-webkit-scrollbar-corner {
190
+ background-color: var(--scrollbar-thumb-bg);
191
+ }
192
+
193
+ /*
194
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195
+ * Menu Button
196
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197
+ */
198
+
199
+ :where(.vds-menu-button) {
200
+ outline: none;
201
+ box-sizing: border-box;
202
+ }
203
+
204
+ :where(.vds-menu-button .vds-rotate-icon) {
205
+ transition: transform 0.2s ease-out;
206
+ }
207
+
208
+ :where(.vds-menu-button[aria-expanded='true'] .vds-rotate-icon) {
209
+ transform: rotate(var(--media-menu-icon-rotate-deg, 90deg));
210
+ transition: transform 0.2s ease-in;
211
+ }
212
+
213
+ :where(.vds-menu-button) {
214
+ display: inline-flex;
215
+ align-items: center;
216
+ justify-content: center;
217
+ }
218
+
219
+ @media (prefers-reduced-motion) {
220
+ :where(.vds-menu-button .vds-rotate-icon) {
221
+ transition: unset;
222
+ }
223
+ }
224
+
225
+ /*
226
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
227
+ * Menu Items
228
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229
+ */
230
+
231
+ :where(.vds-menu-items) {
232
+ display: flex;
233
+ align-items: center;
234
+ flex-direction: column;
235
+ font-family: var(--font-family);
236
+ font-size: var(--font-size);
237
+ font-weight: var(--font-weight);
238
+ transition: height 0.35s ease;
239
+ }
240
+
241
+ @media (prefers-reduced-motion) {
242
+ :where(.vds-menu-items) {
243
+ transition: unset;
244
+ }
245
+ }
246
+
247
+ :where(.vds-menu-items[data-root]) {
248
+ background-color: var(--root-bg);
249
+ border-radius: var(--root-border-radius);
250
+ box-shadow: var(--media-menu-box-shadow);
251
+ backdrop-filter: blur(4px);
252
+ height: var(--menu-height, auto);
253
+ will-change: width, height;
254
+ overflow-y: auto;
255
+ overscroll-behavior: contain;
256
+ opacity: 0;
257
+ z-index: 9999999;
258
+ box-sizing: border-box;
259
+ max-height: var(--media-menu-max-height, 250px);
260
+ filter: var(
261
+ --media-menu-filter,
262
+ drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06))
263
+ );
264
+ }
265
+
266
+ @-moz-document url-prefix() {
267
+ :where(.vds-menu-items[data-root]) {
268
+ backdrop-filter: none;
269
+ }
270
+ }
271
+
272
+ .vds-menu-items[data-root] {
273
+ border: var(--root-border);
274
+ padding: var(--root-padding);
275
+ }
276
+
277
+ :where([data-view-type='video']) :where(.vds-menu-items[data-root]) {
278
+ max-height: var(--media-menu-video-max-height, calc(var(--player-height) * 0.7));
279
+ }
280
+
281
+ :where(.vds-menu-items[data-transition='height']) {
282
+ --scrollbar-thumb-bg: rgba(0, 0, 0, 0);
283
+ pointer-events: none;
284
+ overflow: hidden;
285
+ }
286
+
287
+ .vds-menu-button[aria-disabled='true'],
288
+ .vds-menu-item[aria-disabled='true'],
289
+ .vds-menu-item[data-disabled] {
290
+ display: none;
291
+ }
292
+
293
+ /*
294
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295
+ * Menu Items Animation
296
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297
+ */
298
+
299
+ :where(.vds-menu-items[data-root]) {
300
+ --enter-transform: translateY(0px);
301
+ --exit-transform: translateY(12px);
302
+ }
303
+
304
+ /* Mobile Popup */
305
+ :where(.vds-menu-items[data-root]:not([data-placement])) {
306
+ --enter-transform: translateY(-24px);
307
+ }
308
+
309
+ :where(.vds-menu-items[data-root][aria-hidden='true']) {
310
+ animation: var(--media-menu-exit-animation, vds-menu-exit 0.2s ease-out);
311
+ }
312
+
313
+ :where(.vds-menu-items[data-root][aria-hidden='false']) {
314
+ animation: var(--media-menu-enter-animation, vds-menu-enter 0.3s ease-out);
315
+ animation-fill-mode: forwards;
316
+ }
317
+
318
+ /* Bottom */
319
+ :where(.vds-menu-items[data-placement~='bottom']) {
320
+ --enter-transform: translateY(0);
321
+ --exit-transform: translateY(-12px);
322
+ }
323
+
324
+ @keyframes vds-menu-enter {
325
+ from {
326
+ opacity: 0;
327
+ transform: var(--exit-transform);
328
+ }
329
+ to {
330
+ opacity: 1;
331
+ transform: var(--enter-transform);
332
+ }
333
+ }
334
+
335
+ @keyframes vds-menu-exit {
336
+ from {
337
+ opacity: 1;
338
+ transform: var(--enter-transform);
339
+ }
340
+ to {
341
+ opacity: 0;
342
+ transform: var(--exit-transform);
343
+ }
344
+ }
345
+
346
+ @media (prefers-reduced-motion) {
347
+ :where(.vds-menu-items) {
348
+ animation: none;
349
+ opacity: 1;
350
+ }
351
+ }
352
+
353
+ /*
354
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
355
+ * Menu Portal
356
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357
+ */
358
+
359
+ :where(media-menu-portal) {
360
+ display: contents;
361
+ }
362
+
363
+ :where(.vds-menu-items[data-root]:not([data-placement])) {
364
+ position: fixed;
365
+ left: 16px;
366
+ right: 16px;
367
+ top: unset;
368
+ bottom: 0;
369
+ max-height: var(--media-sm-menu-portrait-max-height, 40vh);
370
+ max-height: var(--media-sm-menu-portrait-max-height, 40dvh);
371
+ }
372
+
373
+ :where(.vds-menu-items[data-root]:not([data-placement])) {
374
+ max-width: 480px;
375
+ margin: 0 auto;
376
+ }
377
+
378
+ @media (orientation: landscape) and (pointer: coarse) {
379
+ :where(.vds-menu-items[data-root]:not([data-placement])) {
380
+ max-height: var(--media-sm-menu-landscape-max-height, min(70vh, 400px));
381
+ max-height: var(--media-sm-menu-landscape-max-height, min(70dvh, 400px));
382
+ }
383
+ }
384
+
385
+ /*
386
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387
+ * Submenu
388
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389
+ */
390
+
391
+ :where(.vds-menu[data-submenu] .vds-menu-button) {
392
+ display: flex;
393
+ align-items: center;
394
+ justify-content: flex-start;
395
+ }
396
+
397
+ :where(.vds-menu-items[data-submenu]) {
398
+ width: 100%;
399
+ }
400
+
401
+ :where(.vds-menu[aria-hidden='true']),
402
+ :where(.vds-menu-items[data-submenu][aria-hidden='true']) {
403
+ display: none;
404
+ }
405
+
406
+ /*
407
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
408
+ * Menu Item
409
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
410
+ */
411
+
412
+ :where(.vds-menu-item, .vds-radio) {
413
+ position: relative;
414
+ -webkit-tap-highlight-color: transparent;
415
+ user-select: none;
416
+ display: flex;
417
+ align-items: center;
418
+ justify-content: left;
419
+ width: 100%;
420
+ appearance: none;
421
+ border: 0;
422
+ border-radius: var(--item-border-radius);
423
+ box-sizing: border-box;
424
+ min-height: var(--item-min-height);
425
+ font-size: var(--font-size);
426
+ outline: none;
427
+ }
428
+
429
+ .vds-menu-item,
430
+ .vds-radio {
431
+ color: var(--text-color);
432
+ background-color: var(--item-bg);
433
+ padding: var(--item-padding);
434
+ }
435
+
436
+ .vds-menu-item:focus-visible,
437
+ .vds-menu-item[data-focus],
438
+ .vds-radio:focus-visible,
439
+ .vds-radio[data-focus] {
440
+ cursor: pointer;
441
+ background-color: var(--item-hover-bg);
442
+ }
443
+
444
+ @media (hover: hover) and (pointer: fine) {
445
+ .vds-menu-item[role]:hover,
446
+ .vds-radio:hover {
447
+ cursor: pointer;
448
+ background-color: var(--item-hover-bg);
449
+ }
450
+ }
451
+
452
+ :where(.vds-menu-items[data-submenu]) {
453
+ align-items: flex-start;
454
+ justify-content: center;
455
+ flex-direction: column;
456
+ }
457
+
458
+ :where(.vds-menu-item[aria-expanded='true']) {
459
+ font-weight: bold;
460
+ border-radius: 0;
461
+ border-top-left-radius: var(--item-border-radius);
462
+ border-top-right-radius: var(--item-border-radius);
463
+ }
464
+
465
+ .vds-menu-item[aria-expanded='true'] {
466
+ border-bottom: var(--top-bar-divider);
467
+ }
468
+
469
+ :where(.vds-menu-item[aria-expanded='true']) {
470
+ position: sticky;
471
+ top: calc(-1 * var(--root-padding));
472
+ left: 0;
473
+ width: 100%;
474
+ z-index: 10;
475
+ backdrop-filter: blur(4px);
476
+ margin-bottom: 4px;
477
+ }
478
+
479
+ .vds-menu-item[aria-expanded='true'] {
480
+ background-color: var(--top-bar-bg);
481
+ }
482
+
483
+ /*
484
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
485
+ * Menu Item Parts
486
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
487
+ */
488
+
489
+ :where(.vds-menu-item-label) {
490
+ flex: 1 0 0%;
491
+ text-align: start;
492
+ }
493
+
494
+ :where(.vds-menu-item .vds-icon, .vds-radio .vds-icon) {
495
+ --size: var(--item-icon-size);
496
+ width: var(--size);
497
+ height: var(--size);
498
+ margin-right: var(--media-menu-item-icon-spacing, 6px);
499
+ }
500
+
501
+ :where(.vds-menu-open-icon, .vds-menu-close-icon) {
502
+ --size: var(--media-menu-arrow-icon-size, 18px);
503
+ width: var(--size);
504
+ height: var(--size);
505
+ }
506
+
507
+ :where(.vds-menu-item-hint, .vds-menu-open-icon, .vds-radio-hint) {
508
+ color: var(--text-hint-color);
509
+ font-size: var(--media-menu-hint-font-size, 13px);
510
+ font-weight: var(--media-menu-hint-font-weight, 400);
511
+ }
512
+
513
+ :where(.vds-menu-items .vds-menu-open-icon) {
514
+ margin-right: 0;
515
+ }
516
+
517
+ :where(.vds-menu-items) :where(.vds-menu-item-hint, .vds-menu-open-icon) {
518
+ margin-left: auto;
519
+ }
520
+
521
+ :where(.vds-menu-items) :where(.vds-menu-item-hint + .vds-menu-open-icon),
522
+ :where(.vds-menu-item-hint + media-icon .vds-menu-open-icon),
523
+ :where(.vds-menu-item-hint + slot > .vds-menu-open-icon) {
524
+ margin-left: 2px;
525
+ }
526
+
527
+ :where(.vds-menu-item[aria-hidden='true']),
528
+ :where(.vds-menu-item[aria-expanded='true'] .vds-menu-open-icon) {
529
+ display: none !important;
530
+ }
531
+
532
+ :where(.vds-menu-items)
533
+ :where(.vds-menu-item[aria-disabled='true'], .vds-menu-item[data-disabled])
534
+ :where(.vds-menu-open-icon) {
535
+ opacity: 0;
536
+ }
537
+
538
+ :where(.vds-menu-close-icon),
539
+ :where(.vds-menu-item[aria-expanded='true'] > .vds-icon) {
540
+ display: none !important;
541
+ }
542
+
543
+ :where(.vds-menu-item[aria-expanded='true'] .vds-menu-close-icon) {
544
+ display: inline !important;
545
+ margin-left: calc(-1 * var(--item-padding) / 2);
546
+ }
547
+ /*
548
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
549
+ * Checkbox
550
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
551
+ */
552
+
553
+ :where(.vds-menu-checkbox) {
554
+ --checkbox-width: var(--media-menu-checkbox-width, 40px);
555
+ --checkbox-height: var(--media-menu-checkbox-height, 18px);
556
+ --checkbox-top: calc((var(--checkbox-height) - var(--checkbox-diameter)) / 2);
557
+ --checkbox-diameter: var(
558
+ --media-menu-checkbox-handle-diameter,
559
+ calc(var(--checkbox-height) - 2px)
560
+ );
561
+ --checkbox-gap: var(--media-menu-checkbox-gap, 2.5px);
562
+ position: relative;
563
+ display: inline-block;
564
+ width: var(--checkbox-width);
565
+ height: var(--checkbox-height);
566
+ border-radius: calc(var(--checkbox-height) / 2);
567
+ transition: 0.3s all ease-in-out;
568
+ box-sizing: border-box;
569
+ cursor: pointer;
570
+ pointer-events: auto;
571
+ }
572
+
573
+ .vds-menu-checkbox {
574
+ background-color: var(--checkbox-bg);
575
+ }
576
+
577
+ :where(.vds-menu-checkbox:focus-visible) {
578
+ outline: none;
579
+ box-shadow: var(--media-focus-ring);
580
+ }
581
+
582
+ .vds-menu-checkbox[aria-checked='true'] {
583
+ background-color: var(--checkbox-active-bg);
584
+ }
585
+
586
+ :where(.vds-menu-checkbox)::after {
587
+ content: '';
588
+ display: inline-block;
589
+ width: var(--checkbox-diameter);
590
+ height: var(--checkbox-diameter);
591
+ border-radius: calc(var(--checkbox-diameter) / 2);
592
+ position: absolute;
593
+ top: var(--checkbox-top);
594
+ transform: translateX(var(--checkbox-gap));
595
+ transition: 0.3s all ease-in-out;
596
+ border: var(--checkbox-handle-border);
597
+ box-sizing: border-box;
598
+ }
599
+
600
+ .vds-menu-checkbox::after {
601
+ background-color: var(--checkbox-handle-bg);
602
+ }
603
+
604
+ :where(.vds-menu-checkbox[aria-checked='true'])::after {
605
+ transform: translateX(
606
+ calc(var(--checkbox-width) - var(--checkbox-diameter) - var(--checkbox-gap))
607
+ );
608
+ }
609
+
610
+ @media (prefers-reduced-motion: no-preference) {
611
+ :where(.vds-menu-checkbox[data-active])::after {
612
+ width: calc(var(--checkbox-width) - calc(var(--checkbox-gap) * 2));
613
+ }
614
+ }
615
+
616
+ :where(.vds-menu-checkbox[aria-checked='true'][data-active])::after {
617
+ transform: translateX(var(--checkbox-gap));
618
+ }
619
+
620
+ /*
621
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
622
+ * Slider
623
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
624
+ */
625
+
626
+ :where(.vds-menu-items .vds-slider) {
627
+ --media-slider-track-bg: var(--media-menu-slider-track-bg, var(--color-gray-50));
628
+ --media-slider-track-fill-bg: var(--media-menu-slider-track-fill-bg, var(--color-inverse));
629
+ --media-slider-height: var(--media-menu-slider-height, 32px);
630
+ --track-focus-height: var(--track-height) !important;
631
+ }
632
+
633
+ :where(.vds-menu-items .vds-slider-thumb) {
634
+ opacity: 1 !important;
635
+ }
636
+
637
+ :where(.vds-menu-slider-item.group) {
638
+ flex-direction: column;
639
+ }
640
+
641
+ :where(.vds-menu-slider-title) {
642
+ margin-top: 4px;
643
+ }
644
+
645
+ :where(.vds-menu-slider-body) {
646
+ width: 100%;
647
+ display: flex;
648
+ align-items: center;
649
+ margin-top: 6px;
650
+ }
651
+
652
+ :where(.vds-menu-slider-item .vds-icon) {
653
+ margin: 0;
654
+ color: var(--text-hint-color);
655
+ }
656
+
657
+ :where(
658
+ .vds-menu-slider-item[data-min] .vds-icon.down,
659
+ .vds-menu-slider-item[data-max] .vds-icon.up
660
+ ) {
661
+ color: var(--text-color);
662
+ animation: 0.6s ease-in-out vds-slider-icon;
663
+ transition: all 1.2s ease;
664
+ }
665
+
666
+ @keyframes vds-slider-icon {
667
+ 0% {
668
+ transform: scale(1);
669
+ }
670
+ 50% {
671
+ transform: scale(1.25);
672
+ }
673
+ 100% {
674
+ transform: scale(1);
675
+ }
676
+ }
677
+
678
+ :where(.vds-menu-items .vds-slider-track-fill) {
679
+ transition: opacity 0.3s ease;
680
+ }
681
+
682
+ :where(.vds-menu-items .vds-slider[data-active] .vds-slider-track-fill) {
683
+ opacity: 0;
684
+ }
685
+
686
+ /*
687
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
688
+ * Radio
689
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
690
+ */
691
+
692
+ :where(.vds-radio-group) {
693
+ box-sizing: border-box;
694
+ width: 100%;
695
+ display: flex;
696
+ flex-direction: column;
697
+ }
698
+
699
+ .vds-radio {
700
+ cursor: pointer;
701
+ contain: content;
702
+ padding-left: calc(var(--item-icon-size) + var(--item-padding));
703
+ }
704
+
705
+ .vds-radio[aria-checked='true'] {
706
+ padding-left: 0;
707
+ }
708
+
709
+ .vds-radio .vds-icon {
710
+ display: none;
711
+ color: var(--radio-icon-color);
712
+ }
713
+
714
+ .vds-radio[aria-checked='true'] .vds-icon {
715
+ display: inline-block;
716
+ margin-left: 6px;
717
+ }
718
+
719
+ :where(.vds-radio-hint) {
720
+ margin-left: auto;
721
+ }
722
+
723
+ /*
724
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
725
+ * Color Picker
726
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
727
+ */
728
+
729
+ .vds-color-picker {
730
+ width: 32px;
731
+ height: 32px;
732
+ border: 0;
733
+ background-color: transparent;
734
+ outline: none;
735
+ }
736
+
737
+ .vds-color-picker::-webkit-color-swatch {
738
+ border-radius: 2px;
739
+ }
740
+
741
+ .vds-color-picker::-moz-color-swatch {
742
+ border-radius: 2px;
743
+ }
744
+
745
+ .vds-color-picker:focus-visible::-webkit-color-swatch {
746
+ box-shadow: var(--media-focus-ring);
747
+ }
748
+
749
+ .vds-color-picker:focus-visible::-moz-color-swatch {
750
+ box-shadow: var(--media-focus-ring);
751
+ }
752
+
753
+ /*
754
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
755
+ * Menu Section
756
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
757
+ */
758
+
759
+ :where(.vds-menu-section) {
760
+ width: 100%;
761
+ }
762
+
763
+ :where(.vds-menu-item + .vds-menu-section) {
764
+ margin-top: 8px;
765
+ }
766
+
767
+ :where(.vds-menu-section + .vds-menu-section) {
768
+ margin-top: 24px;
769
+ }
770
+
771
+ :where(.vds-menu-section:first-child) {
772
+ margin-top: 8px;
773
+ }
774
+
775
+ :where(.vds-menu-section:last-child) {
776
+ margin-bottom: 8px;
777
+ }
778
+
779
+ :where(.vds-menu-section-title),
780
+ :where(.vds-menu-slider-title) {
781
+ width: 100%;
782
+ display: flex;
783
+ align-items: center;
784
+ justify-content: space-between;
785
+ color: var(--text-secondary-color);
786
+ font-size: var(--media-menu-section-header-font-size, 12px);
787
+ font-weight: var(--media-menu-section-header-font-weight, 500);
788
+ padding-inline: 2px;
789
+ }
790
+
791
+ :where(.vds-menu-section-body) {
792
+ width: 100%;
793
+ }
794
+
795
+ :where(.vds-menu-section-title + .vds-menu-section-body) {
796
+ margin-top: var(--media-menu-section-gap, 8px);
797
+ }
798
+
799
+ .vds-menu-section-body {
800
+ background-color: var(--section-bg);
801
+ border: var(--section-border);
802
+ border-radius: var(--media-menu-section-border-radius, 2px);
803
+ }
804
+
805
+ :where(.vds-menu-section:not([data-open]) .vds-menu-item:not(:last-child)) {
806
+ border-bottom: var(--section-divider);
807
+ }
808
+
809
+ :where(.vds-menu-section-body .vds-menu:last-child > .vds-menu-item) {
810
+ border-bottom: unset;
811
+ }
812
+
813
+ .vds-menu-section[data-open],
814
+ .vds-menu-section[data-open] > .vds-menu-section-body {
815
+ display: contents !important;
816
+ background-color: transparent !important;
817
+ }
818
+
819
+ .vds-menu-section[data-open] > .vds-menu-section-title,
820
+ .vds-menu-section[data-open] > .vds-menu-section-body > :not([data-open]) {
821
+ display: none;
822
+ }
823
+
824
+ /*
825
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
826
+ * Chapters Menu
827
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
828
+ */
829
+
830
+ :where(.vds-chapters-menu-items) {
831
+ min-width: var(--media-chapters-min-width, var(--media-menu-min-width, 220px));
832
+ }
833
+
834
+ .vds-chapters-menu-items {
835
+ padding: var(--media-chapters-padding, 0);
836
+ }
837
+
838
+ :where(.vds-menu-items:has(.vds-chapters-radio-group[data-thumbnails])) {
839
+ min-width: var(--media-chapters-with-thumbnails-min-width, 300px);
840
+ }
841
+
842
+ :where(.vds-chapter-radio) {
843
+ border-radius: 0;
844
+ }
845
+
846
+ .vds-chapter-radio {
847
+ border-bottom: var(--chapter-divider);
848
+ padding: var(--item-padding);
849
+ }
850
+
851
+ .vds-chapter-radio[aria-checked='true'] {
852
+ padding-left: var(--item-padding);
853
+ }
854
+
855
+ :where(.vds-chapter-radio:last-child) {
856
+ border-bottom: 0;
857
+ }
858
+
859
+ .vds-chapter-radio[aria-checked='true'] {
860
+ background-color: var(--chapter-active-bg);
861
+ border-left: var(--chapter-active-border-left);
862
+ }
863
+
864
+ :where(.vds-chapter-radio[aria-checked='true']):after {
865
+ content: ' ';
866
+ width: var(--progress);
867
+ height: var(--media-chapters-progress-height, 4px);
868
+ position: absolute;
869
+ bottom: 0;
870
+ left: 0;
871
+ }
872
+
873
+ .vds-chapter-radio[aria-checked='true']:after {
874
+ border-radius: var(--media-chapters-progress-border-radius, 0);
875
+ background-color: var(--chapter-progress-bg);
876
+ }
877
+
878
+ .vds-chapters-radio-group :where(.vds-thumbnail) {
879
+ margin-right: var(--media-chapters-thumbnail-gap, 12px);
880
+ flex-shrink: 0;
881
+ min-width: var(--media-chapters-thumbnail-min-width, 100px);
882
+ min-height: var(--media-chapters-thumbnail-min-height, 56px);
883
+ max-width: var(--media-chapters-thumbnail-max-width, 120px);
884
+ max-height: var(--media-chapters-thumbnail-max-height, 68px);
885
+ }
886
+
887
+ .vds-chapters-radio-group .vds-thumbnail {
888
+ border: var(--media-chapters-thumbnail-border, 0);
889
+ }
890
+
891
+ :where(.vds-chapters-radio-group .vds-chapter-radio-label) {
892
+ color: var(--text-secondary-color);
893
+ font-size: var(--font-size);
894
+ font-weight: var(--font-weight);
895
+ white-space: nowrap;
896
+ }
897
+
898
+ :where(.vds-chapter-radio[aria-checked='true'] .vds-chapter-radio-label) {
899
+ color: var(--text-color);
900
+ }
901
+
902
+ :where(.vds-chapters-radio-group .vds-chapter-radio-start-time) {
903
+ display: inline-block;
904
+ letter-spacing: var(--media-chapters-start-time-letter-spacing, 0.4px);
905
+ border-radius: var(--media-chapters-start-time-border-radius, 2px);
906
+ font-size: var(--chapter-time-font-size);
907
+ font-weight: var(--chapter-time-font-weight);
908
+ margin-top: var(--chapter-time-gap);
909
+ }
910
+
911
+ .vds-chapters-radio-group .vds-chapter-radio-start-time {
912
+ color: var(--text-secondary-color);
913
+ background-color: var(--section-bg);
914
+ padding: var(--media-chapters-start-time-padding, 1px 4px);
915
+ }
916
+
917
+ :where(.vds-chapters-radio-group .vds-chapter-radio-duration) {
918
+ color: var(--text-hint-color);
919
+ font-size: var(--chapter-time-font-size);
920
+ font-weight: var(--chapter-time-font-weight);
921
+ margin-top: var(--chapter-time-gap);
922
+ }
923
+
924
+ .vds-chapters-radio-group .vds-chapter-radio-duration {
925
+ background-color: var(--chapter-duration-bg);
926
+ border-radius: var(--media-chapters-duration-border-radius, 2px);
927
+ }
928
+
929
+ .vds-chapters-radio-group:not([data-thumbnails]) :where(.vds-thumbnail, media-thumbnail) {
930
+ display: none;
931
+ }
932
+
933
+ :where(.vds-chapter-radio-content) {
934
+ display: flex;
935
+ align-items: flex-start;
936
+ flex-direction: column;
937
+ }
938
+
939
+ :where(.vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-content) {
940
+ width: 100%;
941
+ flex-direction: row;
942
+ display: flex;
943
+ flex-wrap: wrap;
944
+ align-items: center;
945
+ }
946
+
947
+ :where(.vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-start-time) {
948
+ margin-top: 0;
949
+ margin-left: auto;
950
+ }
951
+
952
+ :where(.vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-duration) {
953
+ margin-top: 4px;
954
+ flex-basis: 100%;
955
+ }
956
+
957
+ .vds-menu-items[data-keyboard] .vds-chapters-radio-group:focus-within {
958
+ padding: var(--media-chapters-focus-padding, 4px);
959
+ }