DotNetNuke - Where do you write your application CSS?
after Long time.... back in the community finally... :)
I was working in DNN application since I used to add css classes as and when I need to add which are related to specific my custom dnn modules. Initially, I used to add those classes in MinimulExtropy skin css file. But, as time goes.. it grows in size and there are situations when skin tend to change everytime (because some skin related issues or client didnt like it). So, everytime when any skin got changed I need to manually "copy" and "paste" those application (related to custom desktop modules) css classes in to the targetted skin folder's css files. Because, somehow AFAIK dnn doesn't support App_Theme folder or .skin files (because of its skin architecture).
Then I tried a silly solution to add all those application css classes and images related to it in the base css file. I was copying the image files at "portals/_default" folder and copy-paste all the css files in "portals/_default/default.css" file.
BUT, then I came to know about the exact solution for this from my friend Ken Fayal. The idea is to simply create one style sheet file named as "module.css" and place all your custom module css classes there. DNN will simply identify your custom module css file and apply that correctly. You can simply place image folder also in your custom module to be used along with module.css.
Thats it! Happy DNNing!!