Updated Bootstrap Social

..and remove plus from Google sign in icon
pull/7895/head
Panayiotis Lipiridis 2016-04-04 22:36:35 +02:00
parent 52e68d7c6a
commit 7c27952ff6
2 changed files with 8 additions and 23 deletions

View File

@ -32,7 +32,7 @@
} }
&.btn-lg { &.btn-lg {
padding-left: (@bs-height-lg + @padding-large-horizontal); padding-left: (@bs-height-lg + @padding-large-horizontal);
:first-child { > :first-child {
line-height: @bs-height-lg; line-height: @bs-height-lg;
width: @bs-height-lg; width: @bs-height-lg;
font-size: 1.8em; font-size: 1.8em;
@ -40,7 +40,7 @@
} }
&.btn-sm { &.btn-sm {
padding-left: (@bs-height-sm + @padding-small-horizontal); padding-left: (@bs-height-sm + @padding-small-horizontal);
:first-child { > :first-child {
line-height: @bs-height-sm; line-height: @bs-height-sm;
width: @bs-height-sm; width: @bs-height-sm;
font-size: 1.4em; font-size: 1.4em;
@ -48,7 +48,7 @@
} }
&.btn-xs { &.btn-xs {
padding-left: (@bs-height-xs + @padding-small-horizontal); padding-left: (@bs-height-xs + @padding-small-horizontal);
:first-child { > :first-child {
line-height: @bs-height-xs; line-height: @bs-height-xs;
width: @bs-height-xs; width: @bs-height-xs;
font-size: 1.2em; font-size: 1.2em;
@ -61,7 +61,7 @@
height: (@bs-height-base + 2); height: (@bs-height-base + 2);
width: (@bs-height-base + 2); width: (@bs-height-base + 2);
padding: 0; padding: 0;
:first-child { > :first-child {
border: none; border: none;
text-align: center; text-align: center;
width: 100%!important; width: 100%!important;
@ -86,29 +86,14 @@
} }
} }
.btn-social(@color-bg, @color: @color-bg) { .btn-social(@color-bg, @color: #fff) {
background-color: @color-bg; background-color: @color-bg;
.button-variant(@color, @color-bg, rgba(0,0,0,.2)); .button-variant(@color, @color-bg, rgba(0,0,0,.2));
} }
.btn-adn { .btn-social(#d87a68); }
.btn-bitbucket { .btn-social(#205081); }
.btn-dropbox { .btn-social(#1087dd); }
.btn-facebook { .btn-social(#3b5998); } .btn-facebook { .btn-social(#3b5998); }
.btn-flickr { .btn-social(#ff0084); }
.btn-foursquare { .btn-social(#f94877); }
.btn-github { .btn-social(#444444); } .btn-github { .btn-social(#444444); }
.btn-google-plus { .btn-social(#dd4b39); } .btn-google { .btn-social(#dd4b39); }
.btn-instagram { .btn-social(#3f729b); }
.btn-linkedin { .btn-social(#007bb6); } .btn-linkedin { .btn-social(#007bb6); }
.btn-microsoft { .btn-social(#2672ec); }
.btn-openid { .btn-social(#f7931e); }
.btn-pinterest { .btn-social(#cb2027); }
.btn-reddit { .btn-social(#eff7ff, #000); }
.btn-soundcloud { .btn-social(#ff5500); }
.btn-tumblr { .btn-social(#2c4762); }
.btn-twitter { .btn-social(#55acee); } .btn-twitter { .btn-social(#55acee); }
.btn-vimeo { .btn-social(#1ab7ea); }
.btn-vk { .btn-social(#587ea3); }
.btn-yahoo { .btn-social(#720e9e); }

View File

@ -8,8 +8,8 @@ block content
a.btn.btn-lg.btn-block.btn-social.btn-facebook(href='/auth/facebook') a.btn.btn-lg.btn-block.btn-social.btn-facebook(href='/auth/facebook')
i.fa.fa-facebook i.fa.fa-facebook
| Sign in with Facebook | Sign in with Facebook
a.btn.btn-lg.btn-block.btn-social.btn-google-plus(href='/auth/google') a.btn.btn-lg.btn-block.btn-social.btn-google(href='/auth/google')
i.fa.fa-google-plus i.fa.fa-google
| Sign in with Google | Sign in with Google
a.btn.btn-lg.btn-block.btn-social.btn-linkedin(href='/auth/linkedin') a.btn.btn-lg.btn-block.btn-social.btn-linkedin(href='/auth/linkedin')
i.fa.fa-linkedin i.fa.fa-linkedin