BetterYTM.css 45 KB

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