MDL-40975 Theme: Standardise size of icons in headings

This commit is contained in:
Andrew Nicols
2013-11-06 10:59:26 +08:00
parent 69a3457fe9
commit 8ef1aa40d1
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -2064,7 +2064,7 @@ class core_renderer extends renderer_base {
public function heading_with_help($text, $helpidentifier, $component = 'moodle', $icon = '', $iconalt = '', $level = 2, $classnames = null) {
$image = '';
if ($icon) {
$image = $this->pix_icon($icon, $iconalt, $component, array('class'=>'icon'));
$image = $this->pix_icon($icon, $iconalt, $component, array('class'=>'icon iconlarge'));
}
$help = '';
+4 -1
View File
@@ -149,7 +149,10 @@ h4 img.iconhelp,
h5 img.icon,
h5 img.iconhelp,
h6 img.icon,
h6 img.iconhelp {vertical-align: middle;}
h6 img.iconhelp {
vertical-align: middle;
padding: 4px;
}
/** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
.no-overflow {overflow:auto;padding-bottom:1px;}
@@ -225,6 +225,7 @@ h4 img.iconhelp, h4 img.icon,
h5 img.iconhelp, h5 img.icon,
h6 img.iconhelp, h6 img.icon {
vertical-align: middle;
padding: 4px;
}
.dir-rtl img.iconhelp, .dir-rtl .helplink img {
padding-right: 3px;