BetterYTM.css 45 KB

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