Opened 17 years ago
Closed 17 years ago
#7967 closed enhancement (fixed)
Small cleanup in admin part CSS files
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | low |
| Severity: | minor | Version: | 2.7 |
| Component: | Template | Keywords: | patch CSS |
| Focuses: | Cc: |
Description
I tried to optimize, clean and make those CSS files easily to read.
Changes tested with latest revision.
Attachments (4)
Change History (10)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch. We will need to do a lot of cleaning of all css files to remove all old/not used styles left over from 2.6 and early Crazyhorse.
One thing though: can you leave selectors with only one setting be on multiple lines, so instead of
.widefat { border-color: #dfdfdf; }which actually is harder to read, make it:
.widefat { border-color: #dfdfdf; }using a tab to indent it.
Also when specifying one setting for multiple selectors, the preferred format is to put each selector on a new line (much easier to read) like that:
.wp_themeSkin a:link, .wp_themeSkin a:visited, .wp_themeSkin a:active { color: #000; }(I know there's some software that would format css files automatically.)