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.
 
 
 

376 lines
11 KiB

<!DOCTYPE html>
<head>
<!-- Standard Meta -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width" />
<!-- Site Properities -->
<meta http-equiv="X-Powered-By" content="DocPad v6.32.0"/>
<title>Text Block | Semantic UI</title>
<meta name="description" content="Semantic empowers designers and developers by creating a shared vocabulary for UI." />
<meta name="keywords" content="html5, ui, library, framework, javascript" />
<link rel="stylesheet" type="text/css" href="/stylesheets/reset.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/icons.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/button.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/header.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/label.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/divider.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/block.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/elements/segment.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/grid.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/table.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/form.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/collections/menu.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/modules/shape.css">
<link rel="stylesheet" type="text/css" class="ui" href="/ui/flat/modules/checkbox.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/library/sidr.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/semantic.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/shape.css">
<script src="/javascript/library/jquery.js"></script>
<script src="/javascript/library/ace/ace.js"></script>
<script src="/javascript/library/sidr.js"></script>
<script src="/javascript/library/waypoints.js"></script>
<script src="/ui/flat/modules/behavior/state.js"></script>
<script src="/ui/flat/modules/shape.js"></script>
<script src="/ui/flat/modules/checkbox.js"></script>
<script src="/javascript/semantic.js"></script>
<script src="/javascript/shape.js"></script>
</head>
<body id="example">
<div class="ui large vertical menu" id="menu">
<div class="header item">Table of Contents</div>
<div class="item"><a href="/index.html"><b>Introduction</b></a></div>
<div class="item"><a href="/download.html"><b>Download</b></a></div>
<div class="item">
<a href="/element.html"><b>UI Elements</b></a>
<div class="menu">
<a class="item" href="/elements/button.html">Button</a>
<a class="item" href="/elements/label.html">Label</a>
</div>
</div>
<div class="item">
<a href="/collection.html"><b>UI Collections</b></a>
<div class="menu">
<a class="item" href="/collections/form.html">Form</a>
<a class="item" href="/collections/grid.html">Grid</a>
<a class="item" href="/collections/menu.html">Menu</a>
<a class="item" href="/collections/table.html">Table</a>
<a class="active item" href="/collections/block.html">Text Block</a>
</div>
</div>
<div class="item">
<a href="/module.html"><b>UI Modules</b></a>
<div class="menu">
<a class="item" href="/modules/shape.html">Shape</a>
</div>
</div>
</div>
<div class="ui fixed transparent contrasting main menu">
<div class="container">
<div class="title item">
<b>UI Collection:</b> Text Block
</div>
<div class="icon previous link item">
<a href="/collections/table.html"><i class="icon left-open"></i></a>
</div>
<div class="section dropdown item">
5 of 5
<div class="menu">
<div class="item">
<a href="/collections/form.html">1. Form</a>
</div>
<div class="item">
<a href="/collections/grid.html">2. Grid</a>
</div>
<div class="item">
<a href="/collections/menu.html">3. Menu</a>
</div>
<div class="item">
<a href="/collections/table.html">4. Table</a>
</div>
<div class="active item">
<a href="/collections/block.html">5. Text Block</a>
</div>
</div>
</div>
<div class="icon next disabled link item">
<i class="icon right-open"></i>
</div>
<div class="right menu">
<a class="item" href="https://github.com/quirkyinc/semantic">
<i class="icon github"></i>
</a>
<div class="dropdown item">
<i class="icon tint"></i> Theme
<div class="theme menu">
<div class="active item" data-theme="flat">Flat</div>
<div class="item" data-theme="shaded">Shaded</div>
<div class="item" data-theme="classic">Classic</div>
</div>
</div>
</div>
</div>
</div>
<div class="ui huge left attached vertical side buttons">
<div class="ui large blue sidebar button"><i class="icon th-list"></i> Menu</div>
</div>
<div class="segment">
<div class="container">
<h1>Text Block</h1>
<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>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing link menu">
<div class="active item">Standard</div>
<div class="item">States</div>
<div class="item">Variations</div>
<div class="item">Groups</div>
</div>
</div>
<h2>Standard</h2>
<div class="example">
<h4>Text Block</h4>
<p>A basic text block</p>
<div class="ui block">
<div class="header">
Welcome back!
</div>
<p>
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.
</p>
<p>
Perhaps we can talk about it if you have the time.
</p>
</div>
</div>
<div class="example">
<h4>List Block</h4>
<p>A text block with a list</p>
<div class="ui block">
<div class="header">
Welcome back!
</div>
<ul class="list">
<li>It's good to see you again.</li>
<li>Did you know it's been a while?</li>
</ul>
</div>
</div>
<div class="example">
<h4>Dismissable Block</h4>
<p>A text block that the user can choose to hide</p>
<div class="ui block">
<i class="icon close"></i>
<div class="header">
Welcome back!
</div>
<ul class="list">
<li>It's good to see you again.</li>
<li>Did you know it's been a while?</li>
</ul>
</div>
</div>
<h2>States</h2>
<h4>Hidden</h4>
<p>Text Blocks can be hidden</p>
<div class="ui hidden block">
<p>You can't see me</p>
</div>
<div class="example">
<h4>Visible</h4>
<p>Text Blocks can be set to visible if they need to force themselves to be shown.</p>
<div class="ui visible block">
<p>You can always see me</p>
</div>
</div>
<h2>Variations</h2>
<div class="example">
<h4>Icon Block</h4>
<p>A text block can contain an icon.</p>
<div class="ui icon block">
<i class="icon cloud"></i>
<div class="content">
<div class="header">
Have you heard about our mailing list?
</div>
<p>Get all the best inventions in your e-mail every day. Sign up now</p>
</div>
</div>
</div>
<div class="example">
<h4>Compact Block</h4>
<p>A text block that only takes up the width of its content.</p>
<div class="ui compact block">
<p>Get all the best inventions in your e-mail every day. Sign up now</p>
</div>
</div>
<div class="example">
<h4>Attached Block</h4>
<p>A text block can be formatted to attach itself to content</p>
<div class="ui attached block">
<div class="header">
Have you heard about our mailing list?
</div>
<p>Get all the best inventions in your e-mail every day. Sign up now</p>
</div>
<form class="ui form attached fluid segment">
<p>Let's go ahead and get you signed up.</p>
<div class="two fields">
<div class="field">
<label>First Name</label>
<input placeholder="First Name" type="text">
</div>
<div class="field">
<label>Last Name</label>
<input placeholder="Last Name" type="text">
</div>
</div>
<div class="field">
<label>Username</label>
<input placeholder="Username" type="text">
</div>
<div class="field">
<label>Password</label>
<input type="password">
</div>
<div class="inline field">
<div class="ui checkbox">
<input type="checkbox" id="terms" />
<label for="terms"></label>
</div>
<label>I agree to the terms and conditions</label>
</div>
<div class="ui blue submit button">Submit</div>
</form>
<div class="ui bottom attached info block">
<div class="header">
<i class="icon help"></i>Are you sure you know what you're doing?
</div>
</div>
</div>
<div class="example">
<h4>Colored Block</h4>
<p>A text block can be formatted to be different colors</p>
</div>
<div class="example">
<h4>Warning Block</h4>
<p>A text block may be formatted to display warning messages.</p>
<div class="ui warning block">
<i class="icon close"></i>
<div class="header">
You must register before you can do that!
</div>
<p>Visit our registration page, then try again</p>
</div>
</div>
<div class="example">
<h4>Info Block</h4>
<p>A text block may be formatted to display information.</p>
<div class="ui info block">
<i class="icon close"></i>
<div class="header">
Was this what you wanted?
</div>
<ul class="list">
<li>It's good to see you again.</li>
<li>Did you know it's been a while?</li>
</ul>
</div>
</div>
<div class="example">
<h4>Success Block</h4>
<p>A text block may be formatted to display a success message.</p>
<div class="ui success block">
<i class="icon close"></i>
<div class="header">
Congratulations, you are now a member!
</div>
</div>
</div>
<div class="example">
<h4>Error Block</h4>
<p>A text block may be formatted to display errors.</p>
<div class="ui error block">
<i class="icon close"></i>
<div class="header">
Was this what you wanted?
</div>
<ul class="list">
<li>It's good to see you again.</li>
<li>Did you know it's been a while?</li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
</body>
</html>