xmc/modular/titlebars/windows_classic.css

233 lines
9.2 KiB
CSS
Raw Normal View History

2023-03-18 04:34:32 +00:00
.theme-dark {
2023-03-29 18:17:59 +00:00
--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));
2023-03-18 04:34:32 +00:00
2023-03-29 18:17:59 +00:00
--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;
2023-03-18 04:34:32 +00:00
}
.theme-light {
2023-03-29 18:17:59 +00:00
--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);
2023-03-18 04:34:32 +00:00
2023-03-29 18:17:59 +00:00
--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);
2023-03-18 04:34:32 +00:00
}
.platform-win #app-mount {
2023-03-29 18:17:59 +00:00
padding: 2px;
2023-03-18 04:34:32 +00:00
box-shadow: var(--wc-frame);
width: calc(100% - 6px);
height: calc(100% - 6px);
border: 1px solid var(--titlebar-border-inactive, var(--secondary));
}
.platform-win.app-focused #app-mount {
border-color: var(--titlebar-border-active, var(--primary)) !important;
}
2023-10-26 20:10:59 +00:00
[class^="typeWindows_"] {
2023-03-18 04:34:32 +00:00
height: 18px !important;
margin-top: 0;
background: var(--titlebar-inactive, var(--secondary));
border-bottom: 1px solid var(--titlebar-border-inactive, var(--secondary));
}
2023-10-26 20:10:59 +00:00
.app-focused [class^="typeWindows_"] {
2023-03-18 04:34:32 +00:00
background: var(
--titlebar-active,
var(--titlebar-color, var(--accent))
) !important;
border-color: var(--titlebar-border-active, var(--primary)) !important;
}
2023-10-26 20:10:59 +00:00
[class^="winButtonClose_"] > svg,
[class^="winButtonMinMax_"] > svg,
[class^="wordmarkWindows_"] > svg {
2023-03-18 04:34:32 +00:00
display: none;
}
2023-10-26 20:10:59 +00:00
[class^="wordmarkWindows_"] {
2023-03-18 04:34:32 +00:00
width: 16px !important;
height: 16px !important;
top: 1px !important;
left: 2px !important;
padding: 0 !important;
background-image: var(--titlebar-icon);
background-repeat: no-repeat;
}
2023-10-26 20:10:59 +00:00
[class^="wordmarkWindows_"]::after {
2023-03-18 04:34:32 +00:00
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--wc-bright, var(--highlight)) !important;
font-weight: bold !important;
content: "Discord";
position: absolute;
top: 2px;
left: 18px;
height: 17px;
opacity: 1;
}
2023-10-26 20:10:59 +00:00
.app-focused [class^="wordmarkWindows_"]::after {
2023-03-18 04:34:32 +00:00
color: var(--text) !important;
}
2023-10-26 20:10:59 +00:00
[class*="winButton_"] {
2023-03-18 04:34:32 +00:00
top: 2px;
width: 12px !important;
height: 10px !important;
2023-03-29 18:17:59 +00:00
padding: 2px;
2023-03-18 04:34:32 +00:00
background: var(--primary) !important;
box-shadow: var(--wc-outer-edge);
}
2023-10-26 20:10:59 +00:00
[class^="winButtonClose_"] {
2023-03-18 04:34:32 +00:00
right: 2px;
}
2023-10-26 20:10:59 +00:00
[class^="winButtonMinMax_"]:nth-child(3),
[class^="winButtonMinMax_"]:nth-child(4) {
2023-03-18 04:34:32 +00:00
right: 4px;
}
2023-10-26 20:10:59 +00:00
[class*="winButton_"]::before {
2023-03-18 04:34:32 +00:00
width: 12px !important;
height: 10px !important;
background-color: var(--text);
content: "";
}
2023-10-26 20:10:59 +00:00
[class^="winButtonClose_"]::before {
2023-03-18 04:34:32 +00:00
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
2023-10-26 20:10:59 +00:00
[class^="winButtonMinMax_"]:nth-child(3)::before {
2023-03-18 04:34:32 +00:00
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTY4CC/0RgFIBNATpGARgCaGBUAwiABAhhcgADAwD+Vybas8l0mAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTY4CC/0RgFIBNATpGARgCaGBUAwiABAhhcgADAwD+Vybas8l0mAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
2023-10-26 20:10:59 +00:00
[class^="winButtonMinMax_"]:nth-child(4)::before {
2023-03-18 04:34:32 +00:00
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZSURBVChTYxgFtAb/cWCcAJtiEKYEMDAAALNwC/VcmzodAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZSURBVChTYxgFtAb/cWCcAJtiEKYEMDAAALNwC/VcmzodAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
2023-10-26 20:10:59 +00:00
[class*="recentMentionsPopout_"],
[class^="messagesPopoutWrap_"],
[class^="browser_"] {
2023-03-18 04:34:32 +00:00
border-radius: 0;
2023-03-29 18:17:59 +00:00
padding: 2px;
2023-03-18 04:34:32 +00:00
box-shadow: var(--wc-frame);
border: 1px solid var(--titlebar-border-active, var(--primary));
}
2023-10-26 20:10:59 +00:00
[class*="recentMentionsPopout_"] > [class^="header_"] {
2023-03-18 04:34:32 +00:00
padding: 0 4px;
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--text) !important;
font-weight: bold !important;
height: 18px !important;
min-height: 18px !important;
border-bottom: 1px solid var(--titlebar-border-inactive, var(--secondary));
background: var(
--titlebar-active,
var(--titlebar-color, var(--accent))
) !important;
}
2023-10-26 20:10:59 +00:00
[class*="recentMentionsPopout_"]
> [class^="header_"]
> [class^="controls_"]
> [class^="button_"] {
2023-03-18 04:34:32 +00:00
padding: 0;
border-radius: 0;
width: 16px;
height: 16px;
min-width: 16px;
min-height: 16px;
background-color: transparent;
}
2023-10-26 20:10:59 +00:00
[class*="recentMentionsPopout_"] > [class^="header_"] [class^="tab_"] {
2023-03-18 04:34:32 +00:00
margin-top: 0 !important;
padding: 0px 2px;
height: 16px;
border-radius: 0;
font-size: 12px;
}
2023-10-26 20:10:59 +00:00
[class^="messagesPopoutWrap_"] > [class^="header_"] {
2023-03-18 04:34:32 +00:00
padding: 0;
}
2023-10-26 20:10:59 +00:00
[class^="messagesPopoutWrap_"] > [class^="header_"] > h1 {
2023-03-18 04:34:32 +00:00
padding: 0 4px;
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--text) !important;
font-weight: bold !important;
height: 18px !important;
border-bottom: 1px solid var(--titlebar-border-inactive, var(--secondary));
background: var(
--titlebar-active,
var(--titlebar-color, var(--accent))
) !important;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] {
2023-03-18 04:34:32 +00:00
padding: 0 4px;
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--text) !important;
font-weight: bold !important;
height: 18px !important;
min-height: 18px !important;
border-bottom: 1px solid var(--titlebar-border-inactive, var(--secondary));
background: var(
--titlebar-active,
var(--titlebar-color, var(--accent))
) !important;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > h1 {
2023-03-18 04:34:32 +00:00
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--text) !important;
font-weight: bold !important;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="threadIcon_"] {
2023-03-18 04:34:32 +00:00
width: 16px;
height: 16px;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="threadIcon_"] {
2023-03-18 04:34:32 +00:00
margin-right: 2px;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > h1,
[class^="browser_"] > [class^="header_"] > [class^="divider_"],
[class^="browser_"] > [class^="header_"] > [class^="searchBox_"] {
2023-03-18 04:34:32 +00:00
margin-right: 0;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="divider_"] {
2023-03-18 04:34:32 +00:00
flex-grow: 1;
background-color: transparent;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="closeIcon_"] > svg {
2023-03-18 04:34:32 +00:00
display: none;
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="closeIcon_"] {
2023-03-18 04:34:32 +00:00
width: 12px !important;
min-width: 12px !important;
height: 10px !important;
min-height: 10px !important;
2023-03-29 18:17:59 +00:00
padding: 2px;
2023-03-18 04:34:32 +00:00
top: 0px;
right: -2px;
position: relative;
background: var(--primary) !important;
box-shadow: var(--wc-outer-edge);
}
2023-10-26 20:10:59 +00:00
[class^="browser_"] > [class^="header_"] > [class^="closeIcon_"]::before {
2023-03-18 04:34:32 +00:00
width: 12px !important;
height: 10px !important;
background-color: var(--text);
content: "";
position: absolute;
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}