Re: Overly specific CSS (teh bloatness).
Reply #1 – June 11, 2013, 03:47:40 am
Actually, while I've got a thread about CSS........................ What is really needed at the moment is for people to stop playing with new theme ideas, and get the default CSS (whatever that is going to be) into shape. At the moment it's a mess. It really needs all the declarations for classes/whatever collated so they are all in logical places, rather than having WIP stuff strewn throughout the file. That leads to trouble hunting down conflicts between where you'd expect something to be declared, and all the places it is actually declared at the moment. This applies particualrly to index.css and admin.css. The other files should be pretty good, but index and admin need serious rationalising before you'll have a fit base for custom work (or indeed, any further work on default). Which brings me to admin. I thnk it's generally agreed that the cleaner admin look inherited from 2.1 Alpha is a good thing. It was header bar madness before. Admin.css is currently a prime example of stuff being called in too many places, and in too complex a fashion. Given that the cleaner look is desirable in admin, it would make sense to revamp the markup rather than binding yourself to keeping all the 2.0.x markup, which is what it has at the moment. This would result in simpler markup and in simpler css.