Skip to content

Commit 5916585

Browse files
committed
deploy: 403b9fe
1 parent d54f035 commit 5916585

5 files changed

Lines changed: 41 additions & 435 deletions

File tree

HorizontalServerList.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.content_c48ade {
2+
margin-top: var(--custom-guild-list-width);
3+
overflow: visible;
4+
}
5+
6+
#app-mount .sidebar_c48ade {
7+
border-radius: 0;
8+
overflow: visible;
9+
}
10+
#app-mount .guilds_c48ade {
11+
transform-origin: top left;
12+
rotate: -90deg;
13+
height: 100vw !important;
14+
bottom: unset;
15+
position: absolute !important;
16+
left: 0;
17+
}
18+
#app-mount .tree_ef3116 {
19+
padding-top: var(--HSL-top-padding, var(--size-sm));
20+
}
21+
#app-mount .wrapper_cc5dd2 {
22+
rotate: 90deg;
23+
}
24+
#app-mount .itemsContainer_ef3116,
25+
#app-mount .stack_dbd263 {
26+
flex-direction: var(--HSL-server-direction);
27+
justify-content: var(--HSL-server-alignment);
28+
}

HorizontalServerList.theme.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/**
22
* @name Horizontal Server List
3-
* @author Gibbu#1211
4-
* @version 2.1.0
3+
* @author Gibbu
4+
* @version 3.0.0
55
* @description Moves the server list from the left to the top of Discord.
66
* @source https://github.com/DiscordStyles/HorizontalServerList
77
* @invite ZHthyCw
8-
* @website https://gibbu.me
98
*/
109

11-
@import url('https://discordstyles.github.io/HorizontalServerList/dist/HorizontalServerList.css');
10+
@import url('https://discordstyles.github.io/HorizontalServerList/HorizontalServerList.css');
11+
12+
1213

1314
/* Bottom HorizontalServerList. Simply remove the comments surrounding the @import to enable it. */
1415
/* @import url("https://discordstyles.github.io/HorizontalServerList/bottomhsl.css"); */
1516
:root {
16-
--HSL-server-icon-size: 40px; /* Size of the server icons | DEFAULT: 40px */
17-
--HSL-server-spacing: 10px; /* Spacing between each server icon | DEFAULT: 10px */
1817
--HSL-server-direction: column; /* Direction of the server list. | OPTIONS: column, column-reverse | DEFAULT: column */
1918
--HSL-server-alignment: flex-start; /* Alignment of the server list. | OPTIONS: flex-start, center, flex-end | DEFAULT: flex-start */
20-
}
19+
}
20+

bottomhsl.css

Lines changed: 6 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,8 @@
1-
body #app-mount .app_a3002d .base_c48ade {
2-
top: 0 !important;
3-
bottom: var(--server-container) !important;
4-
}
5-
body #app-mount .guilds_c48ade {
6-
top: unset !important;
7-
left: 100vw;
8-
bottom: 0 !important;
9-
transform-origin: bottom left;
10-
}
11-
body #app-mount .guilds_c48ade [class*=pill] {
12-
top: unset !important;
13-
bottom: calc(var(--server-size) / -1 + var(--server-size) / 2 - 8px) !important;
14-
}
15-
body #app-mount .guilds_c48ade [class*=pill] span {
16-
border-radius: 4px 0 0 4px;
17-
}
18-
body #app-mount .guilds_c48ade.content-Pph8t6 {
19-
top: unset !important;
20-
bottom: var(--server-container) !important;
21-
}
22-
body #app-mount .guilds_c48ade.content-Pph8t6:not(.closed-j55_T-) + .base_c48ade {
23-
top: 0 !important;
24-
bottom: calc(var(--server-container) * 2) !important;
25-
}
26-
body #app-mount [class*=listItemTooltip_] {
27-
position: absolute;
28-
white-space: nowrap;
29-
top: calc(var(--server-size) / -1 - 30px) !important;
30-
margin-left: calc(var(--server-size) / -1 - 20px);
31-
}
32-
body #app-mount [class*=listItemTooltip_] [class*=tooltipPointer] {
33-
transform: rotate(0) !important;
34-
top: unset !important;
35-
bottom: -10px !important;
1+
.content_c48ade {
2+
margin-top: unset;
3+
margin-bottom: var(--custom-guild-list-width);
364
}
375

38-
html.platform-osx #app-mount .base_c48ade {
39-
top: 32px !important;
40-
}
6+
#app-mount .guilds_c48ade {
7+
top: calc(100% + var(--custom-guild-list-width));
8+
}

0 commit comments

Comments
 (0)