Closed (fixed)
Project:
VotingAPI Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Dec 2006 at 12:16 UTC
Updated:
9 Dec 2006 at 18:42 UTC
I have pulled out the style. That way it will be easier for ppl to style the result without needing to mess around in the module it self.
| Comment | File | Size | Author |
|---|---|---|---|
| votingapi_field.css.txt | 3.52 KB | morphir |
Comments
Comment #1
morphir commentedI have no clue what width:$w%; means or does.
Comment #2
Chill35 commentedwidth:$w%;
$w is a php variable that gives you the percentage width of what I assume are the graph bars...
My guess is it's essential to draw the graph as teh graph is drawn using CSS.
Maybe you can take out only that part to put in an external css file :
Choosing color is rrrreally nice.
and leave the width back in...
I am just GUESSING here LOL...
Comment #3
morphir commentedGood idea. Leave the width in the .module.
Now, to fetch the .css-file I guess we can use something like the userreview module uses
theme_add_style(drupal_get_path('module', 'userreview') .'/userreview.css');I do not where to place this yet... So help us out :)
Comment #4
dfletcher commentedApplied.