Is anyone else having this problem?

Is anyone else having this problem?

- Marc Dastous の投稿
返信数: 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

添付 calendar.jpg
Marc Dastous への返信

Re: Is anyone else having this problem?

- Martin Dougiamas の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers
Old themes are not fully compatible in 1.5 ... stick with "standard" for now.
Martin Dougiamas への返信

Re: Is anyone else having this problem?

- 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

Marc Dastous への返信

Re: Is anyone else having this problem?

- 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
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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

Marc Dastous への返信

Re: Is anyone else having this problem?

- 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

添付 calendar.jpg
Marc Dastous への返信

Re: Is anyone else having this problem?

- 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
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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

Marc Dastous への返信

Re: Is anyone else having this problem?

- John Papaioannou の投稿
The border color of what thing exactly? smile
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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

Marc Dastous への返信

Re: Is anyone else having this problem?

- 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
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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.

添付 calendar_styles.jpg
Marc Dastous への返信

Re: Is anyone else having this problem?

- 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.
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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?

Marc Dastous への返信

Re: Is anyone else having this problem?

- 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.
John Papaioannou への返信

Re: Is anyone else having this problem?

- 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