forked from lipis/bootstrap-social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
214 lines (209 loc) · 11 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Social Buttons for Bootstrap</title>
<link href="assets/css/bootstrap.css" rel="stylesheet">
<link href="assets/css/font-awesome.css" rel="stylesheet">
<link href="assets/css/docs.css" rel="stylesheet" >
<link href="bootstrap-social.css" rel="stylesheet" >
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-42119746-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="jumbotron">
<div class="container">
<h1>Social Buttons for Bootstrap</h1>
<p>
Social Sign-In Buttons made in pure CSS based on
<a href="http://twitter.github.io/bootstrap/">Bootstrap</a> and
<a href="http://fortawesome.github.io/Font-Awesome/">Font Awesome</a>!
</p>
<a href="https://github.com/lipis/bootstrap-social/archive/gh-pages.zip" class="btn btn-outline btn-large"><i class="fa fa-github"></i> Download from GitHub</a>
<ul class="jumbotron-links">
<li><a href="https://github.com/lipis/bootstrap-social">GitHub Project</a></li>
<li>Version 4.0.6</li>
</ul>
<iframe src="http://ghbtns.com/github-btn.html?user=lipis&repo=bootstrap-social&type=watch&count=true" class="social-share"></iframe>
<a href="https://twitter.com/share" class="social-share twitter-share-button" data-url="http://lipis.github.io/bootstrap-social/" data-text="Social Sign-In Buttons made in pure CSS based on Bootstrap and Font Awesome!" data-via="lipis" data-hashtags="bootstrap css">Tweet</a>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4 social-buttons">
<h3>The Buttons</h3>
<a class="btn btn-block btn-social btn-bitbucket">
<i class="fa fa-bitbucket"></i> Sign in with Bitbucket
</a>
<a class="btn btn-block btn-social btn-dropbox">
<i class="fa fa-dropbox"></i> Sign in with Dropbox
</a>
<a class="btn btn-block btn-social btn-facebook">
<i class="fa fa-facebook"></i> Sign in with Facebook
</a>
<a class="btn btn-block btn-social btn-flickr">
<i class="fa fa-flickr"></i> Sign in with Flickr
</a>
<a class="btn btn-block btn-social btn-github">
<i class="fa fa-github"></i> Sign in with GitHub
</a>
<a class="btn btn-block btn-social btn-google-plus">
<i class="fa fa-google-plus"></i> Sign in with Google
</a>
<a class="btn btn-block btn-social btn-instagram">
<i class="fa fa-instagram"></i> Sign in with Instagram
</a>
<a class="btn btn-block btn-social btn-linkedin">
<i class="fa fa-linkedin"></i> Sign in with LinkedIn
</a>
<a class="btn btn-block btn-social btn-tumblr">
<i class="fa fa-tumblr"></i> Sign in with Tumblr
</a>
<a class="btn btn-block btn-social btn-twitter">
<i class="fa fa-twitter"></i> Sign in with Twitter
</a>
<a class="btn btn-block btn-social btn-vk">
<i class="fa fa-vk"></i> Sign in with VK
</a>
<hr>
<div class="text-center">
<a class="btn btn-social-icon btn-bitbucket"><i class="fa fa-bitbucket"></i></a>
<a class="btn btn-social-icon btn-dropbox"><i class="fa fa-dropbox"></i></a>
<a class="btn btn-social-icon btn-facebook"><i class="fa fa-facebook"></i></a>
<a class="btn btn-social-icon btn-flickr"><i class="fa fa-flickr"></i></a>
<a class="btn btn-social-icon btn-github"><i class="fa fa-github"></i></a>
<a class="btn btn-social-icon btn-google-plus"><i class="fa fa-google-plus"></i></a>
<a class="btn btn-social-icon btn-instagram"><i class="fa fa-instagram"></i></a>
<a class="btn btn-social-icon btn-linkedin"><i class="fa fa-linkedin"></i></a>
<a class="btn btn-social-icon btn-tumblr"><i class="fa fa-tumblr"></i></a>
<a class="btn btn-social-icon btn-twitter"><i class="fa fa-twitter"></i></a>
<a class="btn btn-social-icon btn-vk"><i class="fa fa-vk"></i></a>
</div>
</div>
<div class="col-sm-4">
<h3>Available Classes</h3>
<ul class="social-class list-unstyled">
<li data-code="bitbucket" data-name="Bitbucket"><code>btn-bitbucket</code> <span class="social-hex">#205081</span></li>
<li data-code="dropbox" data-name="Dropbox"><code>btn-dropbox</code> <span class="social-hex">#1087DD</span></li>
<li data-code="facebook" data-name="Facebook"><code>btn-facebook</code> <span class="social-hex">#3B5998</span></li>
<li data-code="flickr" data-name="Flickr"><code>btn-flickr</code> <span class="social-hex">#2BA9E1</span></li>
<li data-code="github" data-name="GitHub"><code>btn-github</code> <span class="social-hex">#444444</span></li>
<li data-code="google-plus" data-name="Google"><code>btn-google-plus</code> <span class="social-hex">#DD4B39</span></li>
<li data-code="instagram" data-name="Instagram"><code>btn-instagram</code> <span class="social-hex">#3F729B</span></li>
<li data-code="linkedin" data-name="LinkedIn"><code>btn-linkedin</code> <span class="social-hex">#007BB6</span></li>
<li data-code="tumblr" data-name="Tumblr"><code>btn-tumblr</code> <span class="social-hex">#CB2027</span></li>
<li data-code="twitter" data-name="Twitter"><code>btn-twitter</code> <span class="social-hex">#55ACEE</span></li>
<li data-code="vk" data-name="VK"><code>btn-vk</code> <span class="social-hex">#587EA3</span></li>
</ul>
</div>
<div class="col-sm-4">
<div class="social-sizes">
<h3>Different Sizes</h3>
<a class="btn btn-block btn-social btn-lg btn-google-plus">
<i class="fa fa-google-plus"></i>
Sign in with Google
</a>
<a class="btn btn-block btn-social btn-google-plus">
<i class="fa fa-google-plus"></i>
Sign in with Google
</a>
<a class="btn btn-block btn-social btn-sm btn-google-plus">
<i class="fa fa-google-plus"></i>
Sign in with Google
</a>
<a class="btn btn-block btn-social btn-xs btn-google-plus">
<i class="fa fa-google-plus"></i>
Sign in with Google
</a>
<hr>
<div class="text-center">
<a class="btn btn-social-icon btn-lg btn-google-plus"><i class="fa fa-google-plus"></i></a>
<a class="btn btn-social-icon btn-google-plus"><i class="fa fa-google-plus"></i></a>
<a class="btn btn-social-icon btn-sm btn-google-plus"><i class="fa fa-google-plus"></i></a>
<a class="btn btn-social-icon btn-xs btn-google-plus"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>
</div>
<hr>
</div>
<div class="how-to">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h2>How to use</h2>
<ol>
<li>
Include Bootstrap and Font Awesome
<p>
If you haven't done that already, include the latest
<a href="http://twitter.github.io/bootstrap/">Bootstrap</a>
and <a href="http://fortawesome.github.io/Font-Awesome/">Font Awesome</a> in your project.
</p>
</li>
<li>
Include the CSS or LESS
<p>
You have two options for enabling the social buttons in your project:
vanilla CSS or source LESS. For vanilla CSS, just include the
compiled CSS file from the <code>/css</code> in the repository.
</p>
<p>
For LESS, copy over the .less file from <code>/less</code> into
your existing Bootstrap directory. Then import it into
<code>bootstrap.less</code> via
<code>@import "bootstrap-social.less";</code>. Recompile when ready.
</p>
</li>
<li>
Add some buttons!
<p>
After you've added the CSS, you can start using the buttons
as you've normally do with the Bootstrap buttons that have an
icon by adding the relevant class. For example:
</p>
<pre>
<a class="btn btn-block <strong class="text-danger">btn-social</strong> <strong class="text-info">btn-twitter</strong>">
<i class="fa fa-twitter"></i> Sign in with Twitter
</a></pre>
<p>
Or if you want to just the icon button use it like this:
</p>
<pre>
<a class="btn <strong class="text-danger">btn-social-icon</strong> <strong class="text-info">btn-twitter</strong>">
<i class="fa fa-twitter"></i>
</a></pre>
</li>
</ol>
</div>
</div>
</div>
</div>
<hr>
<footer>
<ul class="links">
<li><a href="http://stackoverflow.com/users/8418/lipis"><i class="fa fa-stackexchange"></i> Lipis</a></li>
<li><a href="http://github.com/lipis"><i class="fa fa-github"></i> GitHub</a></li>
<li><a href="http://bitbucket.com/lipis"><i class="fa fa-bitbucket"> Bitbucket</i></a></li>
<li><a href="http://twitter.com/lipis"><i class="fa fa-twitter"></i> Twitter</a></li>
<li><a href="http://opensource.org/licenses/MIT"><i class="fa fa-building"></i> MIT License</a></li>
</ul>
</footer>
<a href="https://github.com/lipis/bootstrap-social"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub"></a>
<!-- Some JavaScript that is used only in this demo, not needed for the buttons -->
<script src="assets/js/jquery.js"></script>
<script src="assets/js/docs.js"></script>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
</script>
</body>
</html>