BetterYTM.css 31 KB

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