xmc/modular/base.css

366 lines
8.8 KiB
CSS
Raw Normal View History

2023-03-18 04:34:32 +00:00
:root,
.theme-dark,
.theme-light {
--titlebar-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22),
inset 0 0 0 2px rgba(0, 0, 0, 0.27),
0 0 0 1px var(--tertiary, var(--background-tertiary)),
0 0 0 2px var(--secondary, var(--background-secondary)),
0 0 0 3px var(--primary, var(--background-primary));
--_font-titlebars: var(--font-primary);
--titlebar-color: var(--accent);
}
2023-02-15 05:00:25 +00:00
/* 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 */
2022-10-19 03:32:11 +00:00
[class^="container-"] > [class^="slider-"] > svg {
display: none;
}
[class*="unreadBar-"] {
margin: 4px;
border-radius: 4px !important;
}
2023-02-15 05:00:25 +00:00
[class^="modalTextContainer-"] {
overflow: scroll !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="content-"] > [class^="sidebar-"] {
2022-10-19 03:32:11 +00:00
border-radius: 0;
}
2023-02-15 05:00:25 +00:00
.platform-osx [class*="guilds-"] > ul > [class^="scroller-"] {
padding-top: 4px;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="slider-"] {
padding-top: 0 !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
.platform-win
nav[class*="guilds-"]
> ul[class^="tree-"]
> [class^="scroller-"] {
padding-top: 12px !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class*="timestampVisibleOnHover-"] {
opacity: 1 !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="message-"][class*="compact-"] {
padding-top: 0 !important;
padding-bottom: 0 !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class*="progressBarHeader-"] > [class^="container-"],
[class^="control-"] > [class^="container-"] {
transition: background-color 0.75s linear;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class*="barBase-"] {
padding-bottom: 0 !important;
border-radius: 8px;
margin: 0 4px;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="markdown-"] code {
border-radius: 5%;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
2022-10-19 03:32:11 +00:00
}
2023-03-15 03:28:45 +00:00
[id^="message-username-"]
[class^="badge-"]:has(> [class^="badgeVerifiedIcon-"]) {
display: none;
}
2023-02-15 05:00:25 +00:00
/* remove "dead space"/padding from vc users */
[class*="containerDefault-"] [class*="listDefault-"] {
padding-left: 8px !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class*="containerDefault-"]
[class*="listDefault-"]
[class^="avatarContainer-"] {
margin-left: 6px !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[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;
2022-10-19 03:32:11 +00:00
}
/* 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;
}
2023-02-15 05:00:25 +00:00
/* autocomplete */
[class^="autocomplete-"] {
border: none !important;
background-color: var(--background-floating) !important;
box-shadow: 0 2px 5px 0 var(--background-secondary) !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="autocomplete-"] [class*="selectorSelected-"],
[class^="autocomplete-"] [class*="autocompleteRow-"] [class*="selected-"] {
background-color: var(--background-secondary) !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="autocomplete-"] [class*="categoryHeader-"] {
background-color: var(--background-floating) !important;
}
2022-10-19 03:28:08 +00:00
2023-02-15 05:00:25 +00:00
/* misc color fixes */
[class^="peopleColumn-"] {
background: var(--background-primary);
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class^="itemCard-"] [class*="inset-"] {
background-color: var(--background-primary) !important;
2022-10-19 03:32:11 +00:00
}
2023-02-15 05:00:25 +00:00
[class*="outer-"][class*="interactive-"]:hover {
background-color: var(--background-modifier-hover) !important;
}
[class^="base-"] > [class^="content-"] > [class^="container-"] {
background: var(--background-primary);
2022-10-19 03:32:11 +00:00
}
[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-"] {
2023-02-12 05:30:52 +00:00
background-color: var(--background-tertiary) !important;
2022-10-19 03:32:11 +00:00
}
[class*="headerBarInner-"]:after {
background: transparent !important;
}
[class^="streamPreview-"] {
2023-02-12 05:30:52 +00:00
background-color: var(--background-secondary) !important;
2022-10-19 03:32:11 +00:00
}
[class^="streamPreview-"] > [class^="previewContainer-"] {
2023-02-12 05:30:52 +00:00
background-color: var(--background-primary) !important;
2022-10-19 03:32:11 +00:00
}
[class*="messageContent-"].deleted-message {
2023-02-15 05:00:25 +00:00
color: var(--status-red-500) !important;
2022-10-19 03:32:11 +00:00
}
2023-02-16 18:36:00 +00:00
[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);
}
2023-03-15 03:28:45 +00:00
[class^="contentWarningPopout-"] {
background: var(--background-primary) !important;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3) !important;
}
[class^="customColorPicker-"] {
background: var(--background-primary) !important;
}
2023-02-15 05:00:25 +00:00
/* 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 */
2022-10-19 03:32:11 +00:00
[class^="markdown-"] [class^="codeInline-"],
[class^="codeLine-"],
[class^="codeBlockText-"],
[class^="durationTimeDisplay-"],
[class^="durationTimeSeparator-"],
2022-10-19 16:50:13 +00:00
[class*="after_inlineCode-"],
[class*="before_inlineCode-"],
2022-10-19 03:32:11 +00:00
[class^="inlineCode-"],
code.inline,
code,
.hljs {
font-family: var(--font-code) !important;
}
2023-03-15 03:28:45 +00:00
/* unbreak resizing webms :^) */
/*[class^="mediaAttachmentsContainer-"] [class^="imageWrapper-"] {
min-width: 10px;
min-height: 10px;
max-width: unset;
max-height: unset !important;
width: unset !important;
height: unset !important;
object-fit: none !important;
aspect-ratio: unset !important;
}
[class^="mediaAttachmentsContainer-"] [class^="messageAttachment-"] {
height: unset;
}
[class^="mediaAttachmentsContainer-"] [class^="oneByOneGrid-"],
[class^="mediaAttachmentsContainer-"] [class^="oneByTwoGrid-"] {
max-height: unset !important;
}*/