BetterYTM.css 45 KB

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