Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (92 sloc) 4.28 KB
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="|Raleway:400,700|Roboto:300,400,900," rel="stylesheet">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="../base/reset.css">
<link rel="stylesheet" href="../base/mobileui.css">
<link rel="stylesheet" href="../base/colors.css">
<link rel="stylesheet" href="../base/icons.css">
<link rel="stylesheet" href="../header/style.css">
<link rel="stylesheet" href="../list/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="../assets/css/master.css">
.content { margin-left:50px}
<body class="content">
<!-- BEGIN -->
<h2 class="title-doc" id="_DOC_GENERATE_SPACE_">Button</h2>
You can use <a href="#colors">colors theme</a> and <a href="#icons">icons</a> in button. If you need use base mode just add theme color name,
you can alter border color using class <code>border-[COLOR]</code>, alter text color using class <code>text-[COLOR]</code> and add radius border using class <code>radius</code>.
<p>For use icon in button you need add class <code>icon-text</code> and you can use diferent size, see the examples below.</p>
To use this component you need install with the command:
<div class="dependency tooltip">
<strong>Dependency:</strong> <code>base</code>.
<span class="tooltiptext">The dependencies will be installed together with this module</span>
<pre>mobileui install button</pre>
<p>You can use all features the <a href="#base">base</a> MobileUI in this component.</p>
<textarea class="bind-code" mode="text/html">
<button class="green">Login with email</button>
<button class="border-green text-green">Create a new user</button>
<p>Customize as you wish:</p>
<button class="brown border-brown-800 text-brown-50 radius icon-text">
<i class="icon ion-ios-settings-strong"></i>
<button class="brown border-brown-800 text-brown-50 radius icon-text icon-right">
<i class="icon ion-ios-settings-strong"></i>
<p>Social login:</p>
<button class="blue icon-text">
<i class="icon ion-social-facebook"></i>
Login with Facebook
<p>Different sizes:</p>
<button class="red icon-text big">
<i class="icon ion-trash-b"></i>
<button class="cyan">Edit</button>
<button class="purple small">View</button>
<p>Full size:</p>
<button class="pink full">View more detail</button>
<p>Group buttons:</p>
<div class="buttons-group full">
<button class="teal border-teal-700 radius-left">Left</button>
<button class="teal border-teal-700">Middle</button>
<button class="teal-700 border-teal-700">Middle</button>
<button class="teal border-teal-700 radius-right">Right</button>
<p>And different size in group:</p>
<div class="buttons-group full small">
<button class="red border-red-600 radius-left">Left</button>
<button class="red border-red-600">Middle</button>
<button class="red border-red-600 radius-right">Right</button>
<p>Another type button used in Android is a Tap, for this you can put <code>circle</code> class in button. You can controller what position button.</p>
<textarea class="bind-code" mode="text/html" height-preview="400px" replace="body,div">
<body class="padding grey-200">
<button class="green circle icon ion-plus"></button>
<button class="red circle icon ion-headphone shadow"></button>
<button class="green circle icon ion-chatbox shadow float-bottom-right"></button>
<button class="blue circle icon ion-ios-gear shadow float-bottom-left"></button>
<!-- DONE -->
<script src=""></script>
<script src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="../assets/js/main.js"></script>