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;
}
[class^="typeWindows-"] {
height: 18px !important;
margin-top: 0;
background: var(--titlebar-inactive, var(--secondary));
border-bottom: 1px solid var(--titlebar-border-inactive, var(--secondary));
}
.app-focused [class^="typeWindows-"] {
background: var(
--titlebar-active,
var(--titlebar-color, var(--accent))
) !important;
border-color: var(--titlebar-border-active, var(--primary)) !important;
}
[class^="winButtonClose-"] > svg,
[class^="winButtonMinMax-"] > svg,
[class^="wordmarkWindows-"] > svg {
display: none;
}
[class^="wordmarkWindows-"] {
width: 16px !important;
height: 16px !important;
top: 1px !important;
left: 2px !important;
padding: 0 !important;
background-image: var(--titlebar-icon);
background-repeat: no-repeat;
}
[class^="wordmarkWindows-"]::after {
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;
}
.app-focused [class^="wordmarkWindows-"]::after {
color: var(--text) !important;
}
[class*="winButton-"] {
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);
}
[class^="winButtonClose-"] {
right: 2px;
}
[class^="winButtonMinMax-"]:nth-child(3),
[class^="winButtonMinMax-"]:nth-child(4) {
right: 4px;
}
[class*="winButton-"]::before {
width: 12px !important;
height: 10px !important;
background-color: var(--text);
content: "";
}
[class^="winButtonClose-"]::before {
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwSURBVChTY6AE/IdidIBLHAzQJfEqhgGYIqIUwwBZionShK4IryZckng1URswMAAAIEcZ541Sy3oAAAAASUVORK5CYIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
[class^="winButtonMinMax-"]:nth-child(3)::before {
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTY4CC/0RgFIBNATpGARgCaGBUAwiABAhhcgADAwD+Vybas8l0mAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTY4CC/0RgFIBNATpGARgCaGBUAwiABAhhcgADAwD+Vybas8l0mAAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
[class^="winButtonMinMax-"]:nth-child(4)::before {
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZSURBVChTYxgFtAb/cWCcAJtiEKYEMDAAALNwC/VcmzodAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZSURBVChTYxgFtAb/cWCcAJtiEKYEMDAAALNwC/VcmzodAAAAAElFTkSuQmCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
}
[class*="recentMentionsPopout-"],
[class^="messagesPopoutWrap-"],
[class^="browser-"] {
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));
}
[class*="recentMentionsPopout-"] > [class^="header-"] {
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;
}
[class*="recentMentionsPopout-"]
> [class^="header-"]
> [class^="controls-"]
> [class^="button-"] {
padding: 0;
border-radius: 0;
width: 16px;
height: 16px;
min-width: 16px;
min-height: 16px;
background-color: transparent;
}
[class*="recentMentionsPopout-"] > [class^="header-"] [class^="tab-"] {
margin-top: 0 !important;
padding: 0px 2px;
height: 16px;
border-radius: 0;
font-size: 12px;
}
[class^="messagesPopoutWrap-"] > [class^="header-"] {
padding: 0;
}
[class^="messagesPopoutWrap-"] > [class^="header-"] > h1 {
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;
}
[class^="browser-"] > [class^="header-"] {
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;
}
[class^="browser-"] > [class^="header-"] > h1 {
font-family: var(--_font-titlebars) !important;
font-size: 12px !important;
color: var(--text) !important;
font-weight: bold !important;
}
[class^="browser-"] > [class^="header-"] > [class^="threadIcon-"] {
width: 16px;
height: 16px;
}
[class^="browser-"] > [class^="header-"] > [class^="threadIcon-"] {
margin-right: 2px;
}
[class^="browser-"] > [class^="header-"] > h1,
[class^="browser-"] > [class^="header-"] > [class^="divider-"],
[class^="browser-"] > [class^="header-"] > [class^="searchBox-"] {
margin-right: 0;
}
[class^="browser-"] > [class^="header-"] > [class^="divider-"] {
flex-grow: 1;
background-color: transparent;
}
[class^="browser-"] > [class^="header-"] > [class^="closeIcon-"] > svg {
display: none;
}
[class^="browser-"] > [class^="header-"] > [class^="closeIcon-"] {
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);
}
[class^="browser-"] > [class^="header-"] > [class^="closeIcon-"]::before {
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==");
}