Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | DragonSkin customizationThis topic contains information on how to change user-configurable look-and-feel aspects of Dragonskin. See DragonSkinInstall for installation instructions, and DragonSkin for some general information about the skin.TWiki variables used by DragonSkinThe following TWikiVariables are specific to DragonSkin and control various look and feel aspects of the skin:
Built-in CSS stylesThe following CSS styles are included with Dragonskin as a convenience. Your local administrator may add additional classes:
<div class="ds-note"> Your text goes here. </div> Hiding formsThe following DS_TOPICCSS setting:
How to configure the quicklinks submenuTo remove the quicklinks menu entirely, set DS_QUICKLINKSDISPLAY to "none". The heading can be configured just by setting DS_QUICKLINKSHEADING to the string of your choice (keep in mind that it should be relatively short to fit in one line). The menu items are configured by setting DS_QUICKLINKS to an html unordered list containing the menu links you need: For example:<ul><li>[[TWiki.DragonSkin][Change me]]</li></ul>will have one link with the link text "Change me" that points to this page. Access key(s)At this time, only 1 access key is supported: Access key 3 will bring up an edit window for the current topic. On most browsers, Alt-3 will active this access key.Guidelines for setting font sizesNote: it is possible to set font sizes so small as to be unreadable. If that happens, you can use your browser font controls (ctrl + mouse wheel) to increase the font size so that you can edit your preference page, or (if you have just saved your changes), hit the back button on your browser a few times and re-edit your preferences). Also, access key 3 (usually bound to Alt-3 in your browser) will bring up a edit window for the topic you are currently viewing. DS_BODYFONTSIZE controls the base font size for the page. To adjust the size, you can set it to one of the font-size keywords: xx-small, x-small, small, medium, large, x-large. Alternatively (and this is much more flexible), set it to a particular percentage (but you probably don't want to go underneath 76%). Once you've adjusted the base font size, you can set DS_LEFTMENUFONTSIZE and DS_EDITBARFONTSIZE using ems. For example, Set DS_LEFTMENUFONTSIZE = .9em.Recovering from a bad DS_TOPICCSS settingIt is possible to set a DS_TOPICCSS variable in such a way as to make it difficult to view pages (e.g. setting it to "body {display: none}"). If that happens, you can always recover by following these steps:
|