Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion Themes/Spotify-Discord/css/source.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
--main-textarea-text-color: hsl(0,0%,60%);
--main-textarea-placeholder-color: hsl(0,0%,54%);
--main-textarea-typing-color: hsla(0,0%,7%,0.9);
--textarea-margin: calc(calc(var(--app-bar-size) - var(--main-textarea-min-height)) / 2);
--switch-knob-color: hsl(0,0%,100%);
--switch-slider-color: hsl(0,0%,33%);
--message-color-hover: hsl(0,0%,9%);
Expand All @@ -71,6 +72,10 @@
--text-link: hsl(var(--accent-hsl));
--default-shadow: 0 16px 24px hsla(0,0%,0%,0.3), 0 6px 8px hsla(0,0%,0%,0.2);
--code-font: Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;
--content-full-height: calc(100vh - var(--app-card-top-margin) - var(--textarea-margin) - 22px);
}
:root:has(#vencord-native-titlebar-style), :root:not(:has(.typeWindows__5fa63)) {
--content-full-height: calc(100vh - var(--app-card-top-margin) - var(--textarea-margin));
}

/*
Expand Down Expand Up @@ -160,6 +165,10 @@ body,
background-color: transparent;
}

body:not(:has(:is(.container_6sXIoE, #vc-spotify-player))) .sidebar_ded4b5 {
height: var(--content-full-height);
}

.link__95dc0 {
border-radius: var(--menu-item-radius);
}
Expand Down Expand Up @@ -526,7 +535,6 @@ body,
*
*/
.form__13a2c {
--textarea-margin: calc( calc(var(--app-bar-size) - var(--main-textarea-min-height)) / 2 );
position: relative;
width: 100%;
bottom: calc(var(--app-bar-size) * -1);
Expand Down Expand Up @@ -1997,6 +2005,7 @@ body,
*
*/
.container__5c7e7 {
height: var(--content-full-height);
background-color: var(--app-foreground);
border-radius: var(--app-card-radius);
}
Expand Down Expand Up @@ -2076,6 +2085,10 @@ body,
* MESSAGE REQUESTS
*
*/
.container_d3a736 {
height: var(--content-full-height);
}

.messageRequestItem__3b951:hover, .messageRequestItem__3b951.selected_ee2dc5, .messageRequestItem__3b951.selected__2244b {
border-radius: var(--card-radius);
}
Expand All @@ -2098,6 +2111,7 @@ body,
*
*/
.applicationStore_fc7d76 {
height: var(--content-full-height);
background-color: var(--app-foreground);
border-radius: var(--app-card-radius);
}
Expand Down Expand Up @@ -2758,6 +2772,7 @@ pre, pre code, code.inline, .codeBlockText__6172e, .codeLine__3797b, .codeBlockL
*
*/
.layer__2efaa .shop_b31ed2 {
height: var(--content-full-height);
margin: var(--app-card-top-margin) var(--app-card-margin) var(--app-card-margin);
border-radius: var(--app-card-radius);
overflow: hidden;
Expand Down Expand Up @@ -3290,6 +3305,10 @@ pre, pre code, code.inline, .codeBlockText__6172e, .codeLine__3797b, .codeBlockL
outline: none;
}

body:not(:has(:is(.container_6sXIoE, #vc-spotify-player))) .wrapper_a7e7a8 {
height: var(--content-full-height);
}

/* SERVERS LIST -> HOME BUTTON AND DMS */
.tutorialContainer__890ea {
padding: 8px 0;
Expand Down
3 changes: 3 additions & 0 deletions Themes/Spotify-Discord/src/_selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3379,6 +3379,9 @@
.buttonShine__0be03 {
@extend %libraryPlayButtonShine !optional;
}
.container_d3a736 {
@extend %messageRequestPage !optional;
}
.list__325e7 {
@extend %messageRequestContainer !optional;
}
Expand Down
9 changes: 9 additions & 0 deletions Themes/Spotify-Discord/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
--main-textarea-text-color: hsl(0,0%,60%);
--main-textarea-placeholder-color: hsl(0,0%,54%);
--main-textarea-typing-color: hsla(0,0%,7%,0.9);
--textarea-margin: calc(calc(var(--app-bar-size) - var(--main-textarea-min-height)) / 2);

--switch-knob-color: hsl(0,0%,100%);
--switch-slider-color: hsl(0,0%,33%);
Expand All @@ -96,4 +97,12 @@

--default-shadow: 0 16px 24px hsla(0,0%,0%,0.3), 0 6px 8px hsla(0,0%,0%,0.2);
--code-font: Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;

// Subtract margins and title bar height unless using native titlebars
--content-full-height: calc(100vh - var(--app-card-top-margin) - var(--textarea-margin) - 22px);
// Placeholder selectors not supported yet inside :has()
&:has(#vencord-native-titlebar-style),
&:not(:has(.typeWindows__5fa63)) {
--content-full-height: calc(100vh - var(--app-card-top-margin) - var(--textarea-margin));
}
}
7 changes: 7 additions & 0 deletions Themes/Spotify-Discord/src/channels/_channels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
}
}

// Placeholder selectors not supported yet inside :has() / :is()
body:not(:has(:is(.container_6sXIoE, #vc-spotify-player))) {
%channelsSidebar {
height: var(--content-full-height);
}
}

%channelLink {
border-radius: var(--menu-item-radius);
}
Expand Down
2 changes: 0 additions & 2 deletions Themes/Spotify-Discord/src/chat/_textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/

%chatForm {
--textarea-margin: calc( calc(var(--app-bar-size) - var(--main-textarea-min-height)) / 2 );

position: relative;
width: 100%;
bottom: calc(var(--app-bar-size) * -1);
Expand Down
1 change: 1 addition & 0 deletions Themes/Spotify-Discord/src/home/_friendsList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

%friends {
height: var(--content-full-height);
background-color: var(--app-foreground);
border-radius: var(--app-card-radius);
}
Expand Down
4 changes: 4 additions & 0 deletions Themes/Spotify-Discord/src/home/_messageRequests.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
*
*/

%messageRequestPage {
height: var(--content-full-height);
}

%messageRequestItem {
&:hover,
&%messageRequestItemSelected {
Expand Down
1 change: 1 addition & 0 deletions Themes/Spotify-Discord/src/home/_nitro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

%nitroHomePage {
height: var(--content-full-height);
background-color: var(--app-foreground);
border-radius: var(--app-card-radius);
}
Expand Down
1 change: 1 addition & 0 deletions Themes/Spotify-Discord/src/pages/_shop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

%layer {
%shopContainer {
height: var(--content-full-height);
margin: var(--app-card-top-margin) var(--app-card-margin) var(--app-card-margin);
border-radius: var(--app-card-radius);
overflow: hidden;
Expand Down
7 changes: 7 additions & 0 deletions Themes/Spotify-Discord/src/servers/_servers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
}
}

// Placeholder selectors not supported yet inside :has() / :is()
body:not(:has(:is(.container_6sXIoE, #vc-spotify-player))) {
%guildsWrapper {
height: var(--content-full-height);
}
}

/* SERVERS LIST -> HOME BUTTON AND DMS */

%guildsHomeContainer {
Expand Down