Skip to content

Commit 918fc55

Browse files
committed
Added Pinterest (Fixes #35)
1 parent 3112cb6 commit 918fc55

4 files changed

+11
-0
lines changed

bootstrap-social.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bootstrap-social.less

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
.btn-linkedin { .btn-social(#007bb6); }
105105
.btn-microsoft { .btn-social(#2672ec); }
106106
.btn-openid { .btn-social(#f7931e); }
107+
.btn-pinterest { .btn-social(#cb2027); }
107108
.btn-reddit { .btn-social(#eff7ff, #000); }
108109
.btn-soundcloud { .btn-social(#ff5500); }
109110
.btn-tumblr { .btn-social(#2c4762); }

bootstrap-social.scss

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ $bs-height-xs: (floor($font-size-small * 1.2) + $padding-small-vertical + 1);
104104
.btn-linkedin { @include btn-social(#007bb6); }
105105
.btn-microsoft { @include btn-social(#2672ec); }
106106
.btn-openid { @include btn-social(#f7931e); }
107+
.btn-pinterest { @include btn-social(#cb2027); }
107108
.btn-reddit { @include btn-social(#eff7ff, #000); }
108109
.btn-soundcloud { @include btn-social(#ff5500); }
109110
.btn-tumblr { @include btn-social(#2c4762); }

index.html

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ <h3>The Buttons</h3>
8989
<a class="btn btn-block btn-social btn-openid" onclick="_gaq.push(['_trackEvent', 'btn-social', 'click', 'btn-openid']);">
9090
<i class="fa fa-openid"></i> Sign in with OpenID
9191
</a>
92+
<a class="btn btn-block btn-social btn-pinterest" onclick="_gaq.push(['_trackEvent', 'btn-social', 'click', 'btn-pinterest']);">
93+
<i class="fa fa-pinterest"></i> Sign in with Pinterest
94+
</a>
9295
<a class="btn btn-block btn-social btn-reddit" onclick="_gaq.push(['_trackEvent', 'btn-social', 'click', 'btn-reddit']);">
9396
<i class="fa fa-reddit"></i> Sign in with Reddit
9497
</a>
@@ -126,6 +129,7 @@ <h3>The Buttons</h3>
126129
<a class="btn btn-social-icon btn-linkedin" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-linkedin']);"><i class="fa fa-linkedin"></i></a>
127130
<a class="btn btn-social-icon btn-microsoft" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-microsoft']);"><i class="fa fa-windows"></i></a>
128131
<a class="btn btn-social-icon btn-openid" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-openid']);"><i class="fa fa-openid"></i></a>
132+
<a class="btn btn-social-icon btn-pinterest" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-pinterest']);"><i class="fa fa-pinterest"></i></a>
129133
<a class="btn btn-social-icon btn-reddit" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-reddit']);"><i class="fa fa-reddit"></i></a>
130134
<a class="btn btn-social-icon btn-soundcloud" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-soundcloud']);"><i class="fa fa-soundcloud"></i></a>
131135
<a class="btn btn-social-icon btn-tumblr" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-tumblr']);"><i class="fa fa-tumblr"></i></a>
@@ -151,6 +155,7 @@ <h3>Available Classes</h3>
151155
<li data-code="linkedin" data-name="LinkedIn"><code>btn-linkedin</code> <span class="social-hex">#007BB6</span></li>
152156
<li data-code="microsoft" data-icon="windows" data-name="Microsoft"><code>btn-microsoft</code> <span class="social-hex">#2672EC</span></li>
153157
<li data-code="openid" data-name="OpenID"><code>btn-openid</code> <span class="social-hex">#F7931E</span></li>
158+
<li data-code="pinterest" data-name="Pinterest"><code>btn-pinterest</code> <span class="social-hex">#CB2027</span></li>
154159
<li data-code="reddit" data-name="Reddit"><code>btn-reddit</code> <span class="social-hex">#EFF7FF</span></li>
155160
<li data-code="soundcloud" data-name="SoundCloud"><code>btn-soundcloud</code> <span class="social-hex">#FF5500</span></li>
156161
<li data-code="tumblr" data-name="Tumblr"><code>btn-tumblr</code> <span class="social-hex">#CB2027</span></li>

0 commit comments

Comments
 (0)