Ignore:
Timestamp:
06/04/12 18:09:33 (13 years ago)
Author:
tjcschipper
Message:
  • Switched away from using custom themes, this allows us to use the default Claro theme off of a CDN, then override the needed properties using our own, much smaller stylesheets. Retains graceful degradation of dijit style.
  • Made rftLineWithActions also work outside of the context of an rftSelector.css
  • Fixed some general layout issues
  • Redid the tabs styling
File:
1 edited

Legend:

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

    r337 r339  
    11/* And now for the RFT specific stuff! */
    22/*LargeButton*/
    3 .gamelab .rftLargeButton {
     3.claro .rftLargeButton {
    44    margin-right: 16px;
    55}
    6 .gamelab .rftLargeButton .dijitButtonNode {
     6.claro .rftLargeButton .dijitButtonNode {
    77    border: none;
    88    height: 24px;
     
    1717    -o-transition: color 0.3s;
    1818}
    19 .gamelab .rftLargeButton .rftIcon {
     19.claro .rftLargeButton .rftIcon {
    2020    width: 24px;
    2121    height: 24px;
    2222    background-image: url('images/icons/rftIcons24.png');
    2323}
    24 .gamelab .rftLargeButton .dijitButtonText {
     24.claro .rftLargeButton .dijitButtonText {
    2525    line-height: 24px;
    2626    margin-left: 6px;
    2727    padding: 0;
    2828}
    29 .gamelab .rftLargeButton.rftLargeButtonHover .dijitButtonNode {
     29.claro .rftLargeButton.rftLargeButtonHover .dijitButtonNode {
    3030    transition: color 0.1s;
    3131    -moz-transition: color 0.1s;
     
    3434    color: #ffffff;
    3535}
    36 .gamelab .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
     36.claro .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
    3737    color: #0794d1;
    3838    transition: color 0.1s;
     
    4343
    4444/*BlockButton*/
    45 .gamelab .rftBlockButton {
     45.claro .rftBlockButton {
    4646    height: 24px;
    4747    margin: 0;
    4848    line-height: 20px;
    4949}
    50 .gamelab .rftBlockButton .dijitButtonNode {
     50.claro .rftBlockButton .dijitButtonNode {
    5151    height: 24px;
    5252    padding: 0 4px;
     
    6262    -o-transition: background-color 0.3s;
    6363}
    64 .gamelab .rftBlockButton .rftIcon {
     64.claro .rftBlockButton .rftIcon {
    6565    height: 16px;
    6666    width: 16px;
    6767    background-image: url('images/icons/rftIcons16.png');
    6868}
    69 .gamelab .rftBlockButton.rftBlockButtonHover .rftIcon {
     69.claro .rftBlockButton.rftBlockButtonHover .rftIcon {
    7070    background-image: url('images/icons/rftIcons16black.png');
    7171}
    72 .gamelab .rftBlockButton.rftBlockButtonHover .dijitButtonNode {
     72.claro .rftBlockButton.rftBlockButtonHover .dijitButtonNode {
    7373    /*background: #999999 !important;*/
    7474    /* Currently not used, only applicable when all the different colours of BlockButton need the same background colour on hover */
     
    7878    -o-transition: background-color 0.1s;
    7979}
    80 .gamelab .rftBlockButton.blue .dijitButtonNode {
     80.claro .rftBlockButton.blue .dijitButtonNode {
    8181    background: #0794d1;
    8282}
    83 .gamelab .rftBlockButton.blue.rftBlockButtonHover .dijitButtonNode {
     83.claro .rftBlockButton.blue.rftBlockButtonHover .dijitButtonNode {
    8484    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
    8585    color: #0794d1;
    8686}
    87 .gamelab .rftBlockButton.red .dijitButtonNode {
     87.claro .rftBlockButton.red .dijitButtonNode {
    8888    background: #bd0013;
    8989}
    90 .gamelab .rftBlockButton.red.rftBlockButtonHover .dijitButtonNode {
     90.claro .rftBlockButton.red.rftBlockButtonHover .dijitButtonNode {
    9191    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
    9292    color: #bd0013;
    9393}
    94 .gamelab .rftBlockButton.green .dijitButtonNode {
     94.claro .rftBlockButton.green .dijitButtonNode {
    9595    background: #79ca0a;
    9696}
    97 .gamelab .rftBlockButton.green.rftBlockButtonHover .dijitButtonNode {
     97.claro .rftBlockButton.green.rftBlockButtonHover .dijitButtonNode {
    9898    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
    9999    color: #79ca0a;
    100100}
    101 .gamelab .rftBlockButton.orange .dijitButtonNode {
     101.claro .rftBlockButton.orange .dijitButtonNode {
    102102    background: #ff9140;
    103103}
    104 .gamelab .rftBlockButton.orange.rftBlockButtonHover .dijitButtonNode {
     104.claro .rftBlockButton.orange.rftBlockButtonHover .dijitButtonNode {
    105105    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
    106106    color: #ff9140;
    107107}
    108 .gamelab .rftBlockButton.purple .dijitButtonNode {
     108.claro .rftBlockButton.purple .dijitButtonNode {
    109109    background: #993dec;
    110110}
    111 .gamelab .rftBlockButton.purple.rftBlockButtonHover .dijitButtonNode {
     111.claro .rftBlockButton.purple.rftBlockButtonHover .dijitButtonNode {
    112112    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
    113113    color: #993dec;
     
    116116
    117117/* InlineButton */
    118 .gamelab .rftInlineButton {
     118.claro .rftInlineButton {
     119    float: right;
    119120    height: 24px;
    120     margin: 0 -6px 0 -2px;
     121    width: 24px;
    121122}
    122 .gamelab .rftInlineButton .dijitButtonNode {
     123.claro .rftInlineButton .dijitButtonNode {
    123124    width: 24px;
    124125    height: 24px;
     
    128129    border: none;
    129130}
    130 .gamelab .rftInlineButton .rftIcon {
     131.claro .rftInlineButton .rftIcon {
    131132    width: 16px;
    132133    height: 16px;
    133     margin: 0 4px 0 4px;
    134134    background-image: url('images/icons/rftIcons16.png');
    135135}
    136 .gamelab .rftInlineButton.white .rftIcon {
     136.claro .rftInlineButton.white .rftIcon {
    137137    background-image: url('images/icons/rftIcons16.png');
    138138}
    139 .gamelab .rftInlineButton.black .rftIcon {
     139.claro .rftInlineButton.black .rftIcon {
    140140    background-image: url('images/icons/rftIcons16black.png');
    141141}
    142 .gamelab .rftInlineButton.rftInlineButtonHover .dijitButtonNode {
    143     /* No changes so far */
    144     /*background-color: #ff00ff;*/
    145 }
    146 .gamelab .rftInlineButton.rftInlineButtonHover .rftIcon {
     142.claro .rftInlineButton.rftInlineButtonHover .rftIcon {
    147143    /* We should use either the displacement or the background image change, not both! */
    148144    /*background-image: url('../../icons/images/rftIcons16c.png');*/
    149     margin: 1px 4px -1px 4px;
     145    margin-top: 1px;
    150146}
    151 .gamelab .rftInlineButton.rftInlineButtonActive .rftIcon {
     147.claro .rftInlineButton.rftInlineButtonActive .rftIcon {
    152148    /* This "afterclick" is optional. Check to see if people like it or not! */
    153     margin: 2px 4px -2px 4px;
     149    /* Good, the displacement on click does not come from these settings! */
    154150}
    155151
    156152/* MainMenuButton */
    157 .gamelab .dijitMenuBar .rftMainMenuButton {
     153.claro .dijitMenuBar .rftMainMenuButton {
    158154    border: none;
    159155    height: 30px;
     
    173169    -o-transition: all 0.3s;
    174170}
    175 .gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemHover {
     171.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemHover {
    176172    color: #ffffff;
    177173    font-size: 26px;
     
    181177    -o-transition: all 0.1s;
    182178}
    183 .gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemActive {
     179.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemActive {
    184180    color: #0794d1 !important;
    185181    font-size: 26px;
     
    189185    -o-transition: all 0.1s;
    190186}
    191 .gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemSelected {
     187.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemSelected {
    192188    color: #ffffff;
    193189    font-size: 26px;
Note: See TracChangeset for help on using the changeset viewer.