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/css/surveyEditor.css

    r395 r397  
    3939        border-color: #ff5b12;
    4040}
    41 
    4241.claro div.blue .surveyEditorPreviewItemContent {
    4342        border-color: #0794d1;
    4443}
    4544
    46 .claro div.orange .surveyEditorPreviewItem.dojoDndItemAnchor .inheritBgColor {
    47         background-color: #FF9140;
     45.claro div.blue.dojoDndItemAnchor .topBorder,
     46.claro .blue .dojoDndItemAnchor .topBorder {
     47        background-color: #0794d1;
    4848}
    49 .claro div.blue .surveyEditorPreviewItem.dojoDndItemAnchor .inheritBgColor {
    50         background-color: #0794D1;
     49.claro div.orange.dojoDndItemAnchor .topBorder,
     50.claro .orange .dojoDndItemAnchor .topBorder {
     51        background-color: #ff9140;
    5152}
    52 .claro div.green .surveyEditorPreviewItem.dojoDndItemAnchor .inheritBgColor {
    53         background-color: #79CA0A;
     53.claro div.green.dojoDndItemAnchor .topBorder,
     54.claro .green .dojoDndItemAnchor .topBorder {
     55        background-color: #79ca0a;
    5456}
    55 .claro div.red .surveyEditorPreviewItem.dojoDndItemAnchor .inheritBgColor {
    56         background-color: #BD0013;
     57.claro div.red.dojoDndItemAnchor .topBorder,
     58.claro .red .dojoDndItemAnchor .topBorder {
     59        background-color: #bd0013;
    5760}
    58 .claro div.purple .surveyEditorPreviewItem.dojoDndItemAnchor .inheritBgColor {
    59         background-color: #993DEC;
     61.claro div.purple.dojoDndItemAnchor .topBorder,
     62.claro .purple .dojoDndItemAnchor .topBorder {
     63        background-color: #993dec;
    6064}
Note: See TracChangeset for help on using the changeset viewer.