﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
17892,Minimize references to fonts in the Dashboard stylesheets,RanYanivHartstein,,"The stylesheets under wp-admin/css includes several redundant references to the default font stack, for example:

{{{
#dashboard_recent_comments .comment-meta .approve {
	font-style: italic;
	font-family: Arial, ""Bitstream Vera Sans"", Helvetica, Verdana, sans-serif;
	font-size: 10px;
}
}}}

These fonts are also references under global.css, for the body element and other elements. All these references are redundant - they make the stylesheets needlessly complicated, and they make it much harder to re-style the Dashboard with different fonts.

The problem is much more pronounced in the RTL stylesheets - see for example this snippet, which repeats dozens of times in different selectors:

{{{
.widefat th {
	font-family: Tahoma, Arial, sans-serif;
}
}}}

The main issue for me is the difficulty in reseting these fonts to Arial for the Hebrew version. This would cause similar issues for anyone developing Dashboard themes.

I propose we minimize these calls to the very minimum necessary - I'm not aware of any reason to have so many redundant references, instead of inheriting the styles from just one. I'll write the patch for this, I just wanted to present the issue first in case there actually is a good reason and I'm just missing it.",enhancement,closed,normal,,Administration,,minor,duplicate,,
