xmc/modular/collapsing_sidebar/compact-er_support.css

187 lines
4.9 KiB
CSS
Raw Normal View History

2023-02-15 03:59:16 +00:00
div[class^="sidebar-"]:not(:has(> [class^="side-"])) > nav {
width: unset;
z-index: 9;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])) {
width: 56px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):hover {
width: 240px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="panels-"]
> *:not(:last-child),
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="panels-"]
> [class^="container-"]:last-child
> [class^="avatarWrapper-"]
> [class^="nameTag-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="panels-"]
> [class^="container-"]:last-child
> div:last-child {
display: none;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> [class^="panels-"]
> [class^="container-"]:last-child {
2023-02-15 05:00:25 +00:00
width: 224px;
2023-02-15 03:59:16 +00:00
position: relative;
bottom: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="panels-"]
> [class^="container-"]:last-child {
width: 48px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
2023-03-30 02:16:30 +00:00
> nav[class^="container-"] {
padding-top: 32px;
2023-02-15 03:59:16 +00:00
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="privateChannels-"]
> [class^="searchBar-"] {
position: fixed;
top: 0;
width: 240px;
z-index: 101;
background: var(--background-secondary);
padding: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"] {
height: 32px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"]
> [class^="bannerImage-"] {
height: 32px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"]
> [class^="bannerImage-"]:after {
content: "";
height: 32px;
width: 240px;
top: 0;
left: 0;
position: absolute;
background: linear-gradient(
0deg,
var(--background-secondary) 5%,
transparent 100%
);
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"]
[class^="bannerImg-"] {
top: -67px;
position: relative;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="scroller-"]
> ul
> div[style="height: 84px;"] {
height: 0 !important;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):hover
~ [class^="chat-"]
[class^="chatContent-"]
> form
> [class^="channelTextArea"] {
margin-left: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
~ [class^="chat-"]
[class^="title-"] {
margin-left: 184px;
width: calc(100% - 184px);
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):hover
~ [class^="chat-"]
[class^="title-"] {
margin-left: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="channelInfo-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"][class*="selected-"]
[class^="iconVisibility-"]
> [class^="content-"]
> [class^="children-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"]
[class^="iconVisibility-"]:not([class*="typeThread-"])
> [class^="content-"]
> [class^="mainContent-"]
> [class^="name-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"]
> [class^="iconVisibility-"][class*="clickable-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"]
[class^="voiceUser-"]
> [class^="content-"]
> [class^="icons-"],
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"]
[class^="voiceUser-"]
> [class^="content-"]
> [class*="username-"] {
display: none;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="containerDefault-"]
[class^="iconVisibility-"][class*="typeThread-"]
> [class^="content-"]
> [class^="mainContent-"]
> [class^="name-"] {
margin-left: 20px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="privateChannels-"]
ul[class^="content-"]
> [class*="privateChannelsHeaderContainer-"] {
height: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
> [class^="privateChannels-"]
ul[class^="content-"]
> [class*="privateChannelsHeaderContainer-"]
> * {
display: none;
}
2023-03-17 21:31:42 +00:00
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
2023-03-30 02:16:30 +00:00
.channel-typing-indicator,
div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover)
[class^="devBanner-"] {
2023-03-17 21:31:42 +00:00
display: none;
}