Changeset 13689

Show
Ignore:
Timestamp:
05/11/08 23:21:31 (6 months ago)
Author:
bill
Message:

Remove old arrow image files in favor of sprite file (except for ComboBox? still using special image).

Also made sprites square rather than rectangular (arrows still the same shape, but cenetered vertically in the image files now) to make CSS easier.

Finally, fixes TitlePane? arrow direction in RTL mode.

Refs #6649.

Location:
dijit/trunk/themes/tundra
Files:
8 removed
9 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/themes/tundra/form/Button.css

    r13650 r13689  
    9494        background-position: left top; 
    9595        width: 7px; 
    96         height: 4px; 
     96        height: 7px; 
    9797        font-size: 1px; 
    9898        margin: 0px 4px 0px 5px; 
     
    132132        position:absolute; 
    133133        top: 50%;  
    134         margin-top: -2px; /* half its height */ 
     134        margin-top: -4px; /* half its height */ 
    135135        left: 50%; 
    136136        margin-left: -4px; /* half its width */ 
    137         height: 4px; 
    138137        line-height: 2px; 
    139138} 
  • dijit/trunk/themes/tundra/form/Slider.css

    r13436 r13689  
    9696} 
    9797 
     98.tundra .dijitSliderDecrementIconH, 
     99.tundra .dijitSliderDecrementIconV, 
    98100.tundra .dijitSliderIncrementIconH, 
    99101.tundra .dijitSliderIncrementIconV { 
    100         background:url('../images/arrowUp.png') no-repeat center center; 
    101         width:16px; height:16px; 
    102         cursor:pointer; 
     102        cursor: pointer; 
     103        background-image: url('../images/spriteArrows.png'); 
     104        background-repeat: no-repeat; 
     105        margin: 5px; 
     106        height: 7px; 
     107        width: 7px; 
     108        font-size: 1px; 
     109} 
     110.dj_ie6 .tundra .dijitSliderDecrementIconH, 
     111.dj_ie6 .tundra .dijitSliderDecrementIconV, 
     112.dj_ie6 .tundra .dijitSliderIncrementIconH, 
     113.dj_ie6 .tundra .dijitSliderIncrementIconV { 
     114        background-image: url('../images/spriteArrows.gif'); 
     115} 
     116 
     117.tundra .dijitSliderDecrementIconH { 
     118        background-position: -7px 0px; 
    103119} 
    104120.tundra .dijitSliderIncrementIconH { 
    105         background-image:url('../images/arrowRight.png'); 
     121        background-position: -14px 0px; 
    106122} 
    107  
    108 .tundra .dijitSliderDecrementIconH, 
    109123.tundra .dijitSliderDecrementIconV { 
    110         width:16px; 
    111         height:16px; 
    112         cursor:pointer; 
    113         background:url('../images/arrowDown.png') no-repeat center center; 
     124        background-position: 0px 0px; 
    114125} 
    115 .tundra .dijitSliderDecrementIconH { background-image:url('../images/arrowLeft.png'); } 
     126.tundra .dijitSliderIncrementIconV { 
     127        background-position: -21px 0px; 
     128} 
    116129 
    117130.tundra .dijitSliderButtonInner { 
  • dijit/trunk/themes/tundra/form/Slider_rtl.css

    r13000 r13689  
    2424 
    2525.dijitRtl .dijitSliderIncrementIconH { 
    26         background-image:url('../images/arrowLeft.png'); 
     26        background-position: -7px 0px; 
    2727} 
    2828 
    2929.dijitRtl .dijitSliderDecrementIconH { 
    30         background-image:url('../images/arrowRight.png'); 
     30        background-position: -14px 0px; 
    3131} 
  • dijit/trunk/themes/tundra/Menu.css

    r12915 r13689  
    3131} 
    3232.tundra .dijitMenuExpandEnabled { 
    33         width:16px; 
    34         height:16px; 
    35         background:url('images/arrowRight.gif') no-repeat center center; 
    36         display:block; 
     33        width: 7px; 
     34        height: 7px; 
     35        background-image: url('images/spriteArrows.png'); 
     36        background-repeat: no-repeat; 
     37        background-position: -14px 0px; 
     38        font-size: 1px; 
     39        display: block; 
     40} 
     41.dj_ie6 .tundra .dijitMenuExpandEnabled { 
     42        background-image: url('images/spriteArrows.gif'); 
    3743} 
    3844 
  • dijit/trunk/themes/tundra/Menu_rtl.css

    r12329 r13689  
    55 
    66.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { 
    7         background-image:url('images/arrowLeft.gif'); 
     7        background-position: -21px 0px; 
    88} 
  • dijit/trunk/themes/tundra/TitlePane.css

    r13432 r13689  
    77} 
    88 
    9 /* TODO: merge these, and all other icons to a series of background-image:() and background-position: -16*n px styles */ 
    109.tundra .dijitTitlePane .dijitArrowNode { 
    11         width:16px; 
    12         height:16px; 
     10        cursor: pointer; 
     11        background-image: url('images/spriteArrows.png'); 
     12        background-repeat: no-repeat; 
     13        font-size: 1px; 
     14        height: 7px; 
     15        width: 7px; 
     16} 
     17.dj_ie6 .tundra .dijitTitlePane .dijitArrowNode { 
     18        background-image: url('images/spriteArrows.gif'); 
     19        vertical-align: middle; 
     20} 
     21 
     22.tundra .dijitTitlePane .dijitOpen .dijitArrowNode { 
     23        background-position: 0px 0px; 
    1324} 
    1425.tundra .dijitTitlePane .dijitClosed .dijitArrowNode { 
    15         background:url('images/arrowRight.png') no-repeat center center; 
     26        background-position: -14px 0px; 
    1627} 
    1728 
     
    2031} 
    2132 
    22 .dj_ie6 .tundra .dijitTitlePane .dijitClosed .dijitArrowNode { 
    23         background-image:url('images/arrowRight.gif'); 
    24 } 
    25 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { 
    26         background:url('images/arrowDown.png') no-repeat center center; 
    27 } 
    28 .dj_ie6 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { 
    29         background-image:url('images/arrowDown.gif'); 
    30 } 
    3133.tundra .dijitTitlePane .dijitArrowNodeInner { 
    3234        visibility:hidden; 
  • dijit/trunk/themes/tundra/TitlePane_rtl.css

    r13346 r13689  
    11.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { 
    2         background:url('images/arrowLeft.png') no-repeat center center; 
     2        background-position: -7px 0px; 
    33} 
    4 .dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { 
    5         background-image:url('images/arrowLeft.gif'); 
    6 }