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

    r337 r339  
    99    background-color: #333333;
    1010}
    11 .gamelab {
     11.claro {
    1212    font-family: 'Segoe UI', Verdana, Arial, Helvetica, sans-serif;
    1313    color: #ffffff;
     
    1515
    1616/* Headings */
    17 .gamelab h1 {   
     17.claro h1 {   
    1818    /* Main logo */
    1919    float: left;
     
    2828    -moz-user-select: none;
    2929}
    30 .gamelab h2 {
     30.claro h2 {
    3131    /* Content pane title */
    3232    font-size: 22px;
     
    3535    padding: 0;
    3636}
    37 .gamelab h2 .rftIcon {
     37.claro h2 .rftIcon {
    3838    float: left;
    3939    width: 32px;
     
    4242    margin-right: 8px;
    4343}
    44 .gamelab h3 {
     44.claro h3 {
    4545    /* Section headers */
    4646    font-size: 18px;
    4747}
    48 .gamelab h4 {
     48.claro h4 {
    4949    /* Small text headers/paragraph headers */
    5050    font-size: 16px;
     
    137137    width: 190px;
    138138}
     139
     140
     141/* Tabs */
     142.claro .dijitTabContainerLeft-tabs {
     143    border: none;
     144}
     145.claro .dijitTabContainerLeft-tabs .dijitTab {
     146    margin: 4px 0;
     147    width: 200px;
     148    height: 30px;
     149}
     150.claro .dijitTab {
     151    color: #999999;
     152    border: 1px solid #999999;
     153    transition: all 0.3s;
     154    -moz-transition: all 0.3s;
     155    -webkit-transition: all 0.3s;
     156    -o-transition: all 0.3s;
     157}
     158.claro .dijitTab.dijitTabHover {
     159    color: #ffffff;
     160    transition: all 0.1s;
     161    -moz-transition: all 0.1s;
     162    -webkit-transition: all 0.1s;
     163    -o-transition: all 0.1s;
     164}
     165.claro .dijitTab.dijitTabActive {
     166    color: #0072bc;
     167    transition: all 0.1s;
     168    -moz-transition: all 0.1s;
     169    -webkit-transition: all 0.1s;
     170    -o-transition: all 0.1s;
     171    /* The delay on clicking is wrong, needs to be quicker! */
     172}
     173.claro .dijitTab.dijitTabChecked {
     174    color: #ffffff;
     175    border: 1px solid transparent;
     176    transition: all 0.1s;
     177    -moz-transition: all 0.1s;
     178    -webkit-transition: all 0.1s;
     179    -o-transition: all 0.1s;
     180}
     181
     182.claro .dijitTabContainer.blue .dijitTab.dijitTabChecked {
     183    background-color: #0072bc;
     184}
     185.claro .dijitTabContainer.orange .dijitTab.dijitTabChecked {
     186    background-color: #ff5b12;
     187}
     188.claro .dijitTabContainer.red .dijitTab.dijitTabChecked {
     189    background-color: #8c0310;
     190}
     191.claro .dijitTabContainer.purple .dijitTab.dijitTabChecked {
     192    background-color: #6529b7;
     193}
     194.claro .dijitTabContainer.green .dijitTab.dijitTabChecked {
     195    background-color: #3aa605;
     196}
     197
     198.claro .dijitTabContainer.blue .dijitTab.dijitTabActive {
     199    color: #0072bc;
     200}
     201.claro .dijitTabContainer.orange .dijitTab.dijitTabActive {
     202    color: #ff5b12;
     203}
     204.claro .dijitTabContainer.red .dijitTab.dijitTabActive {
     205    color: #8c0310;
     206}
     207.claro .dijitTabContainer.purple .dijitTab.dijitTabActive {
     208    color: #6529b7;
     209}
     210.claro .dijitTabContainer.green .dijitTab.dijitTabActive {
     211    color: #3aa605;
     212}
Note: See TracChangeset for help on using the changeset viewer.