Skip to content

Commit

Permalink
FIX: bigger-inbox and theme versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenMan36 committed Dec 11, 2023
1 parent 2e712fd commit 85b2c9c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
8 changes: 4 additions & 4 deletions files/discord-mods/themes/pre-modern-discord.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name Greens Premodern Discord
* @author GreenMan36#0633
* @authorLink https://github.com/GreenMan36
* @version 26.03.23b
* @version 11.12.23a
* @description A theme that steals the colors from Alexis Modern Discord and adds a few tweaks of my own.
*/

Expand All @@ -22,7 +22,7 @@
/* used for theme name and version, DO NOT TOUCH */
:root {
--theme-name: "Greens Premodern Discord";
--version: "26.03.23a";
--version: "11.12.23a";
}

/* these can be customized. just copy/paste the whole thing into your custom CSS and mess around with it. */
Expand All @@ -32,7 +32,7 @@
}

/* styling for the theme name and version */
.info-3pQQBb::after {
div[class*="info__"]::after {
border-top: 1px solid var(--text-muted);
border-radius: 4px;
content: var(--theme-name);
Expand All @@ -48,7 +48,7 @@
}

/* play animation on hover */
.info-3pQQBb:hover:after {
div[class*="info__"]:hover:after {
content: var(--theme-name);
animation: versionhover 16s ease-in infinite running;
filter: blur(0px);
Expand Down
28 changes: 5 additions & 23 deletions files/discord-mods/themes/responsive-discord.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name Greens Responsive Discord
* @author GreenMan36#0633
* @authorLink https://github.com/GreenMan36
* @version 12.02.23a
* @version 11.12.23a
* @description A theme that tries to make Discord's sidebars adapt when resizing your window.
*/

Expand All @@ -17,11 +17,12 @@
*/

@import url(https://greenman36.github.io/files/discord-mods/themes/snippets/fix-titlebar-dragarea.css);
@import url(https://greenman36.github.io/files/discord-mods/themes/snippets/bigger-inbox.css);

/* used for theme name and version, DO NOT TOUCH */
:root {
--theme-name: "Greens Responsive Discord";
--version: "26.03.23a";
--version: "11.12.23a";
}

/* these can be customized. just copy/paste the whole thing into your custom CSS and mess around with it. */
Expand All @@ -44,13 +45,8 @@
box-shadow: none;
}

/* Modern Discord: remove channel list fade, bugs when panel expanded */
/*.panels-3wFtMD:before {
background: none !important;
}*/

/* styling for the theme name and version */
.info-3pQQBb::after {
div[class*="info__"]::after {
border-top: 1px solid var(--text-muted);
border-radius: 4px;
content: var(--theme-name);
Expand All @@ -66,7 +62,7 @@
}

/* play animation on hover */
.info-3pQQBb:hover:after {
div[class*="info__"]:hover:after {
content: var(--theme-name);
animation: versionhover 16s ease-in infinite running;
filter: blur(0px);
Expand Down Expand Up @@ -170,20 +166,6 @@ a.anchor-1MIwyf.anchorUnderlineOnHover-2qPutX.snowsgivingLink-1TZi3c {
}
}

/* resize inbox */
.recentMentionsPopout-2bI1ZN {
width: 100%;
height: 100%;
min-height: 80vh;
min-width: 50vw;
transition: all 0.5s ease-out;
transition-property: max-height, max-width, width, height;
}
/* fix inbox header */
.channelHeader-DFRX8q {
top: -1px;
}

@media (max-width: 1400px) {
.recentMentionsPopout-2bI1ZN {
width: 100%;
Expand Down
23 changes: 23 additions & 0 deletions files/discord-mods/themes/snippets/bigger-inbox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* @name Better Image Embeds
* @author GreenMan36#0633
* @authorLink https://github.com/GreenMan36
* @version 11.12.23a
* @description A small snippet that makes the inbox bigger so you see more messages at once.
*/

/*
(C) GreenMan36#0633
*/

/* snippets don't show their version in the settings */

/* resize inbox */
div[class*="recentMentionsPopout__"] {
width: 100%;
height: 100%;
min-height: 80vh;
min-width: 50vw;
transition: all 0.5s ease-out;
transition-property: max-height, max-width, width, height;
}

0 comments on commit 85b2c9c

Please sign in to comment.