|
|
<!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="library/jquery.js" type="text/javascript"></script> <script src="library/ace/ace.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/semantic.js" type="text/javascript"></script>
</head>
<body id="example">
<div class="ui large vertical menu" id="menu"> <div class="menu"> <div class="item"><a href="module.html"><b>Introduction</b></a></div> <div class="item"><a href="download"><b>Download</b></a></div> <div class="item"> <a href="#"><b>UI Elements</b></a> <div class="menu"> <div class="active item"><a href="button.html">Button</a></div> <div class="item"><a href="form.html">Forms</a></div> <div class="item"><a href="table.html">Table</a></div> <div class="item"><a href="steps.html">Steps</a></div> <div class="item"><a href="progress.html">Progress</a></div> <div class="item"><a href="text.html">Text Block</a></div> <div class="item"><a href="header.html">Headers</a></div> <div class="item"><a href="header.html">Segment</a></div> <div class="item"><a href="column.html">Columns</a></div> <div class="item"><a href="element.html">Elements (Grid System)</a></div> <div class="item"><a href="tag.html">Tags</a></div> <div class="item"><a href="item.html">Items (Lists of Content)</a></div> <div class="item"><a href="panel.html">Panels (Type of Menu)</a></div> <div class="item"><a href="icon.html">Icons</a></div> <div class="item"><a href="divider.html">Dividers</a></div> </div> </div> <div class="item"> <a href="#"><b>UI Views</b></a> <div class="menu"> <div class="item"><a href="form.html">Forms</a></div> <div class="item"><a href="activity.html">Activity Feed</a></div> <div class="item"><a href="list.html">Content List</a></div> <div class="item"><a href="user-list.html">User List</a></div> </div> </div> <div class="item"> <a href="#"><b>UI Modules</b></a> <div class="menu"> <div class="item"><a href="accordion.html">Accordion</a></div> <div class="item"><a href="chatroom.html">Chat Room</a></div> <div class="item"><a href="modal.html">Modal</a></div> <div class="item"><a href="nag.html">Nag</a></div> <div class="item"><a href="popup.html">Popup</a></div> <div class="item"><a href="search.html">Search</a></div> <div class="item"><a href="star.html">Star Rating</a></div> <div class="item"><a href="tab.html">Tabs</a></div> </div> </div> <div class="item"> <a href="#"><b>Behavioral Modules</b></a> <div class="menu"> <div class="item"><a href="api.html">API</a></div> <div class="item"><a href="animation.html">Animation</a></div> <div class="item"><a href="validate.html">Form Validation</a></div> <div class="item"><a href="placeholder.html">Placeholder Text</a></div> <div class="item"><a href="shape.html">Shape</a></div> <div class="item"><a href="state.html">State</a></div> </div> </div> </div> </div>
<div class="ui 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 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 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> <div class="example"> <h4>Button:</h4> <p>A standard button</p> <div class="ui button">Button</div> </div>
<h2>States</h2> <div class="example"> <h4>Hover</h4> <p>Changes when a user moves their cursor over it</p> <div class="ui hover button">Hovered Button</div> </div> <div class="example"> <h4>Down</h4> <p>Changes when pressed using touch or mouse events</p> <div class="ui down button">Pressed Button</div> </div> <div class="example"> <h4>Active</h4> <p>Changes to show it is currently the selected user action</p> <div class="ui active button">Active Button</div> </div> <div class="example"> <h4>Disabled</h4> <p>Changes to show it is currently unable to be interacted with</p> <div class="ui disabled button">Disabled Button</div> </div> <div class="example"> <h4>Loading</h4> <p>Can show a loading indicator:</p> <div class="ui loading button">Loading Button</div> </div> <div class="example"> <h4>Success</h4> <p>Can alert to a succesful action:</p> <div class="ui success button">Successful Button</div> </div> <div class="example"> <h4>Error</h4> <p>Can alert user of an error:</p> <div class="ui error button">Error</div> </div> <div class="example"> <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> </div>
<h2>Variations</h2> <div class="example"> <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="large ui button"> Large </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> </div>
<div class="example"> <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> </div> <h4>Feedback</h4> <div class="example"> <p>Can be positive or negative:</p> <div class="positive ui button">Positive Button</div> <div class="negative ui button">Negative Button</div> </div> <div class="example"> <h4>Fluid</h4> <p>Can fit parent container:</p> <div class="fluid ui button">Fits container</div> </div> <div class="example"> <h4>Bubbly</h4> <p>Can be bubbly:</p> <div class="bubbly ui button">More bubbly</div> </div> <div class="example"> <h4>Icon</h4> <p>Can be formatted as an icon toolbar:</p> <div class="massive icon ui button"> <i class="icon cloud"></i> </div> </div> <div class="example"> <h4>Vertically 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> </div> <div class="example"> <h4>Horizontally Attached</h4> <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> </div>
<div class="example"> <h4>Form Attached</h4> <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> </div>
<h2>Group</h2> <div class="example"> <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> </div> <div class="example"> <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> </div> <h3>Plural Variations</h3> <p>Singular variations can be applied to groups to infer all elements share the same quality</p> <div class="example"> <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> </div> <div class="example"> <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> </div> <div class="example"> <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> <div class="example"></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>
</div> </body>
</html>
|