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.
319 lines
9.8 KiB
319 lines
9.8 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/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 disabled item">
|
|
<i class="icon left-open"></i>
|
|
</div>
|
|
<div class="section dropdown item">
|
|
1 of 14
|
|
<div class="menu">
|
|
<a class="active item">1. Button</a>
|
|
<a href="form.html" class="item">2. Form</a>
|
|
<a class="item">3. Headers</a>
|
|
<a class="item">4. Columns</a>
|
|
<a class="item">5. Elements</a>
|
|
<a class="item">6. Tags</a>
|
|
<a class="item">7. Items</a>
|
|
<a class="item">8. Panels</a>
|
|
</div>
|
|
</div>
|
|
<div class="icon next link item">
|
|
<a href="form.html"><i class="icon right-open"></i></a>
|
|
</div>
|
|
<div class="right menu">
|
|
<a class="item" href="http://github.com/quirky/quirkyinc/semantic">
|
|
<i class="icon cloud"></i>
|
|
</a>
|
|
<a class="item" href="http://github.com/quirky/quirkyinc/semantic">
|
|
<i class="icon github"></i>
|
|
</a>
|
|
<div class="dropdown item">
|
|
<i class="icon cog"></i>
|
|
<div class="menu">
|
|
<div class="swap item">Change Theme</div>
|
|
<div class="item">About Semantic</div>
|
|
<div class="item">About Semantic</div>
|
|
</div>
|
|
</div>
|
|
</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>Buttons indicate a possible action a user may take.</p>
|
|
<p>Button variations are used to explain relationships between user actions and other elements, or to show emphasis.</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>Hover</h4>
|
|
<p>Changes when a user moves their cursor over it</p>
|
|
<div class="ui hover button">Hovered Button</div>
|
|
|
|
<h4>Down</h4>
|
|
<p>Changes when pressed using touch or mouse events</p>
|
|
<div class="ui down button">Pressed Button</div>
|
|
|
|
<h4>Active</h4>
|
|
<p>Changes to show it is currently the selected user action</p>
|
|
<div class="ui active button">Active Button</div>
|
|
|
|
<h4>Disabled</h4>
|
|
<p>Changes to show it is currently unable to be interacted with</p>
|
|
<div class="ui disabled button">Disabled Button</div>
|
|
|
|
<h4>Loading</h4>
|
|
<p>Can show a loading indicator:</p>
|
|
<div class="ui loading button">Loading Button</div>
|
|
|
|
<h4>Success</h4>
|
|
<p>Can alert to a succesful action:</p>
|
|
<div class="ui success button">Successful Button</div>
|
|
|
|
<h4>Error</h4>
|
|
<p>Can alert user of an error:</p>
|
|
<div class="ui error button">Error</div>
|
|
|
|
<h4>All together:</h4>
|
|
<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>Sizes</h4>
|
|
<p>Can have different sizes:</p>
|
|
<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">
|
|
Massive
|
|
</div>
|
|
<div class="gigantic ui button">
|
|
Gigantic
|
|
</div>
|
|
|
|
|
|
<h4>Colors</h4>
|
|
<p>Can have different colors:</p>
|
|
<div class="blue ui button">Blue Button</div>
|
|
<div class="purple ui button">Purple Button</div>
|
|
|
|
<p>Can be positive or negative:</p>
|
|
<div class="positive ui button">Positive Button</div>
|
|
<div class="negative ui button">Negative Button</div>
|
|
|
|
<h4>Fluid</h4>
|
|
<p>Can fit parent container:</p>
|
|
<div class="fluid ui button">Fits container</div>
|
|
|
|
<h4>Bubbly</h4>
|
|
<p>Can be bubbly:</p>
|
|
<div class="bubbly ui button">More bubbly</div>
|
|
|
|
<h4>Icon</h4>
|
|
<p>Can be formatted as an icon toolbar:</p>
|
|
<div class="massive icon ui button">
|
|
<i class="icon cloud"></i>
|
|
</div>
|
|
|
|
<h4>Attached</h4>
|
|
<p>Can be attached to the top or bottom of other content</p>
|
|
<div class="ui top attached button">Top</div>
|
|
<div style="border-left: 1px solid #DDDDDD;border-right: 1px solid #DDDDDD;background-color:#FFFFFF;height:200px;"></div>
|
|
<div class="ui bottom attached button">Bottom</div>
|
|
|
|
<br><br>
|
|
<p>Can be attached to the left or right of other content</p>
|
|
<div class="ui left attached button">Left</div>
|
|
<div style="width: 200px; display: inline-block; background-color: rgb(255, 255, 255); vertical-align: middle; height: 34px; margin: 0px -4px; border-bottom: 2px solid rgb(221, 221, 221); border-top: 2px solid rgb(221, 221, 221);"></div>
|
|
<div class="ui right attached button">Right</div>
|
|
|
|
<br><br>
|
|
<p>Can be attached to an input field</p>
|
|
<div class="ui form">
|
|
<input type="text" class="attached">
|
|
<div class="ui attached button">Search</div>
|
|
</div>
|
|
|
|
<h2>Group</h2>
|
|
|
|
<h4>Buttons</h4>
|
|
<p>Can exist together as groups</p>
|
|
<div class="ui buttons">
|
|
<div class="ui button">One</div>
|
|
<div class="ui button">Two</div>
|
|
<div class="ui button">Three</div>
|
|
</div>
|
|
|
|
<h4>Conditionals</h4>
|
|
<p>Groups can be separated by conditionals</p>
|
|
<div class="ui buttons">
|
|
<div class="ui button">Cancel</div>
|
|
<div class="or"></div>
|
|
<div class="ui positive button">Save</div>
|
|
</div>
|
|
|
|
<h3>Plural Variations</h3>
|
|
<p>Singular variations can be applied to groups to infer all elements share the same quality</p>
|
|
|
|
<h4>Icon</h4>
|
|
<p>Groups can be formatted as icon toolbars</p>
|
|
<div class="ui icon buttons">
|
|
<div class="ui button"><i class="icon pause"></i></div>
|
|
<div class="ui button"><i class="icon play"></i></div>
|
|
<div class="ui button"><i class="icon fast-fw"></i></div>
|
|
</div>
|
|
|
|
<h4>Fluid</h4>
|
|
<p>Groups can be divided evenly to fit parent</p>
|
|
<div class="ui five fluid buttons">
|
|
<div class="ui button">One</div>
|
|
<div class="ui button">Two</div>
|
|
<div class="ui button">Three</div>
|
|
<div class="ui button">Four</div>
|
|
<div class="ui button">Five</div>
|
|
</div>
|
|
|
|
<h4>Colors</h4>
|
|
<p>Groups can have a shared color</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>
|
|
<div class="blue large icon ui buttons">
|
|
|
|
</div>
|
|
<h4>Sizes</h4>
|
|
<p>Groups can have a shared size</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>
|