-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathDiscord_ClassicTitlebarLite.css
82 lines (82 loc) · 2.2 KB
/
Discord_ClassicTitlebarLite.css
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
/**
* @name ClassicTitlebar Lite
* @author 11pixels
* @version 1.1
* @description Restores the 2016 titlebar
*/
.typeWindows__421ed.titleBar__421ed {
position: absolute;
top: 0;
right: 0;
-webkit-app-region: no-drag;
pointer-events: all;
height: auto;
width: auto;
margin: 12px;
gap: 8px;
contain: none;
.wordmark__421ed {
display: none;
}
.winButton__421ed {
width: 24px;
height: 24px;
position: unset;
background: currentColor;
position: relative;
inset: unset;
-webkit-app-region: no-drag;
pointer-events: all;
mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z' fill='white'/%3E%3C/svg%3E%0A");
svg {
display: none;
}
}
.winButton__421ed+.winButton__421ed {
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%23D9D9D9' fill-rule='evenodd' d='M5 5v14h14V5H5Zm2 2v10h10V7H7Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.winButton__421ed+.winButton__421ed+.winButton__421ed {
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M18 18v-2H6v2h12Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
}
.platform-win {
#app-mount:after {
content: "";
position: fixed;
inset: 12px 12px auto auto;
width: 88px;
height: 24px;
z-index: 99999999;
pointer-events: none;
-webkit-app-region: no-drag;
}
.sidebar_c48ade {
border-radius: 0;
}
.toolbar__9293f {
margin-right: 104px;
}
.headerBar__0920e {
-webkit-app-region: drag;
}
.title_f75fb0 {
-webkit-app-region: drag;
>* {
-webkit-app-region: no-drag;
}
}
.headerBar__8a7fc {
padding-right: 118px;
}
.standardSidebarView__23e6b {
-webkit-app-region: no-drag;
&:after {
content: "";
position: absolute;
-webkit-app-region: drag;
inset: 0 0 auto 0;
height: 48px;
z-index: 9999;
}
}
}