1
0

BetterYTM.css 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735
  1. :root {
  2. --bytm-locale-color: #5ea2ec;
  3. --bytm-advanced-mode-color: #ceb663;
  4. --bytm-experimental-col: #cc83e5;
  5. --bytm-warning-col: #e07664;
  6. --bytm-reload-col: #77e064;
  7. }
  8. /* TODO: after cfg menu migration, leave only dialog styles here */
  9. #bytm-cfg-dialog-bg,
  10. #bytm-cfg-menu-bg
  11. {
  12. --bytm-dialog-height-max: 800px;
  13. --bytm-dialog-width-max: 1150px;
  14. --bytm-menu-height-max: 800px;
  15. --bytm-menu-width-max: 1150px;
  16. }
  17. .bytm-dialog-bg.bytm-dom-yt,
  18. .bytm-menu-bg.bytm-dom-yt {
  19. z-index: 10042;
  20. }
  21. .bytm-dialog.bytm-dom-yt,
  22. .bytm-menu.bytm-dom-yt {
  23. z-index: 10069;
  24. }
  25. .bytm-dialog-body p {
  26. overflow-wrap: break-word;
  27. }
  28. .bytm-dialog-body details summary {
  29. cursor: pointer;
  30. font-style: italic;
  31. }
  32. #bytm-version-notif-dialog-btns {
  33. display: flex;
  34. flex-direction: row;
  35. align-items: center;
  36. justify-content: space-between;
  37. margin-top: 20px;
  38. }
  39. #bytm-disable-update-check-wrapper {
  40. display: flex;
  41. align-items: center;
  42. font-size: 1.5rem;
  43. margin-top: 35px;
  44. }
  45. #bytm-disable-update-check-wrapper label {
  46. padding-left: 12px;
  47. }
  48. #bytm-version-notif-changelog-cont {
  49. max-height: calc(max(var(--calc-max-height) - 280px, 0px));
  50. overflow-y: auto;
  51. margin: 10px 0px;
  52. }
  53. #bytm-version-notif-changelog-details {
  54. margin-top: 15px;
  55. }
  56. .bytm-disable-update-check-toggle-label-wrapper {
  57. display: flex;
  58. flex-direction: column;
  59. justify-content: flex-start;
  60. }
  61. .bytm-secondary-label {
  62. padding-left: 12px;
  63. font-size: 1.3rem;
  64. }
  65. .bytm-adorn-icon {
  66. display: inline-flex;
  67. align-items: center;
  68. cursor: help;
  69. }
  70. .bytm-ftconf-adv-copy-btn {
  71. margin: 0px 10px;
  72. }
  73. .bytm-ftitem-adornment svg path {
  74. fill: var(--bytm-locale-color, #fff) !important;
  75. }
  76. .bytm-advanced-mode-icon svg path {
  77. fill: var(--bytm-advanced-mode-color, #fff) !important;
  78. }
  79. .bytm-experimental-icon svg path {
  80. fill: var(--bytm-experimental-col, #fff) !important;
  81. }
  82. .bytm-warning-icon svg {
  83. width: 24px;
  84. height: 24px;
  85. }
  86. .bytm-warning-icon svg path {
  87. fill: var(--bytm-warning-col, #fff) !important;
  88. }
  89. .bytm-reload-icon svg path {
  90. fill: var(--bytm-reload-col, #fff) !important;
  91. }
  92. /* #SECTION welcome dialog */
  93. #bytm-welcome-menu-title-wrapper {
  94. display: flex;
  95. flex-direction: row;
  96. align-items: center;
  97. }
  98. #bytm-welcome-menu-title-logo {
  99. width: 32px;
  100. height: 32px;
  101. margin-right: 20px;
  102. }
  103. #bytm-welcome-menu-content-wrapper {
  104. overflow-y: auto;
  105. }
  106. #bytm-welcome-menu-locale-cont {
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. justify-content: flex-start;
  111. }
  112. #bytm-welcome-menu-locale-img {
  113. width: 80px;
  114. height: 80px;
  115. margin-bottom: 10px;
  116. }
  117. #bytm-welcome-menu-text-cont {
  118. margin-top: 16px;
  119. }
  120. #bytm-welcome-menu-text {
  121. font-size: 1.6rem;
  122. line-height: 20px;
  123. }
  124. #bytm-welcome-menu-locale-select {
  125. font-size: 1.6rem;
  126. }
  127. #bytm-welcome-menu-footer-cont {
  128. display: flex;
  129. justify-content: space-between;
  130. border-radius: 0px 0px var(--bytm-menu-border-radius) var(--bytm-menu-border-radius);
  131. }
  132. #bytm-auto-like-channels-dialog-body {
  133. padding-left: 0;
  134. padding-right: 0;
  135. }
  136. .bytm-dialog-bg {
  137. --bytm-dialog-bg: #333333;
  138. --bytm-dialog-bg-highlight: #252525;
  139. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  140. --bytm-dialog-separator-color: #797979;
  141. --bytm-dialog-border-radius: 10px;
  142. }
  143. .bytm-dialog-bg {
  144. display: block;
  145. position: fixed;
  146. width: 100%;
  147. height: 100%;
  148. top: 0;
  149. left: 0;
  150. z-index: 5;
  151. background-color: rgba(0, 0, 0, 0.6);
  152. }
  153. .bytm-dialog {
  154. --calc-max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)));
  155. position: absolute;
  156. display: flex;
  157. flex-direction: column;
  158. width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
  159. border-radius: var(--bytm-dialog-border-radius);
  160. height: auto;
  161. max-height: var(--calc-max-height);
  162. left: 50%;
  163. top: 50%;
  164. transform: translate(-50%, -50%);
  165. z-index: 6;
  166. color: #fff;
  167. background-color: var(--bytm-dialog-bg);
  168. }
  169. .bytm-dialog-body {
  170. font-size: 1.5rem;
  171. padding: 20px;
  172. }
  173. .bytm-dialog-body.small {
  174. padding: 15px;
  175. }
  176. #bytm-dialog-opts {
  177. display: flex;
  178. flex-direction: column;
  179. position: relative;
  180. padding: 30px 0px;
  181. overflow-y: auto;
  182. }
  183. .bytm-dialog-header {
  184. display: flex;
  185. justify-content: space-between;
  186. align-items: center;
  187. margin-bottom: 6px;
  188. padding: 15px 20px 15px 20px;
  189. background-color: var(--bytm-dialog-bg);
  190. border: 2px solid var(--bytm-dialog-separator-color);
  191. border-style: none none solid none !important;
  192. border-radius: var(--bytm-dialog-border-radius) var(--bytm-dialog-border-radius) 0px 0px;
  193. }
  194. .bytm-dialog-header.small {
  195. padding: 10px 15px;
  196. border-style: none none solid none !important;
  197. }
  198. .bytm-dialog-header-pad {
  199. content: " ";
  200. min-height: 32px;
  201. }
  202. .bytm-dialog-header-pad.small {
  203. min-height: 24px;
  204. }
  205. .bytm-dialog-titlecont {
  206. display: flex;
  207. align-items: center;
  208. }
  209. .bytm-dialog-titlecont-no-title {
  210. display: flex;
  211. justify-content: flex-end;
  212. align-items: center;
  213. }
  214. .bytm-dialog-title {
  215. position: relative;
  216. display: inline-block;
  217. font-size: 22px;
  218. }
  219. #bytm-dialog-version {
  220. position: absolute;
  221. width: 100%;
  222. bottom: -10px;
  223. left: 0;
  224. font-size: 10px;
  225. font-weight: normal;
  226. z-index: 7;
  227. }
  228. #bytm-dialog-version .bytm-link {
  229. color: #c6d2db !important;
  230. text-decoration: none !important;
  231. cursor: pointer;
  232. }
  233. #bytm-dialog-version .bytm-link:hover {
  234. color: #c6d2db !important;
  235. text-decoration: underline !important;
  236. }
  237. #bytm-dialog-linkscont {
  238. display: flex;
  239. align-items: center;
  240. margin-left: 32px;
  241. }
  242. .bytm-dialog-link {
  243. display: inline-flex;
  244. align-items: center;
  245. cursor: pointer;
  246. }
  247. .bytm-dialog-link:not(:last-of-type) {
  248. margin-right: 10px;
  249. }
  250. .bytm-dialog-link .bytm-dialog-img {
  251. position: relative;
  252. border-radius: 50%;
  253. bottom: 0px;
  254. transition: bottom 0.15s ease-out;
  255. }
  256. .bytm-dialog-link:hover .bytm-dialog-img {
  257. bottom: 5px;
  258. }
  259. .bytm-dialog-close {
  260. cursor: pointer;
  261. }
  262. .bytm-dialog-header-img,
  263. .bytm-dialog-close
  264. {
  265. width: 32px;
  266. height: 32px;
  267. }
  268. .bytm-dialog-header-img.small,
  269. .bytm-dialog-close.small
  270. {
  271. width: 24px;
  272. height: 24px;
  273. }
  274. .bytm-dialog-footer {
  275. font-size: 17px;
  276. text-decoration: underline;
  277. }
  278. .bytm-dialog-footer.hidden {
  279. display: none;
  280. }
  281. .bytm-dialog-footer-cont {
  282. margin-top: 6px;
  283. padding: 15px 20px;
  284. background: var(--bytm-dialog-bg);
  285. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-dialog-bg) 30%, var(--bytm-dialog-bg) 100%);
  286. border: 2px solid var(--bytm-dialog-separator-color);
  287. border-style: solid none none none !important;
  288. border-radius: 0px 0px var(--bytm-dialog-border-radius) var(--bytm-dialog-border-radius);
  289. }
  290. #bytm-dialog-footer-buttons-cont button:not(:last-of-type) {
  291. margin-right: 15px;
  292. }
  293. .bytm-dialog-footer-right {
  294. display: flex;
  295. flex-direction: row-reverse;
  296. align-items: center;
  297. margin-top: 15px;
  298. }
  299. #bytm-dialog-footer-left-buttons-cont button:not(:last-of-type) {
  300. margin-right: 15px;
  301. }
  302. #bytm-dialog-scroll-indicator {
  303. --bytm-scroll-indicator-padding: 5px;
  304. position: sticky;
  305. bottom: -15px;
  306. left: 50%;
  307. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  308. padding: var(--bytm-scroll-indicator-padding);
  309. transform: translateX(-50%);
  310. width: 32px;
  311. height: 32px;
  312. z-index: 7;
  313. background-color: var(--bytm-scroll-indicator-bg);
  314. border-radius: 50%;
  315. cursor: pointer;
  316. }
  317. .bytm-hidden {
  318. visibility: hidden !important;
  319. }
  320. .bytm-ftconf-category-header {
  321. font-size: 20px;
  322. margin-top: 32px;
  323. margin-bottom: 8px;
  324. padding: 0px 20px;
  325. }
  326. .bytm-ftconf-category-header:first-of-type {
  327. margin-top: 0;
  328. }
  329. .bytm-dialog .bytm-ftitem {
  330. display: flex;
  331. flex-direction: row;
  332. justify-content: space-between;
  333. align-items: center;
  334. font-size: 1.4em;
  335. padding: 8px 20px;
  336. transition: background-color 0.15s ease-out;
  337. }
  338. .bytm-dialog .bytm-ftitem:hover {
  339. background-color: var(--bytm-dialog-bg-highlight);
  340. }
  341. .bytm-ftitem-leftside {
  342. display: flex;
  343. align-items: center;
  344. min-height: 24px;
  345. }
  346. .bytm-ftconf-ctrl {
  347. display: inline-flex;
  348. align-items: center;
  349. white-space: nowrap;
  350. margin-left: 10px;
  351. }
  352. .bytm-ftconf-label {
  353. user-select: none;
  354. }
  355. .bytm-slider-label {
  356. margin-right: 10px;
  357. }
  358. .bytm-ftconf-input.bytm-hotkey-input {
  359. cursor: pointer;
  360. min-width: 80px;
  361. }
  362. .bytm-ftconf-input[type=number] {
  363. width: 75px;
  364. }
  365. .bytm-ftconf-input[type=range] {
  366. width: 200px;
  367. }
  368. .bytm-ftconf-input[type=text] {
  369. width: 200px;
  370. }
  371. .bytm-ftconf-input[type=checkbox] {
  372. margin-left: 5px;
  373. }
  374. select.bytm-ftconf-input {
  375. cursor: revert;
  376. }
  377. #bytm-export-dialog-text, #bytm-import-dialog-text {
  378. font-size: 1.6em;
  379. margin-bottom: 15px;
  380. }
  381. .bytm-dialog-footer-copied {
  382. font-size: 1.6em;
  383. margin-right: 15px;
  384. }
  385. #bytm-changelog-dialog-body {
  386. overflow-y: auto;
  387. }
  388. #bytm-export-dialog-textarea, #bytm-import-dialog-textarea {
  389. width: 100%;
  390. height: 150px;
  391. resize: none;
  392. }
  393. .bytm-markdown-container {
  394. display: flex;
  395. flex-direction: column;
  396. overflow-y: auto;
  397. font-size: 1.4rem;
  398. line-height: 20px;
  399. }
  400. /* Markdown stuff */
  401. .bytm-markdown-container kbd, .bytm-kbd {
  402. --bytm-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  403. display: inline-block;
  404. vertical-align: bottom;
  405. padding: 4px;
  406. padding-top: 2px;
  407. font-size: 0.95em;
  408. line-height: 11px;
  409. background-color: #222;
  410. border: 1px solid #777;
  411. border-radius: 5px;
  412. box-shadow: inset 0 -2px 0 #515559;
  413. transition: padding 0.1s var(--bytm-easing), margin-top 0.1s var(--bytm-easing), box-shadow 0.1s var(--bytm-easing);
  414. }
  415. .bytm-markdown-container kbd:active, .bytm-kbd:active {
  416. padding-bottom: 2px;
  417. margin-top: 2px;
  418. box-shadow: inset 0 0 0 initial;
  419. }
  420. .bytm-markdown-container kbd::selection, .bytm-kbd::selection {
  421. background: rgba(0, 0, 0, 0);
  422. }
  423. .bytm-markdown-container code {
  424. background-color: #222;
  425. border-radius: 3px;
  426. padding: 1px 5px;
  427. font-family: monospace;
  428. }
  429. .bytm-markdown-container h2 {
  430. margin-bottom: 5px;
  431. }
  432. .bytm-markdown-container h2:not(:first-of-type) {
  433. margin-top: 30px;
  434. }
  435. .bytm-markdown-container ul li::before {
  436. content: "• ";
  437. font-weight: bolder;
  438. }
  439. .bytm-markdown-container ul li > ul li::before {
  440. white-space: pre-wrap;
  441. content: " • ";
  442. font-weight: bolder;
  443. }
  444. #bytm-feat-help-dialog-desc, #bytm-feat-help-dialog-text {
  445. overflow-wrap: break-word;
  446. white-space: pre-wrap;
  447. font-size: 1.5em;
  448. }
  449. #bytm-feat-help-dialog-desc {
  450. font-size: 1.65em;
  451. padding-bottom: 5px;
  452. }
  453. .bytm-ftitem-help-btn {
  454. width: 24px !important;
  455. height: 24px !important;
  456. }
  457. .bytm-ftitem-help-btn svg {
  458. width: 18px !important;
  459. height: 18px !important;
  460. }
  461. .bytm-ftitem-help-btn svg > path {
  462. fill: #b3bec7 !important;
  463. }
  464. hr {
  465. display: block;
  466. margin: 8px 0px 12px 0px;
  467. border: revert;
  468. }
  469. .bytm-ftitem-adornment {
  470. display: inline-flex;
  471. justify-content: flex-start;
  472. align-items: center;
  473. margin-right: 6px;
  474. }
  475. .bytm-hotkey-wrapper {
  476. display: flex;
  477. flex-direction: row;
  478. align-items: center;
  479. justify-content: flex-end;
  480. }
  481. .bytm-hotkey-reset {
  482. font-size: 0.9em;
  483. margin-right: 10px;
  484. }
  485. .bytm-hotkey-info {
  486. font-size: 0.9em;
  487. white-space: nowrap;
  488. }
  489. .bytm-toggle-input-wrapper {
  490. --toggle-height: 20px;
  491. --toggle-width: 40px;
  492. --toggle-knob-offset: 4px;
  493. --toggle-color-on: #3683d4;
  494. --toggle-color-off: #666;
  495. --toggle-knob-color: #f5f5f5;
  496. display: flex;
  497. align-items: center;
  498. }
  499. .bytm-toggle-input-wrapper .bytm-toggle-input-label {
  500. cursor: pointer;
  501. font-size: 1.5rem;
  502. padding: 3px 12px;
  503. }
  504. /* sauce: https://danklammer.com/articles/simple-css-toggle-switch/ */
  505. .bytm-toggle-input {
  506. display: flex;
  507. align-items: center;
  508. }
  509. .bytm-toggle-input input {
  510. appearance: none;
  511. display: inline-block;
  512. width: var(--toggle-width);
  513. height: var(--toggle-height);
  514. position: relative;
  515. border-radius: 50px;
  516. overflow: hidden;
  517. outline: none;
  518. border: none;
  519. margin: 0;
  520. padding: var(--toggle-knob-offset);
  521. cursor: pointer;
  522. background-color: var(--toggle-color-off);
  523. transition: justify-content 0.2s ease, background-color 0.2s ease;
  524. }
  525. .bytm-toggle-input input[data-toggled="true"] {
  526. background-color: var(--toggle-color-on);
  527. }
  528. .bytm-toggle-input input .bytm-toggle-input-knob {
  529. --toggle-knob-calc-width: calc(var(--toggle-height) - (var(--toggle-knob-offset) * 2));
  530. --toggle-knob-calc-height: calc(var(--toggle-height) - (var(--toggle-knob-offset) * 2));
  531. width: var(--toggle-knob-calc-width);
  532. height: var(--toggle-knob-calc-height);
  533. background-color: var(--toggle-knob-color);
  534. border-radius: 50%;
  535. position: absolute;
  536. top: 50%;
  537. transform: translateY(-50%);
  538. left: var(--toggle-knob-offset);
  539. transition: left 0.2s ease;
  540. }
  541. .bytm-toggle-input input[data-toggled="true"] .bytm-toggle-input-knob {
  542. left: calc(var(--toggle-width) - var(--toggle-knob-offset) - var(--toggle-knob-calc-width));
  543. }
  544. :root {
  545. --bytm-menu-bg-highlight: #252525;
  546. }
  547. .bytm-menu-bg {
  548. --bytm-menu-bg: #333333;
  549. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  550. --bytm-menu-separator-color: #797979;
  551. --bytm-menu-border-radius: 10px;
  552. }
  553. .bytm-menu-bg {
  554. display: block;
  555. position: fixed;
  556. width: 100%;
  557. height: 100%;
  558. top: 0;
  559. left: 0;
  560. z-index: 5;
  561. background-color: rgba(0, 0, 0, 0.6);
  562. }
  563. .bytm-menu {
  564. position: fixed;
  565. display: flex;
  566. flex-direction: column;
  567. width: calc(min(100% - 60px, var(--bytm-menu-width-max)));
  568. border-radius: var(--bytm-menu-border-radius);
  569. height: auto;
  570. max-height: calc(min(100% - 40px, var(--bytm-menu-height-max)));
  571. left: 50%;
  572. top: 50%;
  573. transform: translate(-50%, -50%);
  574. z-index: 6;
  575. color: #fff;
  576. background-color: var(--bytm-menu-bg);
  577. }
  578. .bytm-menu.top-aligned {
  579. top: 0;
  580. transform: translate(-50%, 40px);
  581. }
  582. .bytm-menu-body {
  583. padding: 20px;
  584. }
  585. #bytm-menu-opts {
  586. display: flex;
  587. flex-direction: column;
  588. position: relative;
  589. padding: 20px 0px;
  590. overflow-y: auto;
  591. }
  592. .bytm-menu-header {
  593. display: flex;
  594. justify-content: space-between;
  595. align-items: center;
  596. margin-bottom: 6px;
  597. padding: 15px 20px 15px 20px;
  598. background-color: var(--bytm-menu-bg);
  599. border: 2px solid var(--bytm-menu-separator-color);
  600. border-style: none none solid none !important;
  601. border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius) 0px 0px;
  602. }
  603. .bytm-menu-header.small {
  604. padding: 10px 15px;
  605. border-style: none none solid none !important;
  606. }
  607. .bytm-menu-titlecont {
  608. position: relative;
  609. display: flex;
  610. align-items: center;
  611. }
  612. .bytm-menu-titlecont-no-title {
  613. display: flex;
  614. justify-content: flex-end;
  615. align-items: center;
  616. }
  617. .bytm-menu-title {
  618. position: relative;
  619. display: inline-block;
  620. font-size: 22px;
  621. }
  622. #bytm-cfg-menu-bg .bytm-menu-title {
  623. transform: translate(0px, -6px);
  624. }
  625. #bytm-cfg-menu {
  626. --bytm-menu-subtitle-color: #c6d2db;
  627. }
  628. #bytm-menu-subtitle-cont {
  629. width: 100%;
  630. display: flex;
  631. gap: 6px;
  632. flex-direction: row;
  633. justify-content: space-between;
  634. align-items: end;
  635. position: absolute;
  636. bottom: -12px;
  637. left: 0;
  638. font-size: 10px;
  639. font-weight: normal;
  640. z-index: 7;
  641. }
  642. #bytm-menu-subtitle-cont, #bytm-menu-version-anchor {
  643. color: var(--bytm-menu-subtitle-color) !important;
  644. }
  645. #bytm-menu-subtitle-cont, #bytm-menu-mode-display {
  646. overflow: hidden;
  647. text-overflow: ellipsis;
  648. white-space: nowrap;
  649. }
  650. #bytm-menu-version-anchor {
  651. overflow: hidden;
  652. text-wrap: nowrap;
  653. text-overflow: ellipsis;
  654. }
  655. #bytm-menu-linkscont {
  656. display: flex;
  657. align-items: center;
  658. margin-left: 32px;
  659. }
  660. .bytm-menu-link {
  661. position: relative;
  662. max-height: 32px;
  663. max-width: 32px;
  664. display: inline-flex;
  665. flex-direction: column;
  666. align-items: center;
  667. cursor: pointer;
  668. }
  669. .bytm-menu-link:not(:last-of-type) {
  670. margin-right: 10px;
  671. }
  672. .bytm-menu-link .bytm-menu-img {
  673. width: 32px;
  674. height: 32px;
  675. border-radius: 50%;
  676. padding: 0px;
  677. transform: translateY(0px);
  678. transition: transform 0.15s ease-out, padding 0.15s ease-out;
  679. }
  680. .bytm-menu-link:hover .bytm-menu-img {
  681. padding: 7px;
  682. transform: translateY(-14px);
  683. }
  684. .bytm-menu-link .extended-link {
  685. visibility: hidden;
  686. position: absolute;
  687. top: 14px;
  688. padding-top: 13px;
  689. padding-bottom: 2px;
  690. opacity: 0;
  691. text-decoration: none;
  692. color: var(--bytm-menu-subtitle-color) !important;
  693. white-space: pre;
  694. font-size: 1.1rem;
  695. transition: visibility 0.15s ease-out, opacity 0.15s ease-out;
  696. }
  697. .bytm-menu-link:hover .extended-link {
  698. visibility: visible;
  699. opacity: 1;
  700. }
  701. .bytm-menu-close {
  702. width: 32px;
  703. height: 32px;
  704. cursor: pointer;
  705. }
  706. .bytm-menu-close.small {
  707. width: 24px;
  708. height: 24px;
  709. }
  710. .bytm-menu-footer {
  711. font-size: 17px;
  712. text-decoration: underline;
  713. }
  714. .bytm-menu-footer.hidden {
  715. display: none;
  716. }
  717. .bytm-menu-footer-cont {
  718. display: flex;
  719. flex-direction: row;
  720. justify-content: space-between;
  721. margin-top: 6px;
  722. padding: 15px 20px;
  723. background: var(--bytm-menu-bg);
  724. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-menu-bg) 30%, var(--bytm-menu-bg) 100%);
  725. border: 2px solid var(--bytm-menu-separator-color);
  726. border-style: solid none none none !important;
  727. border-radius: 0px 0px var(--bytm-menu-border-radius) var(--bytm-menu-border-radius);
  728. }
  729. #bytm-menu-footer-buttons-cont button:not(:last-of-type) {
  730. margin-right: 15px;
  731. }
  732. .bytm-menu-footer-right {
  733. display: flex;
  734. flex-direction: row-reverse;
  735. align-items: center;
  736. }
  737. #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
  738. margin-right: 15px;
  739. }
  740. #bytm-menu-scroll-indicator {
  741. --bytm-scroll-indicator-padding: 5px;
  742. position: sticky;
  743. bottom: -15px;
  744. left: 50%;
  745. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  746. padding: var(--bytm-scroll-indicator-padding);
  747. transform: translateX(-50%);
  748. width: 32px;
  749. height: 32px;
  750. z-index: 7;
  751. background-color: var(--bytm-scroll-indicator-bg);
  752. border-radius: 50%;
  753. cursor: pointer;
  754. }
  755. .bytm-hidden {
  756. visibility: hidden !important;
  757. }
  758. .bytm-ftconf-category-header {
  759. font-size: 20px;
  760. margin-top: 32px;
  761. margin-bottom: 8px;
  762. padding: 0px 20px;
  763. }
  764. .bytm-ftconf-category-header:first-of-type {
  765. margin-top: 0;
  766. }
  767. .bytm-ftitem {
  768. display: flex;
  769. flex-direction: row;
  770. justify-content: space-between;
  771. align-items: center;
  772. font-size: 1.4rem;
  773. padding: 8px 20px;
  774. transition: background-color 0.15s ease-out;
  775. }
  776. .bytm-ftitem:hover {
  777. background-color: var(--bytm-menu-bg-highlight);
  778. }
  779. .bytm-ftitem-leftside {
  780. display: flex;
  781. align-items: center;
  782. min-height: 24px;
  783. }
  784. .bytm-ftconf-ctrl {
  785. display: inline-flex;
  786. align-items: center;
  787. white-space: nowrap;
  788. margin-left: 10px;
  789. }
  790. .bytm-ftconf-label {
  791. user-select: none;
  792. }
  793. .bytm-slider-label {
  794. margin-right: 10px;
  795. }
  796. .bytm-toggle-label {
  797. padding-left: 10px;
  798. padding-right: 5px;
  799. }
  800. .bytm-ftconf-input.bytm-hotkey-input {
  801. cursor: pointer;
  802. min-width: 50px;
  803. }
  804. .bytm-ftconf-input[type=number] {
  805. width: 75px;
  806. }
  807. .bytm-ftconf-input[type=checkbox] {
  808. margin-left: 5px;
  809. }
  810. #bytm-export-menu-text, #bytm-import-menu-text {
  811. white-space: pre-wrap;
  812. font-size: 1.6rem;
  813. margin-bottom: 15px;
  814. }
  815. .bytm-menu-footer-copied {
  816. font-size: 1.6rem;
  817. margin-right: 15px;
  818. }
  819. #bytm-changelog-menu-body {
  820. overflow-y: auto;
  821. }
  822. .bytm-changelog-version-details:not(:first-of-type) {
  823. margin-top: 15px;
  824. }
  825. .bytm-changelog-version-details summary h2 {
  826. display: inline-block;
  827. }
  828. .bytm-changelog-version-details summary {
  829. cursor: pointer;
  830. }
  831. .bytm-changelog-version-details summary::marker {
  832. font-size: 2rem;
  833. }
  834. #bytm-export-menu-textarea, #bytm-import-menu-textarea {
  835. width: 100%;
  836. height: 150px;
  837. resize: none;
  838. }
  839. .bytm-markdown-container {
  840. display: flex;
  841. flex-direction: column;
  842. overflow-y: auto;
  843. font-size: 1.5rem;
  844. line-height: 20px;
  845. }
  846. /* Markdown stuff */
  847. .bytm-markdown-container kbd {
  848. --bytm-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  849. display: inline-block;
  850. vertical-align: bottom;
  851. padding: 4px;
  852. padding-top: 2px;
  853. font-size: 0.95em;
  854. line-height: 11px;
  855. background-color: #222;
  856. border: 1px solid #777;
  857. border-radius: 5px;
  858. box-shadow: inset 0 -2px 0 #515559;
  859. transition: padding 0.1s var(--bytm-easing), box-shadow 0.1s var(--bytm-easing);
  860. }
  861. .bytm-markdown-container kbd:active {
  862. padding-bottom: 2px;
  863. box-shadow: inset 0 0 0 initial;
  864. }
  865. .bytm-markdown-container kbd::selection {
  866. background: rgba(0, 0, 0, 0);
  867. }
  868. .bytm-markdown-container code {
  869. background-color: #222;
  870. border-radius: 3px;
  871. padding: 1px 5px;
  872. }
  873. .bytm-markdown-container h2 {
  874. margin-bottom: 5px;
  875. }
  876. .bytm-markdown-container h2:not(:first-of-type) {
  877. margin-top: 30px;
  878. }
  879. .bytm-markdown-container ul li {
  880. padding-left: 0px;
  881. }
  882. .bytm-markdown-container ul li::marker {
  883. content: none;
  884. }
  885. .bytm-markdown-container ul li::before {
  886. content: "• ";
  887. font-weight: bolder;
  888. }
  889. .bytm-markdown-container ul li > ul li {
  890. padding-left: 16px;
  891. }
  892. .bytm-markdown-container ul li > ul li::marker {
  893. content: none;
  894. }
  895. .bytm-markdown-container ul li > ul li::before {
  896. white-space: pre-wrap;
  897. content: "• ";
  898. font-weight: bolder;
  899. }
  900. .bytm-markdown-container ul li > ul li > ul li {
  901. padding-left: 16px;
  902. }
  903. .bytm-markdown-container ul li > ul li > ul li::marker {
  904. content: none;
  905. }
  906. .bytm-markdown-container ul li > ul li > ul li::before {
  907. white-space: pre-wrap;
  908. content: "• ";
  909. font-weight: bolder;
  910. }
  911. .bytm-markdown-container .pr-link-cont {
  912. padding-top: 10px;
  913. }
  914. #bytm-feat-help-dialog-desc, #bytm-feat-help-dialog-text {
  915. overflow-wrap: break-word;
  916. white-space: pre-wrap;
  917. font-size: 1.5rem;
  918. line-height: 1.25em;
  919. }
  920. #bytm-feat-help-dialog-desc {
  921. font-size: 1.8rem;
  922. padding-bottom: 10px;
  923. }
  924. .bytm-ftitem-help-btn {
  925. width: 24px !important;
  926. height: 24px !important;
  927. }
  928. .bytm-ftitem-help-btn svg {
  929. width: 18px !important;
  930. height: 18px !important;
  931. }
  932. .bytm-ftitem-help-btn svg > path {
  933. fill: #b3bec7 !important;
  934. }
  935. hr {
  936. display: block;
  937. margin: 8px 0px 12px 0px;
  938. border: revert;
  939. }
  940. /* #region misc */
  941. .bytm-disable-scroll {
  942. overflow: hidden !important;
  943. }
  944. .bytm-generic-btn {
  945. --bytm-generic-btn-width: 36px;
  946. --bytm-generic-btn-height: 36px;
  947. display: inline-flex;
  948. align-items: center;
  949. justify-content: center;
  950. position: relative;
  951. vertical-align: middle;
  952. cursor: pointer;
  953. margin-left: 8px;
  954. min-width: var(--bytm-generic-btn-width);
  955. max-width: var(--bytm-generic-btn-width);
  956. min-height: var(--bytm-generic-btn-height);
  957. max-height: var(--bytm-generic-btn-height);
  958. border: 1px solid transparent;
  959. border-radius: calc(var(--bytm-generic-btn-height, 36px) / 2);
  960. background-color: transparent;
  961. transition: background-color 0.2s ease;
  962. }
  963. .bytm-generic-btn:not(.long):hover {
  964. background-color: rgba(255, 255, 255, 0.2);
  965. }
  966. .bytm-generic-btn:active {
  967. animation: flashBorder 0.4s ease 1;
  968. }
  969. .bytm-generic-btn:not(.bytm-toggle):active {
  970. background-color: #5f5f5f;
  971. }
  972. .bytm-generic-btn.long {
  973. --bytm-generic-btn-width: 136px;
  974. padding: 0px;
  975. line-height: 36px;
  976. display: inline-flex;
  977. align-items: center;
  978. justify-content: center;
  979. position: relative;
  980. vertical-align: middle;
  981. cursor: pointer;
  982. margin-left: 0px;
  983. }
  984. .bytm-generic-btn.long .bytm-generic-btn-img.left {
  985. margin-right: 8px;
  986. }
  987. .bytm-generic-btn.long .bytm-generic-btn-img.right {
  988. margin-left: 8px;
  989. }
  990. .bytm-generic-long-btn-txt {
  991. font-size: 14px;
  992. }
  993. .bytm-ftitem-help-btn.bytm-generic-btn {
  994. --bytm-generic-btn-width: 24px;
  995. --bytm-generic-btn-height: 24px;
  996. }
  997. @keyframes flashBorder {
  998. 0% {
  999. border: 1px solid initial;
  1000. }
  1001. 20% {
  1002. border: 1px solid #808080;
  1003. }
  1004. 100% {
  1005. border: 1px solid initial;
  1006. }
  1007. }
  1008. .bytm-generic-btn-img {
  1009. display: inline-block;
  1010. z-index: 1;
  1011. width: 24px;
  1012. height: 24px;
  1013. }
  1014. .bytm-spinner {
  1015. animation: rotate 1.2s linear infinite;
  1016. }
  1017. @keyframes rotate {
  1018. from {
  1019. transform: rotate(0deg);
  1020. }
  1021. to {
  1022. transform: rotate(360deg);
  1023. }
  1024. }
  1025. .bytm-anchor {
  1026. all: unset;
  1027. cursor: pointer;
  1028. }
  1029. /* ytmusic-logo a[bytm-animated="true"] .bytm-mod-logo-ellipse {
  1030. transform-origin: 12px 12px;
  1031. animation: rotate 1s ease-in-out infinite;
  1032. } */
  1033. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-path {
  1034. transform-origin: 12px 12px;
  1035. animation: rotate 1s ease-in-out;
  1036. }
  1037. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
  1038. width: 24px;
  1039. height: 24px;
  1040. z-index: 1000;
  1041. position: absolute;
  1042. animation: rotate-fade-in 1s ease-in-out;
  1043. }
  1044. @keyframes rotate-fade-in {
  1045. 0% {
  1046. opacity: 0;
  1047. transform: rotate(0deg);
  1048. }
  1049. 30% {
  1050. opacity: 0;
  1051. }
  1052. 90% {
  1053. opacity: 1;
  1054. }
  1055. 100% {
  1056. transform: rotate(360deg);
  1057. }
  1058. }
  1059. .bytm-no-select {
  1060. user-select: none;
  1061. -ms-user-select: none;
  1062. -moz-user-select: none;
  1063. -webkit-user-select: none;
  1064. }
  1065. /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
  1066. button.bytm-btn {
  1067. padding: revert;
  1068. border: revert;
  1069. outline: revert;
  1070. font: revert;
  1071. text-transform: revert;
  1072. color: revert;
  1073. background: revert;
  1074. cursor: pointer;
  1075. line-height: 1.4em;
  1076. }
  1077. .bytm-link, .bytm-markdown-container a {
  1078. color: #369bff !important;
  1079. text-decoration: none !important;
  1080. cursor: pointer;
  1081. }
  1082. .bytm-link:hover, .bytm-markdown-container a:hover {
  1083. color: #369bff !important;
  1084. text-decoration: underline !important;
  1085. }
  1086. button[disabled] {
  1087. cursor: not-allowed;
  1088. }
  1089. button[disabled].bytm-busy {
  1090. cursor: progress;
  1091. }
  1092. /* #region random fixes */
  1093. .sponsorSkipNoticeContainer,
  1094. .sponsorSkipObject {
  1095. z-index: 4;
  1096. }
  1097. /* #region menu */
  1098. .bytm-cfg-menu-option {
  1099. display: block;
  1100. padding: 8px 0;
  1101. }
  1102. .bytm-cfg-menu-option-item {
  1103. display: flex;
  1104. flex-direction: row;
  1105. align-items: center;
  1106. font-size: 1.4rem;
  1107. font-weight: 400;
  1108. line-height: 24px;
  1109. padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
  1110. min-height: var(--paper-item-min-height, 40px);
  1111. white-space: nowrap;
  1112. cursor: pointer;
  1113. }
  1114. .bytm-cfg-menu-option-item:hover {
  1115. background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
  1116. }
  1117. .bytm-cfg-menu-option-icon {
  1118. width: 24px;
  1119. height: 24px;
  1120. margin-right: 16px;
  1121. display: flex;
  1122. align-items: center;
  1123. flex-direction: row;
  1124. flex: none;
  1125. }
  1126. .bytm-cfg-menu-option-text {
  1127. font-size: 1.4rem;
  1128. line-height: 2rem;
  1129. }
  1130. yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
  1131. border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
  1132. }
  1133. .bytm-yt-cfg-menu-option {
  1134. position: relative;
  1135. width: calc(100% - 12px);
  1136. }
  1137. .bytm-yt-cfg-menu-option-inner {
  1138. display: flex;
  1139. flex-direction: row;
  1140. justify-content: flex-start;
  1141. align-items: center;
  1142. min-height: var(--paper-item-min-height, 48px);
  1143. max-width: calc(100% - 12px);
  1144. padding: 0px 12px;
  1145. border-radius: var(--paper-item-focused-before-border-radius, 10px);
  1146. cursor: pointer;
  1147. background-color: transparent;
  1148. transition: background-color 0.2s ease;
  1149. }
  1150. .bytm-yt-cfg-menu-option-inner:hover {
  1151. background-color: var(--yt-spec-badge-chip-background, rgba(255, 255, 255, 0.1));
  1152. }
  1153. .bytm-yt-cfg-menu-option-icon {
  1154. display: flex;
  1155. align-items: center;
  1156. flex-direction: row;
  1157. width: 24px;
  1158. height: 24px;
  1159. margin-right: 24px;
  1160. }
  1161. .bytm-yt-cfg-menu-option-item {
  1162. width: 100%;
  1163. color: #fff;
  1164. font-size: 14px;
  1165. }
  1166. .bytm-yt-cfg-menu-option-item:hover {
  1167. /* Support for "Enhancer for YouTube" extension's custom themes */
  1168. color: var(--main-color, #fff) !important;
  1169. }
  1170. /* #region watermark */
  1171. #bytm-watermark {
  1172. font-size: 10px;
  1173. display: inline-block;
  1174. position: absolute;
  1175. left: 97px;
  1176. top: 45px;
  1177. z-index: 10;
  1178. color: #f1f1f1;
  1179. text-decoration: none;
  1180. cursor: pointer;
  1181. }
  1182. #bytm-watermark:hover {
  1183. text-decoration: underline;
  1184. }
  1185. /* #region above queue btns */
  1186. #bytm-above-queue-btn-cont {
  1187. display: flex;
  1188. flex-direction: row;
  1189. justify-content: center;
  1190. align-items: center;
  1191. flex-wrap: nowrap;
  1192. height: 100%;
  1193. }
  1194. #bytm-above-queue-btn-wrapper {
  1195. white-space: nowrap;
  1196. }
  1197. .bytm-above-queue-btn {
  1198. width: 32px;
  1199. height: 32px;
  1200. margin-left: 0;
  1201. margin-right: 8px;
  1202. }
  1203. /* #region scroll to active */
  1204. #bytm-scroll-to-active-btn-cont {
  1205. display: flex;
  1206. flex-direction: column;
  1207. justify-content: center;
  1208. align-items: center;
  1209. height: 100%;
  1210. }
  1211. #bytm-scroll-to-active-btn-cont.hidden {
  1212. display: none;
  1213. }
  1214. #bytm-scroll-to-active-btn {
  1215. display: inline-flex;
  1216. align-items: center;
  1217. justify-content: center;
  1218. border-radius: 50%;
  1219. cursor: pointer;
  1220. }
  1221. #bytm-scroll-to-active-btn {
  1222. width: revert;
  1223. height: revert;
  1224. }
  1225. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1226. padding: 4px;
  1227. }
  1228. /* #region thumbnail */
  1229. #bytm-thumbnail-overlay {
  1230. position: absolute;
  1231. top: 0;
  1232. left: 0;
  1233. width: 100%;
  1234. height: 100%;
  1235. display: none;
  1236. background-color: #030303;
  1237. z-index: 0;
  1238. }
  1239. #bytm-thumbnail-overlay-img {
  1240. position: relative;
  1241. width: 100%;
  1242. height: 100%;
  1243. }
  1244. #bytm-thumbnail-overlay-indicator {
  1245. position: absolute;
  1246. bottom: 16px;
  1247. right: 16px;
  1248. width: calc(min(56px, 100% - 16px));
  1249. height: calc(min(56px, 100% - 16px));
  1250. z-index: 1;
  1251. cursor: help;
  1252. filter: drop-shadow(0 0 3px #000);
  1253. }
  1254. ytmusic-player#player #bezel {
  1255. z-index: 1;
  1256. }
  1257. :root {
  1258. --bytm-auto-like-btn-color: #bf87f0;
  1259. }
  1260. .bytm-auto-like-channel-row-left-cont {
  1261. display: flex;
  1262. align-items: center;
  1263. gap: 10px;
  1264. }
  1265. .bytm-auto-like-channel-row {
  1266. display: flex;
  1267. justify-content: space-between;
  1268. align-items: center;
  1269. padding: 8px 15px;
  1270. transition: background-color 0.15s ease-out;
  1271. }
  1272. .bytm-auto-like-channels-desc {
  1273. padding: 0px 15px;
  1274. white-space: pre-wrap;
  1275. font-size: 1.6rem;
  1276. margin-bottom: 15px;
  1277. }
  1278. #bytm-auto-like-channels-add-new {
  1279. padding: 4px 15px;
  1280. margin-top: 20px;
  1281. margin-bottom: 10px;
  1282. }
  1283. .bytm-auto-like-channel-row:hover {
  1284. background-color: var(--bytm-menu-bg-highlight);
  1285. }
  1286. .bytm-auto-like-channel-row .bytm-toggle-input-wrapper.bytm-auto-like-channel-toggle {
  1287. --toggle-height: 18px !important;
  1288. --toggle-width: 36px !important;
  1289. }
  1290. .bytm-auto-like-channel-row .bytm-generic-btn {
  1291. --bytm-generic-btn-width: 30px;
  1292. --bytm-generic-btn-height: 30px;
  1293. }
  1294. .bytm-auto-like-channel-name-label {
  1295. display: flex;
  1296. flex-direction: row;
  1297. align-items: center;
  1298. }
  1299. .bytm-auto-like-channel-id {
  1300. cursor: text;
  1301. font-size: 1.1rem;
  1302. color: #aaa;
  1303. margin-left: 10px;
  1304. }
  1305. .bytm-auto-like-toggle-btn {
  1306. margin-right: 8px;
  1307. border: 1px solid var(--bytm-auto-like-btn-color);
  1308. box-sizing: border-box;
  1309. background-color: transparent;
  1310. transition: border-color 0.2s ease;
  1311. animation: none;
  1312. }
  1313. .bytm-auto-like-toggle-btn:active {
  1314. background-color: rgba(255, 255, 255, 0.1);
  1315. }
  1316. .bytm-auto-like-toggle-btn:active,
  1317. .bytm-auto-like-toggle-btn.toggled {
  1318. border-color: rgba(255, 255, 255, 0.2);
  1319. }
  1320. .bytm-auto-like-toggle-btn svg path {
  1321. fill: var(--bytm-auto-like-btn-color);
  1322. transition: fill 0.2s ease;
  1323. }
  1324. .bytm-auto-like-toggle-btn:active svg path,
  1325. .bytm-auto-like-toggle-btn.toggled svg path {
  1326. fill: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  1327. }
  1328. .bytm-auto-like-toggle-btn .bytm-generic-long-btn-txt {
  1329. font-weight: 500;
  1330. color: var(--bytm-auto-like-btn-color);
  1331. transition: color 0.2s ease;
  1332. }
  1333. .bytm-auto-like-toggle-btn:active .bytm-generic-long-btn-txt,
  1334. .bytm-auto-like-toggle-btn.toggled .bytm-generic-long-btn-txt
  1335. {
  1336. color: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  1337. }
  1338. /* #region queue buttons */
  1339. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1340. position: relative;
  1341. }
  1342. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1343. background: rgb(0, 0, 0);
  1344. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
  1345. display: none;
  1346. position: absolute;
  1347. right: 0;
  1348. padding-left: 25px;
  1349. height: 100%;
  1350. }
  1351. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1352. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
  1353. }
  1354. .bytm-generic-list-queue-btn-container {
  1355. /* otherwise the queue buttons render over the currently playing song page */
  1356. z-index: 1;
  1357. }
  1358. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1359. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1360. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1361. /* same thing but with :focus-within */
  1362. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1363. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1364. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container
  1365. {
  1366. display: inline-flex;
  1367. align-items: center;
  1368. }
  1369. ytmusic-responsive-list-item-renderer .title-column {
  1370. align-items: center;
  1371. }
  1372. #side-panel ytmusic-player-queue-item[play-button-state="loading"] .bytm-queue-btn-container,
  1373. #side-panel ytmusic-player-queue-item[play-button-state="playing"] .bytm-queue-btn-container,
  1374. #side-panel ytmusic-player-queue-item[play-button-state="paused"] .bytm-queue-btn-container
  1375. {
  1376. /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
  1377. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
  1378. }
  1379. #side-panel ytmusic-player-queue-item[selected][play-button-state="loading"] .bytm-queue-btn-container,
  1380. #side-panel ytmusic-player-queue-item[selected][play-button-state="playing"] .bytm-queue-btn-container,
  1381. #side-panel ytmusic-player-queue-item[selected][play-button-state="paused"] .bytm-queue-btn-container
  1382. {
  1383. /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
  1384. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
  1385. }
  1386. ytmusic-app ytmusic-popup-container tp-yt-iron-dropdown[data-bytm-hidden=true] {
  1387. display: none !important;
  1388. }
  1389. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container {
  1390. visibility: hidden;
  1391. }
  1392. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container a.bytm-generic-btn {
  1393. visibility: hidden !important;
  1394. }
  1395. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container,
  1396. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container
  1397. {
  1398. visibility: visible;
  1399. }
  1400. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container a.bytm-generic-btn,
  1401. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container a.bytm-generic-btn
  1402. {
  1403. visibility: visible !important;
  1404. }
  1405. /* #region volume slider */
  1406. #bytm-vol-slider-cont {
  1407. position: relative;
  1408. }
  1409. #bytm-vol-slider-label {
  1410. opacity: 0.000001;
  1411. position: absolute;
  1412. display: flex;
  1413. flex-direction: row;
  1414. align-items: center;
  1415. gap: 5px;
  1416. font-size: 1.4rem;
  1417. top: 50%;
  1418. left: 0;
  1419. transform: translate(calc(-50% - 10px), -50%);
  1420. text-align: right;
  1421. transition: opacity 0.2s ease;
  1422. }
  1423. #bytm-vol-slider-label.has-icon {
  1424. transform: translate(calc(-50% - 25px), -50%);
  1425. }
  1426. #bytm-vol-slider-label svg {
  1427. padding: 4px;
  1428. }
  1429. #bytm-vol-slider-label svg path {
  1430. fill: #909090;
  1431. }
  1432. #bytm-vol-slider-label.bytm-visible {
  1433. opacity: 1;
  1434. }
  1435. #bytm-vol-slider-shared {
  1436. display: flex;
  1437. flex-direction: row;
  1438. align-items: center;
  1439. }
  1440. #bytm-vol-slider-shared svg {
  1441. width: 20px;
  1442. height: 20px;
  1443. }