Ignore:
Timestamp:
08/09/12 17:47:56 (13 years ago)
Author:
tjcschipper
Message:
  • Fixed problem with QuestionEditorPreviewItem? colour inheriting not working, due to old CSS rules overwriting new colour system
  • Added "trans" colour class for BlockButtons?.

    Also works on other elements, just won't do anything in particular since they are transparent by default. Would be best not to use it on anything that is already transparent by default, since it would break the colour inheritance chain unneccesarily. ("Div.orange.bg > div.trans.bg > div.inheritBgColor" would not show up orange. A possible workaround for this is to not be able to inherit "trans" colour. Whether this is needed is debatable.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/templates/QuestionEditorToolkit.html

    r395 r397  
    99                                        <div data-dojo-attach-point="listNode" class="rftLineListView"></div>
    1010                                        <div data-dojo-attach-point="categoriesBoxNode"></div>
    11                                         <button class="inheritBgColor light" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onCategoryAdd" data-dojo-props="baseClass:'rftBlockButton', iconClass: 'rftIcon rftIconPlus'">Add</button><br>
     11                                        <button class="inheritBgColor" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onCategoryAdd" data-dojo-props="baseClass:'rftBlockButton', iconClass: 'rftIcon rftIconPlus'">Add</button><br>
    1212                                        <label>Topic:</label>
    1313                                        <div data-dojo-attach-point="topicBoxNode"></div>
Note: See TracChangeset for help on using the changeset viewer.