BetterYTM.css 47 KB

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