-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
98 lines (98 loc) · 4.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Skeleton Font Awesome Buttons</title>
<meta name="description" content="Font Awesome icon buttons for Skeleton">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="skeleton-fontawesome-buttons.css">
<style>
th:last-child, td:last-child {
text-align: right;
}
</style>
</head>
<body>
<a href="https://github.com/nathancahill/skeleton-fontawesome-buttons"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div class="container">
<div class="row" style="margin-top: 10%">
<div class="twelve columns">
<h3 style="margin-bottom: 0">Skeleton Font Awesome Buttons</h3>
<hr style="margin-top: 0">
</div>
</div>
<div class="row">
<div class="six columns">
<h5>Before</h5>
<a class="button"><i class="fa fa-cog"></i></a>
<a class="button"><i class="fa fa-remove"></i></a>
<a class="button"><i class="fa fa-pencil"></i></a>
<a class="button"><i class="fa fa-plus"></i></a>
<a class="button"><i class="fa fa-plus-circle"></i></a>
</div>
<div class="six columns">
<h5>After</h5>
<a class="button button-icon"><i class="fa fa-cog"></i></a>
<a class="button button-icon"><i class="fa fa-remove"></i></a>
<a class="button button-icon"><i class="fa fa-pencil"></i></a>
<a class="button button-icon"><i class="fa fa-plus"></i></a>
<a class="button button-icon"><i class="fa fa-plus-circle"></i></a>
</div>
</div>
<div class="row" style="margin-top: 50px">
<div class="twelve columns">
<h5>Usage</h5>
<p>Include <code>skeleton-fontawesome-buttons.css</code> in your HTML:</p>
<pre><code><link rel="stylesheet" href="skeleton-fontawesome-buttons.css"></code></pre>
<p>Add the <code>.button-icon</code> class to your buttons:</p>
<pre><code><a class="button button-icon">
<i class="fa fa-cog"></i>
</a></code></pre>
</div>
</div>
<div class="twelve columns" style="margin-top: 50px;">
<h5>Usage in a Table</h5>
<p>Table cells are smaller than buttons, so there's a special case for using the <code>.button-icon</code> class in table cells.</p>
<table class="u-full-width">
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Sex</th>
<th>Location</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>Dave Gamache</td>
<td>26</td>
<td>Male</td>
<td>San Francisco</td>
<td>
<a class="button button-icon"><i class="fa fa-eye"></i></a>
<a class="button button-icon"><i class="fa fa-pencil"></i></a>
<a class="button button-icon"><i class="fa fa-remove"></i></a>
</td>
</tr>
<tr>
<td>Dwayne Johnson</td>
<td>42</td>
<td>Male</td>
<td>Hayward</td>
<td>
<a class="button button-icon"><i class="fa fa-eye"></i></a>
<a class="button button-icon"><i class="fa fa-pencil"></i></a>
<a class="button button-icon"><i class="fa fa-remove"></i></a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>