Rounded Corners

Rounded Corners

James Cracknell -
回帖数:7

Hi - all the Moodle Themes I have seen so far have right angles for their corners.  Is there a Moodle theme available that has nice rounded corners?

thanks

J.

回复James Cracknell

Re: Rounded Corners

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
if you use Frefox you'll find quite a lot of them do. IE doesn't support the CSS to do it.
回复Martin Dougiamas

Re: Rounded Corners

Nick Churchill -
I was trying out some different themes, and playing around with the CSS, and I lost my rounded corners (in all themes).  How can I get them back again?  Thanks, Nick
回复Nick Churchill

Re: Rounded Corners

Nick Churchill -
Sorry to ask again, I've tried to work this out for myself (not so experienced with php though) and searched the forums to no avail.  I was trying out different things in the css files of the standard themes and when I went back to my site it had lost its rounded corners (in Firefox). I don't think I deleted anything anywhere (including links to styles_moz.css as I don't even know where these are), but obviously I've done something I shouldn't have.  What could be the most likely causes of this? Any suggestions would be much appreciated. Thanks a lot, Nick
回复Nick Churchill

Re: Rounded Corners

Joseph Rézeau -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像

Hi Nick,

1- Are you sure you refreshed your browser (Ctrl + F5) after you had "played" with the themes?

If you have not deleted styles_moz.css (from the \theme\standard\ folder), can you also check that the config.php file in your chosen theme folder does refer to that file, e.g.:

$THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz'); 

2- As regards the "niceness" of rounded corners, I beg to differ. There are fads in web design as there are in all fields of design; fridges, washing-machines, computers, etc. feature rounded angles one year and right angles the next... cool To me, at the time of writing, rounded corners look rather dated. On this matter I recommend reading Rich Ziade's article "Why Do We Love Rounded Corners?".

All the best,

Joseph

回复Joseph Rézeau

Re: Rounded Corners

Nick Churchill -
Joseph, my heartfelt thanks.  For some reason $THEME->standardsheets = array did not have a reference to 'styles_moz' (although it must have done before and I almost certainly didn't remove it from config.php myself).  It does now, so problem solved.  Thanks again, Nick

PS I agree, to my taste there are a tad too many rounded corners in the standard themes, one or two judicious ones are plenty and I plan to tweak my own theme accordingly.  Anton and me really like the software though.