BetterYTM.css 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428
  1. .bytm-dialog-bg {
  2. --bytm-dialog-bg: #333333;
  3. --bytm-dialog-bg-highlight: #252525;
  4. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  5. --bytm-dialog-separator-color: #797979;
  6. --bytm-dialog-border-radius: 10px;
  7. }
  8. .bytm-dialog-bg {
  9. display: block;
  10. position: fixed;
  11. width: 100%;
  12. height: 100%;
  13. top: 0;
  14. left: 0;
  15. z-index: 3005;
  16. background-color: rgba(0, 0, 0, 0.6);
  17. }
  18. .bytm-dialog {
  19. --calc-max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)));
  20. position: absolute;
  21. display: flex;
  22. flex-direction: column;
  23. width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
  24. border-radius: var(--bytm-dialog-border-radius);
  25. height: auto;
  26. max-height: var(--calc-max-height);
  27. left: 50%;
  28. top: 50%;
  29. transform: translate(-50%, -50%);
  30. z-index: 3006;
  31. color: #fff;
  32. background-color: var(--bytm-dialog-bg);
  33. }
  34. .bytm-dialog.align-top {
  35. top: 0;
  36. transform: translate(-50%, 20px);
  37. }
  38. .bytm-dialog.align-bottom {
  39. top: 100%;
  40. transform: translate(-50%, calc(-100% - 20px));
  41. }
  42. .bytm-dialog-body {
  43. font-size: 1.5rem;
  44. padding: 20px;
  45. }
  46. .bytm-dialog-body.small {
  47. padding: 15px;
  48. }
  49. #bytm-dialog-opts {
  50. display: flex;
  51. flex-direction: column;
  52. position: relative;
  53. padding: 30px 0px;
  54. overflow-y: auto;
  55. }
  56. .bytm-dialog-header {
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. margin-bottom: 6px;
  61. padding: 15px 20px 15px 20px;
  62. background-color: var(--bytm-dialog-bg);
  63. border: 2px solid var(--bytm-dialog-separator-color);
  64. border-style: none none solid none !important;
  65. border-radius: var(--bytm-dialog-border-radius)
  66. var(--bytm-dialog-border-radius) 0px 0px;
  67. }
  68. .bytm-dialog-header.small {
  69. padding: 10px 15px;
  70. border-style: none none solid none !important;
  71. }
  72. .bytm-dialog-header-pad {
  73. content: " ";
  74. min-height: 32px;
  75. }
  76. .bytm-dialog-header-pad.small {
  77. min-height: 24px;
  78. }
  79. .bytm-dialog-titlecont {
  80. display: flex;
  81. align-items: center;
  82. }
  83. .bytm-dialog-titlecont-no-title {
  84. display: flex;
  85. justify-content: flex-end;
  86. align-items: center;
  87. }
  88. .bytm-dialog-title {
  89. position: relative;
  90. display: inline-block;
  91. font-size: 22px;
  92. }
  93. #bytm-dialog-version {
  94. position: absolute;
  95. width: 100%;
  96. bottom: -10px;
  97. left: 0;
  98. font-size: 10px;
  99. font-weight: normal;
  100. z-index: 3007;
  101. }
  102. #bytm-dialog-version .bytm-link {
  103. color: #c6d2db !important;
  104. text-decoration: none !important;
  105. cursor: pointer;
  106. }
  107. #bytm-dialog-version .bytm-link:hover {
  108. color: #c6d2db !important;
  109. text-decoration: underline !important;
  110. }
  111. #bytm-dialog-linkscont {
  112. display: flex;
  113. align-items: center;
  114. margin-left: 32px;
  115. }
  116. .bytm-dialog-link {
  117. display: inline-flex;
  118. align-items: center;
  119. cursor: pointer;
  120. }
  121. .bytm-dialog-link:not(:last-of-type) {
  122. margin-right: 10px;
  123. }
  124. .bytm-dialog-link .bytm-dialog-img {
  125. position: relative;
  126. border-radius: 50%;
  127. bottom: 0px;
  128. transition: bottom 0.15s ease-out;
  129. }
  130. .bytm-dialog-link:hover .bytm-dialog-img {
  131. bottom: 5px;
  132. }
  133. .bytm-dialog-close {
  134. cursor: pointer;
  135. }
  136. .bytm-dialog-header-img,
  137. .bytm-dialog-close {
  138. width: 32px;
  139. height: 32px;
  140. }
  141. .bytm-dialog-header-img.small,
  142. .bytm-dialog-close.small {
  143. width: 24px;
  144. height: 24px;
  145. }
  146. .bytm-dialog-footer {
  147. font-size: 17px;
  148. text-decoration: underline;
  149. }
  150. .bytm-dialog-footer.hidden {
  151. display: none;
  152. }
  153. .bytm-dialog-footer-cont {
  154. margin-top: 6px;
  155. padding: 15px 20px;
  156. background: var(--bytm-dialog-bg);
  157. background: linear-gradient(
  158. to bottom,
  159. rgba(0, 0, 0, 0) 0%,
  160. var(--bytm-dialog-bg) 30%,
  161. var(--bytm-dialog-bg) 100%
  162. );
  163. border: 2px solid var(--bytm-dialog-separator-color);
  164. border-style: solid none none none !important;
  165. border-radius: 0px 0px var(--bytm-dialog-border-radius)
  166. var(--bytm-dialog-border-radius);
  167. }
  168. .bytm-dialog-footer-cont.small {
  169. padding: 15px;
  170. }
  171. .bytm-dialog-footer-buttons-cont button:not(:last-of-type) {
  172. margin-right: 15px;
  173. }
  174. .bytm-dialog-footer-right {
  175. display: flex;
  176. flex-direction: row-reverse;
  177. align-items: center;
  178. margin-top: 15px;
  179. }
  180. #bytm-dialog-footer-left-buttons-cont button:not(:last-of-type) {
  181. margin-right: 15px;
  182. }
  183. #bytm-dialog-scroll-indicator {
  184. --bytm-scroll-indicator-padding: 5px;
  185. position: sticky;
  186. bottom: -15px;
  187. left: 50%;
  188. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  189. padding: var(--bytm-scroll-indicator-padding);
  190. transform: translateX(-50%);
  191. width: 32px;
  192. height: 32px;
  193. z-index: 3007;
  194. background-color: var(--bytm-scroll-indicator-bg);
  195. border-radius: 50%;
  196. cursor: pointer;
  197. }
  198. .bytm-hidden {
  199. visibility: hidden !important;
  200. }
  201. .bytm-ftconf-category-header {
  202. font-size: 20px;
  203. margin-top: 32px;
  204. margin-bottom: 8px;
  205. padding: 0px 20px;
  206. }
  207. .bytm-ftconf-category-header:first-of-type {
  208. margin-top: 0;
  209. }
  210. .bytm-dialog .bytm-ftitem {
  211. display: flex;
  212. flex-direction: row;
  213. justify-content: space-between;
  214. align-items: center;
  215. font-size: 1.4em;
  216. padding: 8px 20px;
  217. transition: background-color 0.15s ease-out;
  218. }
  219. .bytm-dialog .bytm-ftitem:hover {
  220. background-color: var(--bytm-dialog-bg-highlight);
  221. }
  222. .bytm-ftitem-leftside {
  223. display: flex;
  224. align-items: center;
  225. min-height: 24px;
  226. }
  227. .bytm-ftconf-ctrl {
  228. display: inline-flex;
  229. align-items: center;
  230. white-space: nowrap;
  231. margin-left: 10px;
  232. }
  233. .bytm-ftconf-label {
  234. user-select: none;
  235. }
  236. .bytm-slider-label {
  237. margin-right: 10px;
  238. }
  239. .bytm-ftconf-input.bytm-hotkey-input {
  240. cursor: pointer;
  241. min-width: 80px;
  242. }
  243. .bytm-ftconf-input[type="number"] {
  244. width: 75px;
  245. }
  246. .bytm-ftconf-input[type="range"] {
  247. width: 200px;
  248. }
  249. .bytm-ftconf-input[type="text"] {
  250. width: 200px;
  251. }
  252. .bytm-ftconf-input[type="checkbox"] {
  253. margin-left: 5px;
  254. }
  255. select.bytm-ftconf-input {
  256. min-width: 180px;
  257. cursor: revert;
  258. }
  259. #bytm-export-dialog-text,
  260. #bytm-import-dialog-text {
  261. font-size: 1.6em;
  262. margin-bottom: 15px;
  263. }
  264. .bytm-dialog-footer-copied {
  265. font-size: 1.6em;
  266. margin-right: 15px;
  267. }
  268. #bytm-changelog-dialog-body {
  269. overflow-y: auto;
  270. }
  271. #bytm-export-dialog-textarea,
  272. #bytm-import-dialog-textarea {
  273. width: 100%;
  274. height: 150px;
  275. resize: none;
  276. }
  277. .bytm-markdown-container {
  278. display: flex;
  279. flex-direction: column;
  280. overflow-y: auto;
  281. font-size: 1.4rem;
  282. line-height: 20px;
  283. }
  284. /* Markdown stuff */
  285. .bytm-markdown-container kbd,
  286. .bytm-kbd {
  287. --bytm-kbd-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  288. display: inline-block;
  289. vertical-align: bottom;
  290. padding: 3px;
  291. font-family: var(--bytm-font-monospace);
  292. font-size: 1.25rem;
  293. line-height: 11px;
  294. background-color: #222;
  295. border: 1px solid #777;
  296. border-radius: 5px;
  297. box-shadow: inset 0 -2px 0 #515559;
  298. transition: padding 0.1s var(--bytm-kbd-easing),
  299. margin-top 0.1s var(--bytm-kbd-easing),
  300. box-shadow 0.1s var(--bytm-kbd-easing);
  301. }
  302. .bytm-markdown-container kbd:active {
  303. padding-bottom: 1px;
  304. box-shadow: inset 0 0 0 initial;
  305. }
  306. .bytm-markdown-container kbd::selection {
  307. background: rgba(0, 0, 0, 0);
  308. }
  309. .bytm-markdown-container code {
  310. background-color: #222;
  311. border-radius: 3px;
  312. padding: 1px 5px;
  313. font-family: var(--bytm-font-monospace);
  314. font-size: var(--bytm-font-size-monospace);
  315. }
  316. .bytm-markdown-container h2 {
  317. margin-bottom: 5px;
  318. }
  319. .bytm-markdown-container h2:not(:first-of-type) {
  320. margin-top: 30px;
  321. }
  322. .bytm-markdown-container ul li {
  323. padding-left: 0px;
  324. }
  325. .bytm-markdown-container ul li::marker {
  326. content: none;
  327. }
  328. .bytm-markdown-container ul li::before {
  329. content: "• ";
  330. font-weight: bolder;
  331. }
  332. .bytm-markdown-container ul li > ul li {
  333. padding-left: 16px;
  334. }
  335. .bytm-markdown-container ul li > ul li::marker {
  336. content: none;
  337. }
  338. .bytm-markdown-container ul li > ul li::before {
  339. white-space: pre-wrap;
  340. content: "• ";
  341. font-weight: bolder;
  342. }
  343. .bytm-markdown-container ul li > ul li > ul li {
  344. padding-left: 16px;
  345. }
  346. .bytm-markdown-container ul li > ul li > ul li::marker {
  347. content: none;
  348. }
  349. .bytm-markdown-container ul li > ul li > ul li::before {
  350. white-space: pre-wrap;
  351. content: "• ";
  352. font-weight: bolder;
  353. }
  354. .bytm-markdown-container .pr-link-cont {
  355. padding-top: 10px;
  356. }
  357. .bytm-markdown-container details {
  358. margin-top: 5px;
  359. }
  360. #bytm-feat-help-dialog-desc,
  361. #bytm-feat-help-dialog-text {
  362. overflow-wrap: break-word;
  363. white-space: pre-wrap;
  364. font-size: 1.5em;
  365. }
  366. #bytm-feat-help-dialog-desc {
  367. font-size: 1.65em;
  368. padding-bottom: 5px;
  369. }
  370. .bytm-ftitem-help-btn {
  371. width: 24px !important;
  372. height: 24px !important;
  373. }
  374. .bytm-ftitem-help-btn svg {
  375. width: 18px !important;
  376. height: 18px !important;
  377. }
  378. .bytm-ftitem-help-btn svg > path {
  379. fill: #b3bec7 !important;
  380. }
  381. hr {
  382. display: block;
  383. margin: 8px 0px 12px 0px;
  384. border: revert;
  385. }
  386. .bytm-ftitem-adornment {
  387. display: inline-flex;
  388. justify-content: flex-start;
  389. align-items: center;
  390. margin-right: 6px;
  391. }
  392. /* #region general */
  393. :root {
  394. --bytm-locale-color: #5ea2ec;
  395. --bytm-advanced-mode-color: #ceb663;
  396. --bytm-experimental-col: #cc83e5;
  397. --bytm-warning-col: #e5a63b;
  398. --bytm-error-col: #fa5b5b;
  399. --bytm-reload-col: #77e064;
  400. --bytm-ytm-only-circle-col: #f13440;
  401. --bytm-ytm-only-note-col: #f3dcdd;
  402. }
  403. /* TODO: after cfg menu migration, leave only dialog styles here */
  404. #bytm-cfg-dialog-bg,
  405. #bytm-cfg-menu-bg {
  406. --bytm-dialog-width-max: 1150px;
  407. --bytm-dialog-height-max: 900px;
  408. }
  409. /* Have to do it like this since various extensions use a pretty damn high z-index and since I haven't implemented top layer for dialogs yet (https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) */
  410. .bytm-dom-yt .bytm-dialog-bg,
  411. .bytm-dom-yt .bytm-menu-bg {
  412. z-index: 10042;
  413. }
  414. .bytm-dom-yt .bytm-dialog,
  415. .bytm-dom-yt .bytm-menu {
  416. z-index: 10069;
  417. }
  418. .bytm-dialog-body p {
  419. overflow-wrap: break-word;
  420. }
  421. .bytm-dialog-body details summary {
  422. cursor: pointer;
  423. font-style: italic;
  424. }
  425. .bytm-secondary-label {
  426. padding-left: 12px;
  427. font-size: 1.3rem;
  428. }
  429. /* #region version notification */
  430. #bytm-version-notif-dialog-btns {
  431. display: flex;
  432. flex-direction: row;
  433. align-items: center;
  434. justify-content: space-between;
  435. margin-top: 20px;
  436. }
  437. #bytm-disable-update-check-wrapper {
  438. display: flex;
  439. align-items: center;
  440. font-size: 1.5rem;
  441. margin-top: 35px;
  442. }
  443. #bytm-disable-update-check-wrapper label {
  444. padding-left: 12px;
  445. }
  446. #bytm-version-notif-changelog-cont {
  447. max-height: calc(max(var(--calc-max-height) - 280px, 0px));
  448. overflow-y: auto;
  449. margin: 10px 0px;
  450. }
  451. #bytm-version-notif-changelog-details {
  452. margin-top: 15px;
  453. }
  454. .bytm-disable-update-check-toggle-label-wrapper {
  455. display: flex;
  456. flex-direction: column;
  457. justify-content: flex-start;
  458. }
  459. /* #region cfg menu */
  460. .bytm-ftconf-adv-copy-btn {
  461. margin: 0px 10px;
  462. }
  463. .bytm-adorn-icon {
  464. display: inline-flex;
  465. align-items: center;
  466. }
  467. .bytm-adorn-icon[title] {
  468. cursor: help;
  469. }
  470. /* #region cfg menu adornments */
  471. .bytm-locale-icon svg path {
  472. fill: var(--bytm-locale-color, #fff);
  473. }
  474. .bytm-advanced-mode-icon svg path {
  475. fill: var(--bytm-advanced-mode-color, #fff);
  476. }
  477. .bytm-experimental-icon svg path {
  478. fill: var(--bytm-experimental-col, #fff);
  479. }
  480. .bytm-warning-icon svg {
  481. width: 24px;
  482. height: 24px;
  483. }
  484. .bytm-warning-icon svg path {
  485. fill: var(--bytm-warning-col, #fff);
  486. }
  487. .bytm-reload-icon svg path {
  488. fill: var(--bytm-reload-col, #fff);
  489. }
  490. .bytm-ytm-only-icon svg path.circle {
  491. fill: var(--bytm-ytm-only-circle-col, #fff);
  492. }
  493. .bytm-ytm-only-icon svg path.note {
  494. fill: var(--bytm-ytm-only-note-col, #fff);
  495. }
  496. /* #region welcome dialog */
  497. #bytm-welcome-menu-title-wrapper {
  498. display: flex;
  499. flex-direction: row;
  500. align-items: center;
  501. }
  502. #bytm-welcome-menu-title-logo {
  503. width: 32px;
  504. height: 32px;
  505. margin-right: 20px;
  506. }
  507. #bytm-welcome-menu-content-wrapper {
  508. overflow-y: auto;
  509. }
  510. #bytm-welcome-menu-locale-cont {
  511. display: flex;
  512. flex-direction: column;
  513. align-items: center;
  514. justify-content: flex-start;
  515. }
  516. #bytm-welcome-menu-locale-img {
  517. width: 80px;
  518. height: 80px;
  519. margin-bottom: 10px;
  520. }
  521. #bytm-welcome-menu-text-cont {
  522. margin-top: 16px;
  523. }
  524. #bytm-welcome-menu-text {
  525. font-size: 1.6rem;
  526. line-height: 20px;
  527. }
  528. #bytm-welcome-menu-locale-select {
  529. font-size: 1.6rem;
  530. }
  531. #bytm-welcome-menu-footer-cont {
  532. display: flex;
  533. justify-content: space-between;
  534. border-radius: 0px 0px var(--bytm-menu-border-radius)
  535. var(--bytm-menu-border-radius);
  536. }
  537. #bytm-auto-like-channels-dialog-body {
  538. padding-left: 0;
  539. padding-right: 0;
  540. padding-bottom: 0;
  541. }
  542. .bytm-toggle-input-wrapper {
  543. --toggle-height: 20px;
  544. --toggle-width: 40px;
  545. --toggle-knob-offset: 4px;
  546. --toggle-color-on: #3683d4;
  547. --toggle-color-off: #666;
  548. --toggle-knob-color: #f5f5f5;
  549. display: flex;
  550. align-items: center;
  551. }
  552. .bytm-toggle-input-wrapper .bytm-toggle-input-label {
  553. cursor: pointer;
  554. font-size: 1.5rem;
  555. padding: 3px 12px;
  556. }
  557. /* sauce: https://danklammer.com/articles/simple-css-toggle-switch/ */
  558. .bytm-toggle-input {
  559. display: flex;
  560. align-items: center;
  561. }
  562. .bytm-toggle-input input {
  563. appearance: none;
  564. display: inline-block;
  565. width: var(--toggle-width);
  566. height: var(--toggle-height);
  567. position: relative;
  568. border-radius: 50px;
  569. overflow: hidden;
  570. outline: none;
  571. border: none;
  572. margin: 0;
  573. padding: var(--toggle-knob-offset);
  574. cursor: pointer;
  575. background-color: var(--toggle-color-off);
  576. transition:
  577. justify-content 0.2s ease,
  578. background-color 0.2s ease;
  579. }
  580. .bytm-toggle-input input[data-toggled="true"] {
  581. background-color: var(--toggle-color-on);
  582. }
  583. .bytm-toggle-input input .bytm-toggle-input-knob {
  584. --toggle-knob-calc-width: calc(
  585. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  586. );
  587. --toggle-knob-calc-height: calc(
  588. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  589. );
  590. width: var(--toggle-knob-calc-width);
  591. height: var(--toggle-knob-calc-height);
  592. background-color: var(--toggle-knob-color);
  593. border-radius: 50%;
  594. position: absolute;
  595. top: 50%;
  596. transform: translateY(-50%);
  597. left: var(--toggle-knob-offset);
  598. transition: left 0.2s ease;
  599. }
  600. .bytm-toggle-input input[data-toggled="true"] .bytm-toggle-input-knob {
  601. left: calc(
  602. var(--toggle-width) - var(--toggle-knob-offset) -
  603. var(--toggle-knob-calc-width)
  604. );
  605. }
  606. #bytm-prompt-dialog-header {
  607. display: flex;
  608. flex-direction: row;
  609. align-items: center;
  610. }
  611. #bytm-prompt-dialog-header svg {
  612. width: 24px;
  613. height: 24px;
  614. }
  615. #bytm-prompt-dialog-upper-cont,
  616. #bytm-prompt-dialog-message {
  617. font-size: 1.6rem;
  618. white-space: pre-wrap;
  619. }
  620. .bytm-prompt-type-prompt #bytm-prompt-dialog-message {
  621. margin-bottom: 15px;
  622. }
  623. #bytm-prompt-dialog-input {
  624. font-size: 1.6rem;
  625. width: 100%;
  626. }
  627. #bytm-prompt-dialog-button-wrapper {
  628. display: flex;
  629. flex-direction: row;
  630. justify-content: flex-end;
  631. align-items: end;
  632. }
  633. #bytm-prompt-dialog-buttons-cont {
  634. display: flex;
  635. flex-direction: row;
  636. gap: 15px;
  637. }
  638. #bytm-prompt-dialog-buttons-cont button {
  639. cursor: pointer;
  640. }
  641. .bytm-prompt-dialog-button {
  642. padding: 2px 6px;
  643. font-size: 1.45rem;
  644. }
  645. :root {
  646. --bytm-toast-bg-color: #323232;
  647. --bytm-toast-text-color: #fff;
  648. --bytm-toast-offset-ver: 80px;
  649. --bytm-toast-offset-hor: 25px;
  650. --bytm-toast-transition-time: 0.5s;
  651. --bytm-toast-transform-distance: 175px;
  652. }
  653. #bytm-toast {
  654. position: fixed;
  655. z-index: 1042069;
  656. opacity: 0.000001;
  657. pointer-events: none;
  658. padding: 10px 16px;
  659. border-radius: 3px;
  660. font-size: 1.5rem;
  661. cursor: default;
  662. background-color: var(--bytm-toast-bg-color);
  663. color: var(--bytm-toast-text-color);
  664. box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  665. transition:
  666. opacity var(--bytm-toast-transition-time) ease,
  667. transform var(--bytm-toast-transition-time) ease;
  668. }
  669. #bytm-toast.clickable {
  670. cursor: pointer;
  671. }
  672. #bytm-toast.visible {
  673. pointer-events: auto;
  674. opacity: 1;
  675. }
  676. #bytm-toast.pos-tl {
  677. top: var(--bytm-toast-offset-ver);
  678. left: var(--bytm-toast-offset-hor);
  679. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  680. }
  681. #bytm-toast.pos-tr {
  682. top: var(--bytm-toast-offset-ver);
  683. right: var(--bytm-toast-offset-hor);
  684. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  685. }
  686. #bytm-toast.pos-br {
  687. bottom: var(--bytm-toast-offset-ver);
  688. right: var(--bytm-toast-offset-hor);
  689. transform: translate(0, var(--bytm-toast-transform-distance));
  690. }
  691. #bytm-toast.pos-bl {
  692. bottom: var(--bytm-toast-offset-ver);
  693. left: var(--bytm-toast-offset-hor);
  694. transform: translate(0, var(--bytm-toast-transform-distance));
  695. }
  696. #bytm-toast.visible.pos-tl,
  697. #bytm-toast.visible.pos-tr,
  698. #bytm-toast.visible.pos-br,
  699. #bytm-toast.visible.pos-bl {
  700. transform: translate(0, 0);
  701. }
  702. .bytm-toast-flex-wrapper {
  703. display: flex;
  704. flex-direction: row;
  705. align-items: center;
  706. gap: 10px;
  707. }
  708. .bytm-toast-icon.img,
  709. .bytm-toast-icon svg {
  710. width: 24px;
  711. height: 24px;
  712. }
  713. .bytm-toast-icon path {
  714. fill: var(--toast-icon-fill, #fff);
  715. }
  716. .bytm-toast-subtitle {
  717. color: #ccc;
  718. font-size: 1.2rem;
  719. font-weight: 400;
  720. }
  721. /* some variables are not defined on purpose to allow plugin authors to more easily provide overrides */
  722. /* use `body` prefix for more specificity: */
  723. body .bytm-ripple {
  724. position: relative;
  725. overflow: hidden;
  726. width: var(--bytm-ripple-width, auto);
  727. height: var(--bytm-ripple-height, auto);
  728. }
  729. body .bytm-ripple.fastest {
  730. --bytm-ripple-anim-duration: 0.15s;
  731. }
  732. body .bytm-ripple.fast {
  733. --bytm-ripple-anim-duration: 0.35s;
  734. }
  735. body .bytm-ripple.slow {
  736. --bytm-ripple-anim-duration: 0.75s;
  737. }
  738. body .bytm-ripple.slowest {
  739. --bytm-ripple-anim-duration: 1s;
  740. }
  741. .bytm-ripple-area {
  742. --bytm-ripple-min-size: 100px;
  743. /* --bytm-ripple-cont-width is added at runtime since there's no better way of getting the parent's width */
  744. --bytm-ripple-expanded-size: calc(
  745. max(
  746. var(--bytm-ripple-cont-width, var(--bytm-ripple-min-size)) * 2,
  747. var(--bytm-ripple-min-size)
  748. )
  749. );
  750. position: absolute;
  751. background: var(--bytm-ripple-color, rgba(255, 255, 255, 0.125));
  752. transform: translate(-50%, -50%);
  753. pointer-events: none;
  754. border-radius: 50%;
  755. animation: bytm-scale-ripple var(--bytm-ripple-anim-duration, 0.55s)
  756. cubic-bezier(0.375, 0.33, 0.225, 0.93);
  757. }
  758. @keyframes bytm-scale-ripple {
  759. 0% {
  760. width: 0;
  761. height: 0;
  762. opacity: 1;
  763. }
  764. 100% {
  765. width: var(--bytm-ripple-expanded-size, 100%);
  766. height: var(--bytm-ripple-expanded-size, 100%);
  767. opacity: 0;
  768. }
  769. }
  770. .bytm-exim-dialog-panes-cont {
  771. display: flex;
  772. flex-direction: row;
  773. justify-content: space-between;
  774. flex-wrap: nowrap;
  775. height: 100%;
  776. overflow: hidden;
  777. }
  778. .bytm-exim-dialog-pane {
  779. display: flex;
  780. flex-direction: column;
  781. gap: 12px;
  782. width: 48%;
  783. }
  784. .bytm-exim-dialog-center-btn-cont {
  785. display: flex;
  786. justify-content: center;
  787. }
  788. .bytm-exim-dialog-pane textarea {
  789. height: 120px;
  790. resize: none;
  791. }
  792. .bytm-auto-like-channels-footer-wrapper {
  793. display: flex;
  794. justify-content: space-between;
  795. }
  796. :root {
  797. --bytm-auto-like-btn-color: #bf87f0;
  798. }
  799. #bytm-auto-like-channels-list {
  800. display: flex;
  801. flex-direction: column;
  802. overflow-x: hidden;
  803. overflow-y: auto;
  804. white-space: nowrap;
  805. text-overflow: ellipsis;
  806. /* idk how else to get the scroll bar to show up correctly */
  807. max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)) - 300px);
  808. }
  809. .bytm-auto-like-channels-desc {
  810. padding: 0px 15px;
  811. white-space: pre-wrap;
  812. font-size: 1.6rem;
  813. margin-bottom: 10px;
  814. }
  815. .bytm-auto-like-channels-search-cont {
  816. display: flex;
  817. flex-direction: row;
  818. align-items: center;
  819. gap: 5px;
  820. padding: 0px 15px;
  821. margin-bottom: 10px;
  822. }
  823. .bytm-auto-like-channels-searchbar {
  824. min-width: calc(min(250px, 50%));
  825. }
  826. .bytm-auto-like-channel-row-left-cont {
  827. display: flex;
  828. align-items: center;
  829. gap: 10px;
  830. }
  831. .bytm-auto-like-channel-row {
  832. display: flex;
  833. justify-content: space-between;
  834. align-items: center;
  835. padding: 8px 15px;
  836. transition: background-color 0.15s ease-out;
  837. }
  838. .bytm-auto-like-channel-row.hidden {
  839. display: none;
  840. }
  841. .bytm-auto-like-channel-row:hover {
  842. background-color: var(--bytm-menu-bg-highlight);
  843. }
  844. .bytm-auto-like-channel-row
  845. .bytm-toggle-input-wrapper.bytm-auto-like-channel-toggle {
  846. --toggle-height: 18px !important;
  847. --toggle-width: 36px !important;
  848. }
  849. .bytm-auto-like-channel-row .bytm-generic-btn {
  850. --bytm-generic-btn-width: 30px;
  851. --bytm-generic-btn-height: 30px;
  852. }
  853. .bytm-auto-like-channel-name-label {
  854. display: flex;
  855. flex-direction: row;
  856. align-items: center;
  857. }
  858. .bytm-auto-like-channel-id {
  859. cursor: text;
  860. font-family: var(--bytm-font-monospace);
  861. font-size: 1.25rem;
  862. color: #aaa;
  863. margin-left: 10px;
  864. }
  865. /* add more specificity to override the default styles */
  866. .bytm-generic-btn.long.bytm-auto-like-toggle-btn {
  867. margin-right: 8px;
  868. border: 1px solid var(--bytm-auto-like-btn-color);
  869. box-sizing: border-box;
  870. background-color: transparent;
  871. transition: border-color 0.2s ease;
  872. animation: none;
  873. }
  874. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.left-margin {
  875. margin: 0 0 0 8px;
  876. }
  877. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.right-margin {
  878. margin: 0 8px 0 0;
  879. }
  880. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:hover {
  881. background-color: rgba(255, 255, 255, 0.1);
  882. }
  883. body.bytm-dom-ytm
  884. ytmusic-subscribe-button-renderer
  885. #button-shape-subscribe:hover
  886. > button {
  887. background-color: rgba(255, 255, 255, 0.1) !important;
  888. }
  889. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active {
  890. background-color: rgba(255, 255, 255, 0.2);
  891. }
  892. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active,
  893. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled {
  894. border-color: rgba(255, 255, 255, 0.2);
  895. }
  896. .bytm-generic-btn.long.bytm-auto-like-toggle-btn svg path {
  897. fill: var(--bytm-auto-like-btn-color);
  898. transition: fill 0.2s ease;
  899. }
  900. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active svg path,
  901. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled svg path {
  902. fill: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  903. }
  904. .bytm-generic-btn.long.bytm-auto-like-toggle-btn .bytm-generic-long-btn-txt {
  905. font-weight: 500;
  906. color: var(--bytm-auto-like-btn-color);
  907. transition: color 0.2s ease;
  908. }
  909. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active
  910. .bytm-generic-long-btn-txt,
  911. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled
  912. .bytm-generic-long-btn-txt {
  913. color: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  914. }
  915. #bytm-plugin-list-dialog-bg {
  916. --bytm-plugin-list-secondary-col: #c8c8c8;
  917. --bytm-plugin-list-row-padding-ver: 12px;
  918. --bytm-plugin-list-row-max-height: 130px;
  919. }
  920. #bytm-plugin-list-dialog-body {
  921. overflow-y: auto;
  922. max-height: 100%;
  923. }
  924. .bytm-plugin-list-no-plugins {
  925. font-size: 1.7rem;
  926. text-align: center;
  927. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  928. white-space: pre-wrap;
  929. }
  930. .bytm-plugin-list-row {
  931. display: flex;
  932. flex-direction: row;
  933. align-items: flex-start;
  934. justify-content: space-between;
  935. border-bottom: 1px solid var(--bytm-dialog-separator-color, #ccc);
  936. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  937. gap: 20px;
  938. }
  939. .bytm-plugin-list-row:first-child {
  940. padding-top: 0;
  941. }
  942. .bytm-plugin-list-row:last-child {
  943. border-bottom: none;
  944. padding-bottom: 0;
  945. }
  946. .bytm-plugin-list-row-header-wrapper {
  947. display: flex;
  948. flex-direction: row;
  949. align-items: flex-start;
  950. gap: 8px;
  951. margin-bottom: 5px;
  952. }
  953. .bytm-plugin-list-row-icon {
  954. width: 32px;
  955. height: 32px;
  956. overflow: hidden;
  957. display: flex;
  958. justify-content: center;
  959. align-items: center;
  960. }
  961. .bytm-plugin-list-row-left,
  962. .bytm-plugin-list-row-right {
  963. display: flex;
  964. flex-direction: column;
  965. }
  966. .bytm-plugin-list-row-title {
  967. display: inline-flex;
  968. flex-direction: row;
  969. justify-content: flex-start;
  970. align-items: flex-end;
  971. font-size: 1.6rem;
  972. font-weight: bold;
  973. margin-bottom: 1px;
  974. }
  975. .bytm-plugin-list-row-version {
  976. font-size: 1.25rem;
  977. font-weight: normal;
  978. color: var(--bytm-plugin-list-secondary-col);
  979. margin-left: 10px;
  980. }
  981. .bytm-plugin-list-row-namespace {
  982. font-size: 1.1rem;
  983. font-weight: 400;
  984. color: var(--bytm-plugin-list-secondary-col);
  985. }
  986. .bytm-plugin-list-row-desc {
  987. overflow-wrap: break-word;
  988. text-overflow: ellipsis;
  989. white-space: pre-wrap;
  990. overflow-x: hidden;
  991. max-height: calc(var(--bytm-plugin-list-row-max-height) - 30px);
  992. overflow-y: auto;
  993. }
  994. .bytm-plugin-list-row-links-list {
  995. font-size: 1.4rem;
  996. margin-top: 4px;
  997. }
  998. .bytm-plugin-list-row-links-list-bullet {
  999. margin: 0 5px;
  1000. }
  1001. .bytm-plugin-list-row-right {
  1002. overflow-x: hidden;
  1003. overflow-y: auto;
  1004. text-overflow: ellipsis;
  1005. white-space: nowrap;
  1006. min-width: 25%;
  1007. max-height: var(--bytm-plugin-list-row-max-height);
  1008. }
  1009. .bytm-plugin-list-row-permissions-header {
  1010. position: sticky;
  1011. top: 0;
  1012. background-color: var(--bytm-dialog-bg);
  1013. font-size: 1.4rem;
  1014. font-weight: bold;
  1015. padding-bottom: 5px;
  1016. }
  1017. .bytm-plugin-list-row-intent-item::before {
  1018. content: "•";
  1019. margin-right: 3px;
  1020. }
  1021. .bytm-plugin-list-row-intent-item {
  1022. cursor: help;
  1023. }
  1024. .bytm-hotkey-wrapper {
  1025. display: flex;
  1026. flex-direction: row;
  1027. align-items: center;
  1028. justify-content: flex-end;
  1029. }
  1030. .bytm-hotkey-reset {
  1031. font-size: 0.9em;
  1032. margin-right: 10px;
  1033. }
  1034. .bytm-hotkey-info {
  1035. font-size: 0.9em;
  1036. white-space: nowrap;
  1037. }
  1038. :root {
  1039. --bytm-menu-bg-highlight: #252525;
  1040. }
  1041. .bytm-menu-bg {
  1042. --bytm-menu-bg: #333333;
  1043. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  1044. --bytm-menu-separator-color: #797979;
  1045. --bytm-menu-border-radius: 10px;
  1046. }
  1047. .bytm-menu-bg {
  1048. display: block;
  1049. position: fixed;
  1050. width: 100%;
  1051. height: 100%;
  1052. top: 0;
  1053. left: 0;
  1054. z-index: 3005;
  1055. background-color: rgba(0, 0, 0, 0.6);
  1056. }
  1057. .bytm-menu {
  1058. position: fixed;
  1059. display: flex;
  1060. flex-direction: column;
  1061. width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
  1062. border-radius: var(--bytm-menu-border-radius);
  1063. height: auto;
  1064. max-height: calc(min(100% - 40px, var(--bytm-dialog-height-max)));
  1065. left: 50%;
  1066. top: 50%;
  1067. transform: translate(-50%, -50%);
  1068. z-index: 3006;
  1069. color: #fff;
  1070. background-color: var(--bytm-menu-bg);
  1071. }
  1072. .bytm-menu.top-aligned {
  1073. top: 0;
  1074. transform: translate(-50%, 40px);
  1075. }
  1076. .bytm-menu-body {
  1077. padding: 15px;
  1078. }
  1079. #bytm-menu-opts {
  1080. display: flex;
  1081. flex-direction: column;
  1082. position: relative;
  1083. padding: 15px 0px;
  1084. overflow-y: auto;
  1085. }
  1086. .bytm-menu-header {
  1087. display: flex;
  1088. justify-content: space-between;
  1089. align-items: center;
  1090. margin-bottom: 6px;
  1091. padding: 15px;
  1092. background-color: var(--bytm-menu-bg);
  1093. border: 2px solid var(--bytm-menu-separator-color);
  1094. border-style: none none solid none !important;
  1095. border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius)
  1096. 0px 0px;
  1097. }
  1098. .bytm-menu-header.small {
  1099. padding: 10px;
  1100. border-style: none none solid none !important;
  1101. }
  1102. .bytm-menu-title-logo-header-cont {
  1103. display: flex;
  1104. }
  1105. .bytm-cfg-menu-logo {
  1106. width: 32px;
  1107. height: 32px;
  1108. margin-right: 10px;
  1109. }
  1110. .bytm-menu-titlecont {
  1111. position: relative;
  1112. display: flex;
  1113. align-items: center;
  1114. }
  1115. .bytm-menu-titlecont-no-title {
  1116. display: flex;
  1117. justify-content: flex-end;
  1118. align-items: center;
  1119. }
  1120. .bytm-menu-title {
  1121. position: relative;
  1122. display: inline-block;
  1123. font-size: 22px;
  1124. }
  1125. #bytm-cfg-menu-bg .bytm-menu-title {
  1126. transform: translate(0px, -6px);
  1127. }
  1128. #bytm-cfg-menu {
  1129. --bytm-menu-subtitle-color: #c6d2db;
  1130. }
  1131. #bytm-menu-subtitle-cont {
  1132. width: 100%;
  1133. display: flex;
  1134. gap: 6px;
  1135. flex-direction: row;
  1136. justify-content: space-between;
  1137. align-items: end;
  1138. position: absolute;
  1139. bottom: -12px;
  1140. left: 0;
  1141. font-size: 10px;
  1142. font-weight: normal;
  1143. z-index: 3007;
  1144. }
  1145. #bytm-menu-subtitle-cont,
  1146. #bytm-menu-version-anchor {
  1147. color: var(--bytm-menu-subtitle-color) !important;
  1148. }
  1149. #bytm-menu-linkscont {
  1150. display: flex;
  1151. align-items: center;
  1152. margin-left: 32px;
  1153. }
  1154. .bytm-menu-link {
  1155. position: relative;
  1156. max-height: 32px;
  1157. max-width: 32px;
  1158. display: inline-flex;
  1159. flex-direction: column;
  1160. align-items: center;
  1161. cursor: pointer;
  1162. }
  1163. .bytm-menu-link:not(:last-of-type) {
  1164. margin-right: 10px;
  1165. }
  1166. .bytm-menu-link .bytm-menu-img {
  1167. width: 32px;
  1168. height: 32px;
  1169. border-radius: 50%;
  1170. padding: 0px;
  1171. transform: translateY(0px);
  1172. transition: transform 0.15s ease-out, padding 0.15s ease-out;
  1173. }
  1174. .bytm-menu-link:hover .bytm-menu-img {
  1175. padding: 7px;
  1176. transform: translateY(-14px);
  1177. }
  1178. .bytm-menu-link .extended-link {
  1179. visibility: hidden;
  1180. position: absolute;
  1181. top: 14px;
  1182. padding-top: 13px;
  1183. padding-bottom: 2px;
  1184. opacity: 0;
  1185. text-decoration: none;
  1186. color: var(--bytm-menu-subtitle-color) !important;
  1187. white-space: pre;
  1188. font-size: 1.1rem;
  1189. transition: visibility 0.15s ease-out, opacity 0.15s ease-out;
  1190. }
  1191. .bytm-menu-link:hover .extended-link {
  1192. visibility: visible;
  1193. opacity: 1;
  1194. }
  1195. .bytm-menu-close {
  1196. width: 32px;
  1197. height: 32px;
  1198. cursor: pointer;
  1199. }
  1200. .bytm-menu-close.small {
  1201. width: 24px;
  1202. height: 24px;
  1203. }
  1204. .bytm-menu-footer {
  1205. font-size: 17px;
  1206. text-decoration: underline;
  1207. }
  1208. .bytm-menu-footer.hidden {
  1209. display: none;
  1210. }
  1211. .bytm-menu-footer-cont {
  1212. display: flex;
  1213. flex-direction: row;
  1214. justify-content: space-between;
  1215. margin-top: 6px;
  1216. padding: 15px;
  1217. background: var(--bytm-menu-bg);
  1218. background: linear-gradient(
  1219. to bottom,
  1220. rgba(0, 0, 0, 0) 0%,
  1221. var(--bytm-menu-bg) 30%,
  1222. var(--bytm-menu-bg) 100%
  1223. );
  1224. border: 2px solid var(--bytm-menu-separator-color);
  1225. border-style: solid none none none !important;
  1226. border-radius: 0px 0px var(--bytm-menu-border-radius)
  1227. var(--bytm-menu-border-radius);
  1228. }
  1229. .bytm-menu-footer-buttons-cont button:not(:last-of-type) {
  1230. margin-right: 15px;
  1231. }
  1232. .bytm-menu-footer-right {
  1233. display: flex;
  1234. flex-direction: row-reverse;
  1235. align-items: center;
  1236. }
  1237. #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
  1238. margin-right: 15px;
  1239. }
  1240. #bytm-menu-scroll-indicator {
  1241. --bytm-scroll-indicator-padding: 5px;
  1242. position: sticky;
  1243. bottom: -15px;
  1244. left: 50%;
  1245. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  1246. padding: var(--bytm-scroll-indicator-padding);
  1247. transform: translateX(-50%);
  1248. width: 32px;
  1249. height: 32px;
  1250. z-index: 3007;
  1251. background-color: var(--bytm-scroll-indicator-bg);
  1252. border-radius: 50%;
  1253. cursor: pointer;
  1254. }
  1255. .bytm-hidden {
  1256. visibility: hidden !important;
  1257. }
  1258. .bytm-ftconf-category-header {
  1259. font-size: 20px;
  1260. margin-top: 32px;
  1261. margin-bottom: 8px;
  1262. padding: 0px 20px;
  1263. }
  1264. .bytm-ftconf-category-header:first-of-type {
  1265. margin-top: 0;
  1266. }
  1267. .bytm-ftitem {
  1268. display: flex;
  1269. flex-direction: row;
  1270. justify-content: space-between;
  1271. align-items: center;
  1272. font-size: 1.4rem;
  1273. padding: 8px 20px;
  1274. transition: background-color 0.15s ease-out;
  1275. }
  1276. .bytm-ftitem:hover {
  1277. background-color: var(--bytm-menu-bg-highlight);
  1278. }
  1279. .bytm-ftitem-leftside {
  1280. display: flex;
  1281. align-items: center;
  1282. min-height: 24px;
  1283. }
  1284. .bytm-ftconf-ctrl {
  1285. display: inline-flex;
  1286. align-items: center;
  1287. white-space: nowrap;
  1288. margin-left: 10px;
  1289. }
  1290. .bytm-ftconf-label {
  1291. user-select: none;
  1292. }
  1293. .bytm-slider-label {
  1294. margin-right: 10px;
  1295. }
  1296. .bytm-toggle-label {
  1297. padding-left: 10px;
  1298. padding-right: 5px;
  1299. }
  1300. .bytm-ftconf-input.bytm-hotkey-input {
  1301. cursor: pointer;
  1302. min-width: 50px;
  1303. }
  1304. .bytm-ftconf-input[type="number"] {
  1305. width: 75px;
  1306. }
  1307. .bytm-ftconf-input[type="checkbox"] {
  1308. margin-left: 5px;
  1309. }
  1310. #bytm-export-menu-text,
  1311. #bytm-import-menu-text {
  1312. white-space: pre-wrap;
  1313. font-size: 1.6rem;
  1314. margin-bottom: 15px;
  1315. }
  1316. .bytm-menu-footer-copied {
  1317. font-size: 1.6rem;
  1318. margin-right: 15px;
  1319. }
  1320. #bytm-changelog-menu-body {
  1321. overflow-y: auto;
  1322. }
  1323. .bytm-changelog-version-details:not(:first-of-type) {
  1324. margin-top: 15px;
  1325. }
  1326. .bytm-changelog-version-details summary h2 {
  1327. display: inline-block;
  1328. }
  1329. .bytm-changelog-version-details summary {
  1330. cursor: pointer;
  1331. }
  1332. .bytm-changelog-version-details summary::marker {
  1333. font-size: 2rem;
  1334. }
  1335. #bytm-export-menu-textarea,
  1336. #bytm-import-menu-textarea {
  1337. width: 100%;
  1338. height: 150px;
  1339. resize: none;
  1340. }
  1341. .bytm-markdown-container {
  1342. display: flex;
  1343. flex-direction: column;
  1344. overflow-y: auto;
  1345. font-size: 1.5rem;
  1346. line-height: 20px;
  1347. }
  1348. /* Markdown stuff */
  1349. .bytm-markdown-container kbd,
  1350. .bytm-kbd {
  1351. --bytm-kbd-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  1352. display: inline-block;
  1353. vertical-align: bottom;
  1354. padding: 3px;
  1355. font-family: var(--bytm-font-monospace);
  1356. font-size: 1.25rem;
  1357. line-height: 11px;
  1358. background-color: #222;
  1359. border: 1px solid #777;
  1360. border-radius: 5px;
  1361. box-shadow: inset 0 -2px 0 #515559;
  1362. transition: padding 0.1s var(--bytm-kbd-easing),
  1363. margin-top 0.1s var(--bytm-kbd-easing),
  1364. box-shadow 0.1s var(--bytm-kbd-easing);
  1365. }
  1366. .bytm-markdown-container kbd:active {
  1367. padding-bottom: 1px;
  1368. box-shadow: inset 0 0 0 initial;
  1369. }
  1370. .bytm-markdown-container kbd::selection {
  1371. background: rgba(0, 0, 0, 0);
  1372. }
  1373. .bytm-markdown-container code {
  1374. background-color: #222;
  1375. border-radius: 3px;
  1376. padding: 1px 5px;
  1377. font-family: var(--bytm-font-monospace);
  1378. font-size: var(--bytm-font-size-monospace);
  1379. }
  1380. .bytm-markdown-container h2 {
  1381. margin-bottom: 5px;
  1382. }
  1383. .bytm-markdown-container h2:not(:first-of-type) {
  1384. margin-top: 30px;
  1385. }
  1386. .bytm-markdown-container ul li {
  1387. padding-left: 0px;
  1388. }
  1389. .bytm-markdown-container ul li::marker {
  1390. content: none;
  1391. }
  1392. .bytm-markdown-container ul li::before {
  1393. content: "• ";
  1394. font-weight: bolder;
  1395. }
  1396. .bytm-markdown-container ul li > ul li {
  1397. padding-left: 16px;
  1398. }
  1399. .bytm-markdown-container ul li > ul li::marker {
  1400. content: none;
  1401. }
  1402. .bytm-markdown-container ul li > ul li::before {
  1403. white-space: pre-wrap;
  1404. content: "• ";
  1405. font-weight: bolder;
  1406. }
  1407. .bytm-markdown-container ul li > ul li > ul li {
  1408. padding-left: 16px;
  1409. }
  1410. .bytm-markdown-container ul li > ul li > ul li::marker {
  1411. content: none;
  1412. }
  1413. .bytm-markdown-container ul li > ul li > ul li::before {
  1414. white-space: pre-wrap;
  1415. content: "• ";
  1416. font-weight: bolder;
  1417. }
  1418. .bytm-markdown-container .pr-link-cont {
  1419. padding-top: 10px;
  1420. }
  1421. .bytm-markdown-container details {
  1422. margin-top: 5px;
  1423. }
  1424. #bytm-feat-help-dialog-desc,
  1425. #bytm-feat-help-dialog-text {
  1426. overflow-wrap: break-word;
  1427. white-space: pre-wrap;
  1428. font-size: 1.5rem;
  1429. line-height: 1.25em;
  1430. }
  1431. #bytm-feat-help-dialog-desc {
  1432. font-size: 1.8rem;
  1433. padding-bottom: 10px;
  1434. }
  1435. .bytm-ftitem-help-btn {
  1436. width: 24px !important;
  1437. height: 24px !important;
  1438. }
  1439. .bytm-ftitem-help-btn svg {
  1440. width: 18px !important;
  1441. height: 18px !important;
  1442. }
  1443. .bytm-ftitem-help-btn svg > path {
  1444. fill: #b3bec7 !important;
  1445. }
  1446. hr {
  1447. display: block;
  1448. margin: 8px 0px 12px 0px;
  1449. border: revert;
  1450. }
  1451. /* #region misc */
  1452. :root {
  1453. --bytm-font-monospace: "Cousine", "Consolas", monospace;
  1454. --bytm-font-size-monospace: 1.4rem;
  1455. }
  1456. html:not([dark]) {
  1457. --bytm-themed-icon-col: #000;
  1458. }
  1459. html[dark] {
  1460. --bytm-themed-icon-col: #fff;
  1461. }
  1462. .bytm-disable-scroll {
  1463. overflow: hidden !important;
  1464. }
  1465. .bytm-ellipsis {
  1466. text-overflow: ellipsis;
  1467. text-wrap: nowrap;
  1468. white-space: nowrap;
  1469. overflow: hidden;
  1470. }
  1471. .bytm-ellipsis-wrap {
  1472. text-overflow: ellipsis;
  1473. overflow: hidden;
  1474. text-wrap: auto;
  1475. white-space: normal;
  1476. }
  1477. /* #region generic (circular) button */
  1478. .bytm-generic-btn {
  1479. --bytm-generic-btn-width: 36px;
  1480. --bytm-generic-btn-height: 36px;
  1481. display: inline-flex;
  1482. align-items: center;
  1483. justify-content: center;
  1484. position: relative;
  1485. vertical-align: middle;
  1486. cursor: pointer;
  1487. margin-left: 8px;
  1488. white-space: nowrap;
  1489. text-overflow: ellipsis;
  1490. user-select: none;
  1491. min-width: var(--bytm-generic-btn-width);
  1492. max-width: var(--bytm-generic-btn-width);
  1493. min-height: var(--bytm-generic-btn-height);
  1494. max-height: var(--bytm-generic-btn-height);
  1495. border: 1px solid transparent;
  1496. border-radius: calc(var(--bytm-generic-btn-height, 36px) / 2);
  1497. background-color: transparent;
  1498. }
  1499. .bytm-generic-btn:hover {
  1500. background-color: rgba(255, 255, 255, 0.2);
  1501. }
  1502. .bytm-generic-btn:active {
  1503. animation: bytm-flash-border 0.4s ease 1;
  1504. }
  1505. @keyframes bytm-flash-border {
  1506. 0% {
  1507. border: 1px solid initial;
  1508. }
  1509. 25% {
  1510. border: 1px solid rgba(255, 255, 255, 0.4);
  1511. }
  1512. 100% {
  1513. border: 1px solid initial;
  1514. }
  1515. }
  1516. .bytm-generic-btn:not(.bytm-toggle):active {
  1517. background-color: rgba(255, 255, 255, 0.3);
  1518. }
  1519. .bytm-generic-btn.long {
  1520. --bytm-generic-btn-width: calc(min(136px, fit-content));
  1521. padding: 0px 14px;
  1522. line-height: 36px;
  1523. display: inline-flex;
  1524. align-items: center;
  1525. justify-content: center;
  1526. position: relative;
  1527. vertical-align: middle;
  1528. cursor: pointer;
  1529. margin-left: 0px;
  1530. border: 1px solid #999;
  1531. }
  1532. .bytm-generic-btn.long:hover {
  1533. background-color: rgba(255, 255, 255, 0.2);
  1534. }
  1535. .bytm-generic-btn.long .bytm-generic-btn-img.left {
  1536. margin-right: 8px;
  1537. }
  1538. .bytm-generic-btn.long .bytm-generic-btn-img.right {
  1539. margin-left: 8px;
  1540. }
  1541. .bytm-generic-long-btn-txt {
  1542. font-size: 14px;
  1543. }
  1544. .bytm-ftitem-help-btn.bytm-generic-btn {
  1545. --bytm-generic-btn-width: 24px;
  1546. --bytm-generic-btn-height: 24px;
  1547. }
  1548. .bytm-generic-btn-img {
  1549. display: inline-block;
  1550. z-index: 1;
  1551. width: 24px;
  1552. height: 24px;
  1553. }
  1554. .bytm-dom-yt .bytm-generic-btn-img path {
  1555. /* YT has both dark and light theme, YTM only dark */
  1556. fill: var(--bytm-themed-icon-col, #fff);
  1557. }
  1558. .bytm-spinner {
  1559. animation: rotate 1.2s linear infinite;
  1560. }
  1561. @keyframes rotate {
  1562. from {
  1563. transform: rotate(0deg);
  1564. }
  1565. to {
  1566. transform: rotate(360deg);
  1567. }
  1568. }
  1569. .bytm-anchor {
  1570. all: unset;
  1571. cursor: pointer;
  1572. }
  1573. ytmusic-logo a.bytm-logo-exchanged svg {
  1574. overflow: visible;
  1575. }
  1576. ytmusic-logo a.bytm-logo-exchanged svg > g[clip-path] {
  1577. transform-origin: 13px 13px;
  1578. animation: rotate 1s ease-in-out;
  1579. z-index: 3050;
  1580. }
  1581. ytmusic-logo a.bytm-logo-exchanged svg .bytm-mod-logo-remove {
  1582. animation: fade-out 1s ease-in-out;
  1583. }
  1584. ytmusic-logo a.bytm-logo-exchanged > #bytm-watermark {
  1585. transform-origin: -19px -14px;
  1586. animation: rotate 1s ease-in-out;
  1587. z-index: 3050;
  1588. }
  1589. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
  1590. width: 26px;
  1591. height: 26px;
  1592. z-index: 1000;
  1593. position: absolute;
  1594. animation: rotate-fade-in 1s ease-in-out;
  1595. }
  1596. @keyframes rotate-fade-in {
  1597. 0% {
  1598. opacity: 0;
  1599. transform: rotate(0deg);
  1600. }
  1601. 30% {
  1602. opacity: 0;
  1603. }
  1604. 90% {
  1605. opacity: 1;
  1606. }
  1607. 100% {
  1608. transform: rotate(360deg);
  1609. }
  1610. }
  1611. @keyframes fade-out {
  1612. 0% {
  1613. opacity: 1;
  1614. }
  1615. 90% {
  1616. opacity: 1;
  1617. }
  1618. 100% {
  1619. opacity: 0;
  1620. }
  1621. }
  1622. .bytm-no-select {
  1623. user-select: none;
  1624. -ms-user-select: none;
  1625. -moz-user-select: none;
  1626. -webkit-user-select: none;
  1627. }
  1628. /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
  1629. button.bytm-btn {
  1630. padding: revert;
  1631. border: revert;
  1632. outline: revert;
  1633. font: revert;
  1634. text-transform: revert;
  1635. color: revert;
  1636. background: revert;
  1637. cursor: pointer;
  1638. line-height: 1.4em;
  1639. }
  1640. .bytm-link,
  1641. .bytm-markdown-container a {
  1642. color: #369bff !important;
  1643. text-decoration: none !important;
  1644. cursor: pointer;
  1645. }
  1646. .bytm-link:hover,
  1647. .bytm-markdown-container a:hover {
  1648. color: #369bff !important;
  1649. text-decoration: underline !important;
  1650. }
  1651. button[disabled] {
  1652. cursor: not-allowed;
  1653. }
  1654. button[disabled].bytm-busy {
  1655. cursor: progress;
  1656. }
  1657. /* #region menu */
  1658. .bytm-cfg-menu-option {
  1659. display: block;
  1660. padding: 8px 0;
  1661. border-top: 1px solid var(--yt-spec-outline, rgba(255, 255, 255, 0.2));
  1662. }
  1663. .bytm-cfg-menu-option-item {
  1664. display: flex;
  1665. flex-direction: row;
  1666. align-items: center;
  1667. font-size: 1.4rem;
  1668. font-weight: 400;
  1669. line-height: 24px;
  1670. padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
  1671. min-height: var(--paper-item-min-height, 40px);
  1672. white-space: nowrap;
  1673. cursor: pointer;
  1674. }
  1675. .bytm-cfg-menu-option-item:hover {
  1676. background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
  1677. }
  1678. .bytm-cfg-menu-option-icon {
  1679. width: 24px;
  1680. height: 24px;
  1681. margin-right: 16px;
  1682. display: flex;
  1683. align-items: center;
  1684. flex-direction: row;
  1685. flex: none;
  1686. }
  1687. .bytm-cfg-menu-option-text {
  1688. font-size: 1.4rem;
  1689. line-height: 2rem;
  1690. }
  1691. yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
  1692. border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
  1693. }
  1694. .bytm-yt-cfg-menu-option {
  1695. position: relative;
  1696. width: calc(100% - 12px);
  1697. }
  1698. .bytm-yt-cfg-menu-option-inner {
  1699. display: flex;
  1700. flex-direction: row;
  1701. justify-content: flex-start;
  1702. align-items: center;
  1703. min-height: var(--paper-item-min-height, 48px);
  1704. max-width: calc(100% - 12px);
  1705. padding: 0px 12px;
  1706. border-radius: var(--paper-item-focused-before-border-radius, 10px);
  1707. cursor: pointer;
  1708. background-color: transparent;
  1709. transition: background-color 0.2s ease;
  1710. }
  1711. .bytm-yt-cfg-menu-option-inner:hover {
  1712. background-color: var(
  1713. --yt-spec-badge-chip-background,
  1714. rgba(255, 255, 255, 0.1)
  1715. );
  1716. }
  1717. .bytm-yt-cfg-menu-option-icon {
  1718. display: flex;
  1719. align-items: center;
  1720. flex-direction: row;
  1721. width: 24px;
  1722. height: 24px;
  1723. margin-right: 24px;
  1724. }
  1725. .bytm-yt-cfg-menu-option-item {
  1726. width: 100%;
  1727. color: #fff;
  1728. font-size: 14px;
  1729. }
  1730. .bytm-yt-cfg-menu-option-item:hover {
  1731. /* Support for "Enhancer for YouTube" extension's custom themes */
  1732. color: var(--main-color, #fff) !important;
  1733. }
  1734. /* #region watermark */
  1735. #bytm-watermark {
  1736. font-size: 9px;
  1737. display: inline-block;
  1738. position: absolute;
  1739. left: 99px;
  1740. top: 46px;
  1741. z-index: 10;
  1742. color: #f1f1f1;
  1743. text-decoration: none;
  1744. cursor: pointer;
  1745. }
  1746. #bytm-watermark:hover {
  1747. text-decoration: underline;
  1748. }
  1749. /* #region above queue btns */
  1750. #bytm-above-queue-btn-cont {
  1751. display: flex;
  1752. flex-direction: row;
  1753. justify-content: center;
  1754. align-items: center;
  1755. flex-wrap: nowrap;
  1756. height: 100%;
  1757. }
  1758. #bytm-above-queue-btn-wrapper {
  1759. white-space: nowrap;
  1760. }
  1761. .bytm-above-queue-btn {
  1762. width: 32px;
  1763. height: 32px;
  1764. margin-left: 0;
  1765. margin-right: 8px;
  1766. }
  1767. /* #region scroll to active */
  1768. #bytm-scroll-to-active-btn-cont {
  1769. display: flex;
  1770. flex-direction: column;
  1771. justify-content: center;
  1772. align-items: center;
  1773. height: 100%;
  1774. }
  1775. #bytm-scroll-to-active-btn-cont.hidden {
  1776. display: none;
  1777. }
  1778. #bytm-scroll-to-active-btn {
  1779. display: inline-flex;
  1780. align-items: center;
  1781. justify-content: center;
  1782. border-radius: 50%;
  1783. cursor: pointer;
  1784. }
  1785. #bytm-scroll-to-active-btn {
  1786. width: revert;
  1787. height: revert;
  1788. }
  1789. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1790. padding: 4px;
  1791. }
  1792. /* #region thumbnail */
  1793. #bytm-thumbnail-overlay {
  1794. position: absolute;
  1795. top: 0;
  1796. left: 0;
  1797. width: 100%;
  1798. height: 100%;
  1799. display: none;
  1800. background-color: #030303;
  1801. z-index: 0;
  1802. border-radius: var(--ts-songimg-border-radius, initial);
  1803. }
  1804. #bytm-thumbnail-overlay-img {
  1805. position: relative;
  1806. width: 100%;
  1807. height: 100%;
  1808. border-radius: inherit;
  1809. box-shadow: var(--ts-songimg-box-shadow, initial);
  1810. }
  1811. #bytm-thumbnail-overlay-indicator {
  1812. position: absolute;
  1813. bottom: 16px;
  1814. right: 16px;
  1815. width: calc(min(56px, 100% - 16px));
  1816. height: calc(min(56px, 100% - 16px));
  1817. z-index: 1;
  1818. cursor: help;
  1819. filter: drop-shadow(0 0 3px #000);
  1820. }
  1821. ytmusic-player#player #bezel {
  1822. z-index: 1;
  1823. }
  1824. /* #region auto-like */
  1825. .bytm-vote-label {
  1826. cursor: pointer;
  1827. font-size: 1.25rem;
  1828. padding: 6px;
  1829. padding-left: 3px;
  1830. }
  1831. ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
  1832. color: white;
  1833. }
  1834. .bytm-vote-label:last-child {
  1835. padding-right: 0px;
  1836. }
  1837. /* #region fullscreen player bar */
  1838. /* Increase specificity to override YTM's default styles without having to use !important */
  1839. :root
  1840. body.bytm-dom-ytm
  1841. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1842. ytmusic-player-bar[slot="player-bar"] {
  1843. width: 100%;
  1844. /* ...except in this case because of the ThemeSong extension: */
  1845. background: rgba(0, 0, 0, 0.35) !important;
  1846. backdrop-filter: blur(10px) brightness(90%);
  1847. }
  1848. :root
  1849. body.bytm-dom-ytm
  1850. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1851. ytmusic-player-bar[slot="player-bar"]
  1852. .ytmusic-menu-renderer
  1853. svg
  1854. path,
  1855. :root
  1856. body.bytm-dom-ytm
  1857. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1858. ytmusic-player-bar[slot="player-bar"]
  1859. tp-yt-paper-icon-button
  1860. svg
  1861. path,
  1862. :root
  1863. body.bytm-dom-ytm
  1864. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1865. ytmusic-player-bar[slot="player-bar"]
  1866. yt-icon-button
  1867. svg
  1868. path {
  1869. fill: #fff;
  1870. }
  1871. :root
  1872. body.bytm-dom-ytm
  1873. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1874. ytmusic-player-bar[slot="player-bar"]
  1875. .time-info {
  1876. color: #fff;
  1877. }
  1878. :root {
  1879. --bytm-themed-bg-col: var(--ts-playerpage-color, #030303);
  1880. }
  1881. #ts-visualizer-container #ThemeSong-Visualizer canvas {
  1882. /* Fix for the thumbnail overlay */
  1883. z-index: 1;
  1884. }
  1885. /* #region queue buttons */
  1886. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1887. position: relative;
  1888. }
  1889. .bytm-queue-btn-container {
  1890. /* Scooch closer to the default YTM buttons */
  1891. transform: translateX(8px);
  1892. }
  1893. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1894. background: rgba(255, 255, 255, 0.1);
  1895. background: linear-gradient(
  1896. 90deg,
  1897. rgba(0, 0, 0, 0) 0%,
  1898. var(--bytm-themed-bg-col) 15%
  1899. );
  1900. display: none;
  1901. position: absolute;
  1902. right: 0;
  1903. padding-left: 25px;
  1904. height: 100%;
  1905. }
  1906. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1907. background: linear-gradient(
  1908. 90deg,
  1909. rgba(0, 0, 0, 0) 0%,
  1910. var(--bytm-themesong-bg-accent-col, #1d1d1d) 15%
  1911. );
  1912. }
  1913. .bytm-generic-list-queue-btn-container {
  1914. /* otherwise the queue buttons render over the currently playing song page */
  1915. z-index: 1;
  1916. }
  1917. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1918. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1919. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1920. /* same thing but with :focus-within */
  1921. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1922. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1923. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container {
  1924. display: inline-flex;
  1925. align-items: center;
  1926. }
  1927. ytmusic-responsive-list-item-renderer .title-column {
  1928. align-items: center;
  1929. }
  1930. ytmusic-app
  1931. ytmusic-popup-container
  1932. tp-yt-iron-dropdown[data-bytm-hidden="true"] {
  1933. display: none !important;
  1934. }
  1935. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1936. .bytm-generic-list-queue-btn-container {
  1937. visibility: hidden;
  1938. }
  1939. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1940. .bytm-generic-list-queue-btn-container
  1941. a.bytm-generic-btn {
  1942. visibility: hidden !important;
  1943. }
  1944. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1945. .bytm-generic-list-queue-btn-container,
  1946. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1947. .bytm-generic-list-queue-btn-container {
  1948. visibility: visible;
  1949. }
  1950. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1951. .bytm-generic-list-queue-btn-container
  1952. a.bytm-generic-btn,
  1953. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1954. .bytm-generic-list-queue-btn-container
  1955. a.bytm-generic-btn {
  1956. visibility: visible !important;
  1957. }
  1958. .ytmusic-player-queue .bytm-song-list-item-btn,
  1959. ytmusic-player-queue-item
  1960. ytmusic-menu-renderer
  1961. #button-shape.ytmusic-menu-renderer
  1962. button {
  1963. background-color: var(
  1964. --bytm-themesong-bg-accent-col,
  1965. var(--ts-palette-darkmuted-hex, initial)
  1966. );
  1967. border: unset;
  1968. }
  1969. .ytmusic-player-queue .bytm-song-list-item-btn:hover,
  1970. ytmusic-player-queue-item
  1971. ytmusic-menu-renderer
  1972. #button-shape.ytmusic-menu-renderer:hover
  1973. button {
  1974. box-shadow: inset 0 0 1000px rgba(255, 255, 255, 0.2);
  1975. }
  1976. /* #region volume slider */
  1977. .bytm-vol-slider-cont {
  1978. position: relative;
  1979. }
  1980. .bytm-vol-slider-label {
  1981. --bytm-slider-label-bg-col: var(
  1982. --ytmusic-player-bar-background,
  1983. var(--bytm-themed-bg-col)
  1984. );
  1985. position: absolute;
  1986. top: 50%;
  1987. left: 0;
  1988. transform: translate(calc(-50% - 11px), -50%);
  1989. display: flex;
  1990. flex-direction: row;
  1991. align-items: center;
  1992. gap: 5px;
  1993. background-color: var(--bytm-slider-label-bg-col);
  1994. background: linear-gradient(
  1995. 90deg,
  1996. rgba(0, 0, 0, 0) 0%,
  1997. var(--bytm-slider-label-bg-col) 20%
  1998. );
  1999. font-size: 1.4rem;
  2000. text-align: right;
  2001. padding: 15px;
  2002. padding-right: 5px;
  2003. opacity: 0.000001;
  2004. transition: opacity 0.2s ease;
  2005. }
  2006. .bytm-vol-slider-label.has-icon {
  2007. transform: translate(calc(-50% - 25px), -50%);
  2008. }
  2009. .bytm-vol-slider-label svg {
  2010. padding: 4px;
  2011. }
  2012. .bytm-vol-slider-label svg path {
  2013. fill: #909090;
  2014. }
  2015. .bytm-vol-slider-label.bytm-visible {
  2016. opacity: 1;
  2017. }
  2018. :root
  2019. body.bytm-dom-ytm
  2020. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  2021. .bytm-vol-slider-label {
  2022. color: #fff;
  2023. }
  2024. .bytm-vol-slider-shared {
  2025. display: flex;
  2026. flex-direction: row;
  2027. align-items: center;
  2028. }
  2029. .bytm-vol-slider-shared svg {
  2030. width: 20px;
  2031. height: 20px;
  2032. }