xmc/modular/stylings/xmc.css

177 lines
5.1 KiB
CSS
Raw Normal View History

2023-03-18 04:34:32 +00:00
:root,
.theme-dark,
.theme-light {
2023-02-04 21:05:55 +00:00
--_font-titlebars: "Segoe UI", sans-serif;
2023-03-15 03:28:45 +00:00
}
.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;
2022-10-19 03:12:12 +00:00
2023-02-12 05:30:52 +00:00
--button-bg: linear-gradient(
to bottom,
2023-03-15 03:28:45 +00:00
var(--primary, var(--background-primary)),
var(--secondary, var(--background-secondary))
2023-02-12 05:30:52 +00:00
);
2023-03-15 03:28:45 +00:00
--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));
2022-10-19 03:12:12 +00:00
2023-03-15 03:28:45 +00:00
--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));
2022-10-19 03:12:12 +00:00
2023-03-15 03:28:45 +00:00
--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));
2022-10-19 03:12:12 +00:00
}
[class*="button-"][class*="lookFilled-"],
section[class^="panels-"]
[class^="container-"]
[class^="flex-"]
button[class^="button-"],
2023-03-18 04:34:32 +00:00
[class^="toolbar-"] [class*="iconWrapper-"] {
2022-10-19 03:12:12 +00:00
border-radius: 0;
2023-03-15 03:28:45 +00:00
color: var(--text) !important;
2022-10-19 03:12:12 +00:00
background: var(--button-bg) !important;
box-shadow: var(--button-shadow) !important;
}
2023-02-04 21:05:55 +00:00
[class^="containerDefault-"][class*="selected-"]
2022-10-19 03:12:12 +00:00
[class^="iconVisibility-"]
> [class^="content-"],
2023-02-04 21:05:55 +00:00
[class^="containerDefault-"]
2022-10-19 03:12:12 +00:00
[class^="iconVisibility-"][class*="modeSelected-"]
> [class^="content-"],
nav[class^="sidebar-"] div[class^="item-"][class*="selected-"],
2023-02-04 21:05:55 +00:00
[class^="member-"][aria-expanded="true"] > [class^="layout-"],
[class^="channel-"] [class^="interactive-"][class*="selected-"] {
2022-10-19 03:12:12 +00:00
border-radius: 0;
background: var(--button-bg) !important;
box-shadow: var(--button-shadow) !important;
}
2023-02-12 05:30:52 +00:00
[class^="containerDefault-"]
[class^="iconVisibility-"]:hover
[class^="content-"],
2022-10-19 03:12:12 +00:00
nav[class^="sidebar-"] div[class^="item-"]:not([class*="selected-"]):hover,
2023-02-04 21:05:55 +00:00
[class^="member-"]:not([aria-expanded="true"]):hover > [class^="layout-"],
[class^="channel-"] [class^="interactive-"]:not([class*="selected-"]):hover {
2022-10-19 03:12:12 +00:00
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-"] {
2023-02-12 05:30:52 +00:00
border: 1px solid var(--background-tertiary);
2022-10-19 03:12:12 +00:00
border-radius: 0;
}
2023-03-18 04:34:32 +00:00
[class^="toolbar-"] [class*="iconWrapper-"] {
2022-10-19 03:12:12 +00:00
margin: 0;
width: 32px;
height: 32px;
}
2023-03-18 04:34:32 +00:00
[class^="toolbar-"] [class*="iconWrapper-"] > svg {
2022-10-19 03:12:12 +00:00
margin: 4px;
}
[class^="toolbar-"] > [class^="search-"] {
margin: 0;
}
[class^="toolbar-"] > [class^="search-"] [class^="searchBar-"] {
2023-02-12 05:30:52 +00:00
background-color: var(--background-primary);
border: 1px solid var(--background-tertiary);
2022-10-19 03:12:12 +00:00
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);
}