Skip to content

Commit 6310042

Browse files
authored
Merge pull request #100 from luk1337/luk/update
Restore old style CSS class names
2 parents 3638887 + e7d8d12 commit 6310042

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/addons/_bottomhsl.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
._5e434347c823b592-base[data-fullscreen='false'] ._5e434347c823b592-content {
1+
.base__5e434[data-fullscreen='false'] .content__5e434 {
22
margin-top: unset;
33
margin-bottom: var(--custom-guild-list-width);
44
}
55
#app-mount {
6-
._5e434347c823b592-guilds {
6+
.guilds__5e434 {
77
top: calc(100% + var(--custom-guild-list-width));
88
}
99
}
1010

1111
// BetterFolders - Vencord
12-
._5e434347c823b592-container > div[style]:not(._5e434347c823b592-base) {
12+
.base__5e434 > div[style]:not(.base__5e434) {
1313
bottom: calc(var(--custom-guild-list-width) * 2);
1414
top: unset;
1515

16-
._5e434347c823b592-guilds {
16+
.guilds__5e434 {
1717
top: calc(100% + var(--custom-guild-list-width) * 2) !important;
1818
}
1919

20-
& + ._5e434347c823b592-base ._5e434347c823b592-content {
20+
& + .base__5e434 .content__5e434 {
2121
margin-top: unset;
2222
margin-bottom: calc(var(--custom-guild-list-width) * 2);
2323
}

src/main.scss

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--serverlist-offset: var(--custom-guild-list-width);
44
}
55

6-
._5e434347c823b592-base[data-fullscreen='false'] ._5e434347c823b592-content {
6+
.base__5e434[data-fullscreen='false'] .content__5e434 {
77
margin-top: var(--serverlist-offset);
88
overflow: visible !important;
99
}
@@ -14,12 +14,12 @@
1414

1515

1616
#app-mount {
17-
._5e434347c823b592-sidebar {
17+
.sidebar__5e434 {
1818
border-radius: 0;
1919
overflow: visible !important;
2020
}
2121

22-
._5e434347c823b592-guilds {
22+
.guilds__5e434 {
2323
transform-origin: top left;
2424
rotate: -90deg;
2525
height: 100vw !important;
@@ -28,52 +28,52 @@
2828
left: 0;
2929
}
3030

31-
.ef3116c2da186559-tree {
31+
.tree_ef3116 {
3232
padding-top: var(--HSL-top-padding, var(--size-sm));
3333
}
3434

3535
// Rotate the icons back
36-
._6e9f8dce4cc18de3-wrapper,
37-
._48112cbe77dc5022-folderPreview,
38-
._48112cbe77dc5022-folderIconWrapper,
39-
.cc5dd25190031396-lowerBadge,
40-
.cc5dd25190031396-upperBadge {
36+
.wrapper__6e9f8,
37+
.folderPreview__48112,
38+
.folderIconWrapper__48112,
39+
.lowerBadge_cc5dd2,
40+
.upperBadge_cc5dd2 {
4141
rotate: 90deg;
4242
}
43-
._6e9f8dce4cc18de3-childWrapper {
43+
.childWrapper__6e9f8 {
4444
rotate: 0deg;
4545
}
4646

47-
.ef3116c2da186559-itemsContainer,
48-
.dbd2630aec71879b-stack {
47+
.itemsContainer_ef3116,
48+
.stack_dbd263 {
4949
flex-direction: var(--HSL-server-direction);
5050
justify-content: var(--HSL-server-alignment);
5151
}
5252

5353
// Notices
54-
._6e2b9359c6f84cfd-notice {
54+
.notice__6e2b9 {
5555
height: var(--notices-height);
5656

57-
& + ._5e434347c823b592-content {
57+
& + .content__5e434 {
5858
--serverlist-offset: calc(var(--notices-height) + var(--custom-guild-list-width));
5959
}
6060
}
6161
}
6262

6363
// BetterFolders - Vencord
64-
._5e434347c823b592-container > div[style]:not(._5e434347c823b592-base) {
64+
.container__5e434 > div[style]:not(.base__5e434) {
6565
width: 100vw !important;
6666
height: var(--serverlist-offset) !important;
6767
position: absolute;
6868
top: calc(var(--serverlist-offset) + var(--custom-app-top-bar-height));
6969
pointer-events: none;
7070
z-index: 1;
7171

72-
._5e434347c823b592-guilds {
72+
.guilds__5e434 {
7373
pointer-events: all;
7474
}
7575

76-
& + ._5e434347c823b592-base ._5e434347c823b592-content {
76+
& + .base__5e434 .content__5e434 {
7777
margin-top: calc(var(--serverlist-offset) * 2);
7878
}
7979
}

0 commit comments

Comments
 (0)