[wp-trac] [WordPress Trac] #20570: Tidying Admin CSS, bringing it up to CSS Code Standards (work in progress)
WordPress Trac
noreply at wordpress.org
Sat Jul 5 08:56:13 UTC 2014
#20570: Tidying Admin CSS, bringing it up to CSS Code Standards (work in progress)
------------------------------+-------------------------
Reporter: georgestephanis | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 3.4
Severity: minor | Resolution: maybelater
Keywords: work-in-progress | Focuses: ui
------------------------------+-------------------------
Comment (by GaryJ):
Replying to [comment:33 GaryJ]:
> I'll see if I can do a first-pass suggestion at a config file then.
https://gist.github.com/GaryJones/c1fc8f0243406b9190c8
The rules should be self-explanatory, and match up to the CSS standards in
the core handbook. The top two values may need configuring or dropping, so
I've left them separated at the top.
I've left clear line spaces within the property ordering so you can see
how they match up to the five sections in the handbook. Since the
properties are all in a single array, they won't end up with clear line
spaces in the final output. The first section is extra, and is for .scss.
It has no effect on plain .css files, so it's fine to leave in.
I'd started with
https://github.com/csscomb/csscomb.js/blob/master/config/csscomb.json and
adjusted from there, so if there are any properties missing, let me know.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20570#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list