Opened 13 months ago

Last modified 5 months ago

#20570 new enhancement

Tidying Admin CSS, bringing it up to CSS Code Standards (work in progress) — at Initial Version

Reported by: georgestephanis Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version: 3.4
Severity: minor Keywords: work-in-progress ui-focus
Cc: georgestephanis, xoodrew@…, sabreuse@…, bananastalktome@…

Description

as per http://codex.wordpress.org/CSS_Coding_Standards, this is an attempt to bring the internal admin stylesheets up to CSS Coding Standards

Some of the changes being made are ...

Properly intenting top: left: right: bottom: attributes two tabs when following a position:absolute position:fixed or position:relative declaration
Alphabetizing css properties
Removing unnecessary browser prefixes
Placing browser prefixed css properties before the non-browser prefixed versions
Removing extraneous spaces
Applying a consistent ordering of browser-prefixed properties (based on length of prefix to get an aesthetically pleasing diagonal line, rather than jagged, inconsistent line endings -- yes, I know it's silly, but it's better than randomness, and alphabetical isn't as useful)
Applying a uniform method to attribute selectors and url references by wrapping double-quotes around the values (there was no prior standard and a motley assortment of usages)
Changing colors to 3-character shorthand ( 888888 becomes 888 )
Changing colors to lower case ( EEE becomes eee )

and probably a couple others that aren't coming to mind right now.

Change History (1)

First draft -- more revisions pending

Note: See TracTickets for help on using tickets.