Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Character Sheet Development - LessCSS option for styles

1471978069

Edited 1471978302
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Could we have the option to write styles for our character sheets using LessC ( <a href="http://lesscss.org/" rel="nofollow">http://lesscss.org/</a>) instead of only raw CSS? This would make it easier to write: (Raw CSS) /* roll template styles */ .sheet-rolltemplate-skillcheck table { &nbsp; &nbsp; background: url("<a href="http://i336.photobucket.com/albums/n346/Hymnodi/Useful%20stuff/FALLOUT2.png" rel="nofollow">http://i336.photobucket.com/albums/n346/Hymnodi/Useful%20stuff/FALLOUT2.png</a>"); &nbsp; &nbsp; border: 2px solid #22ff88; &nbsp; &nbsp; border-radius: 1em; &nbsp; &nbsp; color: #22ff88; &nbsp; &nbsp; overflow: hidden; &nbsp; &nbsp; width: 100%; } .sheet-rolltemplate-skillcheck table thead th { &nbsp; &nbsp; background: #22ff88; &nbsp; &nbsp; color: #000; &nbsp; &nbsp; padding: 0.5em 1em; } .sheet-rolltemplate-skillcheck table tbody { &nbsp; &nbsp; text-align: center; } .sheet-rolltemplate-skillcheck table tbody tr td{ &nbsp; &nbsp; padding: 0.5em 0; } .sheet-rolltemplate-skillcheck table tbody .sheet-rollNotes { &nbsp; &nbsp; font-size: 0.8em; &nbsp; &nbsp; font-style: italic; } .sheet-rolltemplate-skillcheck table tbody .sheet-trainingLevel { &nbsp; &nbsp; font-weight: bold; } .sheet-rolltemplate-skillcheck table tbody .sheet-trainingLevel .sheet-untrained { &nbsp; &nbsp; color: #118844; } .sheet-rolltemplate-skillcheck table tbody .sheet-trainingLevel .sheet-trained { &nbsp; &nbsp; color: #2f8; } .sheet-rolltemplate-skillcheck table tbody .sheet-trainingLevel .sheet-improved { &nbsp; &nbsp; color: #2cf; } .sheet-rolltemplate-skillcheck table tbody .sheet-trainingLevel .sheet-greater { &nbsp; &nbsp; color: #fc4; } .sheet-rolltemplate-skillcheck table tbody tr td .inlinerollresult { &nbsp; &nbsp; background: #000; } like this: (LessCSS) /* roll template styles */ @hudBg: url("<a href="http://i336.photobucket.com/albums/n346/Hymnodi/Useful%20stuff/FALLOUT2.png" rel="nofollow">http://i336.photobucket.com/albums/n346/Hymnodi/Useful%20stuff/FALLOUT2.png</a>"); @hudColor: #22ff88; @skillUntrainedColor: #118844; @skillTrainedColor: #2f8; @skillImprovedColor: #2cf; @skillGreaterColor: #fc4; .sheet-rolltemplate-skillcheck table { &nbsp; &nbsp; background: @hudBg; &nbsp; &nbsp; border: 2px solid @hudColor; &nbsp; &nbsp; border-radius: 1em; &nbsp; &nbsp; color: @hudColor; &nbsp; &nbsp; overflow: hidden; &nbsp; &nbsp; width: 100%; thead th { &nbsp; background: @hudColor; &nbsp; &nbsp; color: #000; &nbsp; &nbsp; padding: 0.5em 1em; } tbody { text-align: center; tr td { padding: 0.5em 0; & .inlinerollresult { &nbsp; &nbsp; background: #000; } } .sheet-rollNotes { &nbsp; &nbsp; font-size: 0.8em; &nbsp; &nbsp; font-style: italic; } .sheet-trainingLevel { &nbsp; &nbsp; font-weight: bold; .sheet-untrained { &nbsp; &nbsp; color: @skillUntrainedColor; } .sheet-trained { &nbsp; &nbsp; color: @skillTrainedColor; } .sheet-improved { &nbsp; &nbsp; color: @skillImprovedColor; } .sheet-greater { &nbsp; &nbsp; color: @skillGreaterColor; } } } } This wouldn't affect end-users directly, but it would definitely make sheet development more productive!
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .