BetterYTM.css 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574
  1. :root {
  2. --bytm-locale-color: #6a97c7;
  3. --bytm-advanced-mode-color: #c5b270;
  4. --bytm-experimental-col: #c698d6;
  5. --bytm-warning-col: #e07664;
  6. --bytm-reload-col: #7ad46a;
  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-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-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: #3683d4;
  487. --toggle-color-off: #666;
  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. /* I would've loved to just use the YT-provided var(--yt-spec-badge-chip-background) but darkreader is being a bitch and a half and overwrites it */
  1146. background-color: rgba(255, 255, 255, 0.05);
  1147. }
  1148. .bytm-yt-cfg-menu-option-icon {
  1149. display: flex;
  1150. align-items: center;
  1151. flex-direction: row;
  1152. width: 24px;
  1153. height: 24px;
  1154. margin-right: 24px;
  1155. }
  1156. .bytm-yt-cfg-menu-option-item {
  1157. font-size: 14px;
  1158. }
  1159. /* #region watermark */
  1160. #bytm-watermark {
  1161. font-size: 10px;
  1162. display: inline-block;
  1163. position: absolute;
  1164. left: 97px;
  1165. top: 45px;
  1166. z-index: 10;
  1167. color: #f1f1f1;
  1168. text-decoration: none;
  1169. cursor: pointer;
  1170. }
  1171. #bytm-watermark:hover {
  1172. text-decoration: underline;
  1173. }
  1174. /* #region above queue btns */
  1175. #bytm-above-queue-btn-cont {
  1176. display: flex;
  1177. flex-direction: row;
  1178. justify-content: center;
  1179. align-items: center;
  1180. flex-wrap: nowrap;
  1181. height: 100%;
  1182. }
  1183. #bytm-above-queue-btn-wrapper {
  1184. white-space: nowrap;
  1185. }
  1186. .bytm-above-queue-btn {
  1187. width: 32px;
  1188. height: 32px;
  1189. margin-left: 0;
  1190. margin-right: 8px;
  1191. }
  1192. /* #region scroll to active */
  1193. #bytm-scroll-to-active-btn-cont {
  1194. display: flex;
  1195. flex-direction: column;
  1196. justify-content: center;
  1197. align-items: center;
  1198. height: 100%;
  1199. }
  1200. #bytm-scroll-to-active-btn-cont.hidden {
  1201. display: none;
  1202. }
  1203. #bytm-scroll-to-active-btn {
  1204. display: inline-flex;
  1205. align-items: center;
  1206. justify-content: center;
  1207. border-radius: 50%;
  1208. cursor: pointer;
  1209. }
  1210. #bytm-scroll-to-active-btn {
  1211. width: revert;
  1212. height: revert;
  1213. }
  1214. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1215. padding: 4px;
  1216. }
  1217. /* #region thumbnail */
  1218. #bytm-thumbnail-overlay {
  1219. position: absolute;
  1220. top: 0;
  1221. left: 0;
  1222. width: 100%;
  1223. height: 100%;
  1224. display: none;
  1225. background-color: #030303;
  1226. z-index: 0;
  1227. }
  1228. #bytm-thumbnail-overlay-img {
  1229. position: relative;
  1230. width: 100%;
  1231. height: 100%;
  1232. }
  1233. #bytm-thumbnail-overlay-indicator {
  1234. position: absolute;
  1235. bottom: 16px;
  1236. right: 16px;
  1237. width: calc(min(56px, 100% - 16px));
  1238. height: calc(min(56px, 100% - 16px));
  1239. z-index: 1;
  1240. cursor: help;
  1241. filter: drop-shadow(0 0 3px #000);
  1242. }
  1243. ytmusic-player#player #bezel {
  1244. z-index: 1;
  1245. }
  1246. /* #region queue buttons */
  1247. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1248. position: relative;
  1249. }
  1250. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1251. background: rgb(0, 0, 0);
  1252. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
  1253. display: none;
  1254. position: absolute;
  1255. right: 0;
  1256. padding-left: 25px;
  1257. height: 100%;
  1258. }
  1259. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1260. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
  1261. }
  1262. .bytm-generic-list-queue-btn-container {
  1263. /* otherwise the queue buttons render over the currently playing song page */
  1264. z-index: 1;
  1265. }
  1266. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1267. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1268. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1269. /* same thing but with :focus-within */
  1270. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1271. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1272. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container
  1273. {
  1274. display: inline-flex;
  1275. align-items: center;
  1276. }
  1277. ytmusic-responsive-list-item-renderer .title-column {
  1278. align-items: center;
  1279. }
  1280. #side-panel ytmusic-player-queue-item[play-button-state="loading"] .bytm-queue-btn-container,
  1281. #side-panel ytmusic-player-queue-item[play-button-state="playing"] .bytm-queue-btn-container,
  1282. #side-panel ytmusic-player-queue-item[play-button-state="paused"] .bytm-queue-btn-container
  1283. {
  1284. /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
  1285. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
  1286. }
  1287. #side-panel ytmusic-player-queue-item[selected][play-button-state="loading"] .bytm-queue-btn-container,
  1288. #side-panel ytmusic-player-queue-item[selected][play-button-state="playing"] .bytm-queue-btn-container,
  1289. #side-panel ytmusic-player-queue-item[selected][play-button-state="paused"] .bytm-queue-btn-container
  1290. {
  1291. /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
  1292. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
  1293. }
  1294. ytmusic-app ytmusic-popup-container tp-yt-iron-dropdown[data-bytm-hidden=true] {
  1295. display: none !important;
  1296. }
  1297. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container {
  1298. visibility: hidden;
  1299. }
  1300. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container a.bytm-generic-btn {
  1301. visibility: hidden !important;
  1302. }
  1303. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container,
  1304. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container
  1305. {
  1306. visibility: visible;
  1307. }
  1308. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container a.bytm-generic-btn,
  1309. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container a.bytm-generic-btn
  1310. {
  1311. visibility: visible !important;
  1312. }