BetterYTM.css 47 KB

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