-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSettingsModal.theme.css
More file actions
173 lines (152 loc) · 4.62 KB
/
Copy pathSettingsModal.theme.css
File metadata and controls
173 lines (152 loc) · 4.62 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/**
* @name SettingsModal
* @description Turns Settings Windows like User-/Channel-/Serversettings and Boost Overview into Modals
* @author the.rabbit.disabler
* @version 1.0.0
*/
:root {
--sm-width: 87.5vw;
--sm-sidebar-width: 17.5vw;
--sm-height: 87.5vh;
}
.standardSidebarView__23e6b {
position: absolute;
width: var(--sm-width);
max-width: var(--sm-width) !important;
height: 87.5vh;
z-index: 4000;
justify-self: center;
align-self: center;
display: flex;
border-radius: 10px;
overflow: hidden;
border: rgba(255, 255, 255, 0.1) 1px solid;
.contentRegion__23e6b {
width: calc(var(--sm-width) - var(--sm-sidebar-width));
display: block;
flex: none;
.toolsContainer__23e6b {
margin: 0;
position: absolute;
right: 0px;
top: 0;
flex: none;
background-color: var(--background-primary);
padding: 0px;
height: 46px;
width: 100%;
box-shadow: var(--elevation-low);
.tools__23e6b {
position: absolute;
top: 10px;
right: 20px;
z-index: 5000;
.container_c2b141 {
.keybind_c2b141 {
display: none;
}
.closeButton_c2b141 {
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
color: white;
height: 25px !important;
width: 25px !important;
border: none;
flex: none;
> svg {
margin: 9px 0px 0px 9px;
width: 18px !important;
height: 18px !important;
overflow: visible;
> path {
margin-left: 20px;
d: path(
"M0.00380648 0.00268555H1.50315H1.55C1.93069 0.0202563 2.31724 0.19596 2.5808 0.47123L6.00117 3.8916L9.4684 0.47123C9.86666 0.125678 10.1361 0.0143984 10.4992 0.00268555H11.9985V1.50203C11.9985 1.92957 11.9458 2.32784 11.6237 2.62653L8.20333 6.0469L11.5768 9.42042C11.858 9.70155 11.9985 10.0998 11.9985 10.4981V11.9974H10.4992C10.1009 11.9974 9.70267 11.8569 9.42154 11.5757L6.00117 8.15535L2.5808 11.5757C2.29967 11.8569 1.90141 11.9974 1.50315 11.9974H0.00380648V10.4981C0.00380648 10.0998 0.14437 9.70155 0.425496 9.42042L3.84587 6.0469L0.425496 2.62653C0.109228 2.33369 -0.0313351 1.92372 0.00380648 1.50203V0.00268555Z"
);
}
}
}
}
}
}
.contentColumn__23e6b:not([id*="vencord"], [id*="vesktop"]) {
/* vencord tabs excluded because they are literally the only ones that break lmfao */
min-width: 0px !important;
width: 100%;
padding: 0px 20px;
> .settingsPage_f131e9 {
> div {
padding-top: 66px;
}
> h3 {
font-size: 16px;
z-index: 5000;
align-content: center;
text-align: center;
width: calc(var(--sm-width) - var(--sm-sidebar-width) - 50px);
position: fixed;
top: calc(
100vh - var(--sm-height) - (var(--custom-app-top-bar-height) / 2)
);
}
}
> div > h2[data-text-variant="heading-lg/semibold"],
> div > .sectionTitle__7bffb > h2,
> h2[data-text-variant="heading-lg/semibold"] {
font-size: 16px;
z-index: 100;
height: 46px;
align-content: center;
text-align: center;
width: calc(var(--sm-width) - var(--sm-sidebar-width) - 50px);
position: fixed;
pointer-events: none;
}
> div > .children__7bffb,
.tabBar_d6f9e9,
.vc-settings-tab-bar,
.vc-special-card,
> div > .h5_b717a1 {
margin-top: 66px;
}
.headerContainer_bdedd9 {
justify-content: center;
}
}
}
.sidebarRegion__23e6b {
flex: none;
.sidebar__23e6b {
width: var(--sm-sidebar-width);
padding: 0;
overflow: visible !important;
&::before {
content: "Settings";
font-size: 16px;
font-weight: 600;
z-index: 100;
height: 46px;
align-content: center;
text-align: center;
border-top-left-radius: 16px;
width: calc(var(--sm-sidebar-width) + 8px);
position: fixed;
pointer-events: none;
background-color: var(--background-secondary);
box-shadow: var(--elevation-low);
color: white;
}
.side_aa8da2 {
overflow: visible !important;
padding: 60px 8px 60px 16px;
}
}
}
}
.layer__960e4[aria-hidden="true"] + .layer__960e4 {
background-color: rgba(0, 0, 0, 0.5) !important;
}
.baseLayer__960e4 {
opacity: 1 !important;
transform: scale(1) !important;
}