No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
You can create your own | You can create your own CSS and we will merge it into the Turnkey application. | ||
The file should be named tkusercss.css and | The file should be named tkusercss.css and reside in application-root/Content. | ||
The tkusercss file is the correct place to introduce your new styles that match names of styles given in the ViewModel columns style attribute. | The tkusercss file is the correct place to introduce your new styles that match the names of the styles given in the ViewModel columns style attribute. | ||
To do massive reshaping of the standard look you can override existing styles from site.css in | To do a massive reshaping of the standard look, you can override existing styles from site.css in your tkusercss.css - but a better option might be to make the site global style changes with the [[Scss|scss strategy described here]]. | ||
If you ever suffer from FOUC https://en.wikipedia.org/wiki/Flash_of_unstyled_content it is probably due to | If you ever suffer from FOUC https://en.wikipedia.org/wiki/Flash_of_unstyled_content, it is probably due to having styles defined too late on your page. Consider moving into tkusercss.css | ||
[[Category:MDriven Turnkey]] | [[Category:MDriven Turnkey]] |
Revision as of 06:48, 17 February 2023
You can create your own CSS and we will merge it into the Turnkey application.
The file should be named tkusercss.css and reside in application-root/Content.
The tkusercss file is the correct place to introduce your new styles that match the names of the styles given in the ViewModel columns style attribute.
To do a massive reshaping of the standard look, you can override existing styles from site.css in your tkusercss.css - but a better option might be to make the site global style changes with the scss strategy described here.
If you ever suffer from FOUC https://en.wikipedia.org/wiki/Flash_of_unstyled_content, it is probably due to having styles defined too late on your page. Consider moving into tkusercss.css