123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590 |
- :root {
- --bytm-locale-color: #5ea2ec;
- --bytm-advanced-mode-color: #ceb663;
- --bytm-experimental-col: #cc83e5;
- --bytm-warning-col: #e07664;
- --bytm-reload-col: #77e064;
- }
- /* TODO: after cfg menu migration, leave only dialog styles here */
- #bytm-cfg-dialog-bg,
- #bytm-cfg-menu-bg
- {
- --bytm-dialog-height-max: 800px;
- --bytm-dialog-width-max: 1150px;
- --bytm-menu-height-max: 800px;
- --bytm-menu-width-max: 1150px;
- }
- .bytm-dialog-bg.bytm-dom-yt,
- .bytm-menu-bg.bytm-dom-yt {
- z-index: 10042;
- }
- .bytm-dialog.bytm-dom-yt,
- .bytm-menu.bytm-dom-yt {
- z-index: 10069;
- }
- .bytm-dialog-body p {
- overflow-wrap: break-word;
- }
- .bytm-dialog-body details summary {
- cursor: pointer;
- font-style: italic;
- }
- #bytm-version-notif-dialog-btns {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- margin-top: 20px;
- }
- #bytm-disable-update-check-wrapper {
- display: flex;
- align-items: center;
- font-size: 1.5rem;
- margin-top: 35px;
- }
- #bytm-disable-update-check-wrapper label {
- padding-left: 12px;
- }
- #bytm-version-notif-changelog-cont {
- max-height: calc(max(var(--calc-max-height) - 280px, 0px));
- overflow-y: auto;
- margin: 10px 0px;
- }
- #bytm-version-notif-changelog-details {
- margin-top: 15px;
- }
- .bytm-disable-update-check-toggle-label-wrapper {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- }
- .bytm-secondary-label {
- padding-left: 12px;
- font-size: 1.3rem;
- }
- .bytm-adorn-icon {
- display: inline-flex;
- align-items: center;
- cursor: help;
- }
- .bytm-ftconf-adv-copy-btn {
- margin: 0px 10px;
- }
- .bytm-ftitem-adornment svg path {
- fill: var(--bytm-locale-color, #fff) !important;
- }
- .bytm-advanced-mode-icon svg path {
- fill: var(--bytm-advanced-mode-color, #fff) !important;
- }
- .bytm-experimental-icon svg path {
- fill: var(--bytm-experimental-col, #fff) !important;
- }
- .bytm-warning-icon svg {
- width: 24px;
- height: 24px;
- }
- .bytm-warning-icon svg path {
- fill: var(--bytm-warning-col, #fff) !important;
- }
- .bytm-reload-icon svg path {
- fill: var(--bytm-reload-col, #fff) !important;
- }
- /* #SECTION welcome dialog */
- #bytm-welcome-menu-title-wrapper {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- #bytm-welcome-menu-title-logo {
- width: 32px;
- height: 32px;
- margin-right: 20px;
- }
- #bytm-welcome-menu-content-wrapper {
- overflow-y: auto;
- }
- #bytm-welcome-menu-locale-cont {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- }
- #bytm-welcome-menu-locale-img {
- width: 80px;
- height: 80px;
- margin-bottom: 10px;
- }
- #bytm-welcome-menu-text-cont {
- margin-top: 16px;
- }
- #bytm-welcome-menu-text {
- font-size: 1.6rem;
- line-height: 20px;
- }
- #bytm-welcome-menu-locale-select {
- font-size: 1.6rem;
- }
- #bytm-welcome-menu-footer-cont {
- display: flex;
- justify-content: space-between;
- border-radius: 0px 0px var(--bytm-menu-border-radius) var(--bytm-menu-border-radius);
- }
- .bytm-dialog-bg {
- --bytm-dialog-bg: #333333;
- --bytm-dialog-bg-highlight: #252525;
- --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
- --bytm-dialog-separator-color: #797979;
- --bytm-dialog-border-radius: 10px;
- }
- .bytm-dialog-bg {
- display: block;
- position: fixed;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- z-index: 5;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .bytm-dialog {
- --calc-max-height: calc(min(100vh - 40px, var(--bytm-dialog-height-max)));
- position: absolute;
- display: flex;
- flex-direction: column;
- width: calc(min(100% - 60px, var(--bytm-dialog-width-max)));
- border-radius: var(--bytm-dialog-border-radius);
- height: auto;
- max-height: var(--calc-max-height);
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: 6;
- color: #fff;
- background-color: var(--bytm-dialog-bg);
- }
- .bytm-dialog-body {
- font-size: 1.5rem;
- padding: 20px;
- }
- .bytm-dialog-body.small {
- padding: 15px;
- }
- #bytm-dialog-opts {
- display: flex;
- flex-direction: column;
- position: relative;
- padding: 30px 0px;
- overflow-y: auto;
- }
- .bytm-dialog-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 6px;
- padding: 15px 20px 15px 20px;
- background-color: var(--bytm-dialog-bg);
- border: 2px solid var(--bytm-dialog-separator-color);
- border-style: none none solid none !important;
- border-radius: var(--bytm-dialog-border-radius) var(--bytm-dialog-border-radius) 0px 0px;
- }
- .bytm-dialog-header.small {
- padding: 10px 15px;
- border-style: none none solid none !important;
- }
- .bytm-dialog-header-pad {
- content: " ";
- min-height: 32px;
- }
- .bytm-dialog-header-pad.small {
- min-height: 24px;
- }
- .bytm-dialog-titlecont {
- display: flex;
- align-items: center;
- }
- .bytm-dialog-titlecont-no-title {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- }
- .bytm-dialog-title {
- position: relative;
- display: inline-block;
- font-size: 22px;
- }
- #bytm-dialog-version {
- position: absolute;
- width: 100%;
- bottom: -10px;
- left: 0;
- font-size: 10px;
- font-weight: normal;
- z-index: 7;
- }
- #bytm-dialog-version .bytm-link {
- color: #c6d2db !important;
- text-decoration: none !important;
- cursor: pointer;
- }
- #bytm-dialog-version .bytm-link:hover {
- color: #c6d2db !important;
- text-decoration: underline !important;
- }
- #bytm-dialog-linkscont {
- display: flex;
- align-items: center;
- margin-left: 32px;
- }
- .bytm-dialog-link {
- display: inline-flex;
- align-items: center;
- cursor: pointer;
- }
- .bytm-dialog-link:not(:last-of-type) {
- margin-right: 10px;
- }
- .bytm-dialog-link .bytm-dialog-img {
- position: relative;
- border-radius: 50%;
- bottom: 0px;
- transition: bottom 0.15s ease-out;
- }
- .bytm-dialog-link:hover .bytm-dialog-img {
- bottom: 5px;
- }
- .bytm-dialog-close {
- cursor: pointer;
- }
- .bytm-dialog-header-img,
- .bytm-dialog-close
- {
- width: 32px;
- height: 32px;
- }
- .bytm-dialog-header-img.small,
- .bytm-dialog-close.small
- {
- width: 24px;
- height: 24px;
- }
- .bytm-dialog-footer {
- font-size: 17px;
- text-decoration: underline;
- }
- .bytm-dialog-footer.hidden {
- display: none;
- }
- .bytm-dialog-footer-cont {
- margin-top: 6px;
- padding: 15px 20px;
- background: var(--bytm-dialog-bg);
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-dialog-bg) 30%, var(--bytm-dialog-bg) 100%);
- border: 2px solid var(--bytm-dialog-separator-color);
- border-style: solid none none none !important;
- border-radius: 0px 0px var(--bytm-dialog-border-radius) var(--bytm-dialog-border-radius);
- }
- #bytm-dialog-footer-buttons-cont button:not(:last-of-type) {
- margin-right: 15px;
- }
- .bytm-dialog-footer-right {
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
- margin-top: 15px;
- }
- #bytm-dialog-footer-left-buttons-cont button:not(:last-of-type) {
- margin-right: 15px;
- }
- #bytm-dialog-scroll-indicator {
- --bytm-scroll-indicator-padding: 5px;
- position: sticky;
- bottom: -15px;
- left: 50%;
- margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
- padding: var(--bytm-scroll-indicator-padding);
- transform: translateX(-50%);
- width: 32px;
- height: 32px;
- z-index: 7;
- background-color: var(--bytm-scroll-indicator-bg);
- border-radius: 50%;
- cursor: pointer;
- }
- .bytm-hidden {
- visibility: hidden !important;
- }
- .bytm-ftconf-category-header {
- font-size: 20px;
- margin-top: 32px;
- margin-bottom: 8px;
- padding: 0px 20px;
- }
- .bytm-ftconf-category-header:first-of-type {
- margin-top: 0;
- }
- .bytm-dialog .bytm-ftitem {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- font-size: 1.4em;
- padding: 8px 20px;
- transition: background-color 0.15s ease-out;
- }
- .bytm-dialog .bytm-ftitem:hover {
- background-color: var(--bytm-dialog-bg-highlight);
- }
- .bytm-ftitem-leftside {
- display: flex;
- align-items: center;
- min-height: 24px;
- }
- .bytm-ftconf-ctrl {
- display: inline-flex;
- align-items: center;
- white-space: nowrap;
- margin-left: 10px;
- }
- .bytm-ftconf-label {
- user-select: none;
- }
- .bytm-slider-label {
- margin-right: 10px;
- }
- .bytm-ftconf-input.bytm-hotkey-input {
- cursor: pointer;
- min-width: 80px;
- }
- .bytm-ftconf-input[type=number] {
- width: 75px;
- }
- .bytm-ftconf-input[type=range] {
- width: 200px;
- }
- .bytm-ftconf-input[type=text] {
- width: 200px;
- }
- .bytm-ftconf-input[type=checkbox] {
- margin-left: 5px;
- }
- select.bytm-ftconf-input {
- cursor: revert;
- }
- #bytm-export-dialog-text, #bytm-import-dialog-text {
- font-size: 1.6em;
- margin-bottom: 15px;
- }
- .bytm-dialog-footer-copied {
- font-size: 1.6em;
- margin-right: 15px;
- }
- #bytm-changelog-dialog-body {
- overflow-y: auto;
- }
- #bytm-export-dialog-textarea, #bytm-import-dialog-textarea {
- width: 100%;
- height: 150px;
- resize: none;
- }
- .bytm-markdown-container {
- display: flex;
- flex-direction: column;
- overflow-y: auto;
- font-size: 1.4rem;
- line-height: 20px;
- }
- /* Markdown stuff */
- .bytm-markdown-container kbd, .bytm-kbd {
- --bytm-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
- display: inline-block;
- vertical-align: bottom;
- padding: 4px;
- padding-top: 2px;
- font-size: 0.95em;
- line-height: 11px;
- background-color: #222;
- border: 1px solid #777;
- border-radius: 5px;
- box-shadow: inset 0 -2px 0 #515559;
- transition: padding 0.1s var(--bytm-easing), margin-top 0.1s var(--bytm-easing), box-shadow 0.1s var(--bytm-easing);
- }
- .bytm-markdown-container kbd:active, .bytm-kbd:active {
- padding-bottom: 2px;
- margin-top: 2px;
- box-shadow: inset 0 0 0 initial;
- }
- .bytm-markdown-container kbd::selection, .bytm-kbd::selection {
- background: rgba(0, 0, 0, 0);
- }
- .bytm-markdown-container code {
- background-color: #222;
- border-radius: 3px;
- padding: 1px 5px;
- font-family: monospace;
- }
- .bytm-markdown-container h2 {
- margin-bottom: 5px;
- }
- .bytm-markdown-container h2:not(:first-of-type) {
- margin-top: 30px;
- }
- .bytm-markdown-container ul li::before {
- content: "• ";
- font-weight: bolder;
- }
- .bytm-markdown-container ul li > ul li::before {
- white-space: pre-wrap;
- content: " • ";
- font-weight: bolder;
- }
- #bytm-feat-help-dialog-desc, #bytm-feat-help-dialog-text {
- overflow-wrap: break-word;
- white-space: pre-wrap;
- font-size: 1.5em;
- }
- #bytm-feat-help-dialog-desc {
- font-size: 1.65em;
- padding-bottom: 5px;
- }
- .bytm-ftitem-help-btn {
- width: 24px !important;
- height: 24px !important;
- }
- .bytm-ftitem-help-btn svg {
- width: 18px !important;
- height: 18px !important;
- }
- .bytm-ftitem-help-btn svg > path {
- fill: #b3bec7 !important;
- }
- hr {
- display: block;
- margin: 8px 0px 12px 0px;
- border: revert;
- }
- .bytm-ftitem-adornment {
- display: inline-flex;
- justify-content: flex-start;
- align-items: center;
- margin-right: 6px;
- }
- .bytm-hotkey-wrapper {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: flex-end;
- }
- .bytm-hotkey-reset {
- font-size: 0.9em;
- margin-right: 10px;
- }
- .bytm-hotkey-info {
- font-size: 0.9em;
- white-space: nowrap;
- }
- .bytm-toggle-input-wrapper {
- --toggle-height: 20px;
- --toggle-width: 40px;
- --toggle-knob-offset: 4px;
- --toggle-color-on: #3683d4;
- --toggle-color-off: #666;
- --toggle-knob-color: #f5f5f5;
- display: flex;
- align-items: center;
- }
- .bytm-toggle-input-wrapper .bytm-toggle-input-label {
- cursor: pointer;
- font-size: 1.5rem;
- padding: 3px 12px;
- }
- /* sauce: https://danklammer.com/articles/simple-css-toggle-switch/ */
- .bytm-toggle-input {
- display: flex;
- align-items: center;
- }
- .bytm-toggle-input input {
- appearance: none;
- display: inline-block;
- width: var(--toggle-width);
- height: var(--toggle-height);
- position: relative;
- border-radius: 50px;
- overflow: hidden;
- outline: none;
- border: none;
- margin: 0;
- padding: var(--toggle-knob-offset);
- cursor: pointer;
- background-color: var(--toggle-color-off);
- transition: justify-content 0.2s ease, background-color 0.2s ease;
- }
- .bytm-toggle-input input[data-toggled="true"] {
- background-color: var(--toggle-color-on);
- }
- .bytm-toggle-input input .bytm-toggle-input-knob {
- --toggle-knob-calc-width: calc(var(--toggle-height) - (var(--toggle-knob-offset) * 2));
- --toggle-knob-calc-height: calc(var(--toggle-height) - (var(--toggle-knob-offset) * 2));
- width: var(--toggle-knob-calc-width);
- height: var(--toggle-knob-calc-height);
- background-color: var(--toggle-knob-color);
- border-radius: 50%;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: var(--toggle-knob-offset);
- transition: left 0.2s ease;
- }
- .bytm-toggle-input input[data-toggled="true"] .bytm-toggle-input-knob {
- left: calc(var(--toggle-width) - var(--toggle-knob-offset) - var(--toggle-knob-calc-width));
- }
- .bytm-menu-bg {
- --bytm-menu-bg: #333333;
- --bytm-menu-bg-highlight: #252525;
- --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
- --bytm-menu-separator-color: #797979;
- --bytm-menu-border-radius: 10px;
- }
- .bytm-menu-bg {
- display: block;
- position: fixed;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- z-index: 5;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .bytm-menu {
- position: fixed;
- display: flex;
- flex-direction: column;
- width: calc(min(100% - 60px, var(--bytm-menu-width-max)));
- border-radius: var(--bytm-menu-border-radius);
- height: auto;
- max-height: calc(min(100% - 40px, var(--bytm-menu-height-max)));
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: 6;
- color: #fff;
- background-color: var(--bytm-menu-bg);
- }
- .bytm-menu.top-aligned {
- top: 0;
- transform: translate(-50%, 40px);
- }
- .bytm-menu-body {
- padding: 20px;
- }
- #bytm-menu-opts {
- display: flex;
- flex-direction: column;
- position: relative;
- padding: 20px 0px;
- overflow-y: auto;
- }
- .bytm-menu-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 6px;
- padding: 15px 20px 15px 20px;
- background-color: var(--bytm-menu-bg);
- border: 2px solid var(--bytm-menu-separator-color);
- border-style: none none solid none !important;
- border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius) 0px 0px;
- }
- .bytm-menu-header.small {
- padding: 10px 15px;
- border-style: none none solid none !important;
- }
- .bytm-menu-titlecont {
- position: relative;
- display: flex;
- align-items: center;
- }
- .bytm-menu-titlecont-no-title {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- }
- .bytm-menu-title {
- position: relative;
- display: inline-block;
- font-size: 22px;
- }
- #bytm-cfg-menu-bg .bytm-menu-title {
- transform: translate(0px, -6px);
- }
- #bytm-cfg-menu {
- --bytm-menu-subtitle-color: #c6d2db;
- }
- #bytm-menu-subtitle-cont {
- width: 100%;
- display: flex;
- gap: 6px;
- flex-direction: row;
- justify-content: space-between;
- align-items: end;
- position: absolute;
- bottom: -12px;
- left: 0;
- font-size: 10px;
- font-weight: normal;
- z-index: 7;
- }
- #bytm-menu-subtitle-cont, #bytm-menu-version-anchor {
- color: var(--bytm-menu-subtitle-color) !important;
- }
- #bytm-menu-subtitle-cont, #bytm-menu-mode-display {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- #bytm-menu-version-anchor {
- overflow: hidden;
- text-wrap: nowrap;
- text-overflow: ellipsis;
- }
- #bytm-menu-linkscont {
- display: flex;
- align-items: center;
- margin-left: 32px;
- }
- .bytm-menu-link {
- position: relative;
- max-height: 32px;
- max-width: 32px;
- display: inline-flex;
- flex-direction: column;
- align-items: center;
- cursor: pointer;
- }
- .bytm-menu-link:not(:last-of-type) {
- margin-right: 10px;
- }
- .bytm-menu-link .bytm-menu-img {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- padding: 0px;
- transform: translateY(0px);
- transition: transform 0.15s ease-out, padding 0.15s ease-out;
- }
- .bytm-menu-link:hover .bytm-menu-img {
- padding: 7px;
- transform: translateY(-14px);
- }
- .bytm-menu-link .extended-link {
- visibility: hidden;
- position: absolute;
- top: 14px;
- padding-top: 13px;
- padding-bottom: 2px;
- opacity: 0;
- text-decoration: none;
- color: var(--bytm-menu-subtitle-color) !important;
- white-space: pre;
- font-size: 1.1rem;
- transition: visibility 0.15s ease-out, opacity 0.15s ease-out;
- }
- .bytm-menu-link:hover .extended-link {
- visibility: visible;
- opacity: 1;
- }
- .bytm-menu-close {
- width: 32px;
- height: 32px;
- cursor: pointer;
- }
- .bytm-menu-close.small {
- width: 24px;
- height: 24px;
- }
- .bytm-menu-footer {
- font-size: 17px;
- text-decoration: underline;
- }
- .bytm-menu-footer.hidden {
- display: none;
- }
- .bytm-menu-footer-cont {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-top: 6px;
- padding: 15px 20px;
- background: var(--bytm-menu-bg);
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-menu-bg) 30%, var(--bytm-menu-bg) 100%);
- border: 2px solid var(--bytm-menu-separator-color);
- border-style: solid none none none !important;
- border-radius: 0px 0px var(--bytm-menu-border-radius) var(--bytm-menu-border-radius);
- }
- #bytm-menu-footer-buttons-cont button:not(:last-of-type) {
- margin-right: 15px;
- }
- .bytm-menu-footer-right {
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
- }
- #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
- margin-right: 15px;
- }
- #bytm-menu-scroll-indicator {
- --bytm-scroll-indicator-padding: 5px;
- position: sticky;
- bottom: -15px;
- left: 50%;
- margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
- padding: var(--bytm-scroll-indicator-padding);
- transform: translateX(-50%);
- width: 32px;
- height: 32px;
- z-index: 7;
- background-color: var(--bytm-scroll-indicator-bg);
- border-radius: 50%;
- cursor: pointer;
- }
- .bytm-hidden {
- visibility: hidden !important;
- }
- .bytm-ftconf-category-header {
- font-size: 20px;
- margin-top: 32px;
- margin-bottom: 8px;
- padding: 0px 20px;
- }
- .bytm-ftconf-category-header:first-of-type {
- margin-top: 0;
- }
- .bytm-ftitem {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- font-size: 1.4rem;
- padding: 8px 20px;
- transition: background-color 0.15s ease-out;
- }
- .bytm-ftitem:hover {
- background-color: var(--bytm-menu-bg-highlight);
- }
- .bytm-ftitem-leftside {
- display: flex;
- align-items: center;
- min-height: 24px;
- }
- .bytm-ftconf-ctrl {
- display: inline-flex;
- align-items: center;
- white-space: nowrap;
- margin-left: 10px;
- }
- .bytm-ftconf-label {
- user-select: none;
- }
- .bytm-slider-label {
- margin-right: 10px;
- }
- .bytm-toggle-label {
- padding-left: 10px;
- padding-right: 5px;
- }
- .bytm-ftconf-input.bytm-hotkey-input {
- cursor: pointer;
- min-width: 50px;
- }
- .bytm-ftconf-input[type=number] {
- width: 75px;
- }
- .bytm-ftconf-input[type=checkbox] {
- margin-left: 5px;
- }
- #bytm-export-menu-text, #bytm-import-menu-text {
- white-space: pre-wrap;
- font-size: 1.6rem;
- margin-bottom: 15px;
- }
- .bytm-menu-footer-copied {
- font-size: 1.6rem;
- margin-right: 15px;
- }
- #bytm-changelog-menu-body {
- overflow-y: auto;
- }
- .bytm-changelog-version-details:not(:first-of-type) {
- margin-top: 15px;
- }
- .bytm-changelog-version-details summary h2 {
- display: inline-block;
- }
- .bytm-changelog-version-details summary {
- cursor: pointer;
- }
- .bytm-changelog-version-details summary::marker {
- font-size: 2rem;
- }
- #bytm-export-menu-textarea, #bytm-import-menu-textarea {
- width: 100%;
- height: 150px;
- resize: none;
- }
- .bytm-markdown-container {
- display: flex;
- flex-direction: column;
- overflow-y: auto;
- font-size: 1.5rem;
- line-height: 20px;
- }
- /* Markdown stuff */
- .bytm-markdown-container kbd {
- --bytm-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
- display: inline-block;
- vertical-align: bottom;
- padding: 4px;
- padding-top: 2px;
- font-size: 0.95em;
- line-height: 11px;
- background-color: #222;
- border: 1px solid #777;
- border-radius: 5px;
- box-shadow: inset 0 -2px 0 #515559;
- transition: padding 0.1s var(--bytm-easing), box-shadow 0.1s var(--bytm-easing);
- }
- .bytm-markdown-container kbd:active {
- padding-bottom: 2px;
- box-shadow: inset 0 0 0 initial;
- }
- .bytm-markdown-container kbd::selection {
- background: rgba(0, 0, 0, 0);
- }
- .bytm-markdown-container code {
- background-color: #222;
- border-radius: 3px;
- padding: 1px 5px;
- }
- .bytm-markdown-container h2 {
- margin-bottom: 5px;
- }
- .bytm-markdown-container h2:not(:first-of-type) {
- margin-top: 30px;
- }
- .bytm-markdown-container ul li {
- padding-left: 0px;
- }
- .bytm-markdown-container ul li::marker {
- content: none;
- }
- .bytm-markdown-container ul li::before {
- content: "• ";
- font-weight: bolder;
- }
- .bytm-markdown-container ul li > ul li {
- padding-left: 16px;
- }
- .bytm-markdown-container ul li > ul li::marker {
- content: none;
- }
- .bytm-markdown-container ul li > ul li::before {
- white-space: pre-wrap;
- content: "• ";
- font-weight: bolder;
- }
- .bytm-markdown-container ul li > ul li > ul li {
- padding-left: 16px;
- }
- .bytm-markdown-container ul li > ul li > ul li::marker {
- content: none;
- }
- .bytm-markdown-container ul li > ul li > ul li::before {
- white-space: pre-wrap;
- content: "• ";
- font-weight: bolder;
- }
- .bytm-markdown-container .pr-link-cont {
- padding-top: 10px;
- }
- #bytm-feat-help-dialog-desc, #bytm-feat-help-dialog-text {
- overflow-wrap: break-word;
- white-space: pre-wrap;
- font-size: 1.5rem;
- line-height: 1.25em;
- }
- #bytm-feat-help-dialog-desc {
- font-size: 1.8rem;
- padding-bottom: 10px;
- }
- .bytm-ftitem-help-btn {
- width: 24px !important;
- height: 24px !important;
- }
- .bytm-ftitem-help-btn svg {
- width: 18px !important;
- height: 18px !important;
- }
- .bytm-ftitem-help-btn svg > path {
- fill: #b3bec7 !important;
- }
- hr {
- display: block;
- margin: 8px 0px 12px 0px;
- border: revert;
- }
- /* #region misc */
- .bytm-disable-scroll {
- overflow: hidden !important;
- }
- .bytm-generic-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- position: relative;
- vertical-align: middle;
- cursor: pointer;
- margin-left: 8px;
- width: 36px;
- height: 36px;
- border: 1px solid transparent;
- border-radius: 100%;
- background-color: transparent;
- transition: background-color 0.2s ease;
- }
- .bytm-generic-btn:hover {
- background-color: rgba(255, 255, 255, 0.2);
- }
- .bytm-generic-btn:active {
- background-color: #5f5f5f;
- animation: flashBorder 0.4s ease 1;
- }
- @keyframes flashBorder {
- 0% {
- border: 1px solid transparent;
- }
- 20% {
- border: 1px solid #808080;
- }
- 100% {
- border: 1px solid transparent;
- }
- }
- .bytm-generic-btn-img {
- display: inline-block;
- z-index: 1;
- width: 24px;
- height: 24px;
- }
- .bytm-spinner {
- animation: rotate 1.2s linear infinite;
- }
- @keyframes rotate {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
- }
- .bytm-anchor {
- all: unset;
- cursor: pointer;
- }
- /* ytmusic-logo a[bytm-animated="true"] .bytm-mod-logo-ellipse {
- transform-origin: 12px 12px;
- animation: rotate 1s ease-in-out infinite;
- } */
- ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-path {
- transform-origin: 12px 12px;
- animation: rotate 1s ease-in-out;
- }
- ytmusic-logo a.bytm-logo-exchanged .bytm-mod-logo-img {
- width: 24px;
- height: 24px;
- z-index: 1000;
- position: absolute;
- animation: rotate-fade-in 1s ease-in-out;
- }
- @keyframes rotate-fade-in {
- 0% {
- opacity: 0;
- transform: rotate(0deg);
- }
- 30% {
- opacity: 0;
- }
- 90% {
- opacity: 1;
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .bytm-no-select {
- user-select: none;
- -ms-user-select: none;
- -moz-user-select: none;
- -webkit-user-select: none;
- }
- /* YTM does some weird styling that breaks everything, so this reverts all of BYTM's buttons to the browser default style */
- button.bytm-btn {
- padding: revert;
- border: revert;
- outline: revert;
- font: revert;
- text-transform: revert;
- color: revert;
- background: revert;
- cursor: pointer;
- line-height: 1.4em;
- }
- .bytm-link, .bytm-markdown-container a {
- color: #369bff !important;
- text-decoration: none !important;
- cursor: pointer;
- }
- .bytm-link:hover, .bytm-markdown-container a:hover {
- color: #369bff !important;
- text-decoration: underline !important;
- }
- button[disabled] {
- cursor: not-allowed;
- }
- button[disabled].bytm-busy {
- cursor: progress;
- }
- /* #region random fixes */
- .sponsorSkipNoticeContainer,
- .sponsorSkipObject {
- z-index: 4;
- }
- /* #region menu */
- .bytm-cfg-menu-option {
- display: block;
- padding: 8px 0;
- }
- .bytm-cfg-menu-option-item {
- display: flex;
- flex-direction: row;
- align-items: center;
- font-size: 1.4rem;
- font-weight: 400;
- line-height: 24px;
- padding: var(--yt-compact-link-paper-item-padding, 0px 36px 0 16px);
- min-height: var(--paper-item-min-height, 40px);
- white-space: nowrap;
- cursor: pointer;
- }
- .bytm-cfg-menu-option-item:hover {
- background-color: var(--yt-spec-badge-chip-background, #3e3e3e);
- }
- .bytm-cfg-menu-option-icon {
- width: 24px;
- height: 24px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- flex-direction: row;
- flex: none;
- }
- .bytm-cfg-menu-option-text {
- font-size: 1.4rem;
- line-height: 2rem;
- }
- yt-multi-page-menu-section-renderer.ytd-multi-page-menu-renderer {
- border-bottom: 1px solid var(--yt-spec-10-percent-layer, #3e3e3e);
- }
- .bytm-yt-cfg-menu-option {
- position: relative;
- width: calc(100% - 12px);
- }
- .bytm-yt-cfg-menu-option-inner {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- min-height: var(--paper-item-min-height, 48px);
- max-width: calc(100% - 12px);
- padding: 0px 12px;
- border-radius: var(--paper-item-focused-before-border-radius, 10px);
- cursor: pointer;
- background-color: transparent;
- transition: background-color 0.2s ease;
- }
- .bytm-yt-cfg-menu-option-inner:hover {
- background-color: var(--yt-spec-badge-chip-background, rgba(255, 255, 255, 0.1));
- }
- .bytm-yt-cfg-menu-option-icon {
- display: flex;
- align-items: center;
- flex-direction: row;
- width: 24px;
- height: 24px;
- margin-right: 24px;
- }
- .bytm-yt-cfg-menu-option-item {
- width: 100%;
- color: #fff;
- font-size: 14px;
- }
- .bytm-yt-cfg-menu-option-item:hover {
- /* Support for "Enhancer for YouTube" extension's custom themes */
- color: var(--main-color, #fff) !important;
- }
- /* #region watermark */
- #bytm-watermark {
- font-size: 10px;
- display: inline-block;
- position: absolute;
- left: 97px;
- top: 45px;
- z-index: 10;
- color: #f1f1f1;
- text-decoration: none;
- cursor: pointer;
- }
- #bytm-watermark:hover {
- text-decoration: underline;
- }
- /* #region above queue btns */
- #bytm-above-queue-btn-cont {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- flex-wrap: nowrap;
- height: 100%;
- }
- #bytm-above-queue-btn-wrapper {
- white-space: nowrap;
- }
- .bytm-above-queue-btn {
- width: 32px;
- height: 32px;
- margin-left: 0;
- margin-right: 8px;
- }
- /* #region scroll to active */
- #bytm-scroll-to-active-btn-cont {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100%;
- }
- #bytm-scroll-to-active-btn-cont.hidden {
- display: none;
- }
- #bytm-scroll-to-active-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border-radius: 50%;
- cursor: pointer;
- }
- #bytm-scroll-to-active-btn {
- width: revert;
- height: revert;
- }
- #bytm-scroll-to-active-btn .bytm-generic-btn-img {
- padding: 4px;
- }
- /* #region thumbnail */
- #bytm-thumbnail-overlay {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- display: none;
- background-color: #030303;
- z-index: 0;
- }
- #bytm-thumbnail-overlay-img {
- position: relative;
- width: 100%;
- height: 100%;
- }
- #bytm-thumbnail-overlay-indicator {
- position: absolute;
- bottom: 16px;
- right: 16px;
- width: calc(min(56px, 100% - 16px));
- height: calc(min(56px, 100% - 16px));
- z-index: 1;
- cursor: help;
- filter: drop-shadow(0 0 3px #000);
- }
- ytmusic-player#player #bezel {
- z-index: 1;
- }
- /* #region queue buttons */
- #side-panel ytmusic-player-queue-item .song-info.ytmusic-player-queue-item {
- position: relative;
- }
- #side-panel ytmusic-player-queue-item .bytm-queue-btn-container {
- background: rgb(0, 0, 0);
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
- display: none;
- position: absolute;
- right: 0;
- padding-left: 25px;
- height: 100%;
- }
- #side-panel ytmusic-player-queue-item[selected] .bytm-queue-btn-container {
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
- }
- .bytm-generic-list-queue-btn-container {
- /* otherwise the queue buttons render over the currently playing song page */
- z-index: 1;
- }
- #side-panel ytmusic-player-queue-item:hover .bytm-queue-btn-container,
- ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
- ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:hover .bytm-queue-btn-container,
- /* same thing but with :focus-within */
- #side-panel ytmusic-player-queue-item:focus-within .bytm-queue-btn-container,
- ytmusic-playlist-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container,
- ytmusic-shelf-renderer ytmusic-responsive-list-item-renderer:focus-within .bytm-queue-btn-container
- {
- display: inline-flex;
- align-items: center;
- }
- ytmusic-responsive-list-item-renderer .title-column {
- align-items: center;
- }
- #side-panel ytmusic-player-queue-item[play-button-state="loading"] .bytm-queue-btn-container,
- #side-panel ytmusic-player-queue-item[play-button-state="playing"] .bytm-queue-btn-container,
- #side-panel ytmusic-player-queue-item[play-button-state="paused"] .bytm-queue-btn-container
- {
- /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #030303 15%);
- }
- #side-panel ytmusic-player-queue-item[selected][play-button-state="loading"] .bytm-queue-btn-container,
- #side-panel ytmusic-player-queue-item[selected][play-button-state="playing"] .bytm-queue-btn-container,
- #side-panel ytmusic-player-queue-item[selected][play-button-state="paused"] .bytm-queue-btn-container
- {
- /* using a var() with predefined value from YTM is not viable since the nesting changes the actual value of the variable */
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #1D1D1D 15%);
- }
- ytmusic-app ytmusic-popup-container tp-yt-iron-dropdown[data-bytm-hidden=true] {
- display: none !important;
- }
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container {
- visibility: hidden;
- }
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns .bytm-generic-list-queue-btn-container a.bytm-generic-btn {
- visibility: hidden !important;
- }
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container,
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container
- {
- visibility: visible;
- }
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:hover .bytm-generic-list-queue-btn-container a.bytm-generic-btn,
- ytmusic-responsive-list-item-renderer.bytm-has-queue-btns:focus-within .bytm-generic-list-queue-btn-container a.bytm-generic-btn
- {
- visibility: visible !important;
- }
- /* #region volume slider */
- #bytm-vol-slider-cont {
- position: relative;
- }
- #bytm-vol-slider-label {
- opacity: 0.000001;
- position: absolute;
- display: flex;
- flex-direction: row;
- align-items: center;
- gap: 5px;
- font-size: 1.4rem;
- top: 50%;
- left: 0;
- transform: translate(calc(-50% - 10px), -50%);
- text-align: right;
- transition: opacity 0.2s ease;
- }
- #bytm-vol-slider-label.has-icon {
- transform: translate(calc(-50% - 25px), -50%);
- }
- #bytm-vol-slider-label svg {
- padding: 4px;
- }
- #bytm-vol-slider-label svg path {
- fill: #909090;
- }
- #bytm-vol-slider-label.bytm-visible {
- opacity: 1;
- }
- #bytm-vol-slider-shared {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- #bytm-vol-slider-shared svg {
- width: 20px;
- height: 20px;
- }
|