Changeset 1368


Ignore:
Timestamp:
2009-11-13 16:56:56 (2 years ago)
Author:
karel
Message:

Included jquery autocomplete example - groundwork for turning it into a kauri control

Location:
trunk
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static/css/forms.css

    r1171 r1368  
    4747    width:16px; 
    4848} 
     49 
     50/* 
     51 * autocomplete control 
     52 */ 
     53 
     54.ac_results { 
     55    padding: 0px; 
     56    border: 1px solid black; 
     57    background-color: white; 
     58    overflow: hidden; 
     59    z-index: 99999; 
     60} 
     61 
     62.ac_results ul { 
     63    width: 100%; 
     64    list-style-position: outside; 
     65    list-style: none; 
     66    padding: 0; 
     67    margin: 0; 
     68} 
     69 
     70.ac_results li { 
     71    margin: 0px; 
     72    padding: 2px 5px; 
     73    cursor: default; 
     74    display: block; 
     75    /*  
     76    if width will be 100% horizontal scrollbar will apear  
     77    when scroll mode will be used 
     78    */ 
     79    /*width: 100%;*/ 
     80    font: menu; 
     81    font-size: 12px; 
     82    /*  
     83    it is very important, if line-height not setted or setted  
     84    in relative units scroll will be broken in firefox 
     85    */ 
     86    line-height: 16px; 
     87    overflow: hidden; 
     88} 
     89 
     90.ac_loading { 
     91    background: white url(../img/loading.gif) right center no-repeat; 
     92} 
     93 
     94.ac_odd { 
     95    background-color: #eee; 
     96} 
     97 
     98.ac_over { 
     99    background-color: #0A246A; 
     100    color: white; 
     101} 
     102 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/index.html.xml

    r1353 r1368  
    4545      <li> 
    4646        <a href="selection-control.html">Selection control</a> 
     47      </li> 
     48      <li> 
     49        <a href="autocomplete-control.html">Autocomplete control</a> 
    4750      </li> 
    4851      <li> 
Note: See TracChangeset for help on using the changeset viewer.