diff --git a/discord/channel-list-toggle/import.css b/discord/channel-list-toggle/import.css index 2d44518..1a0075d 100644 --- a/discord/channel-list-toggle/import.css +++ b/discord/channel-list-toggle/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +:root{--channel-list-toggle-icon-light:url("data:image/svg+xml,%3Csvgwidth='25px'height='25px'viewBox='002424'fill='none'xmlns='http://www.w3.org/2000/svg'%3E%3Cpathd='M36.00092H21M312.0009H21M318.0009H21'stroke='%23181818'stroke-width='2.5'stroke-linecap='round'stroke-linejoin='round'/%3E%3Cdefs%3E%3CclipPathid='clip0_429_11066'%3E%3Crectwidth='24'height='24'transform='translate(00.000915527)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");--channel-list-toggle-icon-dark:url("data:image/svg+xml,%3Csvgwidth='25px'height='25px'viewBox='002424'fill='none'xmlns='http://www.w3.org/2000/svg'%3E%3Cpathd='M36.00092H21M312.0009H21M318.0009H21'stroke='%23eee'stroke-width='2.5'stroke-linecap='round'stroke-linejoin='round'/%3E%3Cdefs%3E%3CclipPathid='clip0_429_11066'%3E%3Crectwidth='24'height='24'transform='translate(00.000915527)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");--channel-list-toggle-icon-margin:11px 0 0 24px;--channel-list-header-channel-text:var(--background-primary);--channel-list-header-channel-forum:var(--home-background)}html{--channel-list-toggle-icon:var(--channel-list-toggle-icon-light)}html[class*="theme-dark"]{--channel-list-toggle-icon:var(--channel-list-toggle-icon-dark)}html:has(div[class^="sidebar_"]:not(:focus-within)>nav){--channel-list-toggle-close:true}html:has(div[aria-hidden="true"][class^="layer"]),html:has(div[class^="sidebar_"]>*>* *:hover),html[class*="is-mobile"]{--channel-list-toggle-close:false !important}@container style(--channel-list-toggle-close:true){section[aria-labelledby][role="navigation"],div[class^="content"]>[class^="chat"]{z-index:0}nav[aria-label="Private channels"],nav[aria-label="Private channels"]>div[data-list-id^="private-channels"],div[class^="sidebar_"],div[class^="sidebar_"] nav[class^="container"]{background:unset}div[class^="sidebar_"]{z-index:1;position:absolute;width:26px;height:25px;margin:var(--channel-list-toggle-icon-margin)}div[class^="sidebar_"] nav>div[class^="scroller"]{height:48px;overflow:hidden !important}div[class^="sidebar_"] nav>div[class^="scroller"]:before{position:fixed;content:var(--channel-list-toggle-icon);cursor:pointer;color:var(--interactive-normal)}div[class^="sidebar_"] nav div[class^="container"]:has([class*="bar"]),div[class^="sidebar_"] nav div[class^="container"]:has([class*="channelNotice"]),div[class^="sidebar_"] nav div[class^="unread"][class*="container"],div[class^="sidebar_"] nav>div:first-child,div[class^="sidebar_"] section[class^="panels"]{display:none}div[class^="sidebar_"] nav>div[class^="scroller"]>ul{opacity:0}div[class^="sidebar_"]>*>*>*{pointer-events:none}section:not(:has([aria-label="Close"]))>div[class^=upperContainer]>div[class^=children]{margin-left:53px}@media only screen and (max-width:570px){div[class^="sidebar_"] nav:before{content:"‍‍‍ㅤ";position:fixed;width:50px;height:26px;margin-left:-9px;background:linear-gradient(94deg,var(--channel-list-header-channel-text) 75%,rgba(0,0,0,0) 100%)}div:has([data-list-id^="forum-channel-list"])>div[class^="sidebar_"] nav:before{background:linear-gradient(94deg,var(--channel-list-header-channel-forum) 75%,rgba(0,0,0,0) 100%)}div:has([class^="callContainer"])>div[class^="sidebar_"] nav:before{background:unset}}} diff --git a/discord/channel-list/import.css b/discord/channel-list/import.css index 2d44518..bfab28e 100644 --- a/discord/channel-list/import.css +++ b/discord/channel-list/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +:root{--sidebar-channel-type:"both";--sidebar-channel-width:68px;--sidebar-channel-transition:200ms;--sidebar-channel-icon-size:22px;--sidebar-channel-active-width:245px;--sidebar-channel-active-transition:800ms}@container style(--sidebar-channel-type:"focus") or style(--sidebar-channel-type:"hover") or style(--sidebar-channel-type:"both"){[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] svg[class*="icon"]{width:var(--sidebar-channel-icon-size);height:var(--sidebar-channel-icon-size)}[class*="unread_"]{display:none}[class*="modeUnread"] [class*="icon_"],[class*="modeSelected"] [class*="icon_"]{color:var(--interactive-active)}[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li>div>div a:has(>:nth-child(n+2))>[class*="linkTop_"]:has([class*="channelEmoji_"])>[class*="iconContainer_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"])>nav *{transition:var(--sidebar-channel-active-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]) [class*="animatedContainer_"] [class*="bannerImage_"],[class*="sidebar_"]:has([aria-label*="(server)"]) [class*="animatedContainer_"] [class*="bannerImage_"] img{width:var(--member-list-active-width);opacity:1;transition:opacity calc(var(--member-list-active-transition)+1500ms)}[class*="sidebar_"]:has([aria-label*="(server)"]){width:var(--sidebar-channel-active-width);transition:var(--sidebar-channel-active-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]) header [class*="headerContent"],[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li[tabindex="0"] [class^="link"]>div[class^="content_"]:has(>[class^="iconContainer_"]),[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li[tabindex="-1"] [class^="link"]>div[class^="content_"]:has(>[class^="iconContainer_"]){justify-content:center}}@container style(--sidebar-channel-type:"focus") or style(--sidebar-channel-type:"both"){[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav *{transition:var(--sidebar-channel-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within){width:var(--sidebar-channel-width);transition:var(--sidebar-channel-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav{cursor:pointer}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>*>* *{pointer-events:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) header>div>[class*="name_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] [class*="iconContainer_"]{margin-right:unset}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] [class*="name_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] div[class*="children_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] div[class*="textBadge_"],[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class*="linkBottom_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has([class^="link"]):not(:has(div[class*="children_"])){padding-left:4px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has([aria-label*="(category)"]) svg[class*="arrow_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has(div[class*="spineBorder_"]):has(div[aria-label*="(thread)"]){display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li>div[class*="list_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="voiceChannelsButton_"]>*{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="voiceChannelsButton_"]:before{margin-left:8px;display:flex;justify-content:center;font-weight:600;font-family:var(--font-primary);font-size:14px;line-height:18px;color:var(--text-normal);content:"..."}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="divider_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="progressBarContainer_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[aria-label*="Boost"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>div div[class*="bar_"]:has([class*="barText_"]):has(svg)>div{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>div div[class*="bar_"]:has([class*="barText_"])>svg{margin-right:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>div div[class*="bar_"]:has([class*="barText_"]):not(:has(svg))>div{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>nav>div div[class*="bar_"]:has([class*="barText_"]):not(:has(svg)):before{content:"new";font-size:12px;line-height:16px;font-family:var(--font-display);font-weight:600;color:var(--white-500);text-transform:uppercase}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) h3[class*="name"] [class^="overflow"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) h3[class*="name"]:before{display:flex;justify-content:center;font-family:var(--font-primary);line-height:16px;color:var(--channels-default);content:"..."}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) div[class*="children"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) header{box-shadow:var(--elevation-low);transition:inherit !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) [class*="animatedContainer_"]{height:0;opacity:0 !important;transition:none !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) [class*="animatedContainer_"] [class*="bannerImage_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) [class*="animatedContainer_"] [class*="bannerImage_"] img{opacity:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within) ul[aria-label="Channels"]:has(>div[style^="height:"]:nth-child(2)) div[aria-hidden="true"]:first-child{position:absolute;transition:none !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>[class*="inner_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>div>[aria-label*="Noise Suppression"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div{display:flex;flex-direction:column;gap:8px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]{display:flex;flex-direction:column;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]>div[class*="info_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]{display:flex;flex-direction:row;scroll-snap-type:x mandatory;overflow:scroll hidden}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]>*{scroll-snap-align:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]::-webkit-scrollbar{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]:has(>[class*="avatarWrapper_"])>[class*="flex_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):focus-within>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{padding-left:2px;margin-left:2px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]{margin-left:0;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{min-width:34px;min-height:37px;margin-left:0;padding-left:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]>[class*="nameTag_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="directionRow_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"])>[class*="panels_"]>[class*="container_"]{display:flex;justify-content:space-between}}@container style(--sidebar-channel-type:"hover") or style(--sidebar-channel-type:"both"){[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav *{transition:var(--sidebar-channel-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover){width:var(--sidebar-channel-width);transition:var(--sidebar-channel-transition)}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav{cursor:pointer}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>*>* *{pointer-events:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) header>div>[class*="name_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] [class*="iconContainer_"]{margin-right:unset}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] [class*="name_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] div[class*="children_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class^="link"] div[class*="textBadge_"],[class*="sidebar_"]:has([aria-label*="(server)"])>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li [class*="linkBottom_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has([class^="link"]):not(:has(div[class*="children_"])){padding-left:4px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has([aria-label*="(category)"]) svg[class*="arrow_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li:has(div[class*="spineBorder_"]):has(div[aria-label*="(thread)"]){display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"] li>div[class*="list_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="voiceChannelsButton_"]>*{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="voiceChannelsButton_"]:before{margin-left:8px;display:flex;justify-content:center;font-weight:600;font-family:var(--font-primary);font-size:14px;line-height:18px;color:var(--text-normal);content:"..."}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="divider_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[class*="progressBarContainer_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>[class*="scroller_"]>ul[aria-label*="Channels"]>div[aria-label*="Boost"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>div div[class*="bar_"]:has([class*="barText_"]):has(svg)>div{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>div div[class*="bar_"]:has([class*="barText_"])>svg{margin-right:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>div div[class*="bar_"]:has([class*="barText_"]):not(:has(svg))>div{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>nav>div div[class*="bar_"]:has([class*="barText_"]):not(:has(svg)):before{content:"new";font-size:12px;line-height:16px;font-family:var(--font-display);font-weight:600;color:var(--white-500);text-transform:uppercase}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) h3[class*="name"] [class^="overflow"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) h3[class*="name"]:before{display:flex;justify-content:center;font-family:var(--font-primary);line-height:16px;color:var(--channels-default);content:"..."}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) ul[aria-label="Channels"] [class*="containerDefault_"]:has([class*="arrow_"]) div[class*="children"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) header{box-shadow:var(--elevation-low);transition:inherit !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) [class*="animatedContainer_"]{height:0;opacity:0 !important;transition:none !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) [class*="animatedContainer_"] [class*="bannerImage_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) [class*="animatedContainer_"] [class*="bannerImage_"] img{opacity:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover) ul[aria-label="Channels"]:has(>div[style^="height:"]:nth-child(2)) div[aria-hidden="true"]:first-child{position:absolute;transition:none !important}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>[class*="inner_"],[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>div>[aria-label*="Noise Suppression"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div{display:flex;flex-direction:column;gap:8px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]{display:flex;flex-direction:column;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]>div[class*="info_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]{display:flex;flex-direction:row;scroll-snap-type:x mandatory;overflow:scroll hidden}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]>*{scroll-snap-align:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]::-webkit-scrollbar{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="container_"]:has(>[class*="avatarWrapper_"])>[class*="flex_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):hover>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{padding-left:2px;margin-left:2px}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="container_"]{margin-left:0;justify-content:center}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{min-width:34px;min-height:37px;margin-left:0;padding-left:0}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]>[class*="nameTag_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="directionRow_"]{display:none}[class*="sidebar_"]:has([aria-label*="(server)"])>[class*="panels_"]>[class*="container_"]{display:flex;justify-content:space-between}}@container style(--sidebar-channel-type:"both"){*:has([class*="sidebar_"]:hover){--sidebar-channel-type:"hover"}*:has([class*="sidebar_"]:focus-within){--sidebar-channel-type:"focus"}} diff --git a/discord/discord-links/import.css b/discord/discord-links/import.css index 2d44518..db25e07 100644 --- a/discord/discord-links/import.css +++ b/discord/discord-links/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +div[class*="messageContent"] a[href^="https://discord.com"]:not([href*="channels"]),div[class*="messageContent"] a[href^="https://discordstatus.com"],div[class*="messageContent"] a[href^="https://support.discord.com"]{font-size:0;line-height:0;text-decoration:none}div[class*="messageContent"] a[href^="https://discord.com"]:not([href*="channels"])::after,div[class*="messageContent"] a[href^="https://discordstatus.com"]::after,div[class*="messageContent"] a[href^="https://support.discord.com"]::after{font-size:11pt !important;line-height:10px !important;background:var(--brand-experiment-30a);color:var(--brand-experiment-200);transition:50ms ease-out;cursor:pointer;border-radius:3px;padding:0 2px;font-weight:500}div[class*="messageContent"] a[href^="https://discord.com"]:hover::after,div[class*="messageContent"] a[href^="https://discordstatus.com"]:hover::after,div[class*="messageContent"] a[href^="https://support.discord.com"]:hover::after{color:#fff;background-color:var(--brand-experiment)}div[class*="messageContent"] a[href^="https://discord.com"]:not([href*="channels"])::after{content:"Jump to Discord"}div[class*="messageContent"] a[href^="https://discordstatus.com"]::after{content:"Jump to Discord Status" !important}div[class*="messageContent"] a[href^="https://support.discord.com"]::after{content:"Jump to Discord Support" !important}div[class*="messageContent"] a[href^="https://discord.com/tos"]::after{content:"Jump to TOS" !important}div[class*="messageContent"] a[href^="https://discord.com/terms"]::after{content:"Jump to Terms" !important}div[class*="messageContent"] a[href^="https://discord.com/nitro"]::after{content:"Jump to Nitro" !important}div[class*="messageContent"] a[href^="https://discord.com/safety"]::after{content:"Jump to Trust and Safety" !important}div[class*="messageContent"] a[href^="https://discord.com/blog"]::after{content:"Jump to Blog" !important}div[class*="messageContent"] a[href^="https://discord.com/jobs"]::after{content:"Jump to Jobs At Discord" !important}div[class*="messageContent"] a[href^="https://discord.com/branding"]::after{content:"Jump to Discord Branding" !important} diff --git a/discord/member-list/import.css b/discord/member-list/import.css index 2d44518..541b7b3 100644 --- a/discord/member-list/import.css +++ b/discord/member-list/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +:root{--member-list-type:"both";--member-list-width:70px;--member-list-transition:200ms;--member-list-active-width:240px;--member-list-active-transition:800ms}@container style(--member-list-type:"focus") or style(--member-list-type:"hover") or style(--member-list-type:"both"){[class*="membersWrap_"]{min-width:unset !important;width:unset !important;flex-basis:unset !important}[class*="membersWrap_"] [class*="members_"] [class*="member_"]{max-width:unset !important}[class*="membersWrap_"] [class*="members_"]{width:var(--member-list-active-width)}[class*="membersWrap_"] *{transition:width var(--member-list-active-transition),opacity var(--member-list-active-transition)}div[id^="popout"][style*="right:"]:has([class*="user"]){right:calc(var(--member-list-active-width)+20px) !important;transition:unset !important}div[id^="popout"][style*="right:"]:has([class*="user"])>div{transition:unset !important;transform:unset !important}}@container style(--member-list-type:"focus") or style(--member-list-type:"both"){[class*="membersWrap_"]:not(:focus-within) [class*="members_"]{width:var(--member-list-width)}[class*="membersWrap_"]:not(:focus-within) *{transition:width var(--member-list-transition),opacity var(--member-list-transition)}*:has([class*="membersWrap_"]:not(:focus-within)) div[id^="popout"][style*="right:"]:has([class*="user"]){right:calc(var(--member-list-width)+20px) !important;transition:right var(--member-list-transition) !important}[class*="membersWrap_"]:not(:focus-within) [class*="members_"]{cursor:pointer}[class*="membersWrap_"]:not(:focus-within) [class*="members_"] *{pointer-events:none}[class*="membersWrap_"]:not(:focus-within) [class*="membersGroup_"]{opacity:0;height:0}[class*="membersWrap_"]:not(:focus-within) [class*="membersGroup_"]:first-of-type{padding:10px 8px 0 16px}[class*="membersWrap_"]:not(:focus-within) [class*="membersGroup_"]:not(:first-of-type){padding:0 8px 0 16px}[class*="membersWrap_"]:not(:focus-within) [class*="content_"][aria-label="Members"]{height:100vh !important}[class*="membersWrap_"]:not(:focus-within) [class*="content_"] [aria-label="Members"]>[class*="private_"]~div:last-child,[class*="membersWrap_"]:not(:focus-within) [class*="content_"] [aria-label="Members"]>[class*="divider_"],[class*="membersWrap_"]:not(:focus-within) [class*="content_"] [aria-label="Members"]>[class*="private_"]{opacity:0;transition:calc(var(--member-list-transition) - 100ms)}*:has([class*="membersWrap_"]:not(:focus-within)) [class*="membersListNotices_"]:not(:has(>div>div)){width:unset}[class*="membersWrap_"]:not(:focus-within) [class*="members_"] [class*="member_"] [class*="memberInner_"]{justify-content:center}[class*="membersWrap_"]:not(:focus-within) [class*="members_"] [class*="member_"] [class*="memberInner_"] [class*="content_"]{visibility:hidden;max-width:0}}@container style(--member-list-type:"hover") or style(--member-list-type:"both"){[class*="membersWrap_"]:not(:hover) [class*="members_"]{width:var(--member-list-width);transition:var(--member-list-transition)}[class*="membersWrap_"]:not(:hover) *{transition:width var(--member-list-transition),opacity var(--member-list-transition)}*:has([class*="membersWrap_"]:not(:hover)) div[id^="popout"][style*="right:"]:has([class*="user"]){right:calc(var(--member-list-width)+20px) !important;transition:right var(--member-list-transition) !important}[class*="membersWrap_"]:not(:hover) [class*="members_"]{cursor:pointer}[class*="membersWrap_"]:not(:hover) [class*="members_"] *{pointer-events:none}[class*="membersWrap_"]:not(:hover) [class*="membersGroup_"]{opacity:0;height:0}[class*="membersWrap_"]:not(:hover) [class*="membersGroup_"]:first-of-type{padding:10px 8px 0 16px}[class*="membersWrap_"]:not(:hover) [class*="membersGroup_"]:not(:first-of-type){padding:0 8px 0 16px}[class*="membersWrap_"]:not(:hover) [class*="content_"][aria-label="Members"]{height:100vh !important}[class*="membersWrap_"]:not(:hover) [class*="content_"] [aria-label="Members"]>[class*="private_"]~div:last-child,[class*="membersWrap_"]:not(:hover) [class*="content_"] [aria-label="Members"]>[class*="divider_"],[class*="membersWrap_"]:not(:hover) [class*="content_"] [aria-label="Members"]>[class*="private_"]{opacity:0;transition:calc(var(--member-list-transition) - 100ms)}*:has([class*="membersWrap_"]:not(:hover)) [class*="membersListNotices_"]:not(:has(>div>div)){width:unset}[class*="membersWrap_"]:not(:hover) [class*="members_"] [class*="member_"] [class*="memberInner_"]{justify-content:center}[class*="membersWrap_"]:not(:hover) [class*="members_"] [class*="member_"] [class*="memberInner_"] [class*="content_"]{visibility:hidden;max-width:0}}@container style(--member-list-type:"both"){*:has([class*="membersWrap_"]:hover){--member-list-type:"hover"}*:has([class*="membersWrap_"]:focus-within){--member-list-type:"focus"}} diff --git a/discord/modal/add-server/import.css b/discord/modal/add-server/import.css index 2d44518..c2f68c3 100644 --- a/discord/modal/add-server/import.css +++ b/discord/modal/add-server/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="content_"]{overflow:hidden overlay !important;display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:min-content;gap:1em}[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="content_"]>:nth-child(1),[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="content_"]>:nth-child(2){grid-column:span 2}[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="content_"] button>[class*="text_"]{text-align:left}[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="content_"] button>:last-child:is(img){display:none}[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="footer_"]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}[class*="root_"]:not(:has([class*="paymentModalContent"])) div:has(button:nth-child(4))>[class*="footer_"]>h2{margin:0;font-size:16px} diff --git a/discord/redacted/blur/import.css b/discord/redacted/blur/import.css index 2d44518..53c27a9 100644 --- a/discord/redacted/blur/import.css +++ b/discord/redacted/blur/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +img[class*="avatar_"],[class*="imageUploaderInner_"],[data-list-item-id*="guildsnav_"]>img,[class*="closedFolderIconWrapper_"]>div,div[class*="guildIconImage"],[class*="userInfo_"] [class*="activity_"]>img,[data-list-item-id*="private-channels-uid"] [class*="activity_"]>img,[class*="itemCard_"] [class*="headerFull_"]>img,[class*="itemCard_"] [class*="activitySection_"] img,[class*="user"] [class*="listAvatar_"],[class*="user"] [class*="customStatus_"]>img,[class*="user"] [class*="markup_"] span:has([class*="emoji"])>img,[class*="user"] [class*="gameIcon_"],[class*="customizationSection_"] [class*="icon_"],[class*="authedApp_"]>div>div>img,[id*="message-reply-context"]>img,[id*="message-accessories"] [class*="threadMessageAccessory_"]>[class*="threadMessageAccessoryAvatar_"],li[class*="option_"]>img[class*="displayAvatar_"]{filter:blur(12px) !important;clip-path:circle(50% at center) !important}[class*="nameTag_"] [class*="title_"],[class*="nameTag_"] [class*="subtext_"],[class*="chat_"] section[aria-label="Channel header"]:has(div[class*="avatar_"]) [class*="titleWrapper_"]>h1,[class*="chat_"] section[aria-label="Channel header"]:has(div[class*="avatar_"]) [class*="nicknames_"] span,[class*="chat_"]:has(section[aria-label="Channel header"] div[class*="avatar_"]) [class*="content_"] [class*="header_"],[class*="chat_"]:has(section[aria-label="Channel header"] div[class*="avatar_"]) [class*="content_"] [class*="description_"]>h3,[class*="chat_"]:has(section[aria-label="Channel header"] div[class*="avatar_"]) [class*="content_"] [class*="description_"]>strong,[class*="threadCreatorName_"]>span,[class*="userInfo_"] [class*="discordTag_"] span,[class*="userInfo_"] [class*="text_"],[data-list-item-id*="private-channels-uid"] [class*="name_"]>div,[data-list-item-id*="private-channels-uid"] [class*="activity_"]>div,[class*="itemCard_"] [class*="headerFull_"]>div>div,[class*="itemCard_"] [class*="headerFull_"]>div>div>span,[class*="itemCard_"] [class*="activitySection_"] [class*="textContent_"],[class*="memberItem_"] span,[class*="userProfileModalOverlayBackground_"] [class*="container_"]>div>div,[class*="userProfileModalOverlayBackground_"] [class*="container_"]>div>div>span[class*="discriminator_"],[class*="userProfileModalOverlayBackground_"] [aria-label="Pronouns"],[class*="userProfileModalOverlayBackground_"] [class*="markup_"] span:not(:has([class*="emoji"])),[class*="userProfileModalOverlayBackground_"] [class*="memberSinceContainer_"] div[class*="text-sm-normal"],[class*="userProfileModalOverlayBackground_"] [class*="connectedAccountNameText_"],[class*="userProfileModalOverlayBackground_"] [class*="connectedAccountNameContainer_"]>:last-child,[class*="userProfileModalOverlayBackground_"] [class*="connectedAccountChildren_"]>div,[class*="userProfileModalOverlayBackground_"] [class*="connectedAccountChildren_"]>div>strong,[class*="userProfileModalOverlayBackground_"] [class*="note_"]>textarea::placeholder,[class*="userProfileModalOverlayBackground_"] [class*="note_"]>textarea,[class*="userProfileModalOverlayBackground_"] [class*="listName_"],[class*="userPopoutOverlayBackground_"] [class*="userText_"]>h1,[class*="userPopoutOverlayBackground_"] [class*="userText_"]>h2,[class*="userPopoutOverlayBackground_"] [class*="userText_"]>h4,[class*="userPopoutOverlayBackground_"] [class*="userText_"]>div>span,[class*="userPopoutOverlayBackground_"] [aria-label="Pronouns"],[class*="userPopoutOverlayBackground_"] [class*="markup_"] span:not(:has([class*="emoji"])),[class*="userPopoutOverlayBackground_"] [class*="note_"]>textarea::placeholder,[class*="userPopoutOverlayBackground_"] [class*="note_"]>textarea,[class*="userPopoutOverlayBackground_"] [class*="memberSinceContainer_"] div[class*="text-sm-normal"],[class*="userPopoutOverlayBackground_"] [class*="customStatus_"]>span,[class*="userPopoutOverlayBackground_"] [class*="contentGameImage"] span,[class*="userPanelOverlayBackground_"] [class*="userText_"]>h2,[class*="userPanelOverlayBackground_"] [class*="userText_"]>div>span,[class*="userPanelOverlayBackground_"] [aria-label="Pronouns"],[class*="userPanelOverlayBackground_"] [class*="customStatus_"]>span,[class*="userPanelOverlayBackground_"] [class*="markup_"] span:not(:has([class*="emoji"])),[class*="userPanelOverlayBackground_"] [class*="note_"]>textarea::placeholder,[class*="userPanelOverlayBackground_"] [class*="note_"]>textarea,[class*="userPanelOverlayBackground_"] [class*="memberSinceContainer_"] div[class*="text-sm-normal"],[class*="userPanelOverlayBackground_"] [class*="contentGameImage"] span,[class*="userPanelOverlayBackground_"] [class*="mutualGuildsList"] [class*="listName"],[class*="accountProfileCard_"] [class*="userTag_"]>span,[class*="accountProfileCard_"] [class*="field_"]>div>div>div>span,[class*="customizationSection_"] input:not(:focus),[class*="authedApp_"]>div>div>h4,[class*="session_"]>[class*="sessionInfo"]>div:not([class*="eyebrow_"])>span,[class*="connection_"] [class*="connectionAccountValue"]>div,[class*="connection_"] [class*="metadataContainer_"] strong,[class*="connection_"] [class*="metadataContainer_"] div[class*="connectedAccountVanityMetadataCreatedAt"],[id="library-inventory-tab"] [class*="codeRedemptionInput_"]>input:not(:placeholder-shown),[class*="paymentHistory_"] [class*="amount_"]>[class*="price_"],[class*="paymentHistory_"] [class*="paymentDetail_"]>div>div:last-child,[class*="sidebar_"]:has([aria-label*="(server)"]) header>div>[class*="name_"],[class*="membersWrap_"] span[class*="username_"],[class*="membersWrap_"] [class*="activity_"]>div,[id*="message-content"] a>[class*="username_"],[id*="message-username"]>[class*="username_"],[id*="message-content"] [class*="mention"],[id*="message-reply-context"]>[class*="username_"],[id*="message-accessories"] [class*="threadMessageAccessory_"]>[class*="username_"],[id*="message-content"] [class*="channelNameChange_"] strong,[class*="searchBar_"] div[class^="public-DraftStyleDefault_"]>span:not([class*="searchFilter_"]),[class*="option_"]>span[class*="display"],[class*="option_"][aria-label*="Search for "]>span:not([class*="filter_"]),[class*="mainTableContainer_"] input:not(:placeholder-shown),[class*="mainTableContainer_"] tr>td>div>div:not(:first-child)>div,[class*="mainTableContainer_"] tr>td>div>div:not(:first-child)>div>span,[class*="usernameSection_"]>[class*="username_"]>[class*="textOverflow_"],[class*="userMenuItem_"]>[class*="userMenuUsername_"]>[class*="userMenuText_"],span[class*="guildName_"],[class*="statusWrapper_"]>span{transition:ease-in 200ms;color:transparent !important;text-shadow:0 0 6px rgb(255 255 255 / 23%) !important;padding:0 4px}[class*="customizationSection_"] input:not(:focus){text-indent:7px}input:not(:placeholder-shown){caret-color:var(--text-normal)} diff --git a/discord/sidebar-dm/import.css b/discord/sidebar-dm/import.css index 2d44518..6a14e60 100644 --- a/discord/sidebar-dm/import.css +++ b/discord/sidebar-dm/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +:root{--sidebar-dm-type:"both";--sidebar-dm-width:68px;--sidebar-dm-transition:200ms;--sidebar-dm-active-width:245px;--sidebar-dm-active-transition:800ms;--sidebar-dm-display-header:"true";--sidebar-dm-display-search:"true"}@container style(--sidebar-dm-type:"focus") or style(--sidebar-dm-type:"hover") or style(--sidebar-dm-type:"both"){@container style(--sidebar-dm-display-header:"false"){[class*="sidebar_"]:has([aria-label*="Private"])>nav>[class*="scroller_"]>ul>[class*="privateChannelsHeaderContainer_"]{display:none}}@container style(--sidebar-dm-display-search:"false"){[class*="sidebar_"]:has([aria-label*="Private"])>nav>[class*="searchBar_"]{display:none}}[class*="sidebar_"]:has([aria-label*="Private"]){width:var(--sidebar-dm-active-width);transition:var(--sidebar-dm-active-transition)}[class*="sidebar_"]:has([aria-label*="Private"]) ul>li[class*="channel_"]{max-width:unset !important}}@container style(--sidebar-dm-type:"focus") or style(--sidebar-dm-type:"both"){[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>[class*="privateChannelsHeaderContainer_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="searchBar_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within){width:var(--sidebar-dm-width);transition:var(--sidebar-dm-transition)}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav{cursor:pointer}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>*>* *{pointer-events:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div>div[class*="content"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>div[aria-label="Close DM"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"]>div[class*="avatar"]{margin-right:unset !important}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"][class*="avatarWithText"]{margin-left:10px !important}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>[class*="inner_"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>div>[aria-label*="Noise Suppression"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div{display:flex;flex-direction:column;gap:8px}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]{display:flex;flex-direction:column;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]>div[class*="info_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]{display:flex;flex-direction:row;scroll-snap-type:x mandatory;overflow:scroll hidden}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]>*{scroll-snap-align:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]::-webkit-scrollbar{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]:has(>[class*="avatarWrapper_"])>[class*="flex_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):focus-within>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{padding-left:2px;margin-left:2px}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]{margin-left:0;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{min-width:34px;min-height:37px;margin-left:0;padding-left:0}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]>[class*="nameTag_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:focus-within)>[class*="panels_"]>[class*="container_"]>[class*="directionRow_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"])>[class*="panels_"]>[class*="container_"]{display:flex;justify-content:space-between}}@container style(--sidebar-dm-type:"hover") or style(--sidebar-dm-type:"both"){[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>[class*="privateChannelsHeaderContainer_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="searchBar_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover){width:var(--sidebar-dm-width);transition:var(--sidebar-dm-transition)}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav{cursor:pointer}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>*>* *{pointer-events:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div>div[class*="content"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>div[aria-label="Close DM"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"]>div[class*="avatar"]{margin-right:unset !important}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>nav>[class*="scroller_"]>ul>li>div>a[data-list-item-id^="private-channels-uid"]>div[class*="layout"][class*="avatarWithText"]{margin-left:10px !important}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>[class*="inner_"],[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>div>div>[aria-label*="Noise Suppression"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]{display:flex;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div{display:flex;flex-direction:column;gap:8px}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]{display:flex;flex-direction:column;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="activityPanel_"]>div>div[class*="gameWrapper_"]>div[class*="info_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]{display:flex;flex-direction:row;scroll-snap-type:x mandatory;overflow:scroll hidden}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]>*{scroll-snap-align:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="wrapper_"]>[class*="container_"]>[class*="actionButtons_"]::-webkit-scrollbar{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="container_"]:has(>[class*="avatarWrapper_"])>[class*="flex_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):hover>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{padding-left:2px;margin-left:2px}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="container_"]{margin-left:0;justify-content:center}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]{min-width:34px;min-height:37px;margin-left:0;padding-left:0}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="avatarWrapper_"]>[class*="nameTag_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"]):not(:hover)>[class*="panels_"]>[class*="container_"]>[class*="directionRow_"]{display:none}[class*="sidebar_"]:has([aria-label*="Private"])>[class*="panels_"]>[class*="container_"]{display:flex;justify-content:space-between}}@container style(--sidebar-dm-type:"both"){*:has([class*="sidebar_"]:hover) *:has(nav[aria-label*="Private"]){--sidebar-dm-type:"hover"}*:has([class*="sidebar_"]:focus-within) *:has(nav[aria-label*="Private"]){--sidebar-dm-type:"focus"}} diff --git a/discord/sidebar-notice/import.css b/discord/sidebar-notice/import.css index 2d44518..769a2d8 100644 --- a/discord/sidebar-notice/import.css +++ b/discord/sidebar-notice/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +:root{--notice-margin-top:48px;--notice-margin-bottom:auto;--notice-margin-left:0;--notice-margin-right:auto;--notice-background:var(--background-secondary);--notice-enable-height-adjust:true;--notice-icon-join:transparent;--notice-icon-welcome:"";--notice-icon-premium:"";--notice-text-heading:"";--notice-text-join:""}html:not(:has(.artwork_d8215a)){&:is([lang="en-GB"]),&:is([lang="en-US"]){--notice-text-heading:"Notice" !important;--notice-text-join:"Join Server" !important}&:is([lang="de"]){--notice-text-heading:"Hinweis" !important;--notice-text-join:"Server beitreten" !important}&:is([lang="es-ES"]){--notice-text-heading:"Aviso" !important;--notice-text-join:"Unirse al servidor" !important;.base_a4d4d9:has(.notice_be03aa){--notice-height:155px !important}}&:is([lang="fr"]){--notice-text-heading:"Avis" !important;--notice-text-join:"Rejoindre le serveur" !important}.base_a4d4d9:has(.notice_be03aa){&:not(:has(.colorPremium_be03aa)){&:has(.notice_dd5a33){--notice-height:140px;--notice-icon:var(--notice-icon-join)}&:has(.notice_a50047){--notice-height:155px;--notice-icon:var(--notice-icon-welcome)}>div.notice_be03aa{align-content:space-between;background:var(--notice-background);border-bottom:1px solid var(--background-secondary);border-radius:0;bottom:var(--notice-margin-bottom);box-shadow:none;box-sizing:border-box;display:grid;gap:12px 8px;grid-template-columns:80px 1fr;grid-template-rows:auto 32px;height:var(--notice-height);left:var(--notice-margin-left);overflow:hidden;padding:16px 0;position:absolute;right:var(--notice-margin-right);top:var(--notice-margin-top);width:240px;&:before{box-shadow:var(--elevation-low);content:"";display:block;height:1px;left:0;pointer-events:none;position:absolute;right:0;top:-1px;z-index:1}&:after{border-bottom:1px solid var(--background-modifier-accent);bottom:0;content:"";height:1px;left:8px;position:absolute;width:calc(100% - 8px)}>*{align-self:stretch;box-sizing:border-box;width:100%}>div{align-items:flex-start;display:flex;flex-direction:column;grid-column:1 / -1;margin:0;padding:0 16px;text-align:left;&:before{content:var(--notice-text-heading);font-family:var(--font-primary);font-size:16px;font-weight:600;line-height:1.25;padding-bottom:4px;position:relative;top:0;z-index:2}&:after{background:linear-gradient(158deg,transparent 0,var(--notice-background) 80%),linear-gradient(5deg,transparent 60%,var(--notice-background) 90%),linear-gradient(74deg,transparent 3%,var(--notice-background) 85%),var(--notice-icon);background-position:top center;background-repeat:no-repeat;content:"";height:100px;opacity:.5;position:absolute;right:0;top:0;transform:rotate(19deg);width:100px;z-index:-1}}>button{border:0 solid transparent;box-sizing:border-box;grid-row:2;height:var(--custom-button-button-sm-height);left:0;min-height:var(--custom-button-button-sm-height);padding:0;position:relative;right:0;top:0;&:first-of-type{grid-column:1 / 2;padding-left:12px;>div>svg{display:none}}&:last-of-type:not(:first-of-type){grid-column:2 / 3;padding-right:12px;&:not(:has([aria-label="Loading"])):before{align-items:center;content:var(--notice-text-join);display:flex;font-family:var(--font-primary);font-size:14px;font-weight:500;height:100%;line-height:16px;position:absolute;top:0;user-select:none;z-index:2}>*{overflow:hidden;text-indent:-9999px;white-space:nowrap}}&:only-of-type{grid-column:1 / -1;padding:0 12px}&:hover{background:transparent}>*{align-items:center;background-color:var(--brand-500);border:0;border-radius:3px;box-sizing:border-box;color:var(--white-500);display:flex;font-size:14px;font-weight:500;height:100%;justify-content:center;line-height:16px;padding:0 16px;position:relative;transition:background-color var(--custom-button-transition-duration) ease,color var(--custom-button-transition-duration) ease;user-select:none;width:100%;z-index:1;&:hover{background-color:var(--brand-560)}&:has([class*="spinner"]){background:var(--brand-560)}}&:has([class*="spinner"]){display:block}}}}@container style(--notice-enable-height-adjust:true){.thin_eed6a8>ul{&:has(>div[style="height: 16px;"]){margin-top:-17px}&:has(>div[style="height: 84px;"]){margin-top:-85px}}.container_fa295b:before{content:"";display:flex;height:var(--notice-height);position:relative;width:100%}.header_fd6364{background:var(--background-secondary);box-shadow:none}}&:has(.colorPremium_be03aa){--notice-icon:var(--notice-icon-premium);@container style(--notice-enable-height-adjust:true){.container_fa295b:before{height:142px}}>div.notice_be03aa{background:var(--notice-background);border-radius:0;bottom:var(--notice-margin-bottom);box-shadow:none;box-sizing:border-box;display:grid;grid-template-columns:1fr;grid-template-rows:27px 50px 32px;left:var(--notice-margin-left);padding:16px;position:absolute;right:var(--notice-margin-right);top:var(--notice-margin-top);width:240px;font-family:var(--font-primary);font-size:14px;line-height:1.2857142857142858;font-weight:400;color:var(--white-500);text-align:left;align-items:start;&:before{box-shadow:var(--elevation-low);content:"";display:block;height:1px;left:0;pointer-events:none;position:absolute;right:0;top:-1px;z-index:1}&:after{border-bottom:1px solid var(--background-modifier-accent);bottom:0;content:"";height:1px;left:8px;position:absolute;width:calc(100% - 16px)}>svg{display:none}>[aria-label="Dismiss"]{position:relative;height:100%;width:100%;display:flex;justify-content:space-between;&:before{display:flex;align-items:center;content:"Nitro";position:relative;top:0;width:100%;height:100%;z-index:10;text-indent:0;font-family:var(--font-primary);font-size:12px;line-height:1.3333333333333333;font-weight:700;color:var(--white-500);text-transform:uppercase}&:after{background:linear-gradient(158deg,transparent 0,var(--notice-background) 80%),linear-gradient(5deg,transparent 60%,var(--notice-background) 100%),linear-gradient(74deg,transparent 3%,var(--notice-background) 90%),var(--notice-icon);background-position:top center;background-repeat:no-repeat;content:"";height:100px;opacity:.5;position:absolute;right:0;top:0;transform:rotate(19deg);width:100px;z-index:-1}>svg{position:absolute;right:-2px;width:16px !important;height:16px !important}path{fill:var(--header-secondary)}}>button{margin:0;align-items:center;background:var(--premium-tier-2-purple);border:1px solid transparent;border-color:transparent;border-radius:3px;box-sizing:border-box;color:var(--white-500);display:flex;font-size:14px;font-weight:500;height:100%;justify-content:center;line-height:16px;padding:0 16px;position:relative;transition:background var(--custom-button-transition-duration) ease,border-color var(--custom-button-transition-duration) ease;user-select:none;width:100%;z-index:1;top:0;&:hover{background:transparent;border-color:var(--white-50)}&:before{position:absolute;align-items:center;background-color:var(--brand-500);border:0;border-radius:3px;box-sizing:border-box;color:var(--white-500);display:flex;font-size:14px;font-weight:500;height:100%;justify-content:center;line-height:16px;margin:0 16px;transition:background-color var(--custom-button-transition-duration) ease,color var(--custom-button-transition-duration) ease;user-select:none;width:100%;z-index:1}}}}}} diff --git a/discord/snippets/hide-channels-of-category.css b/discord/snippets/hide-channels-of-category.css index 2d44518..f1911b0 100644 --- a/discord/snippets/hide-channels-of-category.css +++ b/discord/snippets/hide-channels-of-category.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +[class*="sidebar_"]:has(nav[aria-label*="(server)"]) [class*="scroller_"]>ul[aria-label="Channels"]>li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="channel"]):not(li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="channel"])),[class*="sidebar_"]:has(nav[aria-label*="(server)"]) [class*="scroller_"]>ul[aria-label="Channels"]>li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="(category)"]):has([aria-expanded="true"])~li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="channel"]):not(li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="channel"])),[class*="sidebar_"]:has(nav[aria-label*="(server)"]) [class*="scroller_"]>ul[aria-label="Channels"]>li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="(category)"]):has([aria-expanded="true"])~li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="(category)"]):has([aria-expanded="true"])~li:has([aria-label*="(category)"]):has([aria-expanded="false"])~li:has([aria-label*="channel"]):not(li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="false"]) ~ li:has([aria-label*="(category)"]):has([aria-expanded="true"]) ~ li:has([aria-label*="channel"])){display:none} diff --git a/discord/themes/version-two/import.css b/discord/themes/version-two/import.css index 2d44518..06d6adc 100644 --- a/discord/themes/version-two/import.css +++ b/discord/themes/version-two/import.css @@ -1 +1 @@ -{"data": null, "success": false, "error": "TypeError: object of type 'NoneType' has no len()"} +@import url("https://github.com/lazuee/css-snippets/raw/main/discord/sidebar-notice/import.css");[class="container_a4d4d9"]{--space:12px;--border-radius:1.2rem;--bg-tertiary:30,31,34;--header:48px;--header-thumbnail:calc(135px + var(--header));--notice-margin-top:calc(57px + var(--space));--notice-margin-left:1px;--notice-background:var(--background-tertiary);display:flex;height:100%;justify-content:space-between;width:100%;>nav{height:100%;overflow-y:visible;width:72px;>ul{--server-nav-i:1;--top-margin:calc((56px + ((56px * var(--server-nav-i)) - 56px))+var(--space));--nav-height:calc(100% - ((var(--top-margin))+((56px * 2)+(53px+(var(--space) * 2)))));height:var(--nav-height);margin-top:var(--top-margin);&:before,&:after{content:"";height:32px;pointer-events:none;position:absolute;user-select:none;width:72px;z-index:3}&:before{background:linear-gradient(180deg,rgba(var(--bg-tertiary),1) 1%,rgba(var(--bg-tertiary),0.946297268907563) 13%,rgba(var(--bg-tertiary),0.7950367647058824) 55%,rgba(var(--bg-tertiary),0) 93%);top:0}&:after{background:linear-gradient(0,rgba(var(--bg-tertiary),1) 1%,rgba(var(--bg-tertiary),0.946297268907563) 13%,rgba(var(--bg-tertiary),0.7950367647058824) 55%,rgba(var(--bg-tertiary),0) 93%);bottom:0}>.unreadMentionsIndicatorTop_fea3ef:before,>.unreadMentionsIndicatorBottom_fea3ef:before{background:var(--background-secondary);content:"";height:1px;left:0;position:absolute;width:100%}>.unreadMentionsIndicatorTop_fea3ef:before{top:0}>.unreadMentionsIndicatorBottom_fea3ef:before{bottom:0}>.scroller_fea3ef{padding:0;&:before,&:after{content:"";display:block;left:0;position:relative;width:72px}&:before{height:24px;top:0}&:after{height:42px;bottom:0}>div:nth-child(1){top:var(--space);background:rgba(var(--bg-tertiary),1);background:transparent;position:fixed;z-index:4}>div:has([aria-label="Download Apps"]){display:none}>div:has([aria-label="Explore Discoverable Servers"]){bottom:calc(53px + ((var(--space) * 2)) - 8px);background:rgba(var(--bg-tertiary),1);background:transparent;position:fixed;z-index:4}>div:has([aria-label="Add a Server"]){padding-top:58px;bottom:calc(53px + ((var(--space) * 2) - 8px)+56px);background:rgba(var(--bg-tertiary),1);background:transparent;position:fixed;z-index:4}>div:has(>[class="guildSeparator_d0c57e"]){>*{height:0;background:transparent}&:nth-last-child(3):not(:has([aria-label="Download Apps"]))>*{height:0}}>div[aria-label="Servers"]{position:relative}}}}>.base_a4d4d9{overflow:visible;width:calc(100% - 72px);&:has(.channelNotice_a6cd4e):has([class="animatedContainer_fd6364"]){--notice-margin-top:calc(183px + var(--space))}>div.notice_be03aa{border-bottom:0;&:before{box-shadow:none}&:after{left:0;position:absolute;width:100%}}>[class="content_a4d4d9"]{margin:var(--space) 0;position:relative;>*{border-radius:var(--border-radius);overflow:hidden}>main,>[class*="shop_"],>[class*="applicationStore_"],>[class="pageWrapper_a3a4ce"],>[class*="chat_"]{border:1px solid var(--background-modifier-accent);display:flex;margin:0 var(--space);min-width:0;>[class="content_a7d72e"]:before,>[class="tabBody_c2739c"]:before{box-shadow:none}}>[class*="chat_"]{:is(main,section)[class^=chatContent]>form,form>div[class^=submitContainer]{padding:0;&:has([class="animation_faf5ab"]):before{align-items:center;appearance:none;background:var(--bg-overlay-3,var(--channeltextarea-background));box-sizing:border-box;color:var(--channel-text-area-placeholder);content:"You must complete a few more steps before you can talk.";cursor:not-allowed;display:flex;font-size:1rem;font-weight:400;height:52px;left:0;line-height:1.375rem;overflow:hidden;padding-left:16px;pointer-events:none;position:absolute;text-overflow:ellipsis;top:0;user-select:none;white-space:nowrap;width:100%;z-index:10}>div>div[class^=channelTextArea]{margin:0 !important;>div[class^=scrollableContainer]{border-radius:0;min-height:49px;padding-top:4px}}>div{border-radius:0;margin-bottom:0}>div[class^=typing]{background-color:var(--channeltextarea-background);border-radius:8px 8px 0 0;margin-left:auto;padding-left:2px;padding-right:9px;position:absolute;right:calc(var(--custom-index-scrollbar-margin) * 2+var(--custom-index-scrollbar-width));top:-24px;width:fit-content}&::after{display:none}>div>div>div[class^=attachedBars]{min-height:unset !important;padding-bottom:4px}}div[class^=jumpToPresentBar]{background-color:var(--channeltextarea-background);border-radius:0 8px 0 0;left:0;right:unset;>button[class^=barButtonMain]{display:none;flex:0 0 auto}}}>.sidebar_a4d4d9{background:transparent;border:1.3px solid var(--background-modifier-accent);margin:0 0 calc(56px + var(--space)) 0;>nav,>nav>.thin_eed6a8{background:transparent}>nav{.thin_eed6a8{&::-webkit-scrollbar{display:none}&::-webkit-scrollbar-track{background-color:var(--scrollbar-thin-track);border:2px solid var(--scrollbar-thin-track)}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--scrollbar-thin-thumb);border:2px solid transparent;border-radius:4px;min-height:40px}>ul{.container_c75f85:after{left:0}>.sectionDivider_c43953{margin-left:0}>[style="height: 84px;"]{height:0 !important}>[style="height: 16px;"]{height:0 !important}>li .wrapper_d8bfb3{margin:0 8px}}}&:has([class="animatedContainer_fd6364"]){>div:has([class="animatedContainer_fd6364"]){background:var(--background-tertiary);display:flex;flex-direction:column-reverse;height:var(--header-thumbnail);overflow:hidden;position:absolute;width:240px;z-index:3;>div{box-shadow:none;opacity:1 !important;pointer-events:none;transform:translateY(0) !important;>div{transform:translateY(0) scale(1) !important}}}>.thin_eed6a8>ul{>[style="height: 84px;"],>[style="height: 16px;"]{height:calc(183px - 12px) !important}}}>div:has([class*="channelNotice_"])>div{margin:16px 0 0;padding:0 16px 16px}>[class="searchBar_f0963d"]{padding:3px 16px 4px}div:not(:has([class="animatedContainer_fd6364"]))>[class="header_fd6364"]{padding:15px 16px 16px}>[class="searchBar_f0963d"],>div>[class="header_fd6364"]{border-bottom:1.3px solid var(--background-modifier-accent);box-shadow:none}}>section{>[class*="wrapper_"]>div{border-top:1px solid var(--background-modifier-accent);border-bottom:0 solid transparent}>[class*="container_"]{background:var(--background-secondary);border-radius:calc(var(--border-radius) - 4px);bottom:0;justify-content:space-between;left:calc(-72px + var(--space));position:absolute;width:calc(296px - var(--space));z-index:999}}}}}}.accountProfilePopoutWrapper_b2ca13{left:-6px}