BetterYTM.css 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373
  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.fastest {
  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.slowest {
  555. --bytm-ripple-anim-duration: 1s;
  556. }
  557. .bytm-ripple-area {
  558. --bytm-ripple-min-size: 100px;
  559. /* --bytm-ripple-cont-width is added at runtime since there's no better way of getting the parent's width */
  560. --bytm-ripple-expanded-size: calc(
  561. max(
  562. var(--bytm-ripple-cont-width, var(--bytm-ripple-min-size)) * 2,
  563. var(--bytm-ripple-min-size)
  564. )
  565. );
  566. position: absolute;
  567. background: var(--bytm-ripple-color, rgba(255, 255, 255, 0.175));
  568. transform: translate(-50%, -50%);
  569. pointer-events: none;
  570. border-radius: 50%;
  571. animation: bytm-scale-ripple var(--bytm-ripple-anim-duration, 0.55s)
  572. cubic-bezier(0.375, 0.33, 0.225, 0.93);
  573. }
  574. @keyframes bytm-scale-ripple {
  575. 0% {
  576. width: 0;
  577. height: 0;
  578. opacity: 1;
  579. }
  580. 100% {
  581. width: var(--bytm-ripple-expanded-size, 100%);
  582. height: var(--bytm-ripple-expanded-size, 100%);
  583. opacity: 0;
  584. }
  585. }
  586. .bytm-exim-dialog-panes-cont {
  587. display: flex;
  588. flex-direction: row;
  589. justify-content: space-between;
  590. flex-wrap: nowrap;
  591. height: 100%;
  592. overflow: hidden;
  593. }
  594. .bytm-exim-dialog-pane {
  595. display: flex;
  596. flex-direction: column;
  597. gap: 12px;
  598. width: 48%;
  599. }
  600. .bytm-exim-dialog-center-btn-cont {
  601. display: flex;
  602. justify-content: center;
  603. }
  604. .bytm-exim-dialog-pane textarea {
  605. height: 120px;
  606. resize: none;
  607. }
  608. .bytm-hotkey-wrapper {
  609. display: flex;
  610. flex-direction: row;
  611. align-items: center;
  612. justify-content: flex-end;
  613. }
  614. .bytm-hotkey-reset {
  615. font-size: 0.9em;
  616. margin-right: 10px;
  617. }
  618. .bytm-hotkey-info {
  619. font-size: 0.9em;
  620. white-space: nowrap;
  621. }
  622. :root {
  623. --bytm-toast-bg-color: #323232;
  624. --bytm-toast-text-color: #fff;
  625. --bytm-toast-offset-ver: 80px;
  626. --bytm-toast-offset-hor: 25px;
  627. --bytm-toast-transition-time: 0.5s;
  628. --bytm-toast-transform-distance: 175px;
  629. }
  630. #bytm-toast {
  631. position: fixed;
  632. z-index: 1042069;
  633. opacity: 0.000001;
  634. pointer-events: none;
  635. padding: 10px 16px;
  636. border-radius: 3px;
  637. font-size: 1.5rem;
  638. cursor: default;
  639. background-color: var(--bytm-toast-bg-color);
  640. color: var(--bytm-toast-text-color);
  641. box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  642. transition:
  643. opacity var(--bytm-toast-transition-time) ease,
  644. transform var(--bytm-toast-transition-time) ease;
  645. }
  646. #bytm-toast.clickable {
  647. cursor: pointer;
  648. }
  649. #bytm-toast.visible {
  650. pointer-events: auto;
  651. opacity: 1;
  652. }
  653. #bytm-toast.pos-tl {
  654. top: var(--bytm-toast-offset-ver);
  655. left: var(--bytm-toast-offset-hor);
  656. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  657. }
  658. #bytm-toast.pos-tr {
  659. top: var(--bytm-toast-offset-ver);
  660. right: var(--bytm-toast-offset-hor);
  661. transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
  662. }
  663. #bytm-toast.pos-br {
  664. bottom: var(--bytm-toast-offset-ver);
  665. right: var(--bytm-toast-offset-hor);
  666. transform: translate(0, var(--bytm-toast-transform-distance));
  667. }
  668. #bytm-toast.pos-bl {
  669. bottom: var(--bytm-toast-offset-ver);
  670. left: var(--bytm-toast-offset-hor);
  671. transform: translate(0, var(--bytm-toast-transform-distance));
  672. }
  673. #bytm-toast.visible.pos-tl,
  674. #bytm-toast.visible.pos-tr,
  675. #bytm-toast.visible.pos-br,
  676. #bytm-toast.visible.pos-bl {
  677. transform: translate(0, 0);
  678. }
  679. .bytm-toast-flex-wrapper {
  680. display: flex;
  681. flex-direction: row;
  682. align-items: center;
  683. gap: 10px;
  684. }
  685. .bytm-toast-icon.img,
  686. .bytm-toast-icon svg {
  687. width: 24px;
  688. height: 24px;
  689. }
  690. .bytm-toast-icon path {
  691. fill: var(--toast-icon-fill, #fff);
  692. }
  693. .bytm-toast-subtitle {
  694. color: #ccc;
  695. font-size: 1.2rem;
  696. font-weight: 400;
  697. }
  698. .bytm-toggle-input-wrapper {
  699. --toggle-height: 20px;
  700. --toggle-width: 40px;
  701. --toggle-knob-offset: 4px;
  702. --toggle-color-on: #3683d4;
  703. --toggle-color-off: #666;
  704. --toggle-knob-color: #f5f5f5;
  705. display: flex;
  706. align-items: center;
  707. }
  708. .bytm-toggle-input-wrapper .bytm-toggle-input-label {
  709. cursor: pointer;
  710. font-size: 1.5rem;
  711. padding: 3px 12px;
  712. }
  713. /* sauce: https://danklammer.com/articles/simple-css-toggle-switch/ */
  714. .bytm-toggle-input {
  715. display: flex;
  716. align-items: center;
  717. }
  718. .bytm-toggle-input input {
  719. appearance: none;
  720. display: inline-block;
  721. width: var(--toggle-width);
  722. height: var(--toggle-height);
  723. position: relative;
  724. border-radius: 50px;
  725. overflow: hidden;
  726. outline: none;
  727. border: none;
  728. margin: 0;
  729. padding: var(--toggle-knob-offset);
  730. cursor: pointer;
  731. background-color: var(--toggle-color-off);
  732. transition:
  733. justify-content 0.2s ease,
  734. background-color 0.2s ease;
  735. }
  736. .bytm-toggle-input input[data-toggled="true"] {
  737. background-color: var(--toggle-color-on);
  738. }
  739. .bytm-toggle-input input .bytm-toggle-input-knob {
  740. --toggle-knob-calc-width: calc(
  741. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  742. );
  743. --toggle-knob-calc-height: calc(
  744. var(--toggle-height) - (var(--toggle-knob-offset) * 2)
  745. );
  746. width: var(--toggle-knob-calc-width);
  747. height: var(--toggle-knob-calc-height);
  748. background-color: var(--toggle-knob-color);
  749. border-radius: 50%;
  750. position: absolute;
  751. top: 50%;
  752. transform: translateY(-50%);
  753. left: var(--toggle-knob-offset);
  754. transition: left 0.2s ease;
  755. }
  756. .bytm-toggle-input input[data-toggled="true"] .bytm-toggle-input-knob {
  757. left: calc(
  758. var(--toggle-width) - var(--toggle-knob-offset) -
  759. var(--toggle-knob-calc-width)
  760. );
  761. }
  762. .bytm-auto-like-channels-footer-wrapper {
  763. display: flex;
  764. justify-content: space-between;
  765. }
  766. #bytm-prompt-dialog-header {
  767. display: flex;
  768. flex-direction: row;
  769. align-items: center;
  770. }
  771. #bytm-prompt-dialog-header svg {
  772. width: 24px;
  773. height: 24px;
  774. }
  775. #bytm-prompt-dialog-upper-cont,
  776. #bytm-prompt-dialog-message {
  777. font-size: 1.6rem;
  778. white-space: pre-wrap;
  779. }
  780. .bytm-prompt-type-prompt #bytm-prompt-dialog-message {
  781. margin-bottom: 15px;
  782. }
  783. #bytm-prompt-dialog-input {
  784. font-size: 1.6rem;
  785. width: 100%;
  786. }
  787. #bytm-prompt-dialog-button-wrapper {
  788. display: flex;
  789. flex-direction: row;
  790. justify-content: flex-end;
  791. align-items: end;
  792. }
  793. #bytm-prompt-dialog-buttons-cont {
  794. display: flex;
  795. flex-direction: row;
  796. gap: 15px;
  797. }
  798. #bytm-prompt-dialog-buttons-cont button {
  799. cursor: pointer;
  800. }
  801. .bytm-prompt-dialog-button {
  802. padding: 2px 6px;
  803. font-size: 1.45rem;
  804. }
  805. #bytm-plugin-list-dialog-bg {
  806. --bytm-plugin-list-secondary-col: #c8c8c8;
  807. --bytm-plugin-list-row-padding-ver: 12px;
  808. --bytm-plugin-list-row-max-height: 130px;
  809. }
  810. #bytm-plugin-list-dialog-body {
  811. overflow-y: auto;
  812. max-height: 100%;
  813. }
  814. .bytm-plugin-list-no-plugins {
  815. font-size: 1.7rem;
  816. text-align: center;
  817. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  818. white-space: pre-wrap;
  819. }
  820. .bytm-plugin-list-row {
  821. display: flex;
  822. flex-direction: row;
  823. align-items: flex-start;
  824. justify-content: space-between;
  825. border-bottom: 1px solid var(--bytm-dialog-separator-color, #ccc);
  826. padding: var(--bytm-plugin-list-row-padding-ver) 0px;
  827. gap: 20px;
  828. }
  829. .bytm-plugin-list-row:first-child {
  830. padding-top: 0;
  831. }
  832. .bytm-plugin-list-row:last-child {
  833. border-bottom: none;
  834. padding-bottom: 0;
  835. }
  836. .bytm-plugin-list-row-header-wrapper {
  837. display: flex;
  838. flex-direction: row;
  839. align-items: flex-start;
  840. gap: 8px;
  841. margin-bottom: 5px;
  842. }
  843. .bytm-plugin-list-row-icon {
  844. width: 32px;
  845. height: 32px;
  846. overflow: hidden;
  847. display: flex;
  848. justify-content: center;
  849. align-items: center;
  850. }
  851. .bytm-plugin-list-row-left,
  852. .bytm-plugin-list-row-right {
  853. display: flex;
  854. flex-direction: column;
  855. }
  856. .bytm-plugin-list-row-title {
  857. display: inline-flex;
  858. flex-direction: row;
  859. justify-content: flex-start;
  860. align-items: flex-end;
  861. font-size: 1.6rem;
  862. font-weight: bold;
  863. margin-bottom: 1px;
  864. }
  865. .bytm-plugin-list-row-version {
  866. font-size: 1.25rem;
  867. font-weight: normal;
  868. color: var(--bytm-plugin-list-secondary-col);
  869. margin-left: 10px;
  870. }
  871. .bytm-plugin-list-row-namespace {
  872. font-size: 1.1rem;
  873. font-weight: 400;
  874. color: var(--bytm-plugin-list-secondary-col);
  875. }
  876. .bytm-plugin-list-row-desc {
  877. overflow-wrap: break-word;
  878. text-overflow: ellipsis;
  879. white-space: pre-wrap;
  880. overflow-x: hidden;
  881. max-height: calc(var(--bytm-plugin-list-row-max-height) - 30px);
  882. overflow-y: auto;
  883. }
  884. .bytm-plugin-list-row-links-list {
  885. font-size: 1.4rem;
  886. margin-top: 4px;
  887. }
  888. .bytm-plugin-list-row-links-list-bullet {
  889. margin: 0 5px;
  890. }
  891. .bytm-plugin-list-row-right {
  892. overflow-x: hidden;
  893. overflow-y: auto;
  894. text-overflow: ellipsis;
  895. white-space: nowrap;
  896. min-width: 25%;
  897. max-height: var(--bytm-plugin-list-row-max-height);
  898. }
  899. .bytm-plugin-list-row-permissions-header {
  900. position: sticky;
  901. top: 0;
  902. background-color: var(--bytm-dialog-bg);
  903. font-size: 1.4rem;
  904. font-weight: bold;
  905. padding-bottom: 5px;
  906. }
  907. .bytm-plugin-list-row-intent-item::before {
  908. content: "•";
  909. margin-right: 3px;
  910. }
  911. .bytm-plugin-list-row-intent-item {
  912. cursor: help;
  913. }
  914. :root {
  915. --bytm-menu-bg-highlight: #252525;
  916. }
  917. .bytm-menu-bg {
  918. --bytm-menu-bg: #333333;
  919. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  920. --bytm-menu-separator-color: #797979;
  921. --bytm-menu-border-radius: 10px;
  922. }
  923. .bytm-menu-bg {
  924. display: block;
  925. position: fixed;
  926. width: 100%;
  927. height: 100%;
  928. top: 0;
  929. left: 0;
  930. z-index: 5;
  931. background-color: rgba(0, 0, 0, 0.6);
  932. }
  933. .bytm-menu {
  934. position: fixed;
  935. display: flex;
  936. flex-direction: column;
  937. width: calc(min(100% - 60px, var(--bytm-menu-width-max)));
  938. border-radius: var(--bytm-menu-border-radius);
  939. height: auto;
  940. max-height: calc(min(100% - 40px, var(--bytm-menu-height-max)));
  941. left: 50%;
  942. top: 50%;
  943. transform: translate(-50%, -50%);
  944. z-index: 6;
  945. color: #fff;
  946. background-color: var(--bytm-menu-bg);
  947. }
  948. .bytm-menu.top-aligned {
  949. top: 0;
  950. transform: translate(-50%, 40px);
  951. }
  952. .bytm-menu-body {
  953. padding: 15px;
  954. }
  955. #bytm-menu-opts {
  956. display: flex;
  957. flex-direction: column;
  958. position: relative;
  959. padding: 15px 0px;
  960. overflow-y: auto;
  961. }
  962. .bytm-menu-header {
  963. display: flex;
  964. justify-content: space-between;
  965. align-items: center;
  966. margin-bottom: 6px;
  967. padding: 15px;
  968. background-color: var(--bytm-menu-bg);
  969. border: 2px solid var(--bytm-menu-separator-color);
  970. border-style: none none solid none !important;
  971. border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius)
  972. 0px 0px;
  973. }
  974. .bytm-menu-header.small {
  975. padding: 10px;
  976. border-style: none none solid none !important;
  977. }
  978. .bytm-menu-title-logo-header-cont {
  979. display: flex;
  980. }
  981. .bytm-cfg-menu-logo {
  982. width: 32px;
  983. height: 32px;
  984. margin-right: 10px;
  985. }
  986. .bytm-menu-titlecont {
  987. position: relative;
  988. display: flex;
  989. align-items: center;
  990. }
  991. .bytm-menu-titlecont-no-title {
  992. display: flex;
  993. justify-content: flex-end;
  994. align-items: center;
  995. }
  996. .bytm-menu-title {
  997. position: relative;
  998. display: inline-block;
  999. font-size: 22px;
  1000. }
  1001. #bytm-cfg-menu-bg .bytm-menu-title {
  1002. transform: translate(0px, -6px);
  1003. }
  1004. #bytm-cfg-menu {
  1005. --bytm-menu-subtitle-color: #c6d2db;
  1006. }
  1007. #bytm-menu-subtitle-cont {
  1008. width: 100%;
  1009. display: flex;
  1010. gap: 6px;
  1011. flex-direction: row;
  1012. justify-content: space-between;
  1013. align-items: end;
  1014. position: absolute;
  1015. bottom: -12px;
  1016. left: 0;
  1017. font-size: 10px;
  1018. font-weight: normal;
  1019. z-index: 7;
  1020. }
  1021. #bytm-menu-subtitle-cont,
  1022. #bytm-menu-version-anchor {
  1023. color: var(--bytm-menu-subtitle-color) !important;
  1024. }
  1025. #bytm-menu-linkscont {
  1026. display: flex;
  1027. align-items: center;
  1028. margin-left: 32px;
  1029. }
  1030. .bytm-menu-link {
  1031. position: relative;
  1032. max-height: 32px;
  1033. max-width: 32px;
  1034. display: inline-flex;
  1035. flex-direction: column;
  1036. align-items: center;
  1037. cursor: pointer;
  1038. }
  1039. .bytm-menu-link:not(:last-of-type) {
  1040. margin-right: 10px;
  1041. }
  1042. .bytm-menu-link .bytm-menu-img {
  1043. width: 32px;
  1044. height: 32px;
  1045. border-radius: 50%;
  1046. padding: 0px;
  1047. transform: translateY(0px);
  1048. transition:
  1049. transform 0.15s ease-out,
  1050. padding 0.15s ease-out;
  1051. }
  1052. .bytm-menu-link:hover .bytm-menu-img {
  1053. padding: 7px;
  1054. transform: translateY(-14px);
  1055. }
  1056. .bytm-menu-link .extended-link {
  1057. visibility: hidden;
  1058. position: absolute;
  1059. top: 14px;
  1060. padding-top: 13px;
  1061. padding-bottom: 2px;
  1062. opacity: 0;
  1063. text-decoration: none;
  1064. color: var(--bytm-menu-subtitle-color) !important;
  1065. white-space: pre;
  1066. font-size: 1.1rem;
  1067. transition:
  1068. visibility 0.15s ease-out,
  1069. opacity 0.15s ease-out;
  1070. }
  1071. .bytm-menu-link:hover .extended-link {
  1072. visibility: visible;
  1073. opacity: 1;
  1074. }
  1075. .bytm-menu-close {
  1076. width: 32px;
  1077. height: 32px;
  1078. cursor: pointer;
  1079. }
  1080. .bytm-menu-close.small {
  1081. width: 24px;
  1082. height: 24px;
  1083. }
  1084. .bytm-menu-footer {
  1085. font-size: 17px;
  1086. text-decoration: underline;
  1087. }
  1088. .bytm-menu-footer.hidden {
  1089. display: none;
  1090. }
  1091. .bytm-menu-footer-cont {
  1092. display: flex;
  1093. flex-direction: row;
  1094. justify-content: space-between;
  1095. margin-top: 6px;
  1096. padding: 15px;
  1097. background: var(--bytm-menu-bg);
  1098. background: linear-gradient(
  1099. to bottom,
  1100. rgba(0, 0, 0, 0) 0%,
  1101. var(--bytm-menu-bg) 30%,
  1102. var(--bytm-menu-bg) 100%
  1103. );
  1104. border: 2px solid var(--bytm-menu-separator-color);
  1105. border-style: solid none none none !important;
  1106. border-radius: 0px 0px var(--bytm-menu-border-radius)
  1107. var(--bytm-menu-border-radius);
  1108. }
  1109. .bytm-menu-footer-buttons-cont button:not(:last-of-type) {
  1110. margin-right: 15px;
  1111. }
  1112. .bytm-menu-footer-right {
  1113. display: flex;
  1114. flex-direction: row-reverse;
  1115. align-items: center;
  1116. }
  1117. #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
  1118. margin-right: 15px;
  1119. }
  1120. #bytm-menu-scroll-indicator {
  1121. --bytm-scroll-indicator-padding: 5px;
  1122. position: sticky;
  1123. bottom: -15px;
  1124. left: 50%;
  1125. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  1126. padding: var(--bytm-scroll-indicator-padding);
  1127. transform: translateX(-50%);
  1128. width: 32px;
  1129. height: 32px;
  1130. z-index: 7;
  1131. background-color: var(--bytm-scroll-indicator-bg);
  1132. border-radius: 50%;
  1133. cursor: pointer;
  1134. }
  1135. .bytm-hidden {
  1136. visibility: hidden !important;
  1137. }
  1138. .bytm-ftconf-category-header {
  1139. font-size: 20px;
  1140. margin-top: 32px;
  1141. margin-bottom: 8px;
  1142. padding: 0px 20px;
  1143. }
  1144. .bytm-ftconf-category-header:first-of-type {
  1145. margin-top: 0;
  1146. }
  1147. .bytm-ftitem {
  1148. display: flex;
  1149. flex-direction: row;
  1150. justify-content: space-between;
  1151. align-items: center;
  1152. font-size: 1.4rem;
  1153. padding: 8px 20px;
  1154. transition: background-color 0.15s ease-out;
  1155. }
  1156. .bytm-ftitem:hover {
  1157. background-color: var(--bytm-menu-bg-highlight);
  1158. }
  1159. .bytm-ftitem-leftside {
  1160. display: flex;
  1161. align-items: center;
  1162. min-height: 24px;
  1163. }
  1164. .bytm-ftconf-ctrl {
  1165. display: inline-flex;
  1166. align-items: center;
  1167. white-space: nowrap;
  1168. margin-left: 10px;
  1169. }
  1170. .bytm-ftconf-label {
  1171. user-select: none;
  1172. }
  1173. .bytm-slider-label {
  1174. margin-right: 10px;
  1175. }
  1176. .bytm-toggle-label {
  1177. padding-left: 10px;
  1178. padding-right: 5px;
  1179. }
  1180. .bytm-ftconf-input.bytm-hotkey-input {
  1181. cursor: pointer;
  1182. min-width: 50px;
  1183. }
  1184. .bytm-ftconf-input[type="number"] {
  1185. width: 75px;
  1186. }
  1187. .bytm-ftconf-input[type="checkbox"] {
  1188. margin-left: 5px;
  1189. }
  1190. #bytm-export-menu-text,
  1191. #bytm-import-menu-text {
  1192. white-space: pre-wrap;
  1193. font-size: 1.6rem;
  1194. margin-bottom: 15px;
  1195. }
  1196. .bytm-menu-footer-copied {
  1197. font-size: 1.6rem;
  1198. margin-right: 15px;
  1199. }
  1200. #bytm-changelog-menu-body {
  1201. overflow-y: auto;
  1202. }
  1203. .bytm-changelog-version-details:not(:first-of-type) {
  1204. margin-top: 15px;
  1205. }
  1206. .bytm-changelog-version-details summary h2 {
  1207. display: inline-block;
  1208. }
  1209. .bytm-changelog-version-details summary {
  1210. cursor: pointer;
  1211. }
  1212. .bytm-changelog-version-details summary::marker {
  1213. font-size: 2rem;
  1214. }
  1215. #bytm-export-menu-textarea,
  1216. #bytm-import-menu-textarea {
  1217. width: 100%;
  1218. height: 150px;
  1219. resize: none;
  1220. }
  1221. .bytm-markdown-container {
  1222. display: flex;
  1223. flex-direction: column;
  1224. overflow-y: auto;
  1225. font-size: 1.5rem;
  1226. line-height: 20px;
  1227. }
  1228. /* Markdown stuff */
  1229. .bytm-markdown-container kbd,
  1230. .bytm-kbd {
  1231. --bytm-kbd-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  1232. display: inline-block;
  1233. vertical-align: bottom;
  1234. padding: 3px;
  1235. font-family: var(--bytm-font-monospace);
  1236. font-size: 1.25rem;
  1237. line-height: 11px;
  1238. background-color: #222;
  1239. border: 1px solid #777;
  1240. border-radius: 5px;
  1241. box-shadow: inset 0 -2px 0 #515559;
  1242. transition:
  1243. padding 0.1s var(--bytm-kbd-easing),
  1244. margin-top 0.1s var(--bytm-kbd-easing),
  1245. box-shadow 0.1s var(--bytm-kbd-easing);
  1246. }
  1247. .bytm-markdown-container kbd:active {
  1248. padding-bottom: 1px;
  1249. box-shadow: inset 0 0 0 initial;
  1250. }
  1251. .bytm-markdown-container kbd::selection {
  1252. background: rgba(0, 0, 0, 0);
  1253. }
  1254. .bytm-markdown-container code {
  1255. background-color: #222;
  1256. border-radius: 3px;
  1257. padding: 1px 5px;
  1258. font-family: var(--bytm-font-monospace);
  1259. font-size: var(--bytm-font-size-monospace);
  1260. }
  1261. .bytm-markdown-container h2 {
  1262. margin-bottom: 5px;
  1263. }
  1264. .bytm-markdown-container h2:not(:first-of-type) {
  1265. margin-top: 30px;
  1266. }
  1267. .bytm-markdown-container ul li {
  1268. padding-left: 0px;
  1269. }
  1270. .bytm-markdown-container ul li::marker {
  1271. content: none;
  1272. }
  1273. .bytm-markdown-container ul li::before {
  1274. content: "• ";
  1275. font-weight: bolder;
  1276. }
  1277. .bytm-markdown-container ul li > ul li {
  1278. padding-left: 16px;
  1279. }
  1280. .bytm-markdown-container ul li > ul li::marker {
  1281. content: none;
  1282. }
  1283. .bytm-markdown-container ul li > ul li::before {
  1284. white-space: pre-wrap;
  1285. content: "• ";
  1286. font-weight: bolder;
  1287. }
  1288. .bytm-markdown-container ul li > ul li > ul li {
  1289. padding-left: 16px;
  1290. }
  1291. .bytm-markdown-container ul li > ul li > ul li::marker {
  1292. content: none;
  1293. }
  1294. .bytm-markdown-container ul li > ul li > ul li::before {
  1295. white-space: pre-wrap;
  1296. content: "• ";
  1297. font-weight: bolder;
  1298. }
  1299. .bytm-markdown-container .pr-link-cont {
  1300. padding-top: 10px;
  1301. }
  1302. .bytm-markdown-container details {
  1303. margin-top: 5px;
  1304. }
  1305. #bytm-feat-help-dialog-desc,
  1306. #bytm-feat-help-dialog-text {
  1307. overflow-wrap: break-word;
  1308. white-space: pre-wrap;
  1309. font-size: 1.5rem;
  1310. line-height: 1.25em;
  1311. }
  1312. #bytm-feat-help-dialog-desc {
  1313. font-size: 1.8rem;
  1314. padding-bottom: 10px;
  1315. }
  1316. .bytm-ftitem-help-btn {
  1317. width: 24px !important;
  1318. height: 24px !important;
  1319. }
  1320. .bytm-ftitem-help-btn svg {
  1321. width: 18px !important;
  1322. height: 18px !important;
  1323. }
  1324. .bytm-ftitem-help-btn svg > path {
  1325. fill: #b3bec7 !important;
  1326. }
  1327. hr {
  1328. display: block;
  1329. margin: 8px 0px 12px 0px;
  1330. border: revert;
  1331. }
  1332. :root {
  1333. --bytm-auto-like-btn-color: #bf87f0;
  1334. }
  1335. #bytm-auto-like-channels-list {
  1336. display: flex;
  1337. flex-direction: column;
  1338. overflow-x: hidden;
  1339. overflow-y: auto;
  1340. white-space: nowrap;
  1341. text-overflow: ellipsis;
  1342. /* idk how else to get the scroll bar to show up correctly */
  1343. max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)) - 300px);
  1344. }
  1345. .bytm-auto-like-channels-desc {
  1346. padding: 0px 15px;
  1347. white-space: pre-wrap;
  1348. font-size: 1.6rem;
  1349. margin-bottom: 10px;
  1350. }
  1351. .bytm-auto-like-channels-search-cont {
  1352. display: flex;
  1353. flex-direction: row;
  1354. align-items: center;
  1355. gap: 5px;
  1356. padding: 0px 15px;
  1357. margin-bottom: 10px;
  1358. }
  1359. .bytm-auto-like-channels-searchbar {
  1360. min-width: calc(min(250px, 50%));
  1361. }
  1362. .bytm-auto-like-channel-row-left-cont {
  1363. display: flex;
  1364. align-items: center;
  1365. gap: 10px;
  1366. }
  1367. .bytm-auto-like-channel-row {
  1368. display: flex;
  1369. justify-content: space-between;
  1370. align-items: center;
  1371. padding: 8px 15px;
  1372. transition: background-color 0.15s ease-out;
  1373. }
  1374. .bytm-auto-like-channel-row.hidden {
  1375. display: none;
  1376. }
  1377. .bytm-auto-like-channel-row:hover {
  1378. background-color: var(--bytm-menu-bg-highlight);
  1379. }
  1380. .bytm-auto-like-channel-row
  1381. .bytm-toggle-input-wrapper.bytm-auto-like-channel-toggle {
  1382. --toggle-height: 18px !important;
  1383. --toggle-width: 36px !important;
  1384. }
  1385. .bytm-auto-like-channel-row .bytm-generic-btn {
  1386. --bytm-generic-btn-width: 30px;
  1387. --bytm-generic-btn-height: 30px;
  1388. }
  1389. .bytm-auto-like-channel-name-label {
  1390. display: flex;
  1391. flex-direction: row;
  1392. align-items: center;
  1393. }
  1394. .bytm-auto-like-channel-id {
  1395. cursor: text;
  1396. font-family: var(--bytm-font-monospace);
  1397. font-size: 1.25rem;
  1398. color: #aaa;
  1399. margin-left: 10px;
  1400. }
  1401. /* add more specificity to override the default styles */
  1402. .bytm-generic-btn.long.bytm-auto-like-toggle-btn {
  1403. margin-right: 8px;
  1404. border: 1px solid var(--bytm-auto-like-btn-color);
  1405. box-sizing: border-box;
  1406. background-color: transparent;
  1407. transition: border-color 0.2s ease;
  1408. animation: none;
  1409. }
  1410. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.left-margin {
  1411. margin: 0 0 0 8px;
  1412. }
  1413. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.right-margin {
  1414. margin: 0 8px 0 0;
  1415. }
  1416. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:hover {
  1417. background-color: rgba(255, 255, 255, 0.1);
  1418. }
  1419. body.bytm-dom-ytm
  1420. ytmusic-subscribe-button-renderer
  1421. #button-shape-subscribe:hover
  1422. > button {
  1423. background-color: rgba(255, 255, 255, 0.1) !important;
  1424. }
  1425. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active {
  1426. background-color: rgba(255, 255, 255, 0.2);
  1427. }
  1428. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active,
  1429. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled {
  1430. border-color: rgba(255, 255, 255, 0.2);
  1431. }
  1432. .bytm-generic-btn.long.bytm-auto-like-toggle-btn svg path {
  1433. fill: var(--bytm-auto-like-btn-color);
  1434. transition: fill 0.2s ease;
  1435. }
  1436. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active svg path,
  1437. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled svg path {
  1438. fill: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  1439. }
  1440. .bytm-generic-btn.long.bytm-auto-like-toggle-btn .bytm-generic-long-btn-txt {
  1441. font-weight: 500;
  1442. color: var(--bytm-auto-like-btn-color);
  1443. transition: color 0.2s ease;
  1444. }
  1445. .bytm-generic-btn.long.bytm-auto-like-toggle-btn:active
  1446. .bytm-generic-long-btn-txt,
  1447. .bytm-generic-btn.long.bytm-auto-like-toggle-btn.toggled
  1448. .bytm-generic-long-btn-txt {
  1449. color: var(--ytmusic-subscribe-button-color, rgba(255, 255, 255, 0.7));
  1450. }
  1451. /* #region misc */
  1452. :root {
  1453. --bytm-font-monospace: "Cousine", "Consolas", monospace;
  1454. --bytm-font-size-monospace: 1.4rem;
  1455. }
  1456. html:not([dark]) {
  1457. --bytm-themed-icon-col: #000;
  1458. }
  1459. html[dark] {
  1460. --bytm-themed-icon-col: #fff;
  1461. }
  1462. .bytm-disable-scroll {
  1463. overflow: hidden !important;
  1464. }
  1465. .bytm-ellipsis {
  1466. text-overflow: ellipsis;
  1467. text-wrap: nowrap;
  1468. white-space: nowrap;
  1469. overflow: hidden;
  1470. }
  1471. .bytm-ellipsis-wrap {
  1472. text-overflow: ellipsis;
  1473. overflow: hidden;
  1474. text-wrap: auto;
  1475. white-space: normal;
  1476. }
  1477. /* #region generic (circular) button */
  1478. .bytm-generic-btn {
  1479. --bytm-generic-btn-width: 36px;
  1480. --bytm-generic-btn-height: 36px;
  1481. display: inline-flex;
  1482. align-items: center;
  1483. justify-content: center;
  1484. position: relative;
  1485. vertical-align: middle;
  1486. cursor: pointer;
  1487. margin-left: 8px;
  1488. white-space: nowrap;
  1489. text-overflow: ellipsis;
  1490. user-select: none;
  1491. min-width: var(--bytm-generic-btn-width);
  1492. max-width: var(--bytm-generic-btn-width);
  1493. min-height: var(--bytm-generic-btn-height);
  1494. max-height: var(--bytm-generic-btn-height);
  1495. border: 1px solid transparent;
  1496. border-radius: calc(var(--bytm-generic-btn-height, 36px) / 2);
  1497. background-color: transparent;
  1498. transition: background-color 0.2s ease;
  1499. }
  1500. .bytm-generic-btn:hover {
  1501. background-color: rgba(255, 255, 255, 0.2);
  1502. }
  1503. .bytm-generic-btn:active {
  1504. animation: bytm-flash-border 0.4s ease 1;
  1505. }
  1506. @keyframes bytm-flash-border {
  1507. 0% {
  1508. border: 1px solid initial;
  1509. }
  1510. 25% {
  1511. border: 1px solid rgba(255, 255, 255, 0.4);
  1512. }
  1513. 100% {
  1514. border: 1px solid initial;
  1515. }
  1516. }
  1517. .bytm-generic-btn:not(.bytm-toggle):active {
  1518. background-color: rgba(255, 255, 255, 0.3);
  1519. }
  1520. .bytm-generic-btn.long {
  1521. --bytm-generic-btn-width: calc(min(136px, fit-content));
  1522. padding: 0px 14px;
  1523. line-height: 36px;
  1524. display: inline-flex;
  1525. align-items: center;
  1526. justify-content: center;
  1527. position: relative;
  1528. vertical-align: middle;
  1529. cursor: pointer;
  1530. margin-left: 0px;
  1531. border: 1px solid #999;
  1532. }
  1533. .bytm-generic-btn.long:hover {
  1534. background-color: rgba(255, 255, 255, 0.2);
  1535. }
  1536. .bytm-generic-btn.long .bytm-generic-btn-img.left {
  1537. margin-right: 8px;
  1538. }
  1539. .bytm-generic-btn.long .bytm-generic-btn-img.right {
  1540. margin-left: 8px;
  1541. }
  1542. .bytm-generic-long-btn-txt {
  1543. font-size: 14px;
  1544. }
  1545. .bytm-ftitem-help-btn.bytm-generic-btn {
  1546. --bytm-generic-btn-width: 24px;
  1547. --bytm-generic-btn-height: 24px;
  1548. }
  1549. .bytm-generic-btn-img {
  1550. display: inline-block;
  1551. z-index: 1;
  1552. width: 24px;
  1553. height: 24px;
  1554. }
  1555. .bytm-dom-yt .bytm-generic-btn-img path {
  1556. /* YT has both dark and light theme, YTM only dark */
  1557. fill: var(--bytm-themed-icon-col, #fff);
  1558. }
  1559. .bytm-spinner {
  1560. animation: rotate 1.2s linear infinite;
  1561. }
  1562. @keyframes rotate {
  1563. from {
  1564. transform: rotate(0deg);
  1565. }
  1566. to {
  1567. transform: rotate(360deg);
  1568. }
  1569. }
  1570. .bytm-anchor {
  1571. all: unset;
  1572. cursor: pointer;
  1573. }
  1574. /* ytmusic-logo a[bytm-animated="true"] .bytm-mod-logo-ellipse {
  1575. transform-origin: 12px 12px;
  1576. animation: rotate 1s ease-in-out infinite;
  1577. } */
  1578. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-path {
  1579. transform-origin: 12px 12px;
  1580. animation: rotate 1s ease-in-out;
  1581. }
  1582. ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
  1583. width: 24px;
  1584. height: 24px;
  1585. z-index: 1000;
  1586. position: absolute;
  1587. animation: rotate-fade-in 1s ease-in-out;
  1588. }
  1589. @keyframes rotate-fade-in {
  1590. 0% {
  1591. opacity: 0;
  1592. transform: rotate(0deg);
  1593. }
  1594. 30% {
  1595. opacity: 0;
  1596. }
  1597. 90% {
  1598. opacity: 1;
  1599. }
  1600. 100% {
  1601. transform: rotate(360deg);
  1602. }
  1603. }
  1604. .bytm-no-select {
  1605. user-select: none;
  1606. -ms-user-select: none;
  1607. -moz-user-select: none;
  1608. -webkit-user-select: none;
  1609. }
  1610. /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
  1611. button.bytm-btn {
  1612. padding: revert;
  1613. border: revert;
  1614. outline: revert;
  1615. font: revert;
  1616. text-transform: revert;
  1617. color: revert;
  1618. background: revert;
  1619. cursor: pointer;
  1620. line-height: 1.4em;
  1621. }
  1622. .bytm-link,
  1623. .bytm-markdown-container a {
  1624. color: #369bff !important;
  1625. text-decoration: none !important;
  1626. cursor: pointer;
  1627. }
  1628. .bytm-link:hover,
  1629. .bytm-markdown-container a:hover {
  1630. color: #369bff !important;
  1631. text-decoration: underline !important;
  1632. }
  1633. button[disabled] {
  1634. cursor: not-allowed;
  1635. }
  1636. button[disabled].bytm-busy {
  1637. cursor: progress;
  1638. }
  1639. /* #region menu */
  1640. .bytm-cfg-menu-option {
  1641. display: block;
  1642. padding: 8px 0;
  1643. }
  1644. .bytm-cfg-menu-option-item {
  1645. display: flex;
  1646. flex-direction: row;
  1647. align-items: center;
  1648. font-size: 1.4rem;
  1649. font-weight: 400;
  1650. line-height: 24px;
  1651. padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
  1652. min-height: var(--paper-item-min-height, 40px);
  1653. white-space: nowrap;
  1654. cursor: pointer;
  1655. }
  1656. .bytm-cfg-menu-option-item:hover {
  1657. background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
  1658. }
  1659. .bytm-cfg-menu-option-icon {
  1660. width: 24px;
  1661. height: 24px;
  1662. margin-right: 16px;
  1663. display: flex;
  1664. align-items: center;
  1665. flex-direction: row;
  1666. flex: none;
  1667. }
  1668. .bytm-cfg-menu-option-text {
  1669. font-size: 1.4rem;
  1670. line-height: 2rem;
  1671. }
  1672. yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
  1673. border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
  1674. }
  1675. .bytm-yt-cfg-menu-option {
  1676. position: relative;
  1677. width: calc(100% - 12px);
  1678. }
  1679. .bytm-yt-cfg-menu-option-inner {
  1680. display: flex;
  1681. flex-direction: row;
  1682. justify-content: flex-start;
  1683. align-items: center;
  1684. min-height: var(--paper-item-min-height, 48px);
  1685. max-width: calc(100% - 12px);
  1686. padding: 0px 12px;
  1687. border-radius: var(--paper-item-focused-before-border-radius, 10px);
  1688. cursor: pointer;
  1689. background-color: transparent;
  1690. transition: background-color 0.2s ease;
  1691. }
  1692. .bytm-yt-cfg-menu-option-inner:hover {
  1693. background-color: var(
  1694. --yt-spec-badge-chip-background,
  1695. rgba(255, 255, 255, 0.1)
  1696. );
  1697. }
  1698. .bytm-yt-cfg-menu-option-icon {
  1699. display: flex;
  1700. align-items: center;
  1701. flex-direction: row;
  1702. width: 24px;
  1703. height: 24px;
  1704. margin-right: 24px;
  1705. }
  1706. .bytm-yt-cfg-menu-option-item {
  1707. width: 100%;
  1708. color: #fff;
  1709. font-size: 14px;
  1710. }
  1711. .bytm-yt-cfg-menu-option-item:hover {
  1712. /* Support for "Enhancer for YouTube" extension's custom themes */
  1713. color: var(--main-color, #fff) !important;
  1714. }
  1715. /* #region watermark */
  1716. #bytm-watermark {
  1717. font-size: 10px;
  1718. display: inline-block;
  1719. position: absolute;
  1720. left: 97px;
  1721. top: 45px;
  1722. z-index: 10;
  1723. color: #f1f1f1;
  1724. text-decoration: none;
  1725. cursor: pointer;
  1726. }
  1727. #bytm-watermark:hover {
  1728. text-decoration: underline;
  1729. }
  1730. /* #region above queue btns */
  1731. #bytm-above-queue-btn-cont {
  1732. display: flex;
  1733. flex-direction: row;
  1734. justify-content: center;
  1735. align-items: center;
  1736. flex-wrap: nowrap;
  1737. height: 100%;
  1738. }
  1739. #bytm-above-queue-btn-wrapper {
  1740. white-space: nowrap;
  1741. }
  1742. .bytm-above-queue-btn {
  1743. width: 32px;
  1744. height: 32px;
  1745. margin-left: 0;
  1746. margin-right: 8px;
  1747. }
  1748. /* #region scroll to active */
  1749. #bytm-scroll-to-active-btn-cont {
  1750. display: flex;
  1751. flex-direction: column;
  1752. justify-content: center;
  1753. align-items: center;
  1754. height: 100%;
  1755. }
  1756. #bytm-scroll-to-active-btn-cont.hidden {
  1757. display: none;
  1758. }
  1759. #bytm-scroll-to-active-btn {
  1760. display: inline-flex;
  1761. align-items: center;
  1762. justify-content: center;
  1763. border-radius: 50%;
  1764. cursor: pointer;
  1765. }
  1766. #bytm-scroll-to-active-btn {
  1767. width: revert;
  1768. height: revert;
  1769. }
  1770. #bytm-scroll-to-active-btn .bytm-generic-btn-img {
  1771. padding: 4px;
  1772. }
  1773. /* #region thumbnail */
  1774. #bytm-thumbnail-overlay {
  1775. position: absolute;
  1776. top: 0;
  1777. left: 0;
  1778. width: 100%;
  1779. height: 100%;
  1780. display: none;
  1781. background-color: #030303;
  1782. z-index: 0;
  1783. border-radius: var(--ts-songimg-border-radius, initial);
  1784. }
  1785. #bytm-thumbnail-overlay-img {
  1786. position: relative;
  1787. width: 100%;
  1788. height: 100%;
  1789. border-radius: inherit;
  1790. box-shadow: var(--ts-songimg-box-shadow, initial);
  1791. }
  1792. #bytm-thumbnail-overlay-indicator {
  1793. position: absolute;
  1794. bottom: 16px;
  1795. right: 16px;
  1796. width: calc(min(56px, 100% - 16px));
  1797. height: calc(min(56px, 100% - 16px));
  1798. z-index: 1;
  1799. cursor: help;
  1800. filter: drop-shadow(0 0 3px #000);
  1801. }
  1802. ytmusic-player#player #bezel {
  1803. z-index: 1;
  1804. }
  1805. /* #region auto-like */
  1806. .bytm-vote-label {
  1807. cursor: pointer;
  1808. font-size: 1.25rem;
  1809. padding: 6px;
  1810. padding-left: 3px;
  1811. }
  1812. ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
  1813. color: white;
  1814. }
  1815. .bytm-vote-label:last-child {
  1816. padding-right: 0px;
  1817. }
  1818. /* #region fullscreen player bar */
  1819. /* Increase specificity to override YTM's default styles without having to use !important */
  1820. :root
  1821. body.bytm-dom-ytm
  1822. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1823. ytmusic-player-bar[slot="player-bar"] {
  1824. width: 100%;
  1825. /* ...except in this case because of the ThemeSong extension: */
  1826. background: rgba(0, 0, 0, 0.35) !important;
  1827. backdrop-filter: blur(10px) brightness(90%);
  1828. }
  1829. :root
  1830. body.bytm-dom-ytm
  1831. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1832. ytmusic-player-bar[slot="player-bar"]
  1833. .ytmusic-menu-renderer
  1834. svg
  1835. path,
  1836. :root
  1837. body.bytm-dom-ytm
  1838. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1839. ytmusic-player-bar[slot="player-bar"]
  1840. tp-yt-paper-icon-button
  1841. svg
  1842. path {
  1843. fill: #fff;
  1844. }
  1845. :root
  1846. body.bytm-dom-ytm
  1847. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1848. ytmusic-player-bar[slot="player-bar"]
  1849. .time-info {
  1850. color: #fff;
  1851. }
  1852. :root {
  1853. --bytm-themed-bg-col: var(--ts-playerpage-color, #030303);
  1854. }
  1855. #ts-visualizer-container #ThemeSong-Visualizer canvas {
  1856. /* Fix for the thumbnail overlay */
  1857. z-index: 1;
  1858. }
  1859. /* #region queue buttons */
  1860. #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
  1861. position: relative;
  1862. }
  1863. #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
  1864. background: rgba(255, 255, 255, 0.1);
  1865. background: linear-gradient(
  1866. 90deg,
  1867. rgba(0, 0, 0, 0) 0%,
  1868. var(--bytm-themed-bg-col) 15%
  1869. );
  1870. display: none;
  1871. position: absolute;
  1872. right: 0;
  1873. padding-left: 25px;
  1874. height: 100%;
  1875. }
  1876. #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
  1877. background: linear-gradient(
  1878. 90deg,
  1879. rgba(0, 0, 0, 0) 0%,
  1880. var(--bytm-themesong-bg-accent-col, #1d1d1d) 15%
  1881. );
  1882. }
  1883. .bytm-generic-list-queue-btn-container {
  1884. /* otherwise the queue buttons render over the currently playing song page */
  1885. z-index: 1;
  1886. }
  1887. #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
  1888. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1889. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
  1890. /* same thing but with :focus-within */
  1891. #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
  1892. ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
  1893. ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container {
  1894. display: inline-flex;
  1895. align-items: center;
  1896. }
  1897. ytmusic-responsive-list-item-renderer .title-column {
  1898. align-items: center;
  1899. }
  1900. ytmusic-app
  1901. ytmusic-popup-container
  1902. tp-yt-iron-dropdown[data-bytm-hidden="true"] {
  1903. display: none !important;
  1904. }
  1905. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1906. .bytm-generic-list-queue-btn-container {
  1907. visibility: hidden;
  1908. }
  1909. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns
  1910. .bytm-generic-list-queue-btn-container
  1911. a.bytm-generic-btn {
  1912. visibility: hidden !important;
  1913. }
  1914. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1915. .bytm-generic-list-queue-btn-container,
  1916. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1917. .bytm-generic-list-queue-btn-container {
  1918. visibility: visible;
  1919. }
  1920. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover
  1921. .bytm-generic-list-queue-btn-container
  1922. a.bytm-generic-btn,
  1923. ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within
  1924. .bytm-generic-list-queue-btn-container
  1925. a.bytm-generic-btn {
  1926. visibility: visible !important;
  1927. }
  1928. /* #region volume slider */
  1929. .bytm-vol-slider-cont {
  1930. position: relative;
  1931. }
  1932. .bytm-vol-slider-label {
  1933. --bytm-slider-label-bg-col: var(
  1934. --ytmusic-player-bar-background,
  1935. var(--bytm-themed-bg-col)
  1936. );
  1937. position: absolute;
  1938. top: 50%;
  1939. left: 0;
  1940. transform: translate(calc(-50% - 11px), -50%);
  1941. display: flex;
  1942. flex-direction: row;
  1943. align-items: center;
  1944. gap: 5px;
  1945. background-color: var(--bytm-slider-label-bg-col);
  1946. background: linear-gradient(
  1947. 90deg,
  1948. rgba(0, 0, 0, 0) 0%,
  1949. var(--bytm-slider-label-bg-col) 20%
  1950. );
  1951. font-size: 1.4rem;
  1952. text-align: right;
  1953. padding: 15px;
  1954. padding-right: 5px;
  1955. opacity: 0.000001;
  1956. transition: opacity 0.2s ease;
  1957. }
  1958. .bytm-vol-slider-label.has-icon {
  1959. transform: translate(calc(-50% - 25px), -50%);
  1960. }
  1961. .bytm-vol-slider-label svg {
  1962. padding: 4px;
  1963. }
  1964. .bytm-vol-slider-label svg path {
  1965. fill: #909090;
  1966. }
  1967. .bytm-vol-slider-label.bytm-visible {
  1968. opacity: 1;
  1969. }
  1970. :root
  1971. body.bytm-dom-ytm
  1972. ytmusic-app-layout[player-ui-state="FULLSCREEN"]
  1973. .bytm-vol-slider-label {
  1974. color: #fff;
  1975. }
  1976. .bytm-vol-slider-shared {
  1977. display: flex;
  1978. flex-direction: row;
  1979. align-items: center;
  1980. }
  1981. .bytm-vol-slider-shared svg {
  1982. width: 20px;
  1983. height: 20px;
  1984. }