/* Theme: Ratware v1 */ .custom-theme-active { /* Change Logo */ .logo { visibility: hidden; position: relative; } .logo::before, .logo::after { visibility: visible; position: absolute; width: 99999%; pointer-events: none; transition: opacity; transition-duration: 1s; transition-timing-function: step-end; } .logo::before { content: "Ratware"; opacity: 1; } .logo::after { content: "Running rat.exe"; opacity: 0; } body:has(.left-actions > :first-child:active) .logo::before { transition-duration: 0s; opacity: 0; } body:has(.left-actions > :first-child:active) .logo::after { transition-duration: 0s; opacity: 1; } /* Mystery button */ .theme-indicator { visibility: visible; width: 1rem; font-size: 0; background-color: transparent; } .theme-indicator > * { display: none; } .theme-indicator:active::before { content: ""; width: 100vw; height: 100vh; position: fixed; left: 0; top: 0; background-color: white; z-index: 666; } /* Make tabs fit content */ .tab { width: fit-content; min-width: 0px; } /* Remove tab icon */ .tab > svg { display: none; } /* Rat background */ .view-lines { background: transparent; } .view-lines::before { content: ""; width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0.25; background: url("https://bigrat.monster/media/bigrat.jpg") no-repeat center / cover; } /* Change Attach button */ .right-actions > :first-child { & > span { visibility: hidden; position: relative; } & > span::after { visibility: visible; position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 1; } &.disconnected > span::after { content: "Rat"; } &.connecting > span::after { content: "Ratting"; } &.connected > span::after { content: "Ratted"; } } /* Change Attach button icon */ .right-actions > :first-child > svg { visibility: hidden; } .right-actions > :first-child::before { content: ""; width: 14px; margin-right: -20px; height: 14px; mask: url("data:image/svg+xml;utf8,"); mask-size: contain; background-color: currentColor; } }