Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor mdekker

Individual CSS for each survey  
Written by mdekker the 1 Mar 10 at 10:42. Related project: 1.x all. New
When you want to style question for an individual survey you have to manually include a css file or edit the overall template. It would be nice to have additional, surveyspecific CSS in a separate CSS file that can be edited from the survey screen instead of from the template editor.
2
votes
up equal down
Solution #1: Include a surveyid.css
Written by mdekker the 1 Mar 10 at 10:42.
Have the template check if a .css exists and include it when it does. (could be generated for a new survey but left blank initially)

Add an edit survey css button to the survey toolbar where one can jump to a special template editor screen where you can edit this sid.css
Would be nice if there were links in the screen to point people to the appropriate item in the wiki for help.
2
votes
up equal down
Solution #2: Name the body with the survey id
Written by Shnoulle the 19 Mar 10 at 01:31.
More simple :

body class survey#SID group#ID (if by group/question) question#ID (if by question)

Add a comment or propose a solution >>