BetterYTM.css 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365
  1. .bytm-dialog-bg {
  2. --bytm-dialog-bg: #333333;
  3. --bytm-dialog-bg-highlight: #252525;
  4. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  5. --bytm-dialog-separator-color: #797979;
  6. --bytm-dialog-border-radius: 10px;
  7. }
  8. .bytm-dialog-bg {
  9. display: block;
  10. position: fixed;
  11. width: 100%;
  12. height: 100%;
  13. top: 0;
  14. left: 0;
  15. z-index: 3005;
  16. background-color: rgba(0, 0, 0, 0.6);
  17. }
  18. .bytm-dialog {
  19. --calc-max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)));
  20. position: absolute;
  21. display: flex;
  22. flex-direction: column;
  23. width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
  24. border-radius: var(--bytm-dialog-border-radius);
  25. height: auto;
  26. max-height: var(--calc-max-height);
  27. left: 50%;
  28. top: 50%;
  29. transform: translate(-50%, -50%);
  30. z-index: 3006;
  31. color: #fff;
  32. background-color: var(--bytm-dialog-bg);
  33. }
  34. .bytm-dialog.align-top {
  35. top: 0;
  36. transform: translate(-50%, 20px);
  37. }
  38. .bytm-dialog.align-bottom {
  39. top: 100%;
  40. transform: translate(-50%, calc(-100% - 20px));
  41. }
  42. .bytm-dialog-body {
  43. font-size: 1.5rem;
  44. padding: 20px;
  45. }
  46. .bytm-dialog-body.small {
  47. padding: 15px;
  48. }
  49. #bytm-dialog-opts {
  50. display: flex;
  51. flex-direction: column;
  52. position: relative;
  53. padding: 30px 0px;
  54. overflow-y: auto;
  55. }
  56. .bytm-dialog-header {
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. margin-bottom: 6px;
  61. padding: 15px 20px 15px 20px;
  62. background-color: var(--bytm-dialog-bg);
  63. border: 2px solid var(--bytm-dialog-separator-color);
  64. border-style: none none solid none !important;
  65. border-radius: var(--bytm-dialog-border-radius)
  66. var(--bytm-dialog-border-radius) 0px 0px;
  67. }
  68. .bytm-dialog-header.small {
  69. padding: 10px 15px;
  70. border-style: none none solid none !important;
  71. }
  72. .bytm-dialog-header-pad {
  73. content: " ";
  74. min-height: 32px;
  75. }
  76. .bytm-dialog-header-pad.small {
  77. min-height: 24px;
  78. }
  79. .bytm-dialog-titlecont {
  80. display: flex;
  81. align-items: center;
  82. }
  83. .bytm-dialog-titlecont-no-title {
  84. display: flex;
  85. justify-content: flex-end;
  86. align-items: center;
  87. }
  88. .bytm-dialog-title {
  89. position: relative;
  90. display: inline-block;
  91. font-size: 22px;
  92. }
  93. #bytm-dialog-version {
  94. position: absolute;
  95. width: 100%;
  96. bottom: -10px;
  97. left: 0;
  98. font-size: 10px;
  99. font-weight: normal;
  100. z-index: 3007;
  101. }
  102. #bytm-dialog-version .bytm-link {
  103. color: #c6d2db !important;
  104. text-decoration: none !important;
  105. cursor: pointer;
  106. }
  107. #bytm-dialog-version .bytm-link:hover {
  108. color: #c6d2db !important;
  109. text-decoration: underline !important;
  110. }
  111. #bytm-dialog-linkscont {
  112. display: flex;
  113. align-items: center;
  114. margin-left: 32px;
  115. }
  116. .bytm-dialog-link {
  117. display: inline-flex;
  118. align-items: center;
  119. cursor: pointer;
  120. }
  121. .bytm-dialog-link:not(:last-of-type) {
  122. margin-right: 10px;
  123. }
  124. .bytm-dialog-link .bytm-dialog-img {
  125. position: relative;
  126. border-radius: 50%;
  127. bottom: 0px;
  128. transition: bottom 0.15s ease-out;
  129. }
  130. .bytm-dialog-link:hover .bytm-dialog-img {
  131. bottom: 5px;
  132. }
  133. .bytm-dialog-close {
  134. cursor: pointer;
  135. }
  136. .bytm-dialog-header-img,
  137. .bytm-dialog-close {
  138. width: 32px;
  139. height: 32px;
  140. }
  141. .bytm-dialog-header-img.small,
  142. .bytm-dialog-close.small {
  143. width: 24px;
  144. height: 24px;
  145. }
  146. .bytm-dialog-footer {
  147. font-size: 17px;
  148. text-decoration: underline;
  149. }
  150. .bytm-dialog-footer.hidden {
  151. display: none;
  152. }
  153. .bytm-dialog-footer-cont {
  154. margin-top: 6px;
  155. padding: 15px 20px;
  156. background: var(--bytm-dialog-bg);
  157. background: linear-gradient(
  158. to bottom,
  159. rgba(0, 0, 0, 0) 0%,
  160. var(--bytm-dialog-bg) 30%,
  161. var(--bytm-dialog-bg) 100%
  162. );
  163. border: 2px solid var(--bytm-dialog-separator-color);
  164. border-style: solid none none none !important;
  165. border-radius: 0px 0px var(--bytm-dialog-border-radius)
  166. var(--bytm-dialog-border-radius);
  167. }
  168. .bytm-dialog-footer-cont.small {
  169. padding: 15px;
  170. }
  171. .bytm-dialog-footer-buttons-cont button:not(:last-of-type) {
  172. margin-right: 15px;
  173. }
  174. .bytm-dialog-footer-right {
  175. display: flex;
  176. flex-direction: row-reverse;
  177. align-items: center;
  178. margin-top: 15px;
  179. }
  180. #bytm-dialog-footer-left-buttons-cont button:not(:last-of-type) {
  181. margin-right: 15px;
  182. }
  183. #bytm-dialog-scroll-indicator {
  184. --bytm-scroll-indicator-padding: 5px;
  185. position: sticky;
  186. bottom: -15px;
  187. left: 50%;
  188. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  189. padding: var(--bytm-scroll-indicator-padding);
  190. transform: translateX(-50%);
  191. width: 32px;
  192. height: 32px;
  193. z-index: 3007;
  194. background-color: var(--bytm-scroll-indicator-bg);
  195. border-radius: 50%;
  196. cursor: pointer;
  197. }
  198. .bytm-hidden {
  199. visibility: hidden !important;
  200. }
  201. .bytm-ftconf-category-header {
  202. font-size: 20px;
  203. margin-top: 32px;
  204. margin-bottom: 8px;
  205. padding: 0px 20px;
  206. }
  207. .bytm-ftconf-category-header:first-of-type {
  208. margin-top: 0;
  209. }
  210. .bytm-dialog .bytm-ftitem {
  211. display: flex;
  212. flex-direction: row;
  213. justify-content: space-between;
  214. align-items: center;
  215. font-size: 1.4em;
  216. padding: 8px 20px;
  217. transition: background-color 0.15s ease-out;
  218. }
  219. .bytm-dialog .bytm-ftitem:hover {
  220. background-color: var(--bytm-dialog-bg-highlight);
  221. }
  222. .bytm-ftitem-leftside {
  223. display: flex;
  224. align-items: center;
  225. min-height: 24px;
  226. }
  227. .bytm-ftconf-ctrl {
  228. display: inline-flex;
  229. align-items: center;
  230. white-space: nowrap;
  231. margin-left: 10px;
  232. }
  233. .bytm-ftconf-label {
  234. user-select: none;
  235. }
  236. .bytm-slider-label {
  237. margin-right: 10px;
  238. }
  239. .bytm-ftconf-input.bytm-hotkey-input {
  240. cursor: pointer;
  241. min-width: 80px;
  242. }
  243. .bytm-ftconf-input[type="number"] {
  244. width: 75px;
  245. }
  246. .bytm-ftconf-input[type="range"] {
  247. width: 200px;
  248. }
  249. .bytm-ftconf-input[type="text"] {
  250. width: 200px;
  251. }
  252. .bytm-ftconf-input[type="checkbox"] {
  253. margin-left: 5px;
  254. }
  255. select.bytm-ftconf-input {
  256. min-width: 180px;
  257. cursor: revert;
  258. }
  259. #bytm-export-dialog-text,
  260. #bytm-import-dialog-text {
  261. font-size: 1.6em;
  262. margin-bottom: 15px;
  263. }
  264. .bytm-dialog-footer-copied {
  265. font-size: 1.6em;
  266. margin-right: 15px;
  267. }
  268. #bytm-changelog-dialog-body {
  269. overflow-y: auto;
  270. }
  271. #bytm-export-dialog-textarea,
  272. #bytm-import-dialog-textarea {
  273. width: 100%;
  274. height: 150px;
  275. resize: none;
  276. }
  277. .bytm-markdown-container {
  278. display: flex;
  279. flex-direction: column;
  280. overflow-y: auto;
  281. font-size: 1.4rem;
  282. line-height: 20px;
  283. }
  284. /* Markdown stuff */
  285. .bytm-markdown-container kbd,
  286. .bytm-kbd {
  287. --bytm-kbd-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  288. display: inline-block;
  289. vertical-align: bottom;
  290. padding: 3px;
  291. font-family: var(--bytm-font-monospace);
  292. font-size: 1.25rem;
  293. line-height: 11px;
  294. background-color: #222;
  295. border: 1px solid #777;
  296. border-radius: 5px;
  297. box-shadow: inset 0 -2px 0 #515559;
  298. transition: padding 0.1s var(--bytm-kbd-easing),
  299. margin-top 0.1s var(--bytm-kbd-easing),
  300. box-shadow 0.1s var(--bytm-kbd-easing);
  301. }
  302. .bytm-markdown-container kbd:active {
  303. padding-bottom: 1px;
  304. box-shadow: inset 0 0 0 initial;
  305. }
  306. .bytm-markdown-container kbd::selection {
  307. background: rgba(0, 0, 0, 0);
  308. }
  309. .bytm-markdown-container code {
  310. background-color: #222;
  311. border-radius: 3px;
  312. padding: 1px 5px;
  313. font-family: var(--bytm-font-monospace);
  314. font-size: var(--bytm-font-size-monospace);
  315. }
  316. .bytm-markdown-container h2 {
  317. margin-bottom: 5px;
  318. }
  319. .bytm-markdown-container h2:not(:first-of-type) {
  320. margin-top: 30px;
  321. }
  322. .bytm-markdown-container ul li {
  323. padding-left: 0px;
  324. }
  325. .bytm-markdown-container ul li::marker {
  326. content: none;
  327. }
  328. .bytm-markdown-container ul li::before {
  329. content: "• ";
  330. font-weight: bolder;
  331. }
  332. .bytm-markdown-container ul li > ul li {
  333. padding-left: 16px;
  334. }
  335. .bytm-markdown-container ul li > ul li::marker {
  336. content: none;
  337. }
  338. .bytm-markdown-container ul li > ul li::before {
  339. white-space: pre-wrap;
  340. content: "• ";
  341. font-weight: bolder;
  342. }
  343. .bytm-markdown-container ul li > ul li > ul li {
  344. padding-left: 16px;
  345. }
  346. .bytm-markdown-container ul li > ul li > ul li::marker {
  347. content: none;
  348. }
  349. .bytm-markdown-container ul li > ul li > ul li::before {
  350. white-space: pre-wrap;
  351. content: "• ";
  352. font-weight: bolder;
  353. }
  354. .bytm-markdown-container .pr-link-cont {
  355. padding-top: 10px;
  356. }
  357. .bytm-markdown-container details {
  358. margin-top: 5px;
  359. }
  360. #bytm-feat-help-dialog-desc,
  361. #bytm-feat-help-dialog-text {
  362. overflow-wrap: break-word;
  363. white-space: pre-wrap;
  364. font-size: 1.5em;
  365. }
  366. #bytm-feat-help-dialog-desc {
  367. font-size: 1.65em;
  368. padding-bottom: 5px;
  369. }
  370. .bytm-ftitem-help-btn {
  371. width: 24px !important;
  372. height: 24px !important;
  373. }
  374. .bytm-ftitem-help-btn svg {
  375. width: 18px !important;
  376. height: 18px !important;
  377. }
  378. .bytm-ftitem-help-btn svg > path {
  379. fill: #b3bec7 !important;
  380. }
  381. hr {
  382. display: block;
  383. margin: 8px 0px 12px 0px;
  384. border: revert;
  385. }
  386. .bytm-ftitem-adornment {
  387. display: inline-flex;
  388. justify-content: flex-start;
  389. align-items: center;
  390. margin-right: 6px;
  391. }
  392. /* #region general */
  393. :root {
  394. --bytm-locale-color: #5ea2ec;
  395. --bytm-advanced-mode-color: #ceb663;
  396. --bytm-experimental-col: #cc83e5;
  397. --bytm-warning-col: #e5a63b;
  398. --bytm-error-col: #fa5b5b;
  399. --bytm-reload-col: #77e064;
  400. }
  401. /* TODO: after cfg menu migration, leave only dialog styles here */
  402. #bytm-cfg-dialog-bg,
  403. #bytm-cfg-menu-bg {
  404. --bytm-dialog-width-max: 1150px;
  405. --bytm-dialog-height-max: 900px;
  406. }
  407. /* Have to do it like this since various extensions use a pretty damn high z-index and since I haven't implemented top layer for dialogs yet (https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) */
  408. .bytm-dom-yt .bytm-dialog-bg,
  409. .bytm-dom-yt .bytm-menu-bg {
  410. z-index: 10042;
  411. }
  412. .bytm-dom-yt .bytm-dialog,
  413. .bytm-dom-yt .bytm-menu {
  414. z-index: 10069;
  415. }
  416. .bytm-dialog-body p {
  417. overflow-wrap: break-word;
  418. }
  419. .bytm-dialog-body details summary {
  420. cursor: pointer;
  421. font-style: italic;
  422. }
  423. .bytm-secondary-label {
  424. padding-left: 12px;
  425. font-size: 1.3rem;
  426. }
  427. /* #region version notification */
  428. #bytm-version-notif-dialog-btns {
  429. display: flex;
  430. flex-direction: row;
  431. align-items: center;
  432. justify-content: space-between;
  433. margin-top: 20px;
  434. }
  435. #bytm-disable-update-check-wrapper {
  436. display: flex;
  437. align-items: center;
  438. font-size: 1.5rem;
  439. margin-top: 35px;
  440. }
  441. #bytm-disable-update-check-wrapper label {
  442. padding-left: 12px;
  443. }
  444. #bytm-version-notif-changelog-cont {
  445. max-height: calc(max(var(--calc-max-height) - 280px, 0px));
  446. overflow-y: auto;
  447. margin: 10px 0px;
  448. }
  449. #bytm-version-notif-changelog-details {
  450. margin-top: 15px;
  451. }
  452. .bytm-disable-update-check-toggle-label-wrapper {
  453. display: flex;
  454. flex-direction: column;
  455. justify-content: flex-start;
  456. }
  457. /* #region cfg menu */
  458. .bytm-ftconf-adv-copy-btn {
  459. margin: 0px 10px;
  460. }
  461. .bytm-adorn-icon {
  462. display: inline-flex;
  463. align-items: center;
  464. }
  465. .bytm-adorn-icon[title] {
  466. cursor: help;
  467. }
  468. /* #region cfg menu adornments */
  469. .bytm-locale-icon svg path {
  470. fill: var(--bytm-locale-color, #fff);
  471. }
  472. .bytm-advanced-mode-icon svg path {
  473. fill: var(--bytm-advanced-mode-color, #fff);
  474. }
  475. .bytm-experimental-icon svg path {
  476. fill: var(--bytm-experimental-col, #fff);
  477. }
  478. .bytm-warning-icon svg {
  479. width: 24px;
  480. height: 24px;
  481. }
  482. .bytm-warning-icon svg path {
  483. fill: var(--bytm-warning-col, #fff);
  484. }
  485. .bytm-reload-icon svg path {
  486. fill: var(--bytm-reload-col, #fff);
  487. }
  488. /* #region welcome dialog */
  489. #bytm-welcome-menu-title-wrapper {
  490. display: flex;
  491. flex-direction: row;
  492. align-items: center;
  493. }
  494. #bytm-welcome-menu-title-logo {
  495. width: 32px;
  496. height: 32px;
  497. margin-right: 20px;
  498. }
  499. #bytm-welcome-menu-content-wrapper {
  500. overflow-y: auto;
  501. }
  502. #bytm-welcome-menu-locale-cont {
  503. display: flex;
  504. flex-direction: column;
  505. align-items: center;
  506. justify-content: flex-start;
  507. }
  508. #bytm-welcome-menu-locale-img {
  509. width: 80px;
  510. height: 80px;
  511. margin-bottom: 10px;
  512. }
  513. #bytm-welcome-menu-text-cont {
  514. margin-top: 16px;
  515. }
  516. #bytm-welcome-menu-text {
  517. font-size: 1.6rem;
  518. line-height: 20px;
  519. }
  520. #bytm-welcome-menu-locale-select {
  521. font-size: 1.6rem;
  522. }
  523. #bytm-welcome-menu-footer-cont {
  524. display: flex;
  525. justify-content: space-between;
  526. border-radius: 0px 0px var(--bytm-menu-border-radius)
  527. var(--bytm-menu-border-radius);
  528. }
  529. #bytm-auto-like-channels-dialog-body {
  530. padding-left: 0;
  531. padding-right: 0;
  532. padding-bottom: 0;
  533. }
  534. .bytm-toggle-input-wrapper {
  535. --toggle-height: 20px;
  536. --toggle-width: 40px;
  537. --toggle-knob-offset: 4px;
  538. --toggle-color-on: #3683d4;
  539. --toggle-color-off: #666;
  540. --toggle-knob-color: #f5f5f5;
  541. display: flex;
  542. align-items: center;
  543. }
  544. .bytm-toggle-input-wrapper .bytm-toggle-input-label {
  545. cursor: pointer;
  546. font-size: 1.5rem;
  547. padding: 3px 12px;
  548. }
  549. /* sauce: https://danklammer.com/articles/simple-css-toggle-switch/ */
  550. .bytm-toggle-input {
  551. display: flex;
  552. align-items: center;
  553. }
  554. .bytm-toggle-input input {
  555. appearance: none;
  556. display: inline-block;
  557. width: var(--toggle-width);
  558. height: var(--toggle-height);
  559. position: relative;
  560. border-radius: 50px;
  561. overflow: hidden;
  562. outline: none;
  563. border: none;
  564. margin: 0;
  565. padding: var(--toggle-knob-offset);
  566. cursor: pointer;
  567. background-color: var(--toggle-color-off);
  568. transition:
  569. justify-content 0.2s ease,
  570. background-color 0.2s ease;
  571. }
  572. .bytm-toggle-input input[data-toggled="true"] {
  573. background-color: var(--toggle-color-on);
  574. }
  575. .bytm-toggle-input input .bytm-toggle-input-knob {
  576. --toggle-knob-calc-width: calc(
  577. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  578. );
  579. --toggle-knob-calc-height: calc(
  580. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  581. );
  582. width: var(--toggle-knob-calc-width);
  583. height: var(--toggle-knob-calc-height);
  584. background-color: var(--toggle-knob-color);
  585. border-radius: 50%;
  586. position: absolute;
  587. top: 50%;
  588. transform: translateY(-50%);
  589. left: var(--toggle-knob-offset);
  590. transition: left 0.2s ease;
  591. }
  592. .bytm-toggle-input input[data-toggled="true"] .bytm-toggle-input-knob {
  593. left: calc(
  594. var(--toggle-width) - var(--toggle-knob-offset) -
  595. var(--toggle-knob-calc-width)
  596. );
  597. }
  598. #bytm-prompt-dialog-header {
  599. display: flex;
  600. flex-direction: row;
  601. align-items: center;
  602. }
  603. #bytm-prompt-dialog-header svg {
  604. width: 24px;
  605. height: 24px;
  606. }
  607. #bytm-prompt-dialog-upper-cont,
  608. #bytm-prompt-dialog-message {
  609. font-size: 1.6rem;
  610. white-space: pre-wrap;
  611. }
  612. .bytm-prompt-type-prompt #bytm-prompt-dialog-message {
  613. margin-bottom: 15px;
  614. }
  615. #bytm-prompt-dialog-input {
  616. font-size: 1.6rem;
  617. width: 100%;
  618. }
  619. #bytm-prompt-dialog-button-wrapper {
  620. display: flex;
  621. flex-direction: row;
  622. justify-content: flex-end;
  623. align-items: end;
  624. }
  625. #bytm-prompt-dialog-buttons-cont {
  626. display: flex;
  627. flex-direction: row;
  628. gap: 15px;
  629. }
  630. #bytm-prompt-dialog-buttons-cont button {
  631. cursor: pointer;
  632. }
  633. .bytm-prompt-dialog-button {
  634. padding: 2px 6px;
  635. font-size: 1.45rem;
  636. }
  637. :root {
  638. --bytm-toast-bg-color: #323232;
  639. --bytm-toast-text-color: #fff;
  640. --bytm-toast-offset-ver: 80px;
  641. --bytm-toast-offset-hor: 25px;
  642. --bytm-toast-transition-time: 0.5s;
  643. --bytm-toast-transform-distance: 175px;
  644. }
  645. #bytm-toast {
  646. position: fixed;
  647. z-index: 1042069;
  648. opacity: 0.000001;
  649. pointer-events: none;
  650. padding: 10px 16px;
  651. border-radius: 3px;
  652. font-size: 1.5rem;
  653. cursor: default;
  654. background-color: var(--bytm-toast-bg-color);
  655. color: var(--bytm-toast-text-color);
  656. box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  657. transition:
  658. opacity var(--bytm-toast-transition-time) ease,
  659. transform var(--bytm-toast-transition-time) ease;
  660. }
  661. #bytm-toast.clickable {
  662. cursor: pointer;
  663. }
  664. #bytm-toast.visible {
  665. pointer-events: auto;
  666. opacity: 1;
  667. }
  668. #bytm-toast.pos-tl {
  669. top: var(--bytm-toast-offset-ver);
  670. left: var(--bytm-toast-offset-hor);
  671. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  672. }
  673. #bytm-toast.pos-tr {
  674. top: var(--bytm-toast-offset-ver);
  675. right: var(--bytm-toast-offset-hor);
  676. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  677. }
  678. #bytm-toast.pos-br {
  679. bottom: var(--bytm-toast-offset-ver);
  680. right: var(--bytm-toast-offset-hor);
  681. transform: translate(0, var(--bytm-toast-transform-distance));
  682. }
  683. #bytm-toast.pos-bl {
  684. bottom: var(--bytm-toast-offset-ver);
  685. left: var(--bytm-toast-offset-hor);
  686. transform: translate(0, var(--bytm-toast-transform-distance));
  687. }
  688. #bytm-toast.visible.pos-tl,
  689. #bytm-toast.visible.pos-tr,
  690. #bytm-toast.visible.pos-br,
  691. #bytm-toast.visible.pos-bl {
  692. transform: translate(0, 0);
  693. }
  694. .bytm-toast-flex-wrapper {
  695. display: flex;
  696. flex-direction: row;
  697. align-items: center;
  698. gap: 10px;
  699. }
  700. .bytm-toast-icon.img,
  701. .bytm-toast-icon svg {
  702. width: 24px;
  703. height: 24px;
  704. }
  705. .bytm-toast-icon path {
  706. fill: var(--toast-icon-fill, #fff);
  707. }
  708. .bytm-toast-subtitle {
  709. color: #ccc;
  710. font-size: 1.2rem;
  711. font-weight: 400;
  712. }
  713. /* some variables are not defined on purpose to allow plugin authors to more easily provide overrides */
  714. /* use `body` prefix for more specificity: */
  715. body .bytm-ripple {
  716. position: relative;
  717. overflow: hidden;
  718. width: var(--bytm-ripple-width, auto);
  719. height: var(--bytm-ripple-height, auto);
  720. }
  721. body .bytm-ripple.fastest {
  722. --bytm-ripple-anim-duration: 0.15s;
  723. }
  724. body .bytm-ripple.fast {
  725. --bytm-ripple-anim-duration: 0.35s;
  726. }
  727. body .bytm-ripple.slow {
  728. --bytm-ripple-anim-duration: 0.75s;
  729. }
  730. body .bytm-ripple.slowest {
  731. --bytm-ripple-anim-duration: 1s;
  732. }
  733. .bytm-ripple-area {
  734. --bytm-ripple-min-size: 100px;
  735. /* --bytm-ripple-cont-width is added at runtime since there's no better way of getting the parent's width */
  736. --bytm-ripple-expanded-size: calc(
  737. max(
  738. var(--bytm-ripple-cont-width, var(--bytm-ripple-min-size)) * 2,
  739. var(--bytm-ripple-min-size)
  740. )
  741. );
  742. position: absolute;
  743. background: var(--bytm-ripple-color, rgba(255, 255, 255, 0.175));
  744. transform: translate(-50%, -50%);
  745. pointer-events: none;
  746. border-radius: 50%;
  747. animation: bytm-scale-ripple var(--bytm-ripple-anim-duration, 0.55s)
  748. cubic-bezier(0.375, 0.33, 0.225, 0.93);
  749. }
  750. @keyframes bytm-scale-ripple {
  751. 0% {
  752. width: 0;
  753. height: 0;
  754. opacity: 1;
  755. }
  756. 100% {
  757. width: var(--bytm-ripple-expanded-size, 100%);
  758. height: var(--bytm-ripple-expanded-size, 100%);
  759. opacity: 0;
  760. }
  761. }
  762. .bytm-exim-dialog-panes-cont {
  763. display: flex;
  764. flex-direction: row;
  765. justify-content: space-between;
  766. flex-wrap: nowrap;
  767. height: 100%;
  768. overflow: hidden;
  769. }
  770. .bytm-exim-dialog-pane {
  771. display: flex;
  772. flex-direction: column;
  773. gap: 12px;
  774. width: 48%;
  775. }
  776. .bytm-exim-dialog-center-btn-cont {
  777. display: flex;
  778. justify-content: center;
  779. }
  780. .bytm-exim-dialog-pane textarea {
  781. height: 120px;
  782. resize: none;
  783. }
  784. .bytm-auto-like-channels-footer-wrapper {
  785. display: flex;
  786. justify-content: space-between;
  787. }
  788. :root {
  789. --bytm-auto-like-btn-color: #bf87f0;
  790. }
  791. #bytm-auto-like-channels-list {
  792. display: flex;
  793. flex-direction: column;
  794. overflow-x: hidden;
  795. overflow-y: auto;
  796. white-space: nowrap;
  797. text-overflow: ellipsis;
  798. /* idk how else to get the scroll bar to show up correctly */
  799. max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)) - 300px);
  800. }
  801. .bytm-auto-like-channels-desc {
  802. padding: 0px 15px;
  803. white-space: pre-wrap;
  804. font-size: 1.6rem;
  805. margin-bottom: 10px;
  806. }
  807. .bytm-auto-like-channels-search-cont {
  808. display: flex;
  809. flex-direction: row;
  810. align-items: center;
  811. gap: 5px;
  812. padding: 0px 15px;
  813. margin-bottom: 10px;
  814. }
  815. .bytm-auto-like-channels-searchbar {
  816. min-width: calc(min(250px, 50%));
  817. }
  818. .bytm-auto-like-channel-row-left-cont {
  819. display: flex;
  820. align-items: center;
  821. gap: 10px;
  822. }
  823. .bytm-auto-like-channel-row {
  824. display: flex;
  825. justify-content: space-between;
  826. align-items: center;
  827. padding: 8px 15px;
  828. transition: background-color 0.15s ease-out;
  829. }
  830. .bytm-auto-like-channel-row.hidden {
  831. display: none;
  832. }
  833. .bytm-auto-like-channel-row:hover {
  834. background-color: var(--bytm-menu-bg-highlight);
  835. }
  836. .bytm-auto-like-channel-row
  837. .bytm-toggle-input-wrapper.bytm-auto-like-channel-toggle {
  838. --toggle-height: 18px !important;
  839. --toggle-width: 36px !important;
  840. }
  841. .bytm-auto-like-channel-row .bytm-generic-btn {
  842. --bytm-generic-btn-width: 30px;
  843. --bytm-generic-btn-height: 30px;
  844. }
  845. .bytm-auto-like-channel-name-label {
  846. display: flex;
  847. flex-direction: row;
  848. align-items: center;
  849. }
  850. .bytm-auto-like-channel-id {
  851. cursor: text;
  852. font-family: var(--bytm-font-monospace);
  853. font-size: 1.25rem;
  854. color: #aaa;
  855. margin-left: 10px;
  856. }
  857. /* add more specificity to override the default styles */
  858. .bytm-generic-btn.long.bytm-auto-like-toggle-btn {
  859. margin-right: 8px;
  860. border: 1px solid var(--bytm-auto-like-btn-color);
  861. box-sizing: border-box;
  862. background-color: transparent;
  863. transition: border-color 0.2s ease;
  864. animation: none;
  865. }
  866. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.left-margin {
  867. margin: 0 0 0 8px;
  868. }
  869. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.right-margin {
  870. margin: 0 8px 0 0;
  871. }
  872. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:hover {
  873. background-color: rgba(255, 255, 255, 0.1);
  874. }
  875. body.bytm-dom-ytm
  876. ytmusic-subscribe-button-renderer
  877. #button-shape-subscribe:hover
  878. > button {
  879. background-color: rgba(255, 255, 255, 0.1) !important;
  880. }
  881. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active {
  882. background-color: rgba(255, 255, 255, 0.2);
  883. }
  884. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active,
  885. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled {
  886. border-color: rgba(255, 255, 255, 0.2);
  887. }
  888. .bytm-generic-btn.long.bytm-auto-like-toggle-btn svg path {
  889. fill: var(--bytm-auto-like-btn-color);
  890. transition: fill 0.2s ease;
  891. }
  892. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active svg path,
  893. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled svg path {
  894. fill: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  895. }
  896. .bytm-generic-btn.long.bytm-auto-like-toggle-btn .bytm-generic-long-btn-txt {
  897. font-weight: 500;
  898. color: var(--bytm-auto-like-btn-color);
  899. transition: color 0.2s ease;
  900. }
  901. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active
  902. .bytm-generic-long-btn-txt,
  903. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled
  904. .bytm-generic-long-btn-txt {
  905. color: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  906. }
  907. #bytm-plugin-list-dialog-bg {
  908. --bytm-plugin-list-secondary-col: #c8c8c8;
  909. --bytm-plugin-list-row-padding-ver: 12px;
  910. --bytm-plugin-list-row-max-height: 130px;
  911. }
  912. #bytm-plugin-list-dialog-body {
  913. overflow-y: auto;
  914. max-height: 100%;
  915. }
  916. .bytm-plugin-list-no-plugins {
  917. font-size: 1.7rem;
  918. text-align: center;
  919. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  920. white-space: pre-wrap;
  921. }
  922. .bytm-plugin-list-row {
  923. display: flex;
  924. flex-direction: row;
  925. align-items: flex-start;
  926. justify-content: space-between;
  927. border-bottom: 1px solid var(--bytm-dialog-separator-color, #ccc);
  928. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  929. gap: 20px;
  930. }
  931. .bytm-plugin-list-row:first-child {
  932. padding-top: 0;
  933. }
  934. .bytm-plugin-list-row:last-child {
  935. border-bottom: none;
  936. padding-bottom: 0;
  937. }
  938. .bytm-plugin-list-row-header-wrapper {
  939. display: flex;
  940. flex-direction: row;
  941. align-items: flex-start;
  942. gap: 8px;
  943. margin-bottom: 5px;
  944. }
  945. .bytm-plugin-list-row-icon {
  946. width: 32px;
  947. height: 32px;
  948. overflow: hidden;
  949. display: flex;
  950. justify-content: center;
  951. align-items: center;
  952. }
  953. .bytm-plugin-list-row-left,
  954. .bytm-plugin-list-row-right {
  955. display: flex;
  956. flex-direction: column;
  957. }
  958. .bytm-plugin-list-row-title {
  959. display: inline-flex;
  960. flex-direction: row;
  961. justify-content: flex-start;
  962. align-items: flex-end;
  963. font-size: 1.6rem;
  964. font-weight: bold;
  965. margin-bottom: 1px;
  966. }
  967. .bytm-plugin-list-row-version {
  968. font-size: 1.25rem;
  969. font-weight: normal;
  970. color: var(--bytm-plugin-list-secondary-col);
  971. margin-left: 10px;
  972. }
  973. .bytm-plugin-list-row-namespace {
  974. font-size: 1.1rem;
  975. font-weight: 400;
  976. color: var(--bytm-plugin-list-secondary-col);
  977. }
  978. .bytm-plugin-list-row-desc {
  979. overflow-wrap: break-word;
  980. text-overflow: ellipsis;
  981. white-space: pre-wrap;
  982. overflow-x: hidden;
  983. max-height: calc(var(--bytm-plugin-list-row-max-height) - 30px);
  984. overflow-y: auto;
  985. }
  986. .bytm-plugin-list-row-links-list {
  987. font-size: 1.4rem;
  988. margin-top: 4px;
  989. }
  990. .bytm-plugin-list-row-links-list-bullet {
  991. margin: 0 5px;
  992. }
  993. .bytm-plugin-list-row-right {
  994. overflow-x: hidden;
  995. overflow-y: auto;
  996. text-overflow: ellipsis;
  997. white-space: nowrap;
  998. min-width: 25%;
  999. max-height: var(--bytm-plugin-list-row-max-height);
  1000. }
  1001. .bytm-plugin-list-row-permissions-header {
  1002. position: sticky;
  1003. top: 0;
  1004. background-color: var(--bytm-dialog-bg);
  1005. font-size: 1.4rem;
  1006. font-weight: bold;
  1007. padding-bottom: 5px;
  1008. }
  1009. .bytm-plugin-list-row-intent-item::before {
  1010. content: "•";
  1011. margin-right: 3px;
  1012. }
  1013. .bytm-plugin-list-row-intent-item {
  1014. cursor: help;
  1015. }
  1016. .bytm-hotkey-wrapper {
  1017. display: flex;
  1018. flex-direction: row;
  1019. align-items: center;
  1020. justify-content: flex-end;
  1021. }
  1022. .bytm-hotkey-reset {
  1023. font-size: 0.9em;
  1024. margin-right: 10px;
  1025. }
  1026. .bytm-hotkey-info {
  1027. font-size: 0.9em;
  1028. white-space: nowrap;
  1029. }
  1030. :root {
  1031. --bytm-menu-bg-highlight: #252525;
  1032. }
  1033. .bytm-menu-bg {
  1034. --bytm-menu-bg: #333333;
  1035. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  1036. --bytm-menu-separator-color: #797979;
  1037. --bytm-menu-border-radius: 10px;
  1038. }
  1039. .bytm-menu-bg {
  1040. display: block;
  1041. position: fixed;
  1042. width: 100%;
  1043. height: 100%;
  1044. top: 0;
  1045. left: 0;
  1046. z-index: 3005;
  1047. background-color: rgba(0, 0, 0, 0.6);
  1048. }
  1049. .bytm-menu {
  1050. position: fixed;
  1051. display: flex;
  1052. flex-direction: column;
  1053. width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
  1054. border-radius: var(--bytm-menu-border-radius);
  1055. height: auto;
  1056. max-height: calc(min(100% - 40px, var(--bytm-dialog-height-max)));
  1057. left: 50%;
  1058. top: 50%;
  1059. transform: translate(-50%, -50%);
  1060. z-index: 3006;
  1061. color: #fff;
  1062. background-color: var(--bytm-menu-bg);
  1063. }
  1064. .bytm-menu.top-aligned {
  1065. top: 0;
  1066. transform: translate(-50%, 40px);
  1067. }
  1068. .bytm-menu-body {
  1069. padding: 15px;
  1070. }
  1071. #bytm-menu-opts {
  1072. display: flex;
  1073. flex-direction: column;
  1074. position: relative;
  1075. padding: 15px 0px;
  1076. overflow-y: auto;
  1077. }
  1078. .bytm-menu-header {
  1079. display: flex;
  1080. justify-content: space-between;
  1081. align-items: center;
  1082. margin-bottom: 6px;
  1083. padding: 15px;
  1084. background-color: var(--bytm-menu-bg);
  1085. border: 2px solid var(--bytm-menu-separator-color);
  1086. border-style: none none solid none !important;
  1087. border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius)
  1088. 0px 0px;
  1089. }
  1090. .bytm-menu-header.small {
  1091. padding: 10px;
  1092. border-style: none none solid none !important;
  1093. }
  1094. .bytm-menu-title-logo-header-cont {
  1095. display: flex;
  1096. }
  1097. .bytm-cfg-menu-logo {
  1098. width: 32px;
  1099. height: 32px;
  1100. margin-right: 10px;
  1101. }
  1102. .bytm-menu-titlecont {
  1103. position: relative;
  1104. display: flex;
  1105. align-items: center;
  1106. }
  1107. .bytm-menu-titlecont-no-title {
  1108. display: flex;
  1109. justify-content: flex-end;
  1110. align-items: center;
  1111. }
  1112. .bytm-menu-title {
  1113. position: relative;
  1114. display: inline-block;
  1115. font-size: 22px;
  1116. }
  1117. #bytm-cfg-menu-bg .bytm-menu-title {
  1118. transform: translate(0px, -6px);
  1119. }
  1120. #bytm-cfg-menu {
  1121. --bytm-menu-subtitle-color: #c6d2db;
  1122. }
  1123. #bytm-menu-subtitle-cont {
  1124. width: 100%;
  1125. display: flex;
  1126. gap: 6px;
  1127. flex-direction: row;
  1128. justify-content: space-between;
  1129. align-items: end;
  1130. position: absolute;
  1131. bottom: -12px;
  1132. left: 0;
  1133. font-size: 10px;
  1134. font-weight: normal;
  1135. z-index: 3007;
  1136. }
  1137. #bytm-menu-subtitle-cont,
  1138. #bytm-menu-version-anchor {
  1139. color: var(--bytm-menu-subtitle-color) !important;
  1140. }
  1141. #bytm-menu-linkscont {
  1142. display: flex;
  1143. align-items: center;
  1144. margin-left: 32px;
  1145. }
  1146. .bytm-menu-link {
  1147. position: relative;
  1148. max-height: 32px;
  1149. max-width: 32px;
  1150. display: inline-flex;
  1151. flex-direction: column;
  1152. align-items: center;
  1153. cursor: pointer;
  1154. }
  1155. .bytm-menu-link:not(:last-of-type) {
  1156. margin-right: 10px;
  1157. }
  1158. .bytm-menu-link .bytm-menu-img {
  1159. width: 32px;
  1160. height: 32px;
  1161. border-radius: 50%;
  1162. padding: 0px;
  1163. transform: translateY(0px);
  1164. transition: transform 0.15s ease-out, padding 0.15s ease-out;
  1165. }
  1166. .bytm-menu-link:hover .bytm-menu-img {
  1167. padding: 7px;
  1168. transform: translateY(-14px);
  1169. }
  1170. .bytm-menu-link .extended-link {
  1171. visibility: hidden;
  1172. position: absolute;
  1173. top: 14px;
  1174. padding-top: 13px;
  1175. padding-bottom: 2px;
  1176. opacity: 0;
  1177. text-decoration: none;
  1178. color: var(--bytm-menu-subtitle-color) !important;
  1179. white-space: pre;
  1180. font-size: 1.1rem;
  1181. transition: visibility 0.15s ease-out, opacity 0.15s ease-out;
  1182. }
  1183. .bytm-menu-link:hover .extended-link {
  1184. visibility: visible;
  1185. opacity: 1;
  1186. }
  1187. .bytm-menu-close {
  1188. width: 32px;
  1189. height: 32px;
  1190. cursor: pointer;
  1191. }
  1192. .bytm-menu-close.small {
  1193. width: 24px;
  1194. height: 24px;
  1195. }
  1196. .bytm-menu-footer {
  1197. font-size: 17px;
  1198. text-decoration: underline;
  1199. }
  1200. .bytm-menu-footer.hidden {
  1201. display: none;
  1202. }
  1203. .bytm-menu-footer-cont {
  1204. display: flex;
  1205. flex-direction: row;
  1206. justify-content: space-between;
  1207. margin-top: 6px;
  1208. padding: 15px;
  1209. background: var(--bytm-menu-bg);
  1210. background: linear-gradient(
  1211. to bottom,
  1212. rgba(0, 0, 0, 0) 0%,
  1213. var(--bytm-menu-bg) 30%,
  1214. var(--bytm-menu-bg) 100%
  1215. );
  1216. border: 2px solid var(--bytm-menu-separator-color);
  1217. border-style: solid none none none !important;
  1218. border-radius: 0px 0px var(--bytm-menu-border-radius)
  1219. var(--bytm-menu-border-radius);
  1220. }
  1221. .bytm-menu-footer-buttons-cont button:not(:last-of-type) {
  1222. margin-right: 15px;
  1223. }
  1224. .bytm-menu-footer-right {
  1225. display: flex;
  1226. flex-direction: row-reverse;
  1227. align-items: center;
  1228. }
  1229. #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
  1230. margin-right: 15px;
  1231. }
  1232. #bytm-menu-scroll-indicator {
  1233. --bytm-scroll-indicator-padding: 5px;
  1234. position: sticky;
  1235. bottom: -15px;
  1236. left: 50%;
  1237. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  1238. padding: var(--bytm-scroll-indicator-padding);
  1239. transform: translateX(-50%);
  1240. width: 32px;
  1241. height: 32px;
  1242. z-index: 3007;
  1243. background-color: var(--bytm-scroll-indicator-bg);
  1244. border-radius: 50%;
  1245. cursor: pointer;
  1246. }
  1247. .bytm-hidden {
  1248. visibility: hidden !important;
  1249. }
  1250. .bytm-ftconf-category-header {
  1251. font-size: 20px;
  1252. margin-top: 32px;
  1253. margin-bottom: 8px;
  1254. padding: 0px 20px;
  1255. }
  1256. .bytm-ftconf-category-header:first-of-type {
  1257. margin-top: 0;
  1258. }
  1259. .bytm-ftitem {
  1260. display: flex;
  1261. flex-direction: row;
  1262. justify-content: space-between;
  1263. align-items: center;
  1264. font-size: 1.4rem;
  1265. padding: 8px 20px;
  1266. transition: background-color 0.15s ease-out;
  1267. }
  1268. .bytm-ftitem:hover {
  1269. background-color: var(--bytm-menu-bg-highlight);
  1270. }
  1271. .bytm-ftitem-leftside {
  1272. display: flex;
  1273. align-items: center;
  1274. min-height: 24px;
  1275. }
  1276. .bytm-ftconf-ctrl {
  1277. display: inline-flex;
  1278. align-items: center;
  1279. white-space: nowrap;
  1280. margin-left: 10px;
  1281. }
  1282. .bytm-ftconf-label {
  1283. user-select: none;
  1284. }
  1285. .bytm-slider-label {
  1286. margin-right: 10px;
  1287. }
  1288. .bytm-toggle-label {
  1289. padding-left: 10px;
  1290. padding-right: 5px;
  1291. }
  1292. .bytm-ftconf-input.bytm-hotkey-input {
  1293. cursor: pointer;
  1294. min-width: 50px;
  1295. }
  1296. .bytm-ftconf-input[type="number"] {
  1297. width: 75px;
  1298. }
  1299. .bytm-ftconf-input[type="checkbox"] {
  1300. margin-left: 5px;
  1301. }
  1302. #bytm-export-menu-text,
  1303. #bytm-import-menu-text {
  1304. white-space: pre-wrap;
  1305. font-size: 1.6rem;
  1306. margin-bottom: 15px;
  1307. }
  1308. .bytm-menu-footer-copied {
  1309. font-size: 1.6rem;
  1310. margin-right: 15px;
  1311. }
  1312. #bytm-changelog-menu-body {
  1313. overflow-y: auto;
  1314. }
  1315. .bytm-changelog-version-details:not(:first-of-type) {
  1316. margin-top: 15px;
  1317. }
  1318. .bytm-changelog-version-details summary h2 {
  1319. display: inline-block;
  1320. }
  1321. .bytm-changelog-version-details summary {
  1322. cursor: pointer;
  1323. }
  1324. .bytm-changelog-version-details summary::marker {
  1325. font-size: 2rem;
  1326. }
  1327. #bytm-export-menu-textarea,
  1328. #bytm-import-menu-textarea {
  1329. width: 100%;
  1330. height: 150px;
  1331. resize: none;
  1332. }
  1333. .bytm-markdown-container {
  1334. display: flex;
  1335. flex-direction: column;
  1336. overflow-y: auto;
  1337. font-size: 1.5rem;
  1338. line-height: 20px;
  1339. }
  1340. /* Markdown stuff */
  1341. .bytm-markdown-container kbd,
  1342. .bytm-kbd {
  1343. --bytm-kbd-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  1344. display: inline-block;
  1345. vertical-align: bottom;
  1346. padding: 3px;
  1347. font-family: var(--bytm-font-monospace);
  1348. font-size: 1.25rem;
  1349. line-height: 11px;
  1350. background-color: #222;
  1351. border: 1px solid #777;
  1352. border-radius: 5px;
  1353. box-shadow: inset 0 -2px 0 #515559;
  1354. transition: padding 0.1s var(--bytm-kbd-easing),
  1355. margin-top 0.1s var(--bytm-kbd-easing),
  1356. box-shadow 0.1s var(--bytm-kbd-easing);
  1357. }
  1358. .bytm-markdown-container kbd:active {
  1359. padding-bottom: 1px;
  1360. box-shadow: inset 0 0 0 initial;
  1361. }
  1362. .bytm-markdown-container kbd::selection {
  1363. background: rgba(0, 0, 0, 0);
  1364. }
  1365. .bytm-markdown-container code {
  1366. background-color: #222;
  1367. border-radius: 3px;
  1368. padding: 1px 5px;
  1369. font-family: var(--bytm-font-monospace);
  1370. font-size: var(--bytm-font-size-monospace);
  1371. }
  1372. .bytm-markdown-container h2 {
  1373. margin-bottom: 5px;
  1374. }
  1375. .bytm-markdown-container h2:not(:first-of-type) {
  1376. margin-top: 30px;
  1377. }
  1378. .bytm-markdown-container ul li {
  1379. padding-left: 0px;
  1380. }
  1381. .bytm-markdown-container ul li::marker {
  1382. content: none;
  1383. }
  1384. .bytm-markdown-container ul li::before {
  1385. content: "• ";
  1386. font-weight: bolder;
  1387. }
  1388. .bytm-markdown-container ul li > ul li {
  1389. padding-left: 16px;
  1390. }
  1391. .bytm-markdown-container ul li > ul li::marker {
  1392. content: none;
  1393. }
  1394. .bytm-markdown-container ul li > ul li::before {
  1395. white-space: pre-wrap;
  1396. content: "• ";
  1397. font-weight: bolder;
  1398. }
  1399. .bytm-markdown-container ul li > ul li > ul li {
  1400. padding-left: 16px;
  1401. }
  1402. .bytm-markdown-container ul li > ul li > ul li::marker {
  1403. content: none;
  1404. }
  1405. .bytm-markdown-container ul li > ul li > ul li::before {
  1406. white-space: pre-wrap;
  1407. content: "• ";
  1408. font-weight: bolder;
  1409. }
  1410. .bytm-markdown-container .pr-link-cont {
  1411. padding-top: 10px;
  1412. }
  1413. .bytm-markdown-container details {
  1414. margin-top: 5px;
  1415. }
  1416. #bytm-feat-help-dialog-desc,
  1417. #bytm-feat-help-dialog-text {
  1418. overflow-wrap: break-word;
  1419. white-space: pre-wrap;
  1420. font-size: 1.5rem;
  1421. line-height: 1.25em;
  1422. }
  1423. #bytm-feat-help-dialog-desc {
  1424. font-size: 1.8rem;
  1425. padding-bottom: 10px;
  1426. }
  1427. .bytm-ftitem-help-btn {
  1428. width: 24px !important;
  1429. height: 24px !important;
  1430. }
  1431. .bytm-ftitem-help-btn svg {
  1432. width: 18px !important;
  1433. height: 18px !important;
  1434. }
  1435. .bytm-ftitem-help-btn svg > path {
  1436. fill: #b3bec7 !important;
  1437. }
  1438. hr {
  1439. display: block;
  1440. margin: 8px 0px 12px 0px;
  1441. border: revert;
  1442. }
  1443. /* #region misc */
  1444. :root {
  1445. --bytm-font-monospace: "Cousine", "Consolas", monospace;
  1446. --bytm-font-size-monospace: 1.4rem;
  1447. }
  1448. html:not([dark]) {
  1449. --bytm-themed-icon-col: #000;
  1450. }
  1451. html[dark] {
  1452. --bytm-themed-icon-col: #fff;
  1453. }
  1454. .bytm-disable-scroll {
  1455. overflow: hidden !important;
  1456. }
  1457. .bytm-ellipsis {
  1458. text-overflow: ellipsis;
  1459. text-wrap: nowrap;
  1460. white-space: nowrap;
  1461. overflow: hidden;
  1462. }
  1463. .bytm-ellipsis-wrap {
  1464. text-overflow: ellipsis;
  1465. overflow: hidden;
  1466. text-wrap: auto;
  1467. white-space: normal;
  1468. }
  1469. /* #region generic (circular) button */
  1470. .bytm-generic-btn {
  1471. --bytm-generic-btn-width: 36px;
  1472. --bytm-generic-btn-height: 36px;
  1473. display: inline-flex;
  1474. align-items: center;
  1475. justify-content: center;
  1476. position: relative;
  1477. vertical-align: middle;
  1478. cursor: pointer;
  1479. margin-left: 8px;
  1480. white-space: nowrap;
  1481. text-overflow: ellipsis;
  1482. user-select: none;
  1483. min-width: var(--bytm-generic-btn-width);
  1484. max-width: var(--bytm-generic-btn-width);
  1485. min-height: var(--bytm-generic-btn-height);
  1486. max-height: var(--bytm-generic-btn-height);
  1487. border: 1px solid transparent;
  1488. border-radius: calc(var(--bytm-generic-btn-height, 36px) / 2);
  1489. background-color: transparent;
  1490. transition: background-color 0.2s ease;
  1491. }
  1492. .bytm-generic-btn:hover {
  1493. background-color: rgba(255, 255, 255, 0.2);
  1494. }
  1495. .bytm-generic-btn:active {
  1496. animation: bytm-flash-border 0.4s ease 1;
  1497. }
  1498. @keyframes bytm-flash-border {
  1499. 0% {
  1500. border: 1px solid initial;
  1501. }
  1502. 25% {
  1503. border: 1px solid rgba(255, 255, 255, 0.4);
  1504. }
  1505. 100% {
  1506. border: 1px solid initial;
  1507. }
  1508. }
  1509. .bytm-generic-btn:not(.bytm-toggle):active {
  1510. background-color: rgba(255, 255, 255, 0.3);
  1511. }
  1512. .bytm-generic-btn.long {
  1513. --bytm-generic-btn-width: calc(min(136px, fit-content));
  1514. padding: 0px 14px;
  1515. line-height: 36px;
  1516. display: inline-flex;
  1517. align-items: center;
  1518. justify-content: center;
  1519. position: relative;
  1520. vertical-align: middle;
  1521. cursor: pointer;
  1522. margin-left: 0px;
  1523. border: 1px solid #999;
  1524. }
  1525. .bytm-generic-btn.long:hover {
  1526. background-color: rgba(255, 255, 255, 0.2);
  1527. }
  1528. .bytm-generic-btn.long .bytm-generic-btn-img.left {
  1529. margin-right: 8px;
  1530. }
  1531. .bytm-generic-btn.long .bytm-generic-btn-img.right {
  1532. margin-left: 8px;
  1533. }
  1534. .bytm-generic-long-btn-txt {
  1535. font-size: 14px;
  1536. }
  1537. .bytm-ftitem-help-btn.bytm-generic-btn {
  1538. --bytm-generic-btn-width: 24px;
  1539. --bytm-generic-btn-height: 24px;
  1540. }
  1541. .bytm-generic-btn-img {
  1542. display: inline-block;
  1543. z-index: 1;
  1544. width: 24px;
  1545. height: 24px;
  1546. }
  1547. .bytm-dom-yt .bytm-generic-btn-img path {
  1548. /* YT has both dark and light theme, YTM only dark */
  1549. fill: var(--bytm-themed-icon-col, #fff);
  1550. }
  1551. .bytm-spinner {
  1552. animation: rotate 1.2s linear infinite;
  1553. }
  1554. @keyframes rotate {
  1555. from {
  1556. transform: rotate(0deg);
  1557. }
  1558. to {
  1559. transform: rotate(360deg);
  1560. }
  1561. }
  1562. .bytm-anchor {
  1563. all: unset;
  1564. cursor: pointer;
  1565. }
  1566. /* ytmusic-logo a[bytm-animated="true"] .bytm-mod-logo-ellipse {
  1567. transform-origin: 12px 12px;
  1568. animation: rotate 1s ease-in-out infinite;
  1569. } */
  1570. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-path {
  1571. transform-origin: 12px 12px;
  1572. animation: rotate 1s ease-in-out;
  1573. }
  1574. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
  1575. width: 24px;
  1576. height: 24px;
  1577. z-index: 1000;
  1578. position: absolute;
  1579. animation: rotate-fade-in 1s ease-in-out;
  1580. }
  1581. @keyframes rotate-fade-in {
  1582. 0% {
  1583. opacity: 0;
  1584. transform: rotate(0deg);
  1585. }
  1586. 30% {
  1587. opacity: 0;
  1588. }
  1589. 90% {
  1590. opacity: 1;
  1591. }
  1592. 100% {
  1593. transform: rotate(360deg);
  1594. }
  1595. }
  1596. .bytm-no-select {
  1597. user-select: none;
  1598. -ms-user-select: none;
  1599. -moz-user-select: none;
  1600. -webkit-user-select: none;
  1601. }
  1602. /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
  1603. button.bytm-btn {
  1604. padding: revert;
  1605. border: revert;
  1606. outline: revert;
  1607. font: revert;
  1608. text-transform: revert;
  1609. color: revert;
  1610. background: revert;
  1611. cursor: pointer;
  1612. line-height: 1.4em;
  1613. }
  1614. .bytm-link,
  1615. .bytm-markdown-container a {
  1616. color: #369bff !important;
  1617. text-decoration: none !important;
  1618. cursor: pointer;
  1619. }
  1620. .bytm-link:hover,
  1621. .bytm-markdown-container a:hover {
  1622. color: #369bff !important;
  1623. text-decoration: underline !important;
  1624. }
  1625. button[disabled] {
  1626. cursor: not-allowed;
  1627. }
  1628. button[disabled].bytm-busy {
  1629. cursor: progress;
  1630. }
  1631. /* #region menu */
  1632. .bytm-cfg-menu-option {
  1633. display: block;
  1634. padding: 8px 0;
  1635. }
  1636. .bytm-cfg-menu-option-item {
  1637. display: flex;
  1638. flex-direction: row;
  1639. align-items: center;
  1640. font-size: 1.4rem;
  1641. font-weight: 400;
  1642. line-height: 24px;
  1643. padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
  1644. min-height: var(--paper-item-min-height, 40px);
  1645. white-space: nowrap;
  1646. cursor: pointer;
  1647. }
  1648. .bytm-cfg-menu-option-item:hover {
  1649. background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
  1650. }
  1651. .bytm-cfg-menu-option-icon {
  1652. width: 24px;
  1653. height: 24px;
  1654. margin-right: 16px;
  1655. display: flex;
  1656. align-items: center;
  1657. flex-direction: row;
  1658. flex: none;
  1659. }
  1660. .bytm-cfg-menu-option-text {
  1661. font-size: 1.4rem;
  1662. line-height: 2rem;
  1663. }
  1664. yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
  1665. border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
  1666. }
  1667. .bytm-yt-cfg-menu-option {
  1668. position: relative;
  1669. width: calc(100% - 12px);
  1670. }
  1671. .bytm-yt-cfg-menu-option-inner {
  1672. display: flex;
  1673. flex-direction: row;
  1674. justify-content: flex-start;
  1675. align-items: center;
  1676. min-height: var(--paper-item-min-height, 48px);
  1677. max-width: calc(100% - 12px);
  1678. padding: 0px 12px;
  1679. border-radius: var(--paper-item-focused-before-border-radius, 10px);
  1680. cursor: pointer;
  1681. background-color: transparent;
  1682. transition: background-color 0.2s ease;
  1683. }
  1684. .bytm-yt-cfg-menu-option-inner:hover {
  1685. background-color: var(
  1686. --yt-spec-badge-chip-background,
  1687. rgba(255, 255, 255, 0.1)
  1688. );
  1689. }
  1690. .bytm-yt-cfg-menu-option-icon {
  1691. display: flex;
  1692. align-items: center;
  1693. flex-direction: row;
  1694. width: 24px;
  1695. height: 24px;
  1696. margin-right: 24px;
  1697. }
  1698. .bytm-yt-cfg-menu-option-item {
  1699. width: 100%;
  1700. color: #fff;
  1701. font-size: 14px;
  1702. }
  1703. .bytm-yt-cfg-menu-option-item:hover {
  1704. /* Support for "Enhancer for YouTube" extension's custom themes */
  1705. color: var(--main-color, #fff) !important;
  1706. }
  1707. /* #region watermark */
  1708. #bytm-watermark {
  1709. font-size: 10px;
  1710. display: inline-block;
  1711. position: absolute;
  1712. left: 97px;
  1713. top: 45px;
  1714. z-index: 10;
  1715. color: #f1f1f1;
  1716. text-decoration: none;
  1717. cursor: pointer;
  1718. }
  1719. #bytm-watermark:hover {
  1720. text-decoration: underline;
  1721. }
  1722. /* #region above queue btns */
  1723. #bytm-above-queue-btn-cont {
  1724. display: flex;
  1725. flex-direction: row;
  1726. justify-content: center;
  1727. align-items: center;
  1728. flex-wrap: nowrap;
  1729. height: 100%;
  1730. }
  1731. #bytm-above-queue-btn-wrapper {
  1732. white-space: nowrap;
  1733. }
  1734. .bytm-above-queue-btn {
  1735. width: 32px;
  1736. height: 32px;
  1737. margin-left: 0;
  1738. margin-right: 8px;
  1739. }
  1740. /* #region scroll to active */
  1741. #bytm-scroll-to-active-btn-cont {
  1742. display: flex;
  1743. flex-direction: column;
  1744. justify-content: center;
  1745. align-items: center;
  1746. height: 100%;
  1747. }
  1748. #bytm-scroll-to-active-btn-cont.hidden {
  1749. display: none;
  1750. }
  1751. #bytm-scroll-to-active-btn {
  1752. display: inline-flex;
  1753. align-items: center;
  1754. justify-content: center;
  1755. border-radius: 50%;
  1756. cursor: pointer;
  1757. }
  1758. #bytm-scroll-to-active-btn {
  1759. width: revert;
  1760. height: revert;
  1761. }
  1762. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1763. padding: 4px;
  1764. }
  1765. /* #region thumbnail */
  1766. #bytm-thumbnail-overlay {
  1767. position: absolute;
  1768. top: 0;
  1769. left: 0;
  1770. width: 100%;
  1771. height: 100%;
  1772. display: none;
  1773. background-color: #030303;
  1774. z-index: 0;
  1775. border-radius: var(--ts-songimg-border-radius, initial);
  1776. }
  1777. #bytm-thumbnail-overlay-img {
  1778. position: relative;
  1779. width: 100%;
  1780. height: 100%;
  1781. border-radius: inherit;
  1782. box-shadow: var(--ts-songimg-box-shadow, initial);
  1783. }
  1784. #bytm-thumbnail-overlay-indicator {
  1785. position: absolute;
  1786. bottom: 16px;
  1787. right: 16px;
  1788. width: calc(min(56px, 100% - 16px));
  1789. height: calc(min(56px, 100% - 16px));
  1790. z-index: 1;
  1791. cursor: help;
  1792. filter: drop-shadow(0 0 3px #000);
  1793. }
  1794. ytmusic-player#player #bezel {
  1795. z-index: 1;
  1796. }
  1797. /* #region auto-like */
  1798. .bytm-vote-label {
  1799. cursor: pointer;
  1800. font-size: 1.25rem;
  1801. padding: 6px;
  1802. padding-left: 3px;
  1803. }
  1804. ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
  1805. color: white;
  1806. }
  1807. .bytm-vote-label:last-child {
  1808. padding-right: 0px;
  1809. }
  1810. /* #region fullscreen player bar */
  1811. /* Increase specificity to override YTM's default styles without having to use !important */
  1812. :root
  1813. body.bytm-dom-ytm
  1814. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1815. ytmusic-player-bar[slot="player-bar"] {
  1816. width: 100%;
  1817. /* ...except in this case because of the ThemeSong extension: */
  1818. background: rgba(0, 0, 0, 0.35) !important;
  1819. backdrop-filter: blur(10px) brightness(90%);
  1820. }
  1821. :root
  1822. body.bytm-dom-ytm
  1823. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1824. ytmusic-player-bar[slot="player-bar"]
  1825. .ytmusic-menu-renderer
  1826. svg
  1827. path,
  1828. :root
  1829. body.bytm-dom-ytm
  1830. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1831. ytmusic-player-bar[slot="player-bar"]
  1832. tp-yt-paper-icon-button
  1833. svg
  1834. path {
  1835. fill: #fff;
  1836. }
  1837. :root
  1838. body.bytm-dom-ytm
  1839. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1840. ytmusic-player-bar[slot="player-bar"]
  1841. .time-info {
  1842. color: #fff;
  1843. }
  1844. :root {
  1845. --bytm-themed-bg-col: var(--ts-playerpage-color, #030303);
  1846. }
  1847. #ts-visualizer-container #ThemeSong-Visualizer canvas {
  1848. /* Fix for the thumbnail overlay */
  1849. z-index: 1;
  1850. }
  1851. /* #region queue buttons */
  1852. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1853. position: relative;
  1854. }
  1855. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1856. background: rgba(255, 255, 255, 0.1);
  1857. background: linear-gradient(
  1858. 90deg,
  1859. rgba(0, 0, 0, 0) 0%,
  1860. var(--bytm-themed-bg-col) 15%
  1861. );
  1862. display: none;
  1863. position: absolute;
  1864. right: 0;
  1865. padding-left: 25px;
  1866. height: 100%;
  1867. }
  1868. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1869. background: linear-gradient(
  1870. 90deg,
  1871. rgba(0, 0, 0, 0) 0%,
  1872. var(--bytm-themesong-bg-accent-col, #1d1d1d) 15%
  1873. );
  1874. }
  1875. .bytm-generic-list-queue-btn-container {
  1876. /* otherwise the queue buttons render over the currently playing song page */
  1877. z-index: 1;
  1878. }
  1879. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1880. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1881. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1882. /* same thing but with :focus-within */
  1883. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1884. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1885. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container {
  1886. display: inline-flex;
  1887. align-items: center;
  1888. }
  1889. ytmusic-responsive-list-item-renderer .title-column {
  1890. align-items: center;
  1891. }
  1892. ytmusic-app
  1893. ytmusic-popup-container
  1894. tp-yt-iron-dropdown[data-bytm-hidden="true"] {
  1895. display: none !important;
  1896. }
  1897. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1898. .bytm-generic-list-queue-btn-container {
  1899. visibility: hidden;
  1900. }
  1901. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1902. .bytm-generic-list-queue-btn-container
  1903. a.bytm-generic-btn {
  1904. visibility: hidden !important;
  1905. }
  1906. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1907. .bytm-generic-list-queue-btn-container,
  1908. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1909. .bytm-generic-list-queue-btn-container {
  1910. visibility: visible;
  1911. }
  1912. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1913. .bytm-generic-list-queue-btn-container
  1914. a.bytm-generic-btn,
  1915. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1916. .bytm-generic-list-queue-btn-container
  1917. a.bytm-generic-btn {
  1918. visibility: visible !important;
  1919. }
  1920. /* #region volume slider */
  1921. .bytm-vol-slider-cont {
  1922. position: relative;
  1923. }
  1924. .bytm-vol-slider-label {
  1925. --bytm-slider-label-bg-col: var(
  1926. --ytmusic-player-bar-background,
  1927. var(--bytm-themed-bg-col)
  1928. );
  1929. position: absolute;
  1930. top: 50%;
  1931. left: 0;
  1932. transform: translate(calc(-50% - 11px), -50%);
  1933. display: flex;
  1934. flex-direction: row;
  1935. align-items: center;
  1936. gap: 5px;
  1937. background-color: var(--bytm-slider-label-bg-col);
  1938. background: linear-gradient(
  1939. 90deg,
  1940. rgba(0, 0, 0, 0) 0%,
  1941. var(--bytm-slider-label-bg-col) 20%
  1942. );
  1943. font-size: 1.4rem;
  1944. text-align: right;
  1945. padding: 15px;
  1946. padding-right: 5px;
  1947. opacity: 0.000001;
  1948. transition: opacity 0.2s ease;
  1949. }
  1950. .bytm-vol-slider-label.has-icon {
  1951. transform: translate(calc(-50% - 25px), -50%);
  1952. }
  1953. .bytm-vol-slider-label svg {
  1954. padding: 4px;
  1955. }
  1956. .bytm-vol-slider-label svg path {
  1957. fill: #909090;
  1958. }
  1959. .bytm-vol-slider-label.bytm-visible {
  1960. opacity: 1;
  1961. }
  1962. :root
  1963. body.bytm-dom-ytm
  1964. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1965. .bytm-vol-slider-label {
  1966. color: #fff;
  1967. }
  1968. .bytm-vol-slider-shared {
  1969. display: flex;
  1970. flex-direction: row;
  1971. align-items: center;
  1972. }
  1973. .bytm-vol-slider-shared svg {
  1974. width: 20px;
  1975. height: 20px;
  1976. }