For example, An attribute like [Solved] will be hardly visible on a dark style.
For that, you will have to create, in a first time, a specific language key.
Once the language key is created, you need to define a CSS class per each installed style.
Attention, the language key and the CSS class must have the same name. In that tutorial, we will use the
QTE_CHECKED
language key.If you use a style based on prosilver :
- Open the styles/prosilver/theme/qte.css file.
prosilver corresponds to the name of the style. - Find :
Code: Select all
.qte_cancelled { color: #cc0000; }
- Add after :You can set too the CSS properties you wish.
Code: Select all
.qte_checked { color: #006600; }
- Open the styles/subsilver2/theme/stylesheet.css file.
subsilver2 corresponds to the name of the style. - Find :
Code: Select all
.qte_cancelled { color: #cc0000; font-weight: bold; }
- Add after :You can set too the CSS properties you wish.
Code: Select all
.qte_checked { color: #006600; font-weight: bold; }
When your files will be modified, upload the files to their proper locations, and refresh your styles in the administration control panel.
Now, create a new topic attribute. In the Attribute name field, enter
QTE_CHECKED
. Define the other settings. specially do not define an attribute colour, and submit.Now, as the style you use, the attributes colours will be different.