p5.js-web-editor/client/styles/components/_github-button.scss

52 lines
1.1 KiB
SCSS
Raw Normal View History

2016-08-31 19:12:18 +00:00
.github-button {
2016-09-13 21:05:42 +00:00
@include themify() {
@extend %button;
& path {
color: getThemifyVariable('primary-text-color');
}
&:hover path, &:active path {
fill: $white;
}
&:hover, &:active {
background-color: getThemifyVariable('secondary-text-color');
border-color: getThemifyVariable('secondary-text-color');
}
2016-08-31 19:12:18 +00:00
}
2016-09-14 15:55:53 +00:00
width: #{300 / $base-font-size}rem;
display: flex;
justify-content: center;
align-items: center;
2016-08-31 19:12:18 +00:00
}
.github-icon {
margin-right: #{10 / $base-font-size}rem;
}
.google-button {
@include themify() {
@extend %button;
& path {
color: getThemifyVariable('primary-text-color');
}
&:hover path, &:active path {
fill: $white;
}
&:hover, &:active {
background-color: getThemifyVariable('secondary-text-color');
border-color: getThemifyVariable('secondary-text-color');
}
}
margin-top: 4px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: #{300 / $base-font-size}rem;
}
.google-icon {
width: 32px;
height: 32px;
margin-right: #{10 / $base-font-size}rem;
}