Open 30350n opened 4 months ago
2 was a stylistic choice 2.1 this was chosen to contrast the interactive carousel with the static background of the widget 2.2 widgets follow a fixed grid width/height while content does not so the content would need to be adjusted. Keep in mind that the content is a touch-enabled carousel
You can submit a PR for sure; I have not bothered to finish the design as core functions are still missing
Any pointers regarding where to start? Where does the styling happen in the first place?
Your point one already bothered me too and I actually thought I would have committed that already in one of my PRs, but turns out I forgot. You just need to remove those lines:
https://github.com/inventree/InvenTree/blob/master/src/frontend/src/globalStyle.tsx#L128-L134
And related to where you find what. Actually the styling comes at first place from the prebuilt mantine components. And to customize them you have a few options.
You can read more here (https://v6.mantine.dev/styles/create-styles/)
I strongly disagree with 2, this makes changing styles centrally much harder
@30350n in terms of getting start with frontend dev, read through these links:
Okay, I see so there's no direct css anywhere but some kind of translation layer. I'll see how far I can get, thanks for the pointers everyone!
Any pointers regarding where to start? Where does the styling happen in the first place?
For number 1, the padding on the top nav bar is removed by these lines:
This issue seems stale. Please react to show this is still important.
We have now migrated to Mantine v7 so you can just use CSS if you want to change those @30350n
This issue seems stale. Please react to show this is still important.
Please verify that this feature request has NOT been suggested before.
Problem statement
With PUI now being promoted in the 0.14.0 release blog post, I think it might be a good idea to clean up the home page UI a bit, as this is the first thing everyone sees. (Not content, but style wise, as currently parts of it seems quite cluttered).
Issues from the screenshots:
Suggested solution
I'd be happy to look into trying to improve the UI design here and I'd probably be capable of doing so if this was vanilla html/css, but from what I can tell this seems to be built on top of "mantine" so I don't really know where I'd even start. If someone could throw me a pointer here on where and how to start, this would be very helpful ^^
Describe alternatives you've considered
-
Examples of other systems
No response
Do you want to develop this?