Changeset 14589

Show
Ignore:
Timestamp:
07/24/08 15:55:18 (4 months ago)
Author:
toonetown
Message:

Refs #7180 - rename css class names to not have dashes, so that there will not be conflicts with compat grids - and to also better match naming conventions of dijit. The only one that has the same class name is dojoxGrid - and there is no difference between the compat styling and the normal styling of that node !strict

Location:
dojox/trunk/grid
Files:
25 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/grid/cells/_base.js

    r14561 r14589  
    269269                formatEditing: function(inDatum, inRowIndex){ 
    270270                        this.needFormatNode(inDatum, inRowIndex); 
    271                         return '<input class="dojoxGrid-input" type="text" value="' + inDatum + '">'; 
     271                        return '<input class="dojoxGridInput" type="text" value="' + inDatum + '">'; 
    272272                }, 
    273273                formatNode: function(inNode, inDatum, inRowIndex){ 
     
    336336                formatEditing: function(inDatum, inRowIndex){ 
    337337                        this.needFormatNode(inDatum, inRowIndex); 
    338                         var h = [ '<select class="dojoxGrid-select">' ]; 
     338                        var h = [ '<select class="dojoxGridSelect">' ]; 
    339339                        for (var i=0, o, v; ((o=this.options[i]) !== undefined)&&((v=this.values[i]) !== undefined); i++){ 
    340340                                h.push("<option", (inDatum==v ? ' selected' : ''), ' value="' + v + '"', ">", o, "</option>"); 
     
    392392                _valueProp: "checked", 
    393393                formatEditing: function(inDatum, inRowIndex){ 
    394                         return '<input class="dojoxGrid-input" type="checkbox"' + (inDatum ? ' checked="checked"' : '') + ' style="width: auto" />'; 
     394                        return '<input class="dojoxGridInput" type="checkbox"' + (inDatum ? ' checked="checked"' : '') + ' style="width: auto" />'; 
    395395                }, 
    396396                doclick: function(e){ 
  • dojox/trunk/grid/DataGrid.js

    r14483 r14589  
    345345                        for(var i=0, ss=["inflight", "error", "inserting"], s; s=ss[i]; i++){ 
    346346                                if(states[s]){ 
    347                                         c = ' dojoxGrid-row-' + s; 
     347                                        c = ' dojoxGridRow-' + s; 
    348348                                        break; 
    349349                                } 
  • dojox/trunk/grid/resources/Grid.css

    r14579 r14589  
    1919/* master header */ 
    2020 
    21 .dojoxGrid-master-header { 
     21.dojoxGridMasterHeader { 
    2222        position: relative; 
    2323} 
     
    2525/* master view */ 
    2626 
    27 .dojoxGrid-master-view  { 
     27.dojoxGridMasterView  { 
    2828        position: relative; 
    2929} 
     
    3131/* master messages */ 
    3232 
    33 .dojoxGrid-master-messages { 
     33.dojoxGridMasterMessages { 
    3434        position: relative; 
    3535        padding: 1em; 
     
    4040/* views */ 
    4141 
    42 .dojoxGrid-view { 
     42.dojoxGridView { 
    4343        position: absolute; 
    4444        overflow: hidden; 
     
    4747/* header */ 
    4848 
    49 .dojoxGrid-header { 
     49.dojoxGridHeader { 
    5050        position: absolute; 
    5151        overflow: hidden; 
    5252} 
    5353 
    54 .dojoxGrid-header { 
     54.dojoxGridHeader { 
    5555        background-color: #E8E1CF; 
    5656} 
    5757 
    58 .dojoxGrid-header table { 
     58.dojoxGridHeader table { 
    5959        text-align: center; 
    6060} 
    6161 
    62 .dojoxGrid-header .dojoxGrid-cell-content { 
    63         text-align: center; 
    64 } 
    65  
    66 .dojoxGrid-header .dojoxGrid-cell {  
     62.dojoxGridHeader .dojoxGridCell {  
    6763        border: 1px solid; 
    6864        border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; 
     
    7167} 
    7268 
    73 .dojoxGrid-header .dojoxGrid-cell-over { 
     69.dojoxGridHeader .dojoxGridCellOver { 
    7470        background-image: none; 
    7571        background-color: white; 
     
    8076} 
    8177 
    82 .dojoxGrid-header .dojoxGrid-cell-focus { 
     78.dojoxGridHeader .dojoxGridCellFocus { 
    8379        border: 1px dashed blue; 
    8480} 
    8581 
    86 .dojoxGrid-header.dojoxGrid-cell-focus.dojoxGrid-cell-over { 
     82.dojoxGridHeader.dojoxGridCellFocus.dojoxGridCellOver { 
    8783        background-image: none; 
    8884        background-color: white; 
     
    9389} 
    9490 
    95 .gridArrowButtonChar { 
     91.dojoxGridArrowButtonChar { 
    9692        display:none !important; 
    9793} 
    98 .gridArrowButtonNode { 
     94.dojoxGridArrowButtonNode { 
    9995        display: inline !important; 
    10096        padding-left: 16px; 
    10197} 
    102 .dojoxGrid-sort-down .gridArrowButtonNode { 
     98.dojoxGridSortDown .dojoxGridArrowButtonNode { 
    10399        background: url(images/grid_sort_down.gif) center no-repeat; 
    104100} 
    105 .dojoxGrid-sort-up .gridArrowButtonNode { 
     101.dojoxGridSortUp .dojoxGridArrowButtonNode { 
    106102        background: url(images/grid_sort_up.gif) center no-repeat; 
    107103} 
    108104 
    109 .dijit_a11y .gridArrowButtonChar { 
     105.dijit_a11y .dojoxGridArrowButtonChar { 
    110106        display:inline !important; 
    111107} 
    112 .dijit_a11y .gridArrowButtonNode { 
     108.dijit_a11y .dojoxGridArrowButtonNode { 
    113109        display: none !important; 
    114110} 
     
    116112/* content */ 
    117113 
    118 .dojoxGrid-scrollbox { 
     114.dojoxGridScrollbox { 
    119115        position: relative; 
    120116        overflow: auto; 
     
    123119} 
    124120 
    125 .dojoxGrid-content { 
     121.dojoxGridContent { 
    126122        position: relative; 
    127123        overflow: hidden; 
     
    132128/* rowbar */ 
    133129 
    134 .dojoxGrid-rowbar {  
     130.dojoxGridRowbar {  
    135131        border: 1px solid; 
    136132        border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; 
     
    139135} 
    140136 
    141 .dojoxGrid-rowbar-inner { 
     137.dojoxGridRowbarInner { 
    142138        border-top: 1px solid #F6F4EB; 
    143139} 
    144140 
    145 .dojoxGrid-rowbar-over { 
     141.dojoxGridRowbarOver { 
    146142        background-image: none; 
    147143        background-color: white; 
     
    150146} 
    151147 
    152 .dojoxGrid-rowbar-selected { 
     148.dojoxGridRowbarSelected { 
    153149        background-color: #D9E8F9; 
    154150} 
     
    156152/* rows */ 
    157153 
    158 .dojoxGrid-row { 
     154.dojoxGridRow { 
    159155        position: relative; 
    160156        width: 9000em; 
    161157} 
    162158 
    163 .dojoxGrid-row { 
     159.dojoxGridRow { 
    164160        /*border: 1px solid #E8E4D8;*/ 
    165161        border: 1px solid #E8E4D8; 
     
    172168} 
    173169 
    174 .dojoxGrid-row-over { 
     170.dojoxGridRowOver { 
    175171        border-top-color: #FEBE47; 
    176172        border-bottom-color: #FEBE47; 
     
    181177} 
    182178 
    183 .dojoxGrid-row-odd { 
     179.dojoxGridRowOdd { 
    184180        background-color: #FFFDF3; 
    185181        /*background-color: #F9F7E8;*/ 
    186182} 
    187183 
    188 .dojoxGrid-row-selected { 
     184.dojoxGridRowSelected { 
    189185        background-color: #D9E8F9; 
    190186} 
    191187 
    192 .dojoxGrid-row-table { 
     188.dojoxGridRowTable { 
    193189        table-layout: fixed; 
    194190        width: 0; 
    195191} 
    196192 
    197 .dojoxGrid-invisible { 
     193.dojoxGridInvisible { 
    198194        visibility: hidden; 
    199195}                
    200196 
    201 .Xdojo-ie .dojoxGrid-invisible { 
     197.Xdojo-ie .dojoxGridInvisible { 
    202198        display: none; 
    203199}                
    204200 
    205 .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { 
     201.dojoxGridInvisible td, .dojoxGridHeader .dojoxGridInvisible td { 
    206202        border-top-width: 0; 
    207203        border-bottom-width: 0; 
     
    214210/* cells */ 
    215211 
    216 .dojoxGrid-cell { 
     212.dojoxGridCell { 
    217213        border: 1px solid; 
    218214        border-color: #EBEADB; 
     
    223219} 
    224220 
    225 .dojoxGrid-cell-focus { 
     221.dojoxGridCellFocus { 
    226222        border: 1px dashed blue; 
    227223} 
    228224 
    229 .dojoxGrid-cell-over { 
     225.dojoxGridCellOver { 
    230226        border: 1px dotted #FEBE47; 
    231227} 
    232228 
    233 .dojoxGrid-cell-focus.dojoxGrid-cell-over { 
     229.dojoxGridCellFocus.dojoxGridCellOver { 
    234230        border: 1px dotted green; 
    235231} 
    236232 
    237 .dojoxGrid-cell-clip { 
    238         width: 100%; 
    239         overflow: hidden; 
    240         white-space:nowrap; 
    241         text-overflow: ellipsis; 
    242 } 
    243  
    244233/* editing */ 
    245234 
    246 .dojoxGrid-row-editing td { 
     235.dojoxGridRowEditing td { 
    247236        background-color: #F4FFF4; 
    248237} 
    249238 
    250 .dojoxGrid-row-inserting td { 
     239.dojoxGridRow-inserting td { 
    251240        background-color: #F4FFF4; 
    252241} 
    253 .dojoxGrid-row-inflight td { 
     242.dojoxGridRow-inflight td { 
    254243        background-color: #F2F7B7; 
    255244} 
    256 .dojoxGrid-row-error td { 
     245.dojoxGridRow-error td { 
    257246        background-color: #F8B8B6; 
    258247} 
    259248 
    260 .dojoxGrid-input, .dojoxGrid-select, .dojoxGrid-textarea { 
     249.dojoxGridInput, .dojoxGridSelect, .dojoxGridTextarea { 
    261250        margin: 0; 
    262251        padding: 0; 
     
    267256} 
    268257 
    269 .dojoxGrid-hidden-focus { 
     258.dojoxGridHiddenFocus { 
    270259        position: absolute; 
    271260        left: -1000px; 
     
    274263} 
    275264 
    276 .dijit_a11y .dojoxGrid-rowbar-selected {  
     265.dijit_a11y .dojoxGridRowbarSelected {  
    277266        border-top: 1px solid white; 
    278267        border-bottom: 1px dashed black; 
     
    281270} 
    282271 
    283 .dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner { 
     272.dijit_a11y .dojoxGridRowbarSelected .dojoxGridRowbarInner { 
    284273        border: 0; 
    285274        border-top: 1px solid white; 
    286275} 
    287276 
    288 .dijit_a11y .dojoxGrid-row-selected { 
     277.dijit_a11y .dojoxGridRowSelected { 
    289278        border-bottom: 1px dashed black; 
    290279} 
  • dojox/trunk/grid/resources/Grid_rtl.css

    r13377 r14589  
    1 .dijitRtl .dojoxGrid-header table { 
     1.dijitRtl .dojoxGridHeader table { 
    22} 
    33 
    4 .dj_ie .dijitRtl .dojoxGrid-header table { 
     4.dj_ie .dijitRtl .dojoxGridHeader table { 
    55        float:none; 
    66} 
    77 
    8 .dijitRtl .dojoxGrid-content { 
     8.dijitRtl .dojoxGridContent { 
    99        float:left; 
    1010} 
  • dojox/trunk/grid/resources/nihiloGrid.css

    r14579 r14589  
    88/* master messages */ 
    99 
    10 .nihilo .dojoxGrid-master-messages { 
     10.nihilo .dojoxGridMasterMessages { 
    1111        background-color: #fefefe; 
    1212} 
     
    1414/* header */ 
    1515 
    16 .nihilo .dojoxGrid-header { 
     16.nihilo .dojoxGridHeader { 
    1717        background-color:  #e9e9e9; 
    1818} 
    1919 
    20 .nihilo .dojoxGrid-header .dojoxGrid-cell {  
     20.nihilo .dojoxGridHeader .dojoxGridCell {  
    2121        border-width: 1px; 
    2222        padding-bottom: 0px; 
     
    2626} 
    2727 
    28 .nihilo .dojoxGrid-header .dojoxGrid-cell-over { 
     28.nihilo .dojoxGridHeader .dojoxGridCellOver { 
    2929        background: url(../../../dijit/themes/nihilo/images/titleBarActive.png) #e9e9e9 repeat-x top; 
    3030} 
    3131 
    32 .nihilo .gridArrowButtonChar { 
     32.nihilo .dojoxGridArrowButtonChar { 
    3333        float: right; 
    3434} 
    35 .nihilo .gridArrowButtonNode { 
     35.nihilo .dojoxGridArrowButtonNode { 
    3636        display: block !important; 
    3737        padding-left: 0px; 
     
    4242        margin-top: 1px; 
    4343} 
    44 .dj_ie6 .nihilo .gridArrowButtonNode { 
     44.dj_ie6 .nihilo .dojoxGridArrowButtonNode { 
    4545        background-image:url("../../../dijit/themes/nihilo/images/spriteArrows.gif"); 
    4646} 
    4747 
    48 .nihilo .dojoxGrid-sort-up .gridArrowButtonNode { 
     48.nihilo .dojoxGridSortUp .dojoxGridArrowButtonNode { 
    4949        background-position: -21px; 
    5050} 
    51 .dijit_a11y .gridArrowButtonNode { 
     51.dijit_a11y .dojoxGridArrowButtonNode { 
    5252        display: none !important; 
    5353} 
     
    5555/* content */ 
    5656 
    57 .nihilo .dojoxGrid-scrollbox { 
     57.nihilo .dojoxGridScrollbox { 
    5858        background-color: #fefefe; 
    5959} 
     
    6161/* rowbar */ 
    6262 
    63 .nihilo .dojoxGrid-rowbar {  
     63.nihilo .dojoxGridRowbar {  
    6464        border: none; 
    6565        background: url(../../../dijit/themes/nihilo/images/titleBar.png) #e9e9e9 repeat-y right; 
     
    6868} 
    6969 
    70 .nihilo .dojoxGrid-rowbar-inner { 
     70.nihilo .dojoxGridRowbarInner { 
    7171        border: none; 
    7272        border-bottom: 1px solid #cccccc; 
    7373} 
    7474 
    75 .nihilo .dojoxGrid-rowbar-over { 
     75.nihilo .dojoxGridRowbarOver { 
    7676        background: url(../../../dijit/themes/nihilo/images/titleBarActive.png) #e9e9e9 repeat-y right; 
    7777} 
    7878 
    79 .nihilo .dojoxGrid-rowbar-selected { 
     79.nihilo .dojoxGridRowbarSelected { 
    8080        background: #D9E8F9 url(../../../dijit/themes/nihilo/images/titleBar.png) #dddddd no-repeat center; 
    8181        border-right: 1px solid #cccccc; 
     
    8484/* rows */ 
    8585 
    86 .nihilo .dojoxGrid-row { 
     86.nihilo .dojoxGridRow { 
    8787        border: none; 
    8888        background-color: white; 
    8989} 
    9090 
    91 .nihilo .dojoxGrid-row-over { 
     91.nihilo .dojoxGridRowOver { 
    9292        border-top-color: #cccccc; 
    9393        border-bottom-color: #cccccc; 
    9494} 
    9595 
    96 .nihilo .dojoxGrid-row-over .dojoxGrid-cell { 
     96.nihilo .dojoxGridRowOver .dojoxGridCell { 
    9797        background-color: #ffe284;  
    9898} 
    9999 
    100 .nihilo .dojoxGrid-row-odd { 
     100.nihilo .dojoxGridRowOdd { 
    101101        background-color: #f2f5f9; 
    102102} 
    103103 
    104 .nihilo .dojoxGrid-row-selected { 
     104.nihilo .dojoxGridRowSelected { 
    105105        background-color: #aec7e3; 
    106106} 
     
    108108/* cells */ 
    109109 
    110 .nihilo .dojoxGrid-cell { 
     110.nihilo .dojoxGridCell { 
    111111        border: 1px dotted #D5CDB5; 
    112112        border-left-color: transparent; 
     
    114114} 
    115115 
    116 .dj_ff2 .nihilo .dojoxGrid-cell { 
     116.dj_ff2 .nihilo .dojoxGridCell { 
    117117        border-left-width: 0px; 
    118118        border-top-width: 0px; 
    119119} 
    120120 
    121 .dj_ie6 .nihilo .dojoxGrid-cell { 
     121.dj_ie6 .nihilo .dojoxGridCell { 
    122122        border: 1px solid white; 
    123123        border-right: 1px solid #D5CDB5; 
    124124} 
    125125 
    126 .nihilo .dojoxGrid-cell-focus { 
     126.nihilo .dojoxGridCellFocus { 
    127127        border: 1px dotted #a6a6a6; 
    128128} 
    129129 
    130 .nihilo .dojoxGrid-cell-over { 
     130.nihilo .dojoxGridCellOver { 
    131131        border: 1px dotted #a6a6a6; 
    132132} 
    133133 
    134 .nihilo .dojoxGrid-cell-focus.dojoxGrid-cell-over { 
     134.nihilo .dojoxGridCellFocus.dojoxGridCellOver { 
    135135        border: 1px dotted #595959; 
    136136} 
     
    139139 
    140140/* FIXME: these colors are off! */ 
    141 .nihilo .dojoxGrid-row-editing td { 
     141.nihilo .dojoxGridRowEditing td { 
    142142        /* background-color: #F4FFF4; */ 
    143143        background-color: #ffe284;  
     
    145145} 
    146146 
    147 .nihilo .dojoxGrid-row-inserting td { 
     147.nihilo .dojoxGridRow-inserting td { 
    148148        background-color: #F4FFF4; 
    149149} 
    150 .nihilo .dojoxGrid-row-inflight td { 
     150.nihilo .dojoxGridRow-inflight td { 
    151151        background-color: #F2F7B7; 
    152152} 
    153 .nihilo .dojoxGrid-row-error td { 
     153.nihilo .dojoxGridRow-error td { 
    154154        background-color: #F8B8B6; 
    155155} 
  • dojox/trunk/grid/resources/soriaGrid.css

    r14579 r14589  
    88/* master messages */ 
    99 
    10 .soria .dojoxGrid-master-messages { 
     10.soria .dojoxGridMasterMessages { 
    1111        background-color: #fefefe; 
    1212} 
     
    1414/* header */ 
    1515 
    16 .soria .dojoxGrid-header { 
     16.soria .dojoxGridHeader { 
    1717        background-color:  #e9e9e9; 
    1818} 
    1919 
    20 .soria .dojoxGrid-header .dojoxGrid-cell {  
     20.soria .dojoxGridHeader .dojoxGridCell {  
    2121        border-width: 1px; 
    2222        padding-bottom: 0px; 
     
    2626} 
    2727 
    28 .soria .dojoxGrid-header .dojoxGrid-cell-over { 
     28.soria .dojoxGridHeader .dojoxGridCellOver { 
    2929        background: url(../../../dijit/themes/soria/images/titleBarActive.png) #e9e9e9 repeat-x top; 
    3030} 
    3131 
    32 .soria .gridArrowButtonChar { 
     32.soria .dojoxGridArrowButtonChar { 
    3333        float: right; 
    3434} 
    35 .soria .gridArrowButtonNode { 
     35.soria .dojoxGridArrowButtonNode { 
    3636        display: block !important; 
    3737        padding-left: 0px; 
     
    4242        height: 1em; 
    4343} 
    44 .dj_ie6 .soria .gridArrowButtonNode { 
     44.dj_ie6 .soria .dojoxGridArrowButtonNode { 
    4545        background-image:url("../../../dijit/themes/soria/images/spriteArrows.gif"); 
    4646} 
    4747 
    48 .soria .dojoxGrid-sort-up .gridArrowButtonNode { 
     48.soria .dojoxGridSortUp .dojoxGridArrowButtonNode { 
    4949        background-position: -21px; 
    5050} 
    51 .dijit_a11y .gridArrowButtonNode { 
     51.dijit_a11y .dojoxGridArrowButtonNode { 
    5252        display: none !important; 
    5353} 
     
    5555/* content */ 
    5656 
    57 .soria .dojoxGrid-scrollbox { 
     57.soria .dojoxGridScrollbox { 
    5858        background-color: #fefefe; 
    5959} 
     
    6161/* rowbar */ 
    6262 
    63 .soria .dojoxGrid-rowbar {  
     63.soria .dojoxGridRowbar {  
    6464        border: none; 
    6565        background: url(../../../dijit/themes/soria/images/titleBar.png) #e9e9e9 repeat-y right;