MDL-41438 core_renderer: Update the parameters for heading() and heading_with_help().

heading(), change the default value for classes from 'main' to null.
heading_with_help(), add 2 additional parameters for level and classnames. Default value of level is set to 2 and classnames is set to null.

With the changes for heading_with_help(), icon image vertical alignment needs to be adjusted, so it display in the middle of the heading.

Also added some notes in theme/upgrade.txt file.
This commit is contained in:
Rossiani Wijaya
2013-09-09 09:39:03 +08:00
parent f09119e1e5
commit 699e2fd0de
5 changed files with 18 additions and 9 deletions
+2 -2
View File
@@ -181,7 +181,7 @@ img.resize {
/* Icon styles */
img.icon {
height: 16px;
vertical-align: text-bottom;
vertical-align: middle;
width: 16px;
padding-right: 6px;
}
@@ -198,7 +198,7 @@ img.iconsmall {
img.iconhelp, .helplink img {
height: 16px;
padding-left: 3px;
vertical-align: text-bottom;
vertical-align: middle;
width: 16px;
}
.dir-rtl img.iconhelp, .dir-rtl .helplink img {
File diff suppressed because one or more lines are too long