BetterYTM.css 46 KB

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