BetterYTM.css 41 KB

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