You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.0 KiB

  1. ---
  2. layout : 'default'
  3. css : 'rail-page'
  4. element : 'rail'
  5. elementType : 'element'
  6. title : 'Rail'
  7. description : 'A rail is used to show accompanying content outside the boundaries of the main view of a site'
  8. status : 'Undocumented'
  9. type : 'UI Element'
  10. ---
  11. <link rel="stylesheet/less" type="text/css" href="/build/less/definitions/elements/rail.less" />
  12. <%- @partial('header') %>
  13. <div class="main container">
  14. <h2 class="ui dividing header">Current Progress</h2>
  15. <div class="ui indicating progress">
  16. <div class="bar" style="width: 90%;">
  17. <div class="progress">90%</div>
  18. </div>
  19. <div class="label">Needs Documentation</div>
  20. </div>
  21. <h2 class="ui dividing header">Usage</h2>
  22. <div class="no example">
  23. <p>A rail provides a fixed-width, off-canvas content segment that that is only visible at large enough screen sizes to support their inclusion.</p>
  24. <p>Often rail content uses a section of content that sticks to the browser viewport, following the user as they scroll down the page. This will be available in a separate component <code>ui sticky</code>.</p>
  25. <p>Examples of sites that use off-canvas rails include <a href="http://www.huffingtonpost.com/2014/09/22/obama-inversions_n_5864686.html" target="_blank">Huffington Post</a>, <a href="http://www.rottentomatoes.com/m/the_drop/">Rotten Tomatoes</a>, <a href="http://www.buzzfeed.com/claudiakoerner/rutgers-student-killed-in-bear-attack-while-hiking#2skhsin" target="_blank">BuzzFeed</a>.</p>
  26. </div>
  27. <h2 class="ui dividing header">Development Progress</h2>
  28. <div class="no example">
  29. <p>This is an undocumented component, but is <b>near complete</b>.</p>
  30. <p>You can help support the future development of the Semantic UI project, and help boost the priority of this component by donating to Semantic UI development.</p>
  31. <p>Please be sure to leave a note in the comments to indicate that you are interested in the development of this particular component.</p>
  32. </div>
  33. </div>