xmc/modular/base.css
2023-02-16 18:36:00 +00:00

322 lines
7.6 KiB
CSS

#splash {
background-color: var(--primary, var(--background-primary));
}
/* i have no idea what half of these are for anymore */
/* most of them are probably now-redundant color fixes */
/* others are things i dont feel like need a toggle at the current moment */
[class^="container-"] > [class^="slider-"] > svg {
display: none;
}
[class*="unreadBar-"] {
margin: 4px;
border-radius: 4px !important;
}
[class^="modalTextContainer-"] {
overflow: scroll !important;
}
[class^="content-"] > [class^="sidebar-"] {
border-radius: 0;
}
.platform-osx [class*="guilds-"] > ul > [class^="scroller-"] {
padding-top: 4px;
}
[class^="slider-"] {
padding-top: 0 !important;
}
.platform-win
nav[class*="guilds-"]
> ul[class^="tree-"]
> [class^="scroller-"] {
padding-top: 12px !important;
}
[class*="timestampVisibleOnHover-"] {
opacity: 1 !important;
}
[class^="message-"][class*="compact-"] {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
[class*="progressBarHeader-"] > [class^="container-"],
[class^="control-"] > [class^="container-"] {
transition: background-color 0.75s linear;
}
[class*="barBase-"] {
padding-bottom: 0 !important;
border-radius: 8px;
margin: 0 4px;
}
[class^="markdown-"] code {
border-radius: 5%;
}
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
}
/* remove "dead space"/padding from vc users */
[class*="containerDefault-"] [class*="listDefault-"] {
padding-left: 8px !important;
}
[class*="containerDefault-"]
[class*="listDefault-"]
[class^="avatarContainer-"] {
margin-left: 6px !important;
}
[class*="containerDefault-"] [class*="listDefault-"] > [class^="clickable-"] {
padding-left: 0 !important;
}
[class*="containerDefault-"]
[class*="listDefault-"]
> [class^="clickable-"]
> [class^="content-"] {
margin-left: 0 !important;
}
[class*="containerDefault-"] [class*="listDefault-"] > [class^="separator-"] {
width: 100% !important;
margin: 3px !important;
}
/* Change Nickname Modal */
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]:not([class*="carouselModal-"]) {
background-color: var(--background-primary);
}
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> form
> [class^="flex-"]:nth-child(3),
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> [class^="flex-"]:nth-child(3) {
background: var(--background-secondary);
}
/* Delete Modal */
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> [class^="content-"]
> [class^="message-"] {
background-color: var(--background-primary);
}
/* dropdown menus */
[class^="css-"][class$="-menu"] {
z-index: 9999;
background-color: var(--background-secondary);
border-color: var(--background-primary);
}
/* listen along */
[id^="popout_"] [class^="userList-"] {
border-color: var(--background-primary) !important;
}
[id^="popout_"] [class^="userList-"] [class^="header-"] {
background-color: var(--background-secondary) !important;
color: var(--header-primary) !important;
}
[id^="popout_"] [class^="userList-"] [class^="content-"] {
background-color: var(--background-primary) !important;
}
[class*="moreUsers-"] {
background-color: var(--background-tertiary) !important;
}
/* autocomplete */
[class^="autocomplete-"] {
border: none !important;
background-color: var(--background-floating) !important;
box-shadow: 0 2px 5px 0 var(--background-secondary) !important;
}
[class^="autocomplete-"] [class*="selectorSelected-"],
[class^="autocomplete-"] [class*="autocompleteRow-"] [class*="selected-"] {
background-color: var(--background-secondary) !important;
}
[class^="autocomplete-"] [class*="categoryHeader-"] {
background-color: var(--background-floating) !important;
}
/* misc color fixes */
[class^="peopleColumn-"] {
background: var(--background-primary);
}
[class^="itemCard-"] [class*="inset-"] {
background-color: var(--background-primary) !important;
}
[class*="outer-"][class*="interactive-"]:hover {
background-color: var(--background-modifier-hover) !important;
}
[class^="base-"] > [class^="content-"] > [class^="container-"] {
background: var(--background-primary);
}
[class*="modal-"][class*="root-"] {
background-color: var(--background-primary);
box-shadow: var(--deprecated-card-bg) 0px 0px 0px 1px,
rgba(0, 0, 0, 0.2) 0px 2px 10px 0px;
}
[class^="perksModal-"] {
background-color: var(--background-primary) !important;
}
[class^="directoryModal-"] {
background-color: var(--background-primary) !important;
}
[class^="layerContainer-"] > [class^="layer-"] > [class^="container-"] {
background: var(--background-floating);
}
[class^="layerContainer-"]
> [class^="layer-"]
> [class^="container-"]
[class^="option-"]:after {
background: transparent;
}
[class^="layerContainer-"]
> [class^="layer-"]
> [class^="container-"]
[class^="option-"][class*="selected-"] {
background: var(--background-modifier-hover);
}
[class^="chat-"][class*="background-"],
[class^="title-"][class*="background-"],
[class^="chat-"] > [class^="content-"] > [class^="container-"] {
background-color: var(--background-tertiary) !important;
}
[class*="headerBarInner-"]:after {
background: transparent !important;
}
[class^="streamPreview-"] {
background-color: var(--background-secondary) !important;
}
[class^="streamPreview-"] > [class^="previewContainer-"] {
background-color: var(--background-primary) !important;
}
[class*="messageContent-"].deleted-message {
color: var(--status-red-500) !important;
}
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class^="container-"]
[class*="footer-"],
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class*="modalSize-"],
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class*="modalSize-"]
[class*="footer-"],
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class*="modalRoot-"],
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class*="modalRoot-"]
[class*="footer-"] {
background-color: var(--background-primary) !important;
}
[class^="layerContainer-"]
[class^="layer-"]
[class^="focusLock-"]
[class^="container-"]
[class*="footer-"] {
box-shadow: none;
}
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> [class^="scroller-"] {
background: var(--background-secondary);
}
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
[class^="reactors-"] {
background-color: var(--background-primary);
}
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> [class^="scroller-"]
> [class^="reactionSelected-"] {
background-color: var(--background-modifier-active);
}
[class^="focusLock-"][aria-modal="true"]
> [class*="root-"]
> [class^="scroller-"]
> [class^="reactionDefault-"]:hover {
background-color: var(--background-modifier-hover);
}
/* jane's steam border ext */
/*.steam-border-message > #border {
width: 20px !important;
height: 20px !important;
left: 0 !important;
}
.steam-border-popout > #border {
left: 0 !important;
top: 0 !important;
}
.steam-border-modal > #border {
left: 1em !important;
top: -4.25em !important;
}
.steam-border-modal {
position: absolute;
}
.steam-border-user > .avatarWrapper {
top: -7.3em !important;
left: -6.1em !important;
}*/
/* font fixes */
[class^="markdown-"] [class^="codeInline-"],
[class^="codeLine-"],
[class^="codeBlockText-"],
[class^="durationTimeDisplay-"],
[class^="durationTimeSeparator-"],
[class*="after_inlineCode-"],
[class*="before_inlineCode-"],
[class^="inlineCode-"],
code.inline,
code,
.hljs {
font-family: var(--font-code) !important;
}