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

    r396 r397  
    1 /*LargeButton*/
     1/****************************************************
     2/*  LargeButton
     3/***************************************************/
    24.claro .rftLargeButton,
    35.claro .rftLargeButton * {
     
    137139    background-color: #993dec;
    138140}
     141.claro span.trans.bg.rftBlockButtonHover,
     142.claro .trans .inheritBgColor.rftBlockButtonHover {
     143    background-color: #ffffff;
     144}
     145.claro span.trans.bg.rftBlockButtonHover .dijitButtonNode,
     146.claro .trans .inheritBgColor.rftBlockButtonHover .dijitButtonNode {
     147    color: #000000;
     148}
    139149/*Light*/
    140150.claro span.blue.light.bg.rftBlockButtonHover .dijitButtonNode,
     
    261271}
    262272
    263 /* MainMenuButton */
     273/****************************************************
     274/*  MainMenuButton
     275/***************************************************/
    264276.claro .dijitMenuBar .rftMainMenuButton {
    265277    border: none;
     
    301313}
    302314
    303 /* IndexMenuButton */
     315/****************************************************
     316/*  IndexMenuButton
     317/***************************************************/
    304318.claro .rftIndexMenuButton {
    305319    display: block;
Note: See TracChangeset for help on using the changeset viewer.