CSS Modifications
Posted: 06 January 2010 02:12 PM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2010-01-06

Hi Gang,

We’re looking around our dev server and are unable to find the CSS files. The goal here is to modify the style sheets so we can truly brand the interface to meet our needs.
Where are the CSS files located?

Thanks,
Will

Profile
 
 
Posted: 06 January 2010 04:10 PM   [ Ignore ]   [ # 1 ]
Administrator
RankRankRankRank
Total Posts:  249
Joined  2008-12-18

Will, all stylesheets can be found in the /opt/ublip/raills/current/public/stylesheets directory.

Profile
 
 
Posted: 27 January 2010 11:55 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2010-01-06

Awesome!

Now, we need instructions on how to go about replacing the css that’s there now, testing the code, and then the process for pushing code from our dev server to production. I’m guessing that SVN figures into this. So, a brief tutorial on that might be extremely helpful as well.

Best,
Will

Profile
 
 
Posted: 27 January 2010 12:00 PM   [ Ignore ]   [ # 3 ]
Administrator
RankRankRankRank
Total Posts:  249
Joined  2008-12-18

If you need SVN credentials please coordinate with your account manager.

Our default stylesheet is located at public/stylesheets/common.css. Then there are “view” files that call this stylesheet using this code:

<%= stylesheet_link_tag “common” %>

The view files are located in app/views/layouts and there are probably 8-10 files where this code would need to be changed. If your file name is my.css then you would update the code to read:

<%= stylesheet_link_tag “my” %>

Where that would map to public/stylesheets/my.css.

Profile