Skip to content

Commit e414679

Browse files
committed
Update classicTitlebar.theme.css
1 parent 37f40af commit e414679

File tree

1 file changed

+93
-45
lines changed

1 file changed

+93
-45
lines changed

classicTitlebar.theme.css

+93-45
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,38 @@
99
* @donate https://ko-fi.com/kckarnige
1010
* @updateUrl https://raw.githubusercontent.com/kckarnige/notitlebar-theme/main/classicTitlebar.theme.css
1111
**/
12-
.platform-win:not(:has([legcord-platform])) nav[class*=guilds_] [class*=scroller_],
13-
.platform-linux:not(:has([legcord-platform])) nav[class*=guilds_] [class*=scroller_] {
12+
.platform-win:not(:has([legcord-platform])) nav[class*="guilds_"] [class*="scroller_"],
13+
.platform-linux:not(:has([legcord-platform])) nav[class*="guilds_"] [class*="scroller_"] {
1414
padding-top: 12px;
1515
}
16-
.platform-win:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_],
17-
.platform-linux:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_] {
16+
.platform-win:not(:has([legcord-platform])) [class*="withFrame_"][class*="titleBar_"],
17+
.platform-linux:not(:has([legcord-platform])) [class*="withFrame_"][class*="titleBar_"] {
1818
height: 0%;
1919
margin-top: 0px;
2020
position: absolute;
2121
right: 0;
2222
float: right;
2323
}
24-
.platform-win:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_] > [class*=wordmark_],
25-
.platform-linux:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_] > [class*=wordmark_] {
24+
.platform-win:not(:has([legcord-platform]))
25+
[class*="withFrame_"][class*="titleBar_"]
26+
> [class*="wordmark_"],
27+
.platform-linux:not(:has([legcord-platform]))
28+
[class*="withFrame_"][class*="titleBar_"]
29+
> [class*="wordmark_"] {
2630
display: none;
2731
}
28-
.platform-win:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_] > [class*=winButton_],
29-
.platform-linux:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_] > [class*=winButton_] {
32+
.platform-win:not(:has([legcord-platform]))
33+
[class*="withFrame_"][class*="titleBar_"]
34+
> [class*="winButton_"],
35+
.platform-linux:not(:has([legcord-platform]))
36+
[class*="withFrame_"][class*="titleBar_"]
37+
> [class*="winButton_"] {
3038
width: 40px;
3139
height: 52px;
3240
z-index: 100;
3341
}
34-
.platform-win:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_]:before,
35-
.platform-linux:not(:has([legcord-platform])) [class*=withFrame_][class*=titleBar_]:before {
42+
.platform-win:not(:has([legcord-platform])) [class*="withFrame_"][class*="titleBar_"]:before,
43+
.platform-linux:not(:has([legcord-platform])) [class*="withFrame_"][class*="titleBar_"]:before {
3644
width: calc(100vw - 384px);
3745
height: 48px;
3846
background: transparent;
@@ -42,66 +50,106 @@
4250
pointer-events: none;
4351
position: absolute;
4452
}
45-
.platform-win:not(:has([legcord-platform])) [class*=content_] [class*=sidebar_],
46-
.platform-linux:not(:has([legcord-platform])) [class*=content_] [class*=sidebar_] {
53+
.platform-win:not(:has([legcord-platform])) [class*="content_"] [class*="sidebar_"],
54+
.platform-linux:not(:has([legcord-platform])) [class*="content_"] [class*="sidebar_"] {
4755
border-radius: 0;
4856
}
49-
.platform-win:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentColumnDefault_],
50-
.platform-win:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentColumnWide_],
51-
.platform-linux:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentColumnDefault_],
52-
.platform-linux:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentColumnWide_] {
57+
.platform-win:not(:has([legcord-platform]))
58+
[class*="standardSidebarView_"]
59+
[class*="contentColumnDefault_"],
60+
.platform-win:not(:has([legcord-platform]))
61+
[class*="standardSidebarView_"]
62+
[class*="contentColumnWide_"],
63+
.platform-linux:not(:has([legcord-platform]))
64+
[class*="standardSidebarView_"]
65+
[class*="contentColumnDefault_"],
66+
.platform-linux:not(:has([legcord-platform]))
67+
[class*="standardSidebarView_"]
68+
[class*="contentColumnWide_"] {
5369
padding: 20px 40px 80px;
5470
}
55-
.platform-win:not(:has([legcord-platform])) [class*=topicClickTarget_],
56-
.platform-win:not(:has([legcord-platform])) [class*=notice_],
57-
.platform-linux:not(:has([legcord-platform])) [class*=topicClickTarget_],
58-
.platform-linux:not(:has([legcord-platform])) [class*=notice_] {
71+
.platform-win:not(:has([legcord-platform])) [class*="topicClickTarget_"],
72+
.platform-win:not(:has([legcord-platform])) [class*="notice_"],
73+
.platform-linux:not(:has([legcord-platform])) [class*="topicClickTarget_"],
74+
.platform-linux:not(:has([legcord-platform])) [class*="notice_"] {
5975
height: 48px;
6076
line-height: 48px;
6177
}
62-
.platform-win:not(:has([legcord-platform])) [class*=topicClickTarget_] button,
63-
.platform-win:not(:has([legcord-platform])) [class*=notice_] button,
64-
.platform-linux:not(:has([legcord-platform])) [class*=topicClickTarget_] button,
65-
.platform-linux:not(:has([legcord-platform])) [class*=notice_] button {
78+
.platform-win:not(:has([legcord-platform])) [class*="topicClickTarget_"] button,
79+
.platform-win:not(:has([legcord-platform])) [class*="notice_"] button,
80+
.platform-linux:not(:has([legcord-platform])) [class*="topicClickTarget_"] button,
81+
.platform-linux:not(:has([legcord-platform])) [class*="notice_"] button {
6682
-webkit-app-region: none;
6783
transform: translateY(-12px);
6884
margin-top: 12px;
6985
top: 12px;
7086
margin-bottom: 12px;
7187
bottom: 12px;
7288
}
73-
.platform-win:not(:has([legcord-platform])) [class*=topicClickTarget_] button[class*=back_],
74-
.platform-win:not(:has([legcord-platform])) [class*=notice_] button[class*=back_],
75-
.platform-linux:not(:has([legcord-platform])) [class*=topicClickTarget_] button[class*=back_],
76-
.platform-linux:not(:has([legcord-platform])) [class*=notice_] button[class*=back_] {
89+
.platform-win:not(:has([legcord-platform])) [class*="topicClickTarget_"] button[class*="back_"],
90+
.platform-win:not(:has([legcord-platform])) [class*="notice_"] button[class*="back_"],
91+
.platform-linux:not(:has([legcord-platform])) [class*="topicClickTarget_"] button[class*="back_"],
92+
.platform-linux:not(:has([legcord-platform])) [class*="notice_"] button[class*="back_"] {
7793
transform: translateY(-6px);
7894
}
79-
.platform-win:not(:has([legcord-platform])) [class*=topicClickTarget_] [class*=closeButton_],
80-
.platform-win:not(:has([legcord-platform])) [class*=notice_] [class*=closeButton_],
81-
.platform-linux:not(:has([legcord-platform])) [class*=topicClickTarget_] [class*=closeButton_],
82-
.platform-linux:not(:has([legcord-platform])) [class*=notice_] [class*=closeButton_] {
95+
.platform-win:not(:has([legcord-platform])) [class*="topicClickTarget_"] [class*="closeButton_"],
96+
.platform-win:not(:has([legcord-platform])) [class*="notice_"] [class*="closeButton_"],
97+
.platform-linux:not(:has([legcord-platform])) [class*="topicClickTarget_"] [class*="closeButton_"],
98+
.platform-linux:not(:has([legcord-platform])) [class*="notice_"] [class*="closeButton_"] {
8399
top: 5px;
84100
margin-right: 280px;
85101
}
86-
.platform-win:not(:has([legcord-platform])) [class*=sidebarRegionScroller_],
87-
.platform-linux:not(:has([legcord-platform])) [class*=sidebarRegionScroller_] {
102+
.platform-win:not(:has([legcord-platform])) [class*="sidebarRegionScroller_"],
103+
.platform-linux:not(:has([legcord-platform])) [class*="sidebarRegionScroller_"] {
88104
padding-top: 14px;
89105
}
90-
.platform-win:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentRegion_] [class*=contentRegionScroller_],
91-
.platform-linux:not(:has([legcord-platform])) [class*=standardSidebarView_] [class*=contentRegion_] [class*=contentRegionScroller_] {
106+
.platform-win:not(:has([legcord-platform]))
107+
[class*="standardSidebarView_"]
108+
[class*="contentRegion_"]
109+
[class*="contentRegionScroller_"],
110+
.platform-linux:not(:has([legcord-platform]))
111+
[class*="standardSidebarView_"]
112+
[class*="contentRegion_"]
113+
[class*="contentRegionScroller_"] {
92114
padding-top: 18px;
93115
}
94-
.platform-win:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_],
95-
.platform-linux:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_] {
116+
.platform-win:not(:has([legcord-platform])) [class*="upperContainer_"] > [class*="toolbar_"],
117+
.platform-linux:not(:has([legcord-platform])) [class*="upperContainer_"] > [class*="toolbar_"] {
96118
padding-right: 120px;
97119
}
98-
.platform-win:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_] [type*=button], .platform-win:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_] [role*=button],
99-
.platform-linux:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_] [type*=button],
100-
.platform-linux:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=toolbar_] [role*=button] {
120+
.platform-win:not(:has([legcord-platform]))
121+
[class*="upperContainer_"]
122+
> [class*="toolbar_"]
123+
[type*="button"],
124+
.platform-win:not(:has([legcord-platform]))
125+
[class*="upperContainer_"]
126+
> [class*="toolbar_"]
127+
[role*="button"],
128+
.platform-linux:not(:has([legcord-platform]))
129+
[class*="upperContainer_"]
130+
> [class*="toolbar_"]
131+
[type*="button"],
132+
.platform-linux:not(:has([legcord-platform]))
133+
[class*="upperContainer_"]
134+
> [class*="toolbar_"]
135+
[role*="button"] {
101136
-webkit-app-region: no-drag;
102137
}
103-
.platform-win:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=children_] [type*=button], .platform-win:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=children_] [role*=button],
104-
.platform-linux:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=children_] [type*=button],
105-
.platform-linux:not(:has([legcord-platform])) [class*=upperContainer_] > [class*=children_] [role*=button] {
138+
.platform-win:not(:has([legcord-platform]))
139+
[class*="upperContainer_"]
140+
> [class*="children_"]
141+
[type*="button"],
142+
.platform-win:not(:has([legcord-platform]))
143+
[class*="upperContainer_"]
144+
> [class*="children_"]
145+
[role*="button"],
146+
.platform-linux:not(:has([legcord-platform]))
147+
[class*="upperContainer_"]
148+
> [class*="children_"]
149+
[type*="button"],
150+
.platform-linux:not(:has([legcord-platform]))
151+
[class*="upperContainer_"]
152+
> [class*="children_"]
153+
[role*="button"] {
106154
-webkit-app-region: no-drag;
107-
}/*# sourceMappingURL=classicTitlebar.theme.css.map */
155+
} /*# sourceMappingURL=classicTitlebar.theme.css.map */

0 commit comments

Comments
 (0)