1
0

BetterYTM.css 45 KB

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