-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassicTitlebar.theme.scss
105 lines (92 loc) · 2.85 KB
/
classicTitlebar.theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**
* @name No Titlebar
* @author KCK
* @authorId 634168893644210186
* @authorLink https://github.com/kckarnige
* @website https://github.com/kckarnige/notitlebar-theme
* @version 1.1.2
* @description A (sorta) blast from the past.
* @donate https://ko-fi.com/kckarnige
* @updateUrl https://raw.githubusercontent.com/kckarnige/notitlebar-theme/main/classicTitlebar.theme.css
**/
.platform-win,
.platform-linux {
&:not(:has([legcord-platform])) {
nav[class*="guilds_"] [class*="scroller_"] {
padding-top: 12px;
}
[class*="withFrame_"][class*="titleBar_"] {
height: 0%;
margin-top: 0px;
position: absolute;
right: 0;
float: right;
>[class*="wordmark_"] {
display: none;
}
>[class*="winButton_"] {
width: 40px;
height: 52px;
z-index: 100;
}
&:before {
width: calc(100vw - 384px);
height: 48px;
background: transparent;
opacity: .2;
content: " ";
-webkit-app-region: drag;
pointer-events: none;
position: absolute;
}
}
[class*="content_"] [class*="sidebar_"] {
border-radius: 0;
}
[class*="standardSidebarView_"] {
[class*="contentColumnDefault_"],
[class*="contentColumnWide_"] {
padding: 20px 40px 80px;
}
}
[class*="topicClickTarget_"],
[class*="notice_"] {
height: 48px;
line-height: 48px;
button {
-webkit-app-region: none;
transform: translateY(-12px);
margin-top: 12px;
top: 12px;
margin-bottom: 12px;
bottom: 12px;
&[class*="back_"] {
transform: translateY(-6px);
}
}
[class*="closeButton_"] {
top: 5px;
margin-right: 280px;
}
}
[class*="sidebarRegionScroller_"] {
padding-top: 14px;
}
[class*="standardSidebarView_"] [class*="contentRegion_"] [class*="contentRegionScroller_"] {
padding-top: 18px;
}
[class*="upperContainer_"] {
&>[class*="toolbar_"] {
padding-right: 120px;
[type*="button"], [role*="button"] {
-webkit-app-region: no-drag;
}
}
&>[class*="children_"] {
[type*="button"], [role*="button"] {
-webkit-app-region: no-drag;
}
}
}
}
}