BetterYTM.css 46 KB

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