I want to keep things organized so it's quicker/easier to find the code I need. Unfortunately I am still a bit confused. In the example you gave and in the docs the example elements listed are only found on the page once (i.e header and footer). This doesn't tell me if elements that appear on multiple pages but also multiple times on the same page should be in common.css or content.csseeji wrote: ↑Tue Nov 06, 2018 7:29 pm common.css is used for stuff that can be found on all or most pages (header, footer, wrapper, etc) and content.css is stuff used on things like topic view, posting etc etc.
It doesn't really matter where you put things as it all gets loaded anyway, but if you have defined your own classes its easier to update styles if you keep them in their own file.
Unfortunately our system has been customized to the point where upgrades are not possible so this is no longer an issue. If we want to upgrade we have to look at the source code and implement the changes we want to the core files manually. It's not ideal but the alternative is rebuilding the site from scratch which is not an option at this time.Hanakin wrote: ↑Wed Nov 07, 2018 1:06 am I would highly recommend against doing this! I highly recommend overwriting the defaults in a theme.css file. This will ensure that you are 100% future proof for x.x.X releases and should make updating to x.X releases extremely easier to work with and get support for.
I've actually already started doing this except I use the naming scheme bootstrap uses. But I am glad the new releases will be doing this, I really dislike the current theme structure.Hanakin wrote: ↑Wed Nov 07, 2018 1:06 amThe names of several of the files for prosilver are extremely arbitrary and not relevant anymore. Not to mention the fact that in the new theme for the X release we are going to completely abandon this style of css management for a component named convention, i.e navbar.css or topicRow.css, etc..
Ow, I thought that was for 3.2Hanakin wrote: ↑Wed Nov 07, 2018 5:53 pm Not true there is some docs https://area51.phpbb.com/docs/dev/devel ... index.html
But not everything is worked out yet. We are still in the early stages of prototyping
This is fascinating to read and will help me get over some of the slumps I have when designing a new page or cleaning up old code.Hanakin wrote: ↑Wed Nov 07, 2018 5:53 pm Not true there is some docs https://area51.phpbb.com/docs/dev/devel ... index.html
But not everything is worked out yet. We are still in the early stages of prototyping