BetterYTM.css 46 KB

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