maenDisease / BetterDiscordStuff

46 stars 64 forks source link

[Float] Updated class names to fix the theme #35

Open Taizunz opened 1 year ago

Taizunz commented 1 year ago
.app-3xd6d0 -> .app-1BipOi
.button-f2h6uQ -> .button-ejjZWC
.chat-2ZfjoI -> .chat-9g_3Xj
.container-2o3qEW -> .container-2vWgD2
.content-1jQy2l -> .content-18rAwf
.members-3WRCEx -> .members-2y1nVj
.content-1gYQeQ -> .wrapper-NhbLHG
.pageWrapper-2PwDoS -> .pageWrapper-eg3-6i
.userSettingsVoice-1fEtsL -> .userSettingsVoice-1s-yPp
.operations-3V47CY -> .operations-3q3u6E
.downloadLink-1OAglv -> .downloadLink-3cavAH
.membersWrap-3NUR2t -> .membersWrap-3GwLFp
.cursorPointer-3JF56F -> .cursorPointer-2Pf_Hr
.fullscreenOnMobile-ixj0e3 -> .fullscreenOnMobile-2971EC
.menu-1QACrS -> .menu-2TXYjN
.root-g14mjS -> .root-1CAIjD
.thin-31rlnD -> .thin-RnSY0a
.wrapper-2bCXfR -> .imageWrapper-oMkQl4
.text-sm-medium-3Pz3rB -> .text-sm-medium-2-Xzsi
.eyebrow-Ejf06y -> .eyebrow-1Shfyi
.children-1xdcWE -> .children-2C96Ex

If you'd like to fix your own installation of Float immediately, you can edit the zFloat.theme.css file in the themes folder and replace the existing Source import to this link instead: (This gist also includes the memberslist fix mentioned in #34 ) https://gist.githubusercontent.com/Taizunz/af120cf39bc2386253c54cd5149f0e88/raw/1e65b8fceecd51af979a2e9c58ebad01dccb7555/temporaryFixedFloat.css

(If the gist link import won't work, try this instead: https://files.catbox.moe/weofp7.css - for some reason it wouldn't import for me with the gist link despite it being the exact same file on both hosts)

Taizunz commented 1 year ago

Note, there were two classes I couldn't find the replacements for:

.detailsAdded-fHiJlm
.translateButton-DhP9x8
Taizunz commented 1 year ago

All of the above is outdated at this point. Use this updater to automatically update all classes: https://syndishanx.github.io/Website/Update_Classes.html

If that's too complicated for you, either wait for Disease to update the theme or use this updated source import file: https://files.catbox.moe/i180kr.css

If the updated file behaves weird when looking at user settings in Discord (i.e. the list shifts to the right side of the screen), try this one instead (sidebarRegionScroller__1fa7e has been removed from this one to fix that issue): https://files.catbox.moe/icvpax.css

ccrowles commented 1 year ago

All of the above is outdated at this point. Use this updater to automatically update all classes: https://syndishanx.github.io/Website/Update_Classes.html

Is that fix supposed to also fix the panels not resizing properly? Because the whole point of Float was the panels resizing and adapting to the new window size... but it doesn't work.

Screenshot_2023-11-02_22-24-07_525

crborga commented 11 months ago

All of the above is outdated at this point. Use this updater to automatically update all classes: https://syndishanx.github.io/Website/Update_Classes.html

If that's too complicated for you, either wait for Disease to update the theme or use this updated source import file: https://files.catbox.moe/i180kr.css

If the updated file behaves weird when looking at user settings in Discord (i.e. the list shifts to the right side of the screen), try this one instead (sidebarRegionScroller__1fa7e has been removed from this one to fix that issue): https://files.catbox.moe/icvpax.css

This file works for me https://files.catbox.moe/icvpax.css

@maenDisease attempted to update his css but I some reason it still doesn't work.

crborga commented 11 months ago

Adding this at the bottom seems to solve the issue with @maendisease css file aside from the settings screen.

.membersListNotices_a4cb13 { display: none; }

ccrowles commented 11 months ago

This file works for me https://files.catbox.moe/icvpax.css

@maenDisease attempted to update his css but I some reason it still doesn't work.

Adding this at the bottom seems to solve the issue with @maenDisease css file aside from the settings screen.

.membersListNotices_a4cb13 { display: none; }

Still doesn't fix the theme for me, the only thing it does is making the channels list permanently collapsible. This was Float's behaviour before breaking (from the official preview here on the repo): 179085842-06d19aba-b9c4-4af3-99ef-a0c636278bce

This is Float's current behavior on my end, with the css you provided (including the memberlistnotice display none):

https://github.com/maenDisease/BetterDiscordStuff/assets/12866474/787aef94-ea3e-4f93-a48f-79e7f18c5cc4

crborga commented 11 months ago

Not sure what is going on but mine works exactly the way it should with the edit I made. Also, work if I use the source provided above by others.

Taizunz commented 7 months ago

Updated class names again, for those that need it: https://files.catbox.moe/1ajd93.css

Taizunz commented 4 months ago

Updated class names: https://files.catbox.moe/thur9r.css

ccrowles commented 4 months ago

This is Float's current behavior on my end, with the css you provided (including the memberlistnotice display none):

Screenshot_2023-12-02_01-59-36_031.mp4

Idk why but it still behaves like that for me... Never managed to figure out why it doesn't behave properly on my end.