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.
 
 
 

281 lines
8.4 KiB

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>UI Button - Semantic</title>
<link rel="stylesheet" class="ui" href="../src/ui/flat/state.js" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/panel.css" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/button.css" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/text.css" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/form.css" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/icons.css" type="text/css" media="screen" />
<link rel="stylesheet" class="ui" href="../src/ui/flat/table.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../src/ui/flat/menu.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../src/modules/shape.css" type="text/css" media="screen" />
<link rel="stylesheet" href="library/sidr.css" type="text/css" media="screen" />
<link rel="stylesheet" href="stylesheets/example.css" type="text/css" media="screen" />
<script src="../dependencies/jquery.js" type="text/javascript"></script>
<script src="../src/modules/ui/shape.js" type="text/javascript"></script>
<script src="../src/modules/behavior/state.js" type="text/javascript"></script>
<script src="library/sidr.js" type="text/javascript"></script>
<script src="library/waypoints.js" type="text/javascript"></script>
<script src="javascript/example.js" type="text/javascript"></script>
</head>
<body id="example">
<div class="sidr" id="menu">
<ul>
<li><a href="module.html">Introduction</a></li>
<li><a>Download</a></li>
<li><a href="#">UI</a>
<ul>
<li class="active"><a href="button.html">Button</a></li>
<li><a>Text</a></li>
<li><a>Headers</a></li>
<li><a>Columns</a></li>
<li><a>Elements (Grid System)</a></li>
<li><a>Tags</a></li>
<li><a>Items (Lists of Content)</a></li>
<li><a>Panels (Type of Menu)</a></li>
<li><a>Forms</a></li>
<li><a>Fields</a></li>
<li><a>Checkboxes</a></li>
<li><a>Icons</a></li>
<li><a>Dividers</a></li>
</ul>
</li>
<li><a href="#">UI Modules</a>
<ul>
<li><a>Accordion</a></li>
<li><a>Chat Room</a></li>
<li><a>Modal</a></li>
<li><a>Nag</a></li>
<li><a>Popup</a></li>
<li><a>Search</a></li>
<li><a>Star Rating</a></li>
<li><a>Tabs</a></li>
</ul>
</li>
<li><a href="#">Behavioral Modules</a>
<ul>
<li><a>API</a></li>
<li><a>Animation</a></li>
<li><a>Form Validation</a></li>
<li><a>Placeholder Text</a></li>
<li><a class="shape.html">Shape</a></li>
<li><a>State</a></li>
</ul>
</li>
</ul>
</div>
<div class="ui large fixed transparent black menu">
<div class="container">
<div class="title item">
Semantic UI: Button
</div>
<div class="icon previous link item">
<i class="icon left-dir"></i>
</div>
<div class="section dropdown item">
1 of 14
<div class="menu">
<div class="active item">1. Button</div>
<div class="item">2. Text</div>
<div class="item">3. Headers</div>
<div class="item">4. Columns</div>
<div class="item">5. Elements</div>
<div class="item">6. Tags</div>
<div class="item">7. Items</div>
<div class="item">8. Panels</div>
</div>
</div>
<div class="icon next link item">
<i class="icon right-dir"></i>
</div>
<div class="right swap link item">
Swap Theme
</div>
</div>
</div>
<div class="ui huge left attached vertical side buttons">
<div class="ui blue menu button">Menu</div>
</div>
<div class="segment">
<div class="container">
<h1>Button</h1>
<p>Semantic is a set of standards designed to make front end development less arbitrary. This is the definition of a button.</p>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui large vertical pointing bottom attached panel">
<li class="active">Standard</li>
<li>States</li>
<li>Variations</li>
<li>Group</li>
</div>
</div>
<h2>Standard</h2>
<h4>Button:</h4>
<div class="ui button">Button</div>
<h2>States</h2>
<h4>Can be hovered:</h4>
<div class="ui hover button">Hovered Button</div>
<h4>Can be pressed in:</h4>
<div class="ui down button">Pressed Button</div>
<h4>Can be active:</p>
<div class="ui active button">Active Button</div>
<h4>Can be disabled:</h4>
<div class="ui disabled button">Disabled Button</div>
<h4>Can show a loading indicator:</h4>
<div class="ui loading button">Loading Button</div>
<h4>Can alert to a succesful action:</h4>
<div class="ui success button">Successful Button</div>
<h4>Can alert user of an error:</h4>
<div class="ui error button">Error Button</div>
<div class="ui button">Normal</div>
<div class="ui button hover">Hover</div>
<div class="ui button down">Down</div>
<div class="ui button loading">Loading</div>
<br><br>
<div class="ui button disabled">Disabled</div>
<div class="ui button active">Active</div>
<div class="ui button active toggle">Toggled</div>
<div class="ui button error">Error</div>
<div class="ui button success">Success</div>
<h2>Variations</h2>
<h4>Can have different sizes:</h4>
<div class="mini ui button">
Mini
</div>
<div class="tiny ui button">
Tiny
</div>
<div class="small ui button">
Small
</div>
<div class="medium ui button">
Medium
</div>
<div class="big ui button">
Big
</div>
<div class="huge ui button">
Huge
</div>
<div class="massive ui button">
<i class="icon pin"></i>
Massive
</div>
<div class="gigantic ui button">
<i class="icon pin"></i>
Gigantic
</div>
<h4>Can have different colors:</h4>
<div class="ui blue button">Blue Button</div>
<div class="purple ui button">Purple Button</div>
<div class="green ui button">Green Button</div>
<h4>Can fit parent container:</h4>
<div class="fluid ui button">Fits container</div>
<h4>Can be formatted to fit just an icon or image:</h4>
<div class="mini icon ui button">
<i class="icon pin"></i>
</div>
<div class="tiny icon ui button">
<i class="icon pin"></i>
</div>
<div class="small icon ui button">
<i class="icon pin"></i>
</div>
<div class="medium icon ui button">
<i class="icon pin"></i>
</div>
<div class="big icon ui button">
<i class="icon pin"></i>
</div>
<div class="huge icon ui button">
<i class="icon pin"></i>
</div>
<div class="massive icon ui button">
<i class="icon pin"></i>
</div>
<div class="gigantic icon ui button">
<i class="icon pin"></i>
</div>
<h4>Can be attached to the top or bottom of other content</h4>
<div class="ui top attached button">Top</div>
<div style="border-left: 1px solid #DDDDDD;border-right: 1px solid #DDDDDD;height:200px;"></div>
<div class="ui bottom attached button">Bottom</div>
<h4>Can be attached to an input field</h4>
<div class="ui form">
<input type="text" class="attached">
<div class="ui attached button">Search</div>
</div>
<h2>Buttons (Button Groups)</h2>
<h4>Can exist together as groups</h4>
<div class="ui buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
<div class="ui button">Three</div>
</div>
<h4>Groups can be vertical</h4>
<div class="ui vertical buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
<div class="ui button">Three</div>
</div>
<h4>Groups can be divided evenly to fit parent</h4>
<div class="ui three fluid buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
<div class="ui button">Three</div>
</div>
<h4>Singular variations can be applied to groups to infer all elements share the same quality</h4>
<p><b>Blue</b></p>
<div class="blue ui buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
<div class="ui button">Three</div>
</div>
<br><br>
<p><b>Large</b></p>
<div class="huge ui buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
<div class="ui button">Three</div>
</div>
</div>
</body>
</html>