orangewhite posible bug

orangewhite posible bug

by José Robles -
Number of replies: 1

Hello moodlers:

I dont'n know if orangewhite theme have a bug.

If i edit a resource (web page for example) and i change the font-size, the orangewhite theme doesn't work.

I remove some lines in ../moodle/theme/orangewhite/styles_fonts.css

< * font {
<   font-size:100%
< }
< .mod-resource font {
<   font-size:0.8em
< }
and ready!.

Also, i add some lines for the calendar popup window's adjust:

> .cal_popup_fg {
>   font-family:sans-serif;
>   font-size:1.2em
> }
> .cal_popup_bg {
>   font-family:sans-serif;
>   font-size:1em
> }
> .cal_popup_cg {
>   font-family:sans-serif;
>   font-size:1.2em
> }

Thanks for any comment.

Average of ratings: -
In reply to José Robles

Re: orangewhite posible bug

by Urs Hunkler -
Picture of Core developers

Hi José,

thank you very much for your proposals.

@font properties: They are in to prevent hard coded html font tags from overwriting the CSS definitions. In Moodle 1.5 their are hardly any left. The HTML Editor still uses font tags to format font sizes which is absolutely not XHTML compliant sad I removed the two properties you posted here.

@calendar: yes, the font in the popup is a bit too small. This part of the theme I updated too.

Thanks again and I wish you successful learning
Urs