UX: remove zocial and use font awesome instead

UX: use github logo for github login
This commit is contained in:
Sam
2015-07-21 15:46:33 +10:00
parent 59f547cd3f
commit 6d9674278e
7 changed files with 11 additions and 350 deletions

View File

@@ -1,7 +1,7 @@
@import "vendor/normalize";
@import "vendor/font_awesome/font-awesome";
@import "common/foundation/helpers";
@import "common/foundation/base";
@import "vendor/font_awesome/font-awesome";
@import "vendor/select2";
@import "common/foundation/mixins";
@import "common/foundation/variables";

View File

@@ -5,6 +5,7 @@
// Base
// --------------------------------------------------
.btn {
display: inline-block;
margin: 0;
@@ -125,20 +126,21 @@
color: $secondary;
}
&:before {
margin-right: 7px;
font-family: zocial;
line-height: 0.9;
margin-right: 9px;
font-family: FontAwesome;
line-height: 1.6em;
font-size: 1.3em;
}
&.google, &.google_oauth2 {
background: $google;
&:before {
content: "G";
content: $fa-var-google;
}
}
&.facebook {
background: $facebook;
&:before {
content: "f";
content: $fa-var-facebook;
}
}
&.cas {
@@ -147,19 +149,19 @@
&.twitter {
background: $twitter;
&:before {
content: "T";
content: $fa-var-twitter;
}
}
&.yahoo {
background: $yahoo;
&:before {
content: "Y";
content: $fa-var-yahoo;
}
}
&.github {
background: $github;
&:before {
content: "g";
content: $fa-var-github;
}
}
}