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.

119 lines
3.7 KiB

  1. ---
  2. layout : 'default'
  3. css : 'reveal'
  4. element : 'reveal'
  5. elementType : 'element'
  6. title : 'Reveal'
  7. description : 'A reveal hides additional content until a user engages content'
  8. type : 'UI Element'
  9. themes : ['Default']
  10. ---
  11. <%- @partial('header') %>
  12. <div class="main container">
  13. <h2 class="ui dividing header">Types</h2>
  14. <div class="example">
  15. <h4 class="ui header">Reveal</h4>
  16. <p>A standard reveal has no special formatting</p>
  17. <div class="ui ignored warning message">
  18. A reveal will take no action unless a type of reveal is specified.
  19. </div>
  20. <div class="ui circular reveal">
  21. <img class="visible content" src="/images/demo/stickfigure.jpg">
  22. <img class="hidden content" src="/images/demo/photo2.jpg">
  23. </div>
  24. </div>
  25. <div class="example">
  26. <h4 class="ui header">Fade</h4>
  27. <p>An element can disappear to reveal content below</p>
  28. <div class="ui fade reveal">
  29. <img class="visible content" src="/images/demo/invention.jpg">
  30. <img class="hidden content" src="/images/demo/title.png">
  31. </div>
  32. </div>
  33. <div class="example">
  34. <h4 class="ui header">Move</h4>
  35. <p>An element can move in a direction to reveal content</p>
  36. <div class="ui move reveal">
  37. <img class="visible content" src="/images/demo/invention.jpg">
  38. <img class="hidden content" src="/images/demo/title.png">
  39. </div>
  40. </div>
  41. <div class="another example">
  42. <div class="ui move right reveal">
  43. <img class="visible content" src="/images/demo/invention.jpg">
  44. <img class="hidden content" src="/images/demo/title.png">
  45. </div>
  46. </div>
  47. <div class="another example">
  48. <div class="ui move up reveal">
  49. <img class="visible content" src="/images/demo/invention.jpg">
  50. <img class="hidden content" src="/images/demo/title.png">
  51. </div>
  52. </div>
  53. <div class="another example">
  54. <div class="ui move down reveal">
  55. <img class="visible content" src="/images/demo/invention.jpg">
  56. <img class="hidden content" src="/images/demo/title.png">
  57. </div>
  58. </div>
  59. <div class="example">
  60. <h4 class="ui header">Rotate</h4>
  61. <p>An element can rotate to reveal content below</p>
  62. <div class="ui circular rotate reveal image">
  63. <img class="visible content" src="/images/demo/stickfigure.jpg">
  64. <img class="hidden content" src="/images/demo/photo2.jpg">
  65. </div>
  66. </div>
  67. <div class="another example">
  68. <div class="ui circular rotate left reveal image">
  69. <img class="visible content" src="/images/demo/stickfigure.jpg">
  70. <img class="hidden content" src="/images/demo/photo2.jpg">
  71. </div>
  72. </div>
  73. <h2 class="ui dividing header">Variations</h2>
  74. <div class="example">
  75. <h4 class="ui header">Masked</h4>
  76. <p>An element can mask its content so that an element does not escape its parent</p>
  77. <div class="ui masked move reveal">
  78. <img class="visible content" src="/images/demo/invention.jpg">
  79. <img class="hidden content" src="/images/demo/title.png">
  80. </div>
  81. </div>
  82. <div class="example">
  83. <h4 class="ui header">Instant</h4>
  84. <p>An element can show its content without delay</p>
  85. <div class="ui instant masked move reveal">
  86. <img class="visible content" src="/images/demo/invention.jpg">
  87. <img class="hidden content" src="/images/demo/title.png">
  88. </div>
  89. </div>
  90. <h2 class="ui dividing header">States</h2>
  91. <div class="example">
  92. <h4 class="ui header">Disabled</h4>
  93. <p>A disabled reveal will not animate when hovered</p>
  94. <div class="ui circular disabled move reveal">
  95. <img class="visible content" src="/images/demo/stickfigure.jpg">
  96. <img class="hidden content" src="/images/demo/photo2.jpg">
  97. </div>
  98. </div>
  99. </div>