Ignore:
Timestamp:
06/04/12 16:18:24 (13 years ago)
Author:
tjcschipper
Message:
  • Changed linewithactions and selector -options- property to -modifiers-: more general approach. These extra classes are applied to the root domNode of the widget during the postCreate phase instead.
  • Changed rftSelector.css stuff to match this change, and allow for separate colouring of a selector and its contents.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/css/rftSelector.css

    r335 r338  
    1 /* IT'S LIKE THAT, AND THAT'S THE WAY IT IS! HUH! */
    21.gamelab .rftSelector {
    32    margin: 4px;
    43    font-size: 13px;
    5     color: #ffffff;
    64}
    75.gamelab .rftLineWithButtons {
     
    108    font-size: 13px;
    119    margin: 0;
    12     background-color: #ffffff;
    13     color: #000000;
    1410    white-space: nowrap;
    15 }
    16 .gamelab .rftSelector .rftSelectorCategory {
    17     height: 24px;
    18 }
    19 
    20 /* Colour scheme */
    21 .gamelab .blue.rftSelector .rftSelectorCategory {
    22         background-color: #0072bc;
    23 }
    24 .gamelab .red.rftSelector .rftSelectorCategory {
    25         background-color: #8c0310;
    26 }
    27 .gamelab .purple.rftSelector .rftSelectorCategory {
    28         background-color: #6529b7;
    29 }
    30 .gamelab .green.rftSelector .rftSelectorCategory {
    31         background-color: #3aa605;
    32 }
    33 .gamelab .orange.rftSelector .rftSelectorCategory {
    34         background-color: #ff5b12;
    3511}
    3612.gamelab .rftLineWithButtons .rftLineWithButtonsButtons {
     
    3915    line-height: 24px;
    4016    margin: 0;
     17    padding: 0;
    4118}
    4219.gamelab .rftLineWithButtons .rftLineWithButtonsButtons .rftBlockButton {
     
    4421    clear: none;
    4522}
    46 .gamelab .rftSelector .rftLineWithButtons .rftLineWithButtonsTitle {
     23.gamelab .rftLineWithButtons .rftLineWithButtonsTitle {
    4724    float: left;
    4825    margin: 0 8px 0 8px;
     
    5128    width: 8px;
    5229    height: 24px;
    53     background-color: #ff0000;
    5430    float: left;
    5531    margin: 0;
    5632}
    57 .gamelab .rftSelectorSelected rftSelectorColor.red {
    58     /* NO. Don't do that! Change the background color property using JS instead! Event handler for changeContentStatus on the rftSelector!!! */
     33
     34/* Background colour settings for the various contexts of rftLineWithButtons */
     35.gamelab .rftSelector .rftLineWithButtons {
     36    background-color: #ffffff;
     37    color: #000000;
    5938}
     39.gamelab .blue.rftSelector .rftLineWithButtons {
     40    background-color: #0072bc;
     41    color: #ffffff;
     42}
     43.gamelab .red.rftSelector .rftLineWithButtons {
     44    background-color: #8c0310;
     45    color: #ffffff;
     46}
     47.gamelab .green.rftSelector .rftLineWithButtons {
     48    background-color: #3aa605;
     49    color: #ffffff;
     50}
     51.gamelab .purple.rftSelector .rftLineWithButtons {
     52    background-color: #6529b7;
     53    color: #ffffff;
     54}
     55.gamelab .orange.rftSelector .rftLineWithButtons {
     56    background-color: #ff5b12;
     57    color: #ffffff;
     58}
     59
     60/* Black-on-white setting for non-header lines in the rftSelector */
     61.gamelab .rftSelector .rftSelectorSelected .rftLineWithButtons {
     62    background-color: #ffffff;
     63    color: #000000;
     64}
     65.gamelab .rftSelector .rftSelectorOptions .rftLineWithButtons {
     66    background-color: #ffffff;
     67    color: #000000;
     68}
     69
     70/* Colour settings for the rftSelectorColor status indicator */
     71.gamelab .rftSelectorSelected .rftSelectorColor.conflict {
     72    background-color: #ff0000;
     73}
     74.gamelab .rftSelectorSelected .rftSelectorColor.pending {
     75    background-color: #ff8000;
     76}
     77.gamelab .rftSelectorSelected .rftSelectorColor.success {
     78    background-color: #00ff00;
     79}
     80
     81/*  NOT SURE WHAT THIS DOES ATM...KEEP HERE FOR FUTURE REFERENCE IF NON-SELECTOR LINES FAIL TO DISPLAY PROPERLY
    6082.gamelab .rftSelector .rftSelectorCategory .rftLineWithButtons {
    6183    display: inline-block;
    62     color: #ffffff;
    63     background-color: transparent;
    6484    width: 100% !important;
    6585}
     86*/
Note: See TracChangeset for help on using the changeset viewer.