/** * @name Transparent Quick Switcher * @author AcheronX. * @description Make quick Searcher transparent fit with theme. * @source https://github.com/acheronx0577/Transparent-Quick-Switcher-Discord/blob/main/Transparent%20Quick%20Switcher.css * @version 0.0.1 * @website https://github.com/acheronx0577 */ /* 🪟 Modal Container Styling */ [data-mana-component="modal"].container__53cea { clip-path: inset(0px 0 0px 0) !important; /* ✂️ Remove top/bottom clipping */ border-radius: 15px; /* 🔵 Soft rounded edges */ /* 📏 Reset padding to match clip changes */ padding-top: 0 !important; padding-bottom: 0 !important; } /* 🎨 QuickSwitcher container */ .quickswitcher_ac6cb0 { background: transparent !important; padding: 10px; background-color: rgba(85, 83, 83, 0.151) !important; backdrop-filter: blur(20px); border-radius: 15px !important; overflow: hidden !important; } /* 🎨 Inherit background for all children */ .quickswitcher_ac6cb0 > * { background: inherit !important; background-color: inherit !important; } /* 📜 Scroll area styling */ .scroller_ac6cb0 { border-radius: 12px; overflow: hidden; transform: translateX(1px); width: 99.6%; height: 90%; border: 2px solid rgba(255, 255, 255, 0.089); box-sizing: border-box; } /* ✍️ Input box styling */ .input_ac6cb0 { height: 50px; top: 2.5px; border: 2px solid rgba(255, 255, 255, 0.089); box-sizing: border-box; border-radius: 12px !important; /* 🔧 Always keep it rounded */ } /* 🚫 Hide protip */ .protip_ac6cb0 { display: none; } /* 🗂 Result item style */ .result__71961 { border-radius: 8px !important; margin: 5px 0 !important; background-color: rgba(59, 33, 133, 0.137) !important; color: inherit; } /* ✨ Hover effect for results */ .result__71961:hover { background: linear-gradient( to right, rgba(87, 45, 133, 0.6) 0%, rgba(45, 52, 139, 0.8) 50%, rgba(87, 45, 133, 0.6) 100% ) !important; color: rgb(255, 255, 255) !important; } /* 📝 Add right padding to avoid scrollbar overlap */ .content__99f8c, .content__71961 { padding-right: 10px !important; box-sizing: border-box; } /* 🏷 Set height & line-height for content */ .content__99f8c > div:not(.result__71961):not([aria-hidden="true"]) > .content__71961 { height: 20px; line-height: 20px; } /* 📏 Adjust header line spacing */ .content__99f8c > div:not(.result__71961):not([aria-hidden="true"]) > .content__71961 > .header__71961 { line-height: 20px; margin-top: 0; margin-bottom: 4px; } /* 👻 Hide backdrop opacity when QuickSwitcher layer present */ .backdrop__1a911:has(+ .layer_bc663c .quickswitcher_ac6cb0) { opacity: 0; } .resultsArea_ac6cb0 { border-radius: 12px !important; clip-path: inset(15.5px 1px 9.5px 1px round 12px) !important; overflow: hidden !important; } /* 🔍 Show protip with fade-in effect */ .protip_ac6cb0.hasContent_ac6cb0 { display: block !important; opacity: 0; animation: fadeInProtip 0.5s ease-in-out 0.3s forwards !important; border-radius: 8px !important; padding: 8px 12px !important; margin-top: 2px !important; clip-path: inset(0.8px 0 0 0) !important; } /* ✨ Protip text styling */ .pro__30cbe { color: var(--text-feedback-positive) !important; font-weight: 600 !important; } .tip__30cbe { color: var(--text-muted) !important; opacity: 0.9 !important; } /* 🎨 Autocomplete symbols */ .autocompleteQuerySymbol_ac6cb0 { background: rgba(88, 101, 242, 0.2) !important; border-radius: 4px !important; padding: 2px 6px !important; margin: 0 2px !important; border: 1px solid rgba(88, 101, 242, 0.3) !important; font-weight: 600 !important; } /* 🔗 Learn more link */ .anchor_edefb8 { color: var(--text-link) !important; text-decoration: none !important; } .anchorUnderlineOnHover_edefb8:hover { text-decoration: underline !important; } /* 🎬 Fade-in animation */ @keyframes fadeInProtip { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } /* 🟦 Outer sidebar container */ .sidebarList_c48ade, .sidebarListRounded_c48ade { border-radius: 0 !important; } /* 🔍 Search bar container */ .searchBar__35e86 { background-color: rgba(0, 0, 0, 0.205) !important; box-shadow: none !important; } /* 🔘 Search button in sidebar */ .searchBar__35e86 .button__201d5 { background: linear-gradient( to right, rgba(87, 45, 133, 0.3) 0%, /* More transparent */ rgba(45, 52, 139, 0.5) 50%, /* More transparent */ rgba(87, 45, 133, 0.3) 100% /* More transparent */ ) !important; transition: all 0.2s ease !important; border-radius: 7px !important; } /* ✨ Search button hover effect in sidebar */ .searchBar__35e86 .button__201d5:hover { background: linear-gradient( to right, rgba(87, 45, 133, 0.6) 0%, rgba(45, 52, 139, 0.8) 50%, rgba(87, 45, 133, 0.6) 100% ) !important; color: rgb(255, 255, 255) !important; transform: translateY(-0.5px) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; } /* 📝 Button contents */ .contents__201d5 { background-color: transparent !important; } /*Fix parent container not round in other themes*/ .container__53cea.size-lg__53cea { border-radius: 17px !important; /* adjust px as you like */ overflow: hidden; /* prevents child elements from "leaking" past rounded corners */ }