@datawheel/canon-core
Version:
Reusable React environment and components for creating visualization engines.
116 lines (82 loc) • 1.99 kB
CSS
#login, #signup {
& .bp3-input-group,
& .bp3-button {
margin-bottom: 10px;
}
}
#socials {
display: flex;
& .bp3-button {
align-items: center;
color: white;
display: flex;
flex: 1;
justify-content: center;
margin-right: 10px;
&:last-child {
margin-right: 0;
}
& .icon {
height: 15px;
margin-right: 10px;
}
&.facebook {
background: #3b5998;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)) left no-repeat, center no-repeat #3b5998;
& .icon {
margin-bottom: 2px;
}
&:hover {
background-color: color(#3b5998 blackness(50%));
}
}
&.github {
background-color: #ececec;
background-image: linear-gradient(#f4f4f4, #ececec);
color: #333;
& .icon {
margin-bottom: 2px;
}
&:hover {
color: #fff;
background-color: #3c8dde;
background-image: linear-gradient(#599bdc, #3072b3);
}
}
&.google {
background: #ffffff;
color: #444;
& .icon {
margin-bottom: 2px;
}
&:hover {
background-color: #eee;
}
}
&.instagram {
background: #8a3ab9;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)) left no-repeat, center no-repeat #8a3ab9;
&:hover {
background-color: color(#8a3ab9 blackness(50%));
}
}
&.linkedin {
background: #fdfdfd;
background: linear-gradient(#fdfdfd, #eee);
color: #000;
& .icon {
margin-bottom: 2px;
}
&:hover {
opacity: 0.8;
}
}
&.twitter {
background: #0084b4;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)) left no-repeat, center no-repeat #0084b4;
&:hover {
background-color: color(#0084b4 blackness(50%));
}
}
}
}