diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-03 15:10:19 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-03 15:10:19 +0000 |
commit | 1020de2d77320d57569d1a2bd23488bf339993b2 (patch) | |
tree | a7ad3dbb4b4d4d23966023487644a8a3bd834fd8 /demos | |
parent | 6bbff3154c8ec301a4d3138a08b447c113e00a4b (diff) | |
download | jquery-ui-1020de2d77320d57569d1a2bd23488bf339993b2.tar.gz jquery-ui-1020de2d77320d57569d1a2bd23488bf339993b2.zip |
demos/sortable/default: added some icons
Diffstat (limited to 'demos')
-rw-r--r-- | demos/sortable/default.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/demos/sortable/default.html b/demos/sortable/default.html index 7465582c4..5f9ac3567 100644 --- a/demos/sortable/default.html +++ b/demos/sortable/default.html @@ -9,7 +9,8 @@ <link type="text/css" href="../demos.css" rel="stylesheet" /> <style type="text/css"> #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #sortable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; } + #sortable li { margin: 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; } + #sortable li span { position: absolute; margin-left: -1.3em; } </style> <script type="text/javascript"> $(function() { @@ -21,13 +22,13 @@ <div class="demo"> <ul id="sortable"> - <li class="ui-state-default">Item 1</li> - <li class="ui-state-default">Item 2</li> - <li class="ui-state-default">Item 3</li> - <li class="ui-state-default">Item 4</li> - <li class="ui-state-default">Item 5</li> - <li class="ui-state-default">Item 6</li> - <li class="ui-state-default">Item 7</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 3</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 4</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 5</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 6</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 7</li> </ul> </div><!-- End demo --> |