Changes between Version 3 and Version 4 of documentation/StyleGuide

Show
Ignore:
Author:
peterc (IP: 203.96.63.172)
Timestamp:
02/14/08 13:23:24 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/StyleGuide

    v3 v4  
    125125} 
    126126}}} 
     127 
     128== Sliders == 
     129 
     130The controls plugin adds support for range sliders; these are instanced through the RML tag <input type="range" ... />. Internally these are very similar to scrollbars, and contain identical child elements, i.e.: 
     131 * ''sliderarrowdec'' 
     132 * ''sliderarrowinc'' 
     133 * ''slidertrack'' 
     134 * ''sliderbar'' 
     135 
     136These are styled in the same way you style scrollbars. Note that for input types, the controls plugin automatically sets the 'type' attribute of an input element as a class to ease their specification in a style sheet. So the following rule will apply properties to an input's slider track: 
     137 
     138{{{ 
     139input.range slidertrack 
     140{ 
     141        ... 
     142} 
     143}}}