El Dorado

A full-stack community web application written in Ruby/Rails
div for the calendar? « General « almost effortless
 
Mon, 30 Jun 2008, 12:08am #1
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

anyone know where the css stylesheet is for the calendar. It is marked <div class="calendar-large"> but I cannot find the css for this <div> anywhere in the code. thanks dave

Offline
Mon, 07 Jul 2008, 11:54am #2
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 4 hours ago
Posts: 226

All of the CSS I've written is here:

http://eldorado.almosteffortless.com/stylesheet...

Offline
Wed, 16 Jul 2008, 3:06am #3
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

Hi, thanks! So Ive found the CSS for the table here:
table {
width: 100%;
border: 1px solid #35604d;
margin-bottom: 10px;
}
and I'm wondering if there is a way to only use these attributes on the calendar so that it doesn't affect my other tables. Do you know how to do this?

Offline
Wed, 16 Jul 2008, 1:00pm #4
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 4 hours ago
Posts: 226

You can give the div a class or id, and then you could style it however you want. If you'd like me to give something a class or id in the core app, just let me know.

Offline
Wed, 16 Jul 2008, 2:01pm #5
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

The problem is that I'm not sure what div applies to just the table of the calendar. Is there a specific div that does this?

Offline
Wed, 16 Jul 2008, 2:43pm #6
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 4 hours ago
Posts: 226

I'm not sure what page you're talking about, but you can always view the source to find out what ids and classes apply to page elements.

Offline
Wed, 16 Jul 2008, 7:04pm #7
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

So for the wide calendar when you click add event, where is the div for changing only the style of the table used in this calendar? I thought the styling was done through this CSS:

table {
width: 100%;
border: 1px solid #35604d;
margin-bottom: 10px;
}

And I am just wondering if there is a way to change the table style of only this table used in the wide calendar in the events page. Is there another specific div that affects this table? Thanks, sorry this is a bit confusing. I really appreciate your help.

Offline
Wed, 16 Jul 2008, 11:14pm #8
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

Nevermind, I figured it out. The table has a class under calendar:

<table class="calendar">

Offline