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.

375 lines
11 KiB

11 years ago
11 years ago
  1. <!DOCTYPE html>
  2. <head>
  3. <!-- Standard Meta -->
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="viewport" content="width=device-width" />
  7. <!-- Site Properities -->
  8. <meta http-equiv="X-Powered-By" content="DocPad v6.32.0"/>
  9. <title>Text Block | Semantic UI</title>
  10. <meta name="description" content="Semantic empowers designers and developers by creating a shared vocabulary for UI." />
  11. <meta name="keywords" content="html5, ui, library, framework, javascript" />
  12. <link rel="stylesheet" type="text/css" href="/stylesheets/reset.css">
  13. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/icons.css">
  14. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/button.css">
  15. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/header.css">
  16. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/label.css">
  17. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/divider.css">
  18. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/block.css">
  19. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/segment.css">
  20. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/grid.css">
  21. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/table.css">
  22. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/form.css">
  23. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/menu.css">
  24. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/modules/shape.css">
  25. <link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/modules/checkbox.css">
  26. <link rel="stylesheet" type="text/css" href="/stylesheets/library/sidr.css">
  27. <link rel="stylesheet" type="text/css" href="/stylesheets/semantic.css">
  28. <link rel="stylesheet" type="text/css" href="/stylesheets/shape.css">
  29. <script src="/javascript/library/jquery.js"></script>
  30. <script src="/javascript/library/ace/ace.js"></script>
  31. <script src="/javascript/library/sidr.js"></script>
  32. <script src="/javascript/library/waypoints.js"></script>
  33. <script src="/ui/flat/modules/behavior/state.js"></script>
  34. <script src="/ui/flat/modules/shape.js"></script>
  35. <script src="/ui/flat/modules/checkbox.js"></script>
  36. <script src="/javascript/semantic.js"></script>
  37. <script src="/javascript/shape.js"></script>
  38. </head>
  39. <body id="example">
  40. <div class="ui large vertical menu" id="menu">
  41. <div class="header item">Table of Contents</div>
  42. <div class="item"><a href="/index.html"><b>Introduction</b></a></div>
  43. <div class="item"><a href="/download.html"><b>Download</b></a></div>
  44. <div class="item">
  45. <a href="/element.html"><b>UI Elements</b></a>
  46. <div class="menu">
  47. <a class="item" href="/elements/button.html">Button</a>
  48. <a class="item" href="/elements/label.html">Label</a>
  49. </div>
  50. </div>
  51. <div class="item">
  52. <a href="/collection.html"><b>UI Collections</b></a>
  53. <div class="menu">
  54. <a class="item" href="/collections/form.html">Form</a>
  55. <a class="item" href="/collections/grid.html">Grid</a>
  56. <a class="item" href="/collections/menu.html">Menu</a>
  57. <a class="item" href="/collections/table.html">Table</a>
  58. <a class="active item" href="/collections/block.html">Text Block</a>
  59. </div>
  60. </div>
  61. <div class="item">
  62. <a href="/module.html"><b>UI Modules</b></a>
  63. <div class="menu">
  64. <a class="item" href="/modules/shape.html">Shape</a>
  65. </div>
  66. </div>
  67. </div>
  68. <div class="ui fixed transparent contrasting main menu">
  69. <div class="container">
  70. <div class="title item">
  71. <b>UI Collection:</b> Text Block
  72. </div>
  73. <div class="icon previous link item">
  74. <a href="/collections/table.html"><i class="icon left-open"></i></a>
  75. </div>
  76. <div class="section dropdown item">
  77. 5 of 5
  78. <div class="menu">
  79. <div class="item">
  80. <a href="/collections/form.html">1. Form</a>
  81. </div>
  82. <div class="item">
  83. <a href="/collections/grid.html">2. Grid</a>
  84. </div>
  85. <div class="item">
  86. <a href="/collections/menu.html">3. Menu</a>
  87. </div>
  88. <div class="item">
  89. <a href="/collections/table.html">4. Table</a>
  90. </div>
  91. <div class="active item">
  92. <a href="/collections/block.html">5. Text Block</a>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="icon next disabled link item">
  97. <i class="icon right-open"></i>
  98. </div>
  99. <div class="right menu">
  100. <a class="item" href="https://github.com/quirkyinc/semantic">
  101. <i class="icon github"></i>
  102. </a>
  103. <div class="dropdown item">
  104. <i class="icon tint"></i> Theme
  105. <div class="theme menu">
  106. <div class="active item" data-theme="flat">Flat</div>
  107. <div class="item" data-theme="shaded">Shaded</div>
  108. <div class="item" data-theme="classic">Classic</div>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. <div class="ui huge left attached vertical side buttons">
  115. <div class="ui large blue sidebar button"><i class="icon th-list"></i> Menu</div>
  116. </div>
  117. <div class="segment">
  118. <div class="container">
  119. <h1>Text Block</h1>
  120. <p>Text Blocks can be used to give descriptions to sections of content. They can be formatted like tags, used to mark separate sections of a group of content.</p>
  121. </div>
  122. </div>
  123. <div class="main container">
  124. <div class="peek">
  125. <div class="ui vertical pointing link menu">
  126. <div class="active item">Standard</div>
  127. <div class="item">States</div>
  128. <div class="item">Variations</div>
  129. <div class="item">Groups</div>
  130. </div>
  131. </div>
  132. <h2>Standard</h2>
  133. <div class="example">
  134. <h4>Text Block</h4>
  135. <p>A basic text block</p>
  136. <div class="ui block">
  137. <div class="header">
  138. Welcome back!
  139. </div>
  140. <p>
  141. It's good to see you again. I have had a lot to think about since our last visit, I've changed much as a person and I can see that you have too.
  142. </p>
  143. <p>
  144. Perhaps we can talk about it if you have the time.
  145. </p>
  146. </div>
  147. </div>
  148. <div class="example">
  149. <h4>List Block</h4>
  150. <p>A text block with a list</p>
  151. <div class="ui block">
  152. <div class="header">
  153. Welcome back!
  154. </div>
  155. <ul class="list">
  156. <li>It's good to see you again.</li>
  157. <li>Did you know it's been a while?</li>
  158. </ul>
  159. </div>
  160. </div>
  161. <div class="example">
  162. <h4>Dismissable Block</h4>
  163. <p>A text block that the user can choose to hide</p>
  164. <div class="ui block">
  165. <i class="icon close"></i>
  166. <div class="header">
  167. Welcome back!
  168. </div>
  169. <ul class="list">
  170. <li>It's good to see you again.</li>
  171. <li>Did you know it's been a while?</li>
  172. </ul>
  173. </div>
  174. </div>
  175. <h2>States</h2>
  176. <h4>Hidden</h4>
  177. <p>Text Blocks can be hidden</p>
  178. <div class="ui hidden block">
  179. <p>You can't see me</p>
  180. </div>
  181. <div class="example">
  182. <h4>Visible</h4>
  183. <p>Text Blocks can be set to visible if they need to force themselves to be shown.</p>
  184. <div class="ui visible block">
  185. <p>You can always see me</p>
  186. </div>
  187. </div>
  188. <h2>Variations</h2>
  189. <div class="example">
  190. <h4>Icon Block</h4>
  191. <p>A text block can contain an icon.</p>
  192. <div class="ui icon block">
  193. <i class="icon cloud"></i>
  194. <div class="content">
  195. <div class="header">
  196. Have you heard about our mailing list?
  197. </div>
  198. <p>Get all the best inventions in your e-mail every day. Sign up now</p>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="example">
  203. <h4>Compact Block</h4>
  204. <p>A text block that only takes up the width of its content.</p>
  205. <div class="ui compact block">
  206. <p>Get all the best inventions in your e-mail every day. Sign up now</p>
  207. </div>
  208. </div>
  209. <div class="example">
  210. <h4>Attached Block</h4>
  211. <p>A text block can be formatted to attach itself to content</p>
  212. <div class="ui attached block">
  213. <div class="header">
  214. Have you heard about our mailing list?
  215. </div>
  216. <p>Get all the best inventions in your e-mail every day. Sign up now</p>
  217. </div>
  218. <form class="ui form attached fluid segment">
  219. <p>Let's go ahead and get you signed up.</p>
  220. <div class="two fields">
  221. <div class="field">
  222. <label>First Name</label>
  223. <input placeholder="First Name" type="text">
  224. </div>
  225. <div class="field">
  226. <label>Last Name</label>
  227. <input placeholder="Last Name" type="text">
  228. </div>
  229. </div>
  230. <div class="field">
  231. <label>Username</label>
  232. <input placeholder="Username" type="text">
  233. </div>
  234. <div class="field">
  235. <label>Password</label>
  236. <input type="password">
  237. </div>
  238. <div class="inline field">
  239. <div class="ui checkbox">
  240. <input type="checkbox" id="terms" />
  241. <label for="terms"></label>
  242. </div>
  243. <label>I agree to the terms and conditions</label>
  244. </div>
  245. <div class="ui blue submit button">Submit</div>
  246. </form>
  247. <div class="ui bottom attached info block">
  248. <div class="header">
  249. <i class="icon help"></i>Are you sure you know what you're doing?
  250. </div>
  251. </div>
  252. </div>
  253. <div class="example">
  254. <h4>Colored Block</h4>
  255. <p>A text block can be formatted to be different colors</p>
  256. </div>
  257. <div class="example">
  258. <h4>Warning Block</h4>
  259. <p>A text block may be formatted to display warning messages.</p>
  260. <div class="ui warning block">
  261. <i class="icon close"></i>
  262. <div class="header">
  263. You must register before you can do that!
  264. </div>
  265. <p>Visit our registration page, then try again</p>
  266. </div>
  267. </div>
  268. <div class="example">
  269. <h4>Info Block</h4>
  270. <p>A text block may be formatted to display information.</p>
  271. <div class="ui info block">
  272. <i class="icon close"></i>
  273. <div class="header">
  274. Was this what you wanted?
  275. </div>
  276. <ul class="list">
  277. <li>It's good to see you again.</li>
  278. <li>Did you know it's been a while?</li>
  279. </ul>
  280. </div>
  281. </div>
  282. <div class="example">
  283. <h4>Success Block</h4>
  284. <p>A text block may be formatted to display a success message.</p>
  285. <div class="ui success block">
  286. <i class="icon close"></i>
  287. <div class="header">
  288. Congratulations, you are now a member!
  289. </div>
  290. </div>
  291. </div>
  292. <div class="example">
  293. <h4>Error Block</h4>
  294. <p>A text block may be formatted to display errors.</p>
  295. <div class="ui error block">
  296. <i class="icon close"></i>
  297. <div class="header">
  298. Was this what you wanted?
  299. </div>
  300. <ul class="list">
  301. <li>It's good to see you again.</li>
  302. <li>Did you know it's been a while?</li>
  303. </ul>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. </body>
  309. </html>
  310. </body>
  311. </html>