xmc/modular/stylings/xmc.css
2023-03-18 04:34:32 +00:00

176 lines
5.1 KiB
CSS

:root,
.theme-dark,
.theme-light {
--_font-titlebars: "Segoe UI", sans-serif;
}
.theme-dark {
--hover-bg: #3f3f3f;
--hover-shadow: inset 0 0 0 1px #373737, inset 0 0 0 2px #444444,
inset 0 0 0 3px #3c3c3c;
--button-bg: linear-gradient(
to bottom,
var(--primary, var(--background-primary)),
var(--secondary, var(--background-secondary))
);
--button-shadow: inset 0 0 0 1px var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px var(--primary, var(--background-primary)),
inset 0 0 0 3px var(--secondary, var(--background-secondary));
--scrollbar-shadow: inset 0 0 0 1px
var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px #404040,
inset 0 0 0 3px var(--primary, var(--background-primary)),
inset 0 0 0 4px var(--secondary, var(--background-secondary));
--scrollbar-shadow-hover: inset 0 0 0 1px
var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px #646464,
inset 0 0 0 3px var(--primary, var(--background-primary)),
inset 0 0 0 4px var(--secondary, var(--background-secondary));
}
.theme-light {
--hover-bg: #ebeadf;
--hover-shadow: inset 0 0 0 1px #dfdcd2, inset 0 0 0 2px #fafaf8,
inset 0 0 0 3px #d1cec6;
--button-bg: linear-gradient(
to bottom,
var(--primary, var(--background-primary)),
var(--secondary, var(--background-secondary))
);
--button-shadow: inset 0 0 0 1px var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px var(--primary, var(--background-primary)),
inset 0 0 0 3px var(--secondary, var(--background-secondary));
--scrollbar-shadow: inset 0 0 0 1px
var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px #404040,
inset 0 0 0 3px var(--primary, var(--background-primary)),
inset 0 0 0 4px var(--secondary, var(--background-secondary));
--scrollbar-shadow-hover: inset 0 0 0 1px
var(--tertiary, var(--background-tertiary)),
inset 0 0 0 2px #646464,
inset 0 0 0 3px var(--primary, var(--background-primary)),
inset 0 0 0 4px var(--secondary, var(--background-secondary));
}
[class*="button-"][class*="lookFilled-"],
section[class^="panels-"]
[class^="container-"]
[class^="flex-"]
button[class^="button-"],
[class^="toolbar-"] [class*="iconWrapper-"] {
border-radius: 0;
color: var(--text) !important;
background: var(--button-bg) !important;
box-shadow: var(--button-shadow) !important;
}
[class^="containerDefault-"][class*="selected-"]
[class^="iconVisibility-"]
> [class^="content-"],
[class^="containerDefault-"]
[class^="iconVisibility-"][class*="modeSelected-"]
> [class^="content-"],
nav[class^="sidebar-"] div[class^="item-"][class*="selected-"],
[class^="member-"][aria-expanded="true"] > [class^="layout-"],
[class^="channel-"] [class^="interactive-"][class*="selected-"] {
border-radius: 0;
background: var(--button-bg) !important;
box-shadow: var(--button-shadow) !important;
}
[class^="containerDefault-"]
[class^="iconVisibility-"]:hover
[class^="content-"],
nav[class^="sidebar-"] div[class^="item-"]:not([class*="selected-"]):hover,
[class^="member-"]:not([aria-expanded="true"]):hover > [class^="layout-"],
[class^="channel-"] [class^="interactive-"]:not([class*="selected-"]):hover {
border-radius: 0;
background: var(--hover-bg) !important;
box-shadow: var(--hover-shadow) !important;
}
[class^="scroller-"]::-webkit-scrollbar-thumb,
[class*="scrollerBase-"]::-webkit-scrollbar-thumb {
border-radius: 0;
background: transparent;
box-shadow: var(--scrollbar-shadow);
}
[class^="channelTextArea-"] > [class^="scrollableContainer-"] {
border: 1px solid var(--background-tertiary);
border-radius: 0;
}
[class^="toolbar-"] [class*="iconWrapper-"] {
margin: 0;
width: 32px;
height: 32px;
}
[class^="toolbar-"] [class*="iconWrapper-"] > svg {
margin: 4px;
}
[class^="toolbar-"] > [class^="search-"] {
margin: 0;
}
[class^="toolbar-"] > [class^="search-"] [class^="searchBar-"] {
background-color: var(--background-primary);
border: 1px solid var(--background-tertiary);
border-radius: 0;
height: 32px;
justify-content: center;
}
[class^="toolbar-"]
> [class^="search-"]
[class^="searchBar-"]
> .DraftEditor-root,
[class^="toolbar-"]
> [class^="search-"]
[class^="searchBar-"]
> [class^="icon-"] {
height: 24px;
margin-top: 2px;
}
[class*="recentMentionsPopout-"]
> [class^="header-"]
> [class^="tabBar-"]
> [class^="tab-"] {
margin: 0;
border-radius: 0;
background: var(--button-bg) !important;
box-shadow: var(--button-shadow) !important;
font-weight: 100;
font-size: 12px !important;
}
[class*="recentMentionsPopout-"]
> [class^="header-"]
> [class^="tabBar-"]
> [class^="tab-"]:hover,
[class*="recentMentionsPopout-"]
> [class^="header-"]
> [class^="tabBar-"]
> [class^="tab-"][class*="active-"] {
background: var(--hover-bg) !important;
box-shadow: var(--hover-shadow) !important;
}
[class^="reaction-"] {
background-color: var(--button-bg);
box-shadow: var(--button-shadow);
border-radius: 0;
}
[class^="reaction-"]:hover,
[class^="reaction-"][class*="reactionMe-"] {
background-color: var(--hover-bg);
box-shadow: var(--hover-shadow);
}