Is anyone else having this problem?

Is anyone else having this problem?

by Marc Dastous -
Number of replies: 15

I installed a fresh copy of 1.5 Dev and got a calendar that is not centered.  This happens in EVERY theme.  Can someone give me some feedback on possible causes?

See attached.

Marc

Attachment calendar.jpg
Average of ratings: -
In reply to Marc Dastous

Re: Is anyone else having this problem?

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Old themes are not fully compatible in 1.5 ... stick with "standard" for now.
In reply to Martin Dougiamas

Re: Is anyone else having this problem?

by Marc Dastous -

Hello Martin;

Thank you for the update.  I was having the same problem with the "Standard" theme, so I started to dig.  This is what I came up with...

Marc

In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
You also might have gotten a really "unstable" (forgive me the pun) copy because for two days now I 've been reworking the calendar layout. I had to get to a good result in Firefox first, and then to fix the same result in IE as well (which I notice you 're using). That's the reason for any wierdness you 've been seeing.

By now almost (not completely) everything is once again in order though, so you may want to grab the latest again.

Jon
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

Thank you Jon.

I downloaded the latest packaged version (10 hours ago).  For some reason I'm getting a bad gateway error in CVS when I try to use the web interface.  I don't have "virtual" access using  Tourtoise or other CVS programs from here because the school won't allow it.

So I guess I'll wait until I get home to see what you have come up with.

Thanks!!

Marc

In reply to Marc Dastous

Re: Is anyone else having this problem?

by Marc Dastous -

As I stated, I got the first issue resolved, but what about this overlap? 

It seems that the #calendar-container #calendar includes both the main calendar and the Monthly views.  So when I tried to reduce the size from 100% to 80 %, the entire page shrunk to the left.

What would I need to adjust to remove the overlap?

Marc

Attachment calendar.jpg
In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
There was a problem with non-developer access to CVS recently at Sourceforge.

Anyway, the calendar styles are now a picture of perfection and more easily to customize than they had ever been. Enjoy! big grin
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

Yes, CVS has been a pain.  However, I got the latest build, added the changes you made to the calendar and Bingo!!!  It works awesome!!

Take a look http://68.184.130.61/

Still trying to find the border color for the Calendar wink

Marc

In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
The border color of what thing exactly? smile
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

I want to find the variable for the Grey border that currently exists around the actual month of the calendar.  As well as the grey border around the Entire month in the Edit view. (See attached)

Marc

In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
OK.

First one is:

table.minicalendar {
    border-color:#DDDDDD;
}

And second one is:

#calendar .maincalendar,
#calendar .sidecalendar
{
    border-color: #DDDDDD;
}

Cheers! big grin
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

Thank you Jon, but I am still no getting the correct result on the second one.  I want to change the color of the Table that surrounds the big calendar and the three calendars in the right side panel.

Attachment calendar_styles.jpg
In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
mixed

I tested it before posting it, and it worked for me just fine (which was expected to the point that I only did the actual test "on principle").

I don't know what exactly might be going on... are you tweaking the stylesheet of the "standard" theme? If not, try that.
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

Yes, I am following Martin's advise on using the standard White on White theme.  I've attached what I have done to this point.  Install it to see if you see the same thing.

Marc

BTW, If you look at the last image above, I believe it would also be nice to have a solid white background inside the calendar.  What do you think?

In reply to Marc Dastous

Re: Is anyone else having this problem?

by John Papaioannou -
Marc, the problem is that you didn't leave spaces before the periods in "#calendar. sidecalendar" and "#calendar .maincalendar". Those spaces do matter. wink

Also, I don't know about the other parts of your theme, but the calendar part is outdated (I looked at colors but the same may be true for the other stylesheets). Compare with the latest dev version and you will see. That's why the borders around most things aren't being colored correctly.

Nice theme, by the way! big grin
Cheers!

Edit: I forgot. To have the solid white background, #calendar .maincalendar, #calendar .sidecalendar { background-color: #ffffff; background-image: none; }. A matter of taste.
In reply to John Papaioannou

Re: Is anyone else having this problem?

by Marc Dastous -

Jon;

Thank you, that took care of the problem.  I took the Calendar code from Saturday's build that was posted on the moodle.org site and built the theme from the Standard.  I'll download the latest and see the changes.  My hope is to complete the theme so it can be included with 1.5 when it is released.

Cheers right back atcha!

Marc