xmc/modular/stylings/windows_classic.css
2023-03-29 18:17:59 +00:00

494 lines
16 KiB
CSS

.theme-dark {
--wc-frame: inset -1px -1px 0 0 var(--tertiary),
inset 1px 1px 0 0 var(--primary), inset -2px -2px 0 0 var(--secondary),
inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-outer-edge: inset -1px -1px 0 0 var(--tertiary),
inset 1px 1px 0 0 var(--wc-bright, var(--highlight)),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--primary) !important;
--wc-inner-edge: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)),
inset 1px 1px 0 0 var(--secondary), inset -2px -2px 0 0 var(--primary),
inset 2px 2px 0 0 var(--tertiary);
}
.theme-light {
--wc-frame: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)),
inset 1px 1px 0 0 var(--primary), inset -2px -2px 0 0 var(--tertiary),
inset 2px 2px 0 0 var(--secondary);
--wc-outer-edge: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)),
inset 1px 1px 0 0 var(--secondary), inset -2px -2px 0 0 var(--primary),
inset 2px 2px 0 0 var(--tertiary);
--wc-inner-edge: inset -1px -1px 0 0 var(--secondary),
inset 1px 1px 0 0 var(--tertiary), inset -2px -2px 0 0 var(--primary),
inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
}
[class*="button-"][class*="lookFilled-"],
section[class^="panels-"]
[class^="container-"]
[class^="flex-"]
button[class^="button-"],
[class^="toolbar-"] [class*="iconWrapper-"] {
border-radius: 0;
box-shadow: var(--wc-outer-edge) !important;
}
[class*="button-"][class*="lookFilled-"]:active,
section[class^="panels-"]
[class^="container-"]
[class^="flex-"]
button[class^="button-"]:active {
box-shadow: var(--wc-inner-edge) !important;
}
[class*="button-"][class*="lookFilled-"]:not([class*="color"]),
[class^="toolbar-"] [class*="iconWrapper-"] {
background-color: var(--primary);
}
[class^="chat-"]
> [class^="content-"]
> [class^="container-"]
> [class^="membersWrap-"] {
padding: 2px;
box-shadow: var(--wc-inner-edge);
height: calc(100% - 4px);
max-height: calc(100% - 4px);
}
[class^="messagesWrapper-"],
[class*="guilds-"],
[class^="sidebar-"] > nav > [class^="scroller-"] {
padding: 2px;
box-shadow: var(--wc-inner-edge);
}
[class^="chat-"] > [class^="content-"] > [class^="container-"],
[class^="chat-"] > [class^="content-"] > [class^="chatContent-"],
[class^="standardSidebarView-"] > [class^="contentRegion-"] {
margin-left: 2px;
}
[class^="channelTextArea-"] > [class^="scrollableContainer-"],
[class^="chat-"]
[class^="toolbar-"]
> [class^="search-"]
> [class^="search-"]
> [class^="searchBar-"] {
box-shadow: var(--wc-inner-edge);
border-radius: 0;
}
[class^="chat-"] > [class^="content-"]:before {
display: none !important;
}
[class^="standardSidebarView-"]
> [class^="sidebarRegion-"]
> [class^="sidebarRegionScroller-"],
[class^="standardSidebarView-"]
> [class^="contentRegion-"]
[class^="contentTransitionWrap-"] {
padding: 2px;
box-shadow: var(--wc-inner-edge);
}
[class^="standardSidebarView-"] > [class^="contentRegion-"],
[class^="standardSidebarView-"] > [class^="sidebarRegion-"] {
margin-top: 2px;
}
[class^="standardSidebarView-"]
> [class^="contentRegion-"]
[class^="contentTransitionWrap-"] {
height: calc(100% - 4px);
}
div[class^="sidebar-"] {
border-left: 2px solid var(--primary);
}
[class*="guilds-"] [class^="guildSeparator-"] {
height: 0;
border-bottom: 1px solid var(--wc-bright, var(--highlight));
border-top: 1px solid var(--secondary);
border-radius: 0;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"] {
height: 48px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"]
> [class^="bannerImage-"] {
height: 48px;
}
div[class^="sidebar-"]:not(:has(> [class^="side-"]))
> nav[class^="container-"]
> [class^="container-"][class*="clickable-"]
> [class^="animatedContainer-"]
> [class^="bannerImage-"]:after {
content: "";
height: 48px;
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;
}
[class*="menu-"] {
border-radius: 0;
padding: 2px;
box-shadow: var(--wc-frame);
}
[class*="menu-"] > [class^="scroller-"] {
padding: 1px 1px 4px 1px !important;
margin-right: -4px;
}
[class*="menu-"] > [class^="scroller-"] [class^="item-"] {
border-radius: 0 !important;
margin: 1px 0;
padding: 0 2px !important;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="customItem-"][id^="message-quickreact-"]
> [class^="button-"] {
border-radius: 0 !important;
box-shadow: var(--wc-outer-edge);
}
[class*="menu-"] [class^="scroller-"] [class^="separator-"] {
margin: 4px 1px;
border-bottom: 1px solid var(--wc-bright, var(--highlight));
border-top: 1px solid var(--secondary);
}
[class*="menu-"] > [class^="scroller-"] [class^="item-"] {
min-height: 16px !important;
font-size: 12px;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]:not(
:has(> [class^="iconContainer-"] > [class^="icon-"])
):not(:has(> [class^="iconContainerLeft-"])) {
padding-inline-start: 20px !important;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]:has(> [class^="iconContainer-"] > [class^="icon-"]) {
flex-direction: row-reverse;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="iconContainer-"]:has(> [class^="icon-"]),
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="iconContainerLeft-"] {
margin-left: 0;
margin-right: 2px;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="label-"]
> [class^="subtext-"] {
line-height: 12px;
margin-top: 0;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="iconContainer-"],
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="iconContainer-"]
> svg {
width: 16px;
height: 16px;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][aria-haspopup="true"]
> [class^="iconContainer-"]
> [class^="caret-"] {
display: none;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][aria-haspopup="true"]
> [class^="iconContainer-"]:before {
content: "";
position: absolute;
right: -2px;
top: 0px;
width: 16px;
height: 16px;
background-color: var(--text);
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAmSURBVBhXY4CC/1AaKwBJ4lQAk8SqAFkSQwFOCRDAKQECWCQYGACCnQ/xc1GbJAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAmSURBVBhXY4CC/1AaKwBJ4lQAk8SqAFkSQwFOCRDAKQECWCQYGACCnQ/xc1GbJAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-repeat: no-repeat;
mask-position: center;
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemcheckbox"]
> [class^="iconContainer-"]
> svg[class^="icon-"] {
display: none;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemcheckbox"][aria-checked="true"]
> [class^="iconContainer-"]:before {
content: "";
position: absolute;
right: 0px;
top: 1px;
width: 16px;
height: 16px;
background-color: var(--text);
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAArSURBVBhXY8AD/kNpDACSAEuiq4BJwCVhClAkQABZAEUCBnBKwACaBAMDANZXFOzc7AnWAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAArSURBVBhXY8AD/kNpDACSAEuiq4BJwCVhClAkQABZAEUCBnBKwACaBAMDANZXFOzc7AnWAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-repeat: no-repeat;
mask-position: center;
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemradio"]
> [class^="iconContainer-"]
> svg[class^="icon-"] {
display: none;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemradio"][aria-checked="true"]
> [class^="iconContainer-"]:before {
content: "";
position: absolute;
right: -1px;
top: 0px;
width: 16px;
height: 16px;
background-color: var(--text);
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAiSURBVBhXY4CC/2gYDNAFYRirIAhjFQRhrIIgDAZoggwMACftH+F43ykVAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAiSURBVBhXY4CC/2gYDNAFYRirIAhjFQRhrIIgDAZoggwMACftH+F43ykVAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-repeat: no-repeat;
mask-position: center;
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][aria-haspopup="true"]:hover
> [class^="iconContainer-"]:before,
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemcheckbox"][aria-checked="true"]:hover
> [class^="iconContainer-"]:before,
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][role="menuitemradio"][aria-checked="true"]:hover
> [class^="iconContainer-"]:before {
background-color: white;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][aria-disabled="true"]
> [class^="label-"],
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"][aria-disabled="true"]
> [class^="label-"]
> [class^="subtext-"] {
color: var(--secondary);
text-shadow: 1px 1px 0 var(--wc-bright, var(--highlight));
}
[class^="submenu-"] > [class^="scroller-"] > [class^="listHeight-"][a="a"] {
height: unset !important;
}
[class^="submenuPaddingContainer-"] {
padding: 0;
margin: -4px;
}
[class*="menu-"]
> [class^="scroller-"]
[class^="item-"]
> [class^="label-"]
> [class^="roleRow-"]
> [class^="roleCircle-"] {
width: 12px;
height: 12px;
border-radius: 0;
border-top: 1px solid var(--text);
border-left: 1px solid var(--text);
margin: 0;
margin-right: 2px;
}
[class^="scroller-"]:not([class*="none-"]):not([class*="thin-"]):not(
:not(:hover)[class*="fade-"]
)::-webkit-scrollbar,
[class*="scrollerBase-"]:not([class*="none-"]):not([class*="thin-"]):not(
:not(:hover)[class*="fade-"]
)::-webkit-scrollbar {
min-width: 16px;
width: 16px;
}
[class^="scroller-"]:not([class*="thin-"])::-webkit-scrollbar-track,
[class*="scrollerBase-"]:not([class*="thin-"])::-webkit-scrollbar-track {
background-color: var(--wc-bright, var(--highlight));
border: none;
border-radius: 0;
margin: 0;
}
[class^="scroller-"]::-webkit-scrollbar-thumb,
[class*="scrollerBase-"]::-webkit-scrollbar-thumb,
[class^="scroller-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button,
[class*="scrollerBase-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button {
border-radius: 0;
background: var(--primary);
box-shadow: var(--wc-frame);
border: none;
}
[class^="scroller-"][class*="fade-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button,
[class*="scrollerBase-"][class*="fade-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button {
visibility: hidden;
}
[class^="scroller-"][class*="fade-"]:not(
[class*="thin-"]
):hover::-webkit-scrollbar-button:single-button,
[class*="scrollerBase-"][class*="fade-"]:not(
[class*="thin-"]
):hover::-webkit-scrollbar-button:single-button {
visibility: visible;
}
[class^="scroller-"]::-webkit-scrollbar-button:single-button:active,
[class*="scrollerBase-"]::-webkit-scrollbar-button:single-button:active {
box-shadow: inset 1px 1px var(--secondary), inset -1px -1px var(--secondary);
}
[class^="scroller-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:decrement,
[class*="scrollerBase-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:decrement {
background-repeat: no-repeat !important;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE1IDE1Ij4NCgk8cmVjdCBoZWlnaHQ9IjEiIHdpZHRoPSI3IiB5PSI4IiB4PSIzIiBmaWxsPSJtZW51dGV4dCIvPjxyZWN0IGhlaWdodD0iMSIgd2lkdGg9IjUiIHg9IjQiIHk9IjciIGZpbGw9Im1lbnV0ZXh0Ii8+PHJlY3QgaGVpZ2h0PSIxIiB3aWR0aD0iMyIgeT0iNiIgeD0iNSIgZmlsbD0ibWVudXRleHQiLz48cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB5PSI1IiB4PSI2IiBmaWxsPSJtZW51dGV4dCIvPg0KCQ0KCQ0KPC9zdmc+") !important;
background-position: center center !important;
}
[class^="scroller-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:increment,
[class*="scrollerBase-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:increment {
background-repeat: no-repeat !important;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTUiIHdpZHRoPSIxNSIgdmlld0JveD0iMCAwIDE1IDE1Ij4NCgk8cmVjdCBoZWlnaHQ9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSI1IiBmaWxsPSJtZW51dGV4dCIvPjxyZWN0IGhlaWdodD0iMSIgd2lkdGg9IjUiIHk9IjYiIHg9IjQiIGZpbGw9Im1lbnV0ZXh0Ii8+PHJlY3QgaGVpZ2h0PSIxIiB3aWR0aD0iMyIgeD0iNSIgeT0iNyIgZmlsbD0ibWVudXRleHQiLz48cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4PSI2IiB5PSI4IiBmaWxsPSJtZW51dGV4dCIvPg0KCQ0KCQ0KPC9zdmc+") !important;
background-position: center center !important;
}
[class^="scroller-"]::-webkit-scrollbar-button:single-button,
[class*="scrollerBase-"]::-webkit-scrollbar-button:single-button {
}
[class^="scroller-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:decrement,
[class*="scrollerBase-"]:not(
[class*="thin-"]
)::-webkit-scrollbar-button:single-button:vertical:decrement {
border-width: 0 8px 8px 8px;
border-color: transparent transparent var(--text) transparent;
}
.postnet-expanded-category,
.postnet-repo-wrapper,
[class^="inner-"]:has(> input),
[class^="inputWrapper-"] > [class*="input-"],
[class^="colorSwatch-"] > [class^="swatch-"][aria-expanded="true"] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-inner-edge);
}
[class^="colorSwatch-"] > [class^="swatch-"] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-outer-edge);
}
[class^="inputWrapper-"] > [class*="input-"] {
padding: 2px 2px 2px 4px;
height: 22px;
}
[class^="select-"][class*="lookFilled-"] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-inner-edge);
padding: 2px 2px 2px 4px;
}
[class^="select-"][class*="lookFilled-"] > [class^="icons-"] {
margin: 2px;
}
[class^="select-"][class*="lookFilled-"] > [class^="icons-"] > svg {
background: var(--primary);
box-shadow: var(--wc-outer-edge);
width: 16px;
height: 16px;
}
[class^="select-"][class*="lookFilled-"][class*="open-"]
> [class^="icons-"]
> svg {
box-shadow: var(--wc-inner-edge);
}
[class^="popout-"][role="listbox"] > [class^="option-"] {
padding: 2px 2px 2px 4px;
margin: 2px 0;
}
[class^="popout-"][role="listbox"] > [class^="option-"]:hover {
background-color: var(--accent);
}