I've read "styling and customising the dock moodle doc" looking for a way to resize the the font used in the dock block title:
http://docs.moodle.org/dev/Styling_and_customising_the_dock
From what I read this should be enough to resize the title in afterburner_dock.css:
#dock .dockedtitle h2 {
margin: 0;
padding: 10px 5px ;
color: #fff;
font-size: 14px !important;
}
When I checked a few browsers, I found the font size change only took in IE 8 (I'm used to things working in modern browsers and not IE ). The screen shot below should highlight what I mean.
The dock font-size is hard-coded into \blocks\dock.js at line 526:
// Create the text for the SVG
var txt = document.createElementNS('http://www.w3.org/2000/svg', 'text');
txt.setAttribute('font-size','10px');
if (clockwise) {
txt.setAttribute('transform','rotate(90 '+(qwidth/2)+' '+qwidth+')');
} else {
txt.setAttribute('y', height);
txt.setAttribute('transform','rotate(270 '+qwidth+' '+(height-qwidth)+')');
}
txt.appendChild(document.createTextNode(text));
I don't want to make changes to moodle core files, but can't see a way round it at the moment. I really want to get this working via theme changes.
Any pearls of wisdom would be greatly appreciated.
Mike