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/QuestionEditorPreviewItem.html

    r395 r397  
    11<div>
    2         <div class="topBorder inheritBgColor dojoDndHandle">
     2        <div class="topBorder inheritBgColor bg dojoDndHandle">
    33                <span class="title" data-dojo-attach-point="titleNode">Default title</span>
    44                <span class="floatRight" data-dojo-attach-point="buttonsNode">
    5                         <button class="trans" data-dojo-type="dijit.form.Button" data-dojo-attach-point="editButtonNode" data-dojo-props="baseClass: 'rftBlockButton', iconClass: 'rftIcon rftIconEdit'">Edit</button>
    6                         <button class="trans" data-dojo-type="dijit.form.Button" data-dojo-attach-point="foldButtonNode" data-dojo-props="baseClass: 'rftBlockButton', showLabel: false, iconClass: 'rftIcon rftIconHalfArrowUp'">Fold</button>
    7                         <button class="trans" data-dojo-type="dijit.form.Button" data-dojo-attach-point="removeButtonNode" data-dojo-props="baseClass: 'rftBlockButton', showLabel: false, iconClass: 'rftIcon rftIconDelete'">Remove</button>
     5                        <button class="trans bg inheritBgColor" data-dojo-type="dijit.form.Button" data-dojo-attach-point="editButtonNode" data-dojo-props="baseClass: 'rftBlockButton', iconClass: 'rftIcon rftIconEdit'">Edit</button>
     6                        <button class="trans bg inheritBgColor" data-dojo-type="dijit.form.Button" data-dojo-attach-point="foldButtonNode" data-dojo-props="baseClass: 'rftBlockButton', showLabel: false, iconClass: 'rftIcon rftIconHalfArrowUp'">Fold</button>
     7                        <button class="trans bg inheritBgColor" data-dojo-type="dijit.form.Button" data-dojo-attach-point="removeButtonNode" data-dojo-props="baseClass: 'rftBlockButton', showLabel: false, iconClass: 'rftIcon rftIconDelete'">Remove</button>
    88                </span>
    99        </div>
Note: See TracChangeset for help on using the changeset viewer.