BetterYTM.css 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364
  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. .bytm-disable-scroll {
  1461. overflow: hidden !important;
  1462. }
  1463. .bytm-ellipsis {
  1464. text-overflow: ellipsis;
  1465. text-wrap: nowrap;
  1466. white-space: nowrap;
  1467. overflow: hidden;
  1468. }
  1469. .bytm-ellipsis-wrap {
  1470. text-overflow: ellipsis;
  1471. overflow: hidden;
  1472. text-wrap: auto;
  1473. white-space: normal;
  1474. }
  1475. /* #region generic (circular) button */
  1476. .bytm-generic-btn {
  1477. --bytm-generic-btn-width: 36px;
  1478. --bytm-generic-btn-height: 36px;
  1479. display: inline-flex;
  1480. align-items: center;
  1481. justify-content: center;
  1482. position: relative;
  1483. vertical-align: middle;
  1484. cursor: pointer;
  1485. margin-left: 8px;
  1486. white-space: nowrap;
  1487. text-overflow: ellipsis;
  1488. user-select: none;
  1489. min-width: var(--bytm-generic-btn-width);
  1490. max-width: var(--bytm-generic-btn-width);
  1491. min-height: var(--bytm-generic-btn-height);
  1492. max-height: var(--bytm-generic-btn-height);
  1493. border: 1px solid transparent;
  1494. border-radius: calc(var(--bytm-generic-btn-height, 36px) / 2);
  1495. background-color: transparent;
  1496. transition: background-color 0.2s ease;
  1497. }
  1498. .bytm-generic-btn:hover {
  1499. background-color: rgba(255, 255, 255, 0.2);
  1500. }
  1501. .bytm-generic-btn:active {
  1502. animation: bytm-flash-border 0.4s ease 1;
  1503. }
  1504. @keyframes bytm-flash-border {
  1505. 0% {
  1506. border: 1px solid initial;
  1507. }
  1508. 25% {
  1509. border: 1px solid rgba(255, 255, 255, 0.4);
  1510. }
  1511. 100% {
  1512. border: 1px solid initial;
  1513. }
  1514. }
  1515. .bytm-generic-btn:not(.bytm-toggle):active {
  1516. background-color: rgba(255, 255, 255, 0.3);
  1517. }
  1518. .bytm-generic-btn.long {
  1519. --bytm-generic-btn-width: calc(min(136px, fit-content));
  1520. padding: 0px 14px;
  1521. line-height: 36px;
  1522. display: inline-flex;
  1523. align-items: center;
  1524. justify-content: center;
  1525. position: relative;
  1526. vertical-align: middle;
  1527. cursor: pointer;
  1528. margin-left: 0px;
  1529. border: 1px solid #999;
  1530. }
  1531. .bytm-generic-btn.long:hover {
  1532. background-color: rgba(255, 255, 255, 0.2);
  1533. }
  1534. .bytm-generic-btn.long .bytm-generic-btn-img.left {
  1535. margin-right: 8px;
  1536. }
  1537. .bytm-generic-btn.long .bytm-generic-btn-img.right {
  1538. margin-left: 8px;
  1539. }
  1540. .bytm-generic-long-btn-txt {
  1541. font-size: 14px;
  1542. }
  1543. .bytm-ftitem-help-btn.bytm-generic-btn {
  1544. --bytm-generic-btn-width: 24px;
  1545. --bytm-generic-btn-height: 24px;
  1546. }
  1547. .bytm-generic-btn-img {
  1548. display: inline-block;
  1549. z-index: 1;
  1550. width: 24px;
  1551. height: 24px;
  1552. }
  1553. .bytm-spinner {
  1554. animation: rotate 1.2s linear infinite;
  1555. }
  1556. @keyframes rotate {
  1557. from {
  1558. transform: rotate(0deg);
  1559. }
  1560. to {
  1561. transform: rotate(360deg);
  1562. }
  1563. }
  1564. .bytm-anchor {
  1565. all: unset;
  1566. cursor: pointer;
  1567. }
  1568. /* ytmusic-logo a[bytm-animated="true"] .bytm-mod-logo-ellipse {
  1569. transform-origin: 12px 12px;
  1570. animation: rotate 1s ease-in-out infinite;
  1571. } */
  1572. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-path {
  1573. transform-origin: 12px 12px;
  1574. animation: rotate 1s ease-in-out;
  1575. }
  1576. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
  1577. width: 24px;
  1578. height: 24px;
  1579. z-index: 1000;
  1580. position: absolute;
  1581. animation: rotate-fade-in 1s ease-in-out;
  1582. }
  1583. @keyframes rotate-fade-in {
  1584. 0% {
  1585. opacity: 0;
  1586. transform: rotate(0deg);
  1587. }
  1588. 30% {
  1589. opacity: 0;
  1590. }
  1591. 90% {
  1592. opacity: 1;
  1593. }
  1594. 100% {
  1595. transform: rotate(360deg);
  1596. }
  1597. }
  1598. .bytm-no-select {
  1599. user-select: none;
  1600. -ms-user-select: none;
  1601. -moz-user-select: none;
  1602. -webkit-user-select: none;
  1603. }
  1604. /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
  1605. button.bytm-btn {
  1606. padding: revert;
  1607. border: revert;
  1608. outline: revert;
  1609. font: revert;
  1610. text-transform: revert;
  1611. color: revert;
  1612. background: revert;
  1613. cursor: pointer;
  1614. line-height: 1.4em;
  1615. }
  1616. .bytm-link,
  1617. .bytm-markdown-container a {
  1618. color: #369bff !important;
  1619. text-decoration: none !important;
  1620. cursor: pointer;
  1621. }
  1622. .bytm-link:hover,
  1623. .bytm-markdown-container a:hover {
  1624. color: #369bff !important;
  1625. text-decoration: underline !important;
  1626. }
  1627. button[disabled] {
  1628. cursor: not-allowed;
  1629. }
  1630. button[disabled].bytm-busy {
  1631. cursor: progress;
  1632. }
  1633. /* #region menu */
  1634. .bytm-cfg-menu-option {
  1635. display: block;
  1636. padding: 8px 0;
  1637. }
  1638. .bytm-cfg-menu-option-item {
  1639. display: flex;
  1640. flex-direction: row;
  1641. align-items: center;
  1642. font-size: 1.4rem;
  1643. font-weight: 400;
  1644. line-height: 24px;
  1645. padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
  1646. min-height: var(--paper-item-min-height, 40px);
  1647. white-space: nowrap;
  1648. cursor: pointer;
  1649. }
  1650. .bytm-cfg-menu-option-item:hover {
  1651. background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
  1652. }
  1653. .bytm-cfg-menu-option-icon {
  1654. width: 24px;
  1655. height: 24px;
  1656. margin-right: 16px;
  1657. display: flex;
  1658. align-items: center;
  1659. flex-direction: row;
  1660. flex: none;
  1661. }
  1662. .bytm-cfg-menu-option-text {
  1663. font-size: 1.4rem;
  1664. line-height: 2rem;
  1665. }
  1666. yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
  1667. border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
  1668. }
  1669. .bytm-yt-cfg-menu-option {
  1670. position: relative;
  1671. width: calc(100% - 12px);
  1672. }
  1673. .bytm-yt-cfg-menu-option-inner {
  1674. display: flex;
  1675. flex-direction: row;
  1676. justify-content: flex-start;
  1677. align-items: center;
  1678. min-height: var(--paper-item-min-height, 48px);
  1679. max-width: calc(100% - 12px);
  1680. padding: 0px 12px;
  1681. border-radius: var(--paper-item-focused-before-border-radius, 10px);
  1682. cursor: pointer;
  1683. background-color: transparent;
  1684. transition: background-color 0.2s ease;
  1685. }
  1686. .bytm-yt-cfg-menu-option-inner:hover {
  1687. background-color: var(
  1688. --yt-spec-badge-chip-background,
  1689. rgba(255, 255, 255, 0.1)
  1690. );
  1691. }
  1692. .bytm-yt-cfg-menu-option-icon {
  1693. display: flex;
  1694. align-items: center;
  1695. flex-direction: row;
  1696. width: 24px;
  1697. height: 24px;
  1698. margin-right: 24px;
  1699. }
  1700. .bytm-yt-cfg-menu-option-item {
  1701. width: 100%;
  1702. color: #fff;
  1703. font-size: 14px;
  1704. }
  1705. .bytm-yt-cfg-menu-option-item:hover {
  1706. /* Support for "Enhancer for YouTube" extension's custom themes */
  1707. color: var(--main-color, #fff) !important;
  1708. }
  1709. /* #region watermark */
  1710. #bytm-watermark {
  1711. font-size: 10px;
  1712. display: inline-block;
  1713. position: absolute;
  1714. left: 97px;
  1715. top: 45px;
  1716. z-index: 10;
  1717. color: #f1f1f1;
  1718. text-decoration: none;
  1719. cursor: pointer;
  1720. }
  1721. #bytm-watermark:hover {
  1722. text-decoration: underline;
  1723. }
  1724. /* #region above queue btns */
  1725. #bytm-above-queue-btn-cont {
  1726. display: flex;
  1727. flex-direction: row;
  1728. justify-content: center;
  1729. align-items: center;
  1730. flex-wrap: nowrap;
  1731. height: 100%;
  1732. }
  1733. #bytm-above-queue-btn-wrapper {
  1734. white-space: nowrap;
  1735. }
  1736. .bytm-above-queue-btn {
  1737. width: 32px;
  1738. height: 32px;
  1739. margin-left: 0;
  1740. margin-right: 8px;
  1741. }
  1742. /* #region scroll to active */
  1743. #bytm-scroll-to-active-btn-cont {
  1744. display: flex;
  1745. flex-direction: column;
  1746. justify-content: center;
  1747. align-items: center;
  1748. height: 100%;
  1749. }
  1750. #bytm-scroll-to-active-btn-cont.hidden {
  1751. display: none;
  1752. }
  1753. #bytm-scroll-to-active-btn {
  1754. display: inline-flex;
  1755. align-items: center;
  1756. justify-content: center;
  1757. border-radius: 50%;
  1758. cursor: pointer;
  1759. }
  1760. #bytm-scroll-to-active-btn {
  1761. width: revert;
  1762. height: revert;
  1763. }
  1764. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1765. padding: 4px;
  1766. }
  1767. /* #region thumbnail */
  1768. #bytm-thumbnail-overlay {
  1769. position: absolute;
  1770. top: 0;
  1771. left: 0;
  1772. width: 100%;
  1773. height: 100%;
  1774. display: none;
  1775. background-color: #030303;
  1776. z-index: 0;
  1777. border-radius: var(--ts-songimg-border-radius, initial);
  1778. }
  1779. #bytm-thumbnail-overlay-img {
  1780. position: relative;
  1781. width: 100%;
  1782. height: 100%;
  1783. border-radius: inherit;
  1784. box-shadow: var(--ts-songimg-box-shadow, initial);
  1785. }
  1786. #bytm-thumbnail-overlay-indicator {
  1787. position: absolute;
  1788. bottom: 16px;
  1789. right: 16px;
  1790. width: calc(min(56px, 100% - 16px));
  1791. height: calc(min(56px, 100% - 16px));
  1792. z-index: 1;
  1793. cursor: help;
  1794. filter: drop-shadow(0 0 3px #000);
  1795. }
  1796. ytmusic-player#player #bezel {
  1797. z-index: 1;
  1798. }
  1799. /* #region auto-like */
  1800. .bytm-vote-label {
  1801. cursor: pointer;
  1802. font-size: 1.25rem;
  1803. padding: 6px;
  1804. padding-left: 3px;
  1805. }
  1806. ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
  1807. color: white;
  1808. }
  1809. .bytm-vote-label:last-child {
  1810. padding-right: 0px;
  1811. }
  1812. /* #region fullscreen player bar */
  1813. /* Increase specificity to override YTM's default styles without having to use !important */
  1814. :root
  1815. body.bytm-dom-ytm
  1816. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1817. ytmusic-player-bar[slot="player-bar"] {
  1818. width: 100%;
  1819. /* ...except in this case because of the ThemeSong extension: */
  1820. background: rgba(0, 0, 0, 0.35) !important;
  1821. backdrop-filter: blur(10px) brightness(90%);
  1822. }
  1823. :root
  1824. body.bytm-dom-ytm
  1825. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1826. ytmusic-player-bar[slot="player-bar"]
  1827. .ytmusic-menu-renderer
  1828. svg
  1829. path,
  1830. :root
  1831. body.bytm-dom-ytm
  1832. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1833. ytmusic-player-bar[slot="player-bar"]
  1834. tp-yt-paper-icon-button
  1835. svg
  1836. path {
  1837. fill: #fff;
  1838. }
  1839. :root
  1840. body.bytm-dom-ytm
  1841. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1842. ytmusic-player-bar[slot="player-bar"]
  1843. .time-info {
  1844. color: #fff;
  1845. }
  1846. :root {
  1847. --bytm-themed-bg: var(--ts-playerpage-color, #030303);
  1848. }
  1849. #ts-visualizer-container #ThemeSong-Visualizer canvas {
  1850. /* Fix for the thumbnail overlay */
  1851. z-index: 1;
  1852. }
  1853. /* #region queue buttons */
  1854. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1855. position: relative;
  1856. }
  1857. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1858. background: rgba(255, 255, 255, 0.1);
  1859. background: linear-gradient(
  1860. 90deg,
  1861. rgba(0, 0, 0, 0) 0%,
  1862. var(--bytm-themed-bg) 15%
  1863. );
  1864. display: none;
  1865. position: absolute;
  1866. right: 0;
  1867. padding-left: 25px;
  1868. height: 100%;
  1869. }
  1870. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1871. background: linear-gradient(
  1872. 90deg,
  1873. rgba(0, 0, 0, 0) 0%,
  1874. var(--bytm-themesong-bg-accent-col, #1d1d1d) 15%
  1875. );
  1876. }
  1877. .bytm-generic-list-queue-btn-container {
  1878. /* otherwise the queue buttons render over the currently playing song page */
  1879. z-index: 1;
  1880. }
  1881. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1882. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1883. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1884. /* same thing but with :focus-within */
  1885. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1886. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1887. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container {
  1888. display: inline-flex;
  1889. align-items: center;
  1890. }
  1891. ytmusic-responsive-list-item-renderer .title-column {
  1892. align-items: center;
  1893. }
  1894. ytmusic-app
  1895. ytmusic-popup-container
  1896. tp-yt-iron-dropdown[data-bytm-hidden="true"] {
  1897. display: none !important;
  1898. }
  1899. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1900. .bytm-generic-list-queue-btn-container {
  1901. visibility: hidden;
  1902. }
  1903. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1904. .bytm-generic-list-queue-btn-container
  1905. a.bytm-generic-btn {
  1906. visibility: hidden !important;
  1907. }
  1908. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1909. .bytm-generic-list-queue-btn-container,
  1910. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1911. .bytm-generic-list-queue-btn-container {
  1912. visibility: visible;
  1913. }
  1914. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1915. .bytm-generic-list-queue-btn-container
  1916. a.bytm-generic-btn,
  1917. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1918. .bytm-generic-list-queue-btn-container
  1919. a.bytm-generic-btn {
  1920. visibility: visible !important;
  1921. }
  1922. /* #region volume slider */
  1923. .bytm-vol-slider-cont {
  1924. position: relative;
  1925. }
  1926. .bytm-vol-slider-label {
  1927. --bytm-slider-label-bg-col: var(
  1928. --ytmusic-player-bar-background,
  1929. var(--bytm-themed-bg)
  1930. );
  1931. position: absolute;
  1932. top: 50%;
  1933. left: 0;
  1934. transform: translate(calc(-50% - 11px), -50%);
  1935. display: flex;
  1936. flex-direction: row;
  1937. align-items: center;
  1938. gap: 5px;
  1939. background-color: var(--bytm-slider-label-bg-col);
  1940. background: linear-gradient(
  1941. 90deg,
  1942. rgba(0, 0, 0, 0) 0%,
  1943. var(--bytm-slider-label-bg-col) 20%
  1944. );
  1945. font-size: 1.4rem;
  1946. text-align: right;
  1947. padding: 15px;
  1948. padding-right: 5px;
  1949. opacity: 0.000001;
  1950. transition: opacity 0.2s ease;
  1951. }
  1952. .bytm-vol-slider-label.has-icon {
  1953. transform: translate(calc(-50% - 25px), -50%);
  1954. }
  1955. .bytm-vol-slider-label svg {
  1956. padding: 4px;
  1957. }
  1958. .bytm-vol-slider-label svg path {
  1959. fill: #909090;
  1960. }
  1961. .bytm-vol-slider-label.bytm-visible {
  1962. opacity: 1;
  1963. }
  1964. :root
  1965. body.bytm-dom-ytm
  1966. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1967. .bytm-vol-slider-label {
  1968. color: #fff;
  1969. }
  1970. .bytm-vol-slider-shared {
  1971. display: flex;
  1972. flex-direction: row;
  1973. align-items: center;
  1974. }
  1975. .bytm-vol-slider-shared svg {
  1976. width: 20px;
  1977. height: 20px;
  1978. }