BetterYTM.css 33 KB

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