Add styles for ok, alert and todo

One simple trick to enhance the layout of your dekiwiki is to add custom styles to your editor.

Goto Control Panel>Customize>CustomCSS and add the following css fragment to the “Content CSS” section of the page:

.qok {background:#FFFBC5 url(/deki-cp/assets/images/icons/tick.gif) no-repeat scroll 10px center;border:1px solid #DEDEDE;margin:8px 0 0;padding:8px 8px 8px 35px}
.qinfo {background:#F2F7FA url(/deki-cp/assets/images/icons/information.gif) no-repeat scroll 10px center;border:1px solid #DEDEDE;margin:8px 0 0;padding:8px 8px 8px 35px}
.qerror {background:#FFFBC5 url(/deki-cp/assets/images/icons/cross.gif) no-repeat scroll 10px center;border:1px solid #DEDEDE;margin:8px 0 0;padding:8px 8px 8px 35px}
.qalert {background:#FFFBC5 url(/deki-cp/assets/images/icons/error.gif) no-repeat scroll 10px center;border:1px solid #DEDEDE;margin:8px 0 0;padding:8px 8px 8px 35px}
.comment {color:blue;font-style:italic;padding:8px 35px 8px 35px}

Maybe the URL for the icons is not working on your installation. In that case deploy your own icons to the webserver and update the image URLs to reflect the changes.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s