1
0

BetterYTM.css 31 KB

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