BetterYTM.css 44 KB

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