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

52 lines
1.2 KiB
SCSS
Raw Normal View History

2016-08-31 21:12:18 +02:00
.github-button {
2016-09-13 23:05:42 +02: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 21:12:18 +02:00
}
2016-09-14 17:55:53 +02:00
width: #{300 / $base-font-size}rem;
display: flex;
justify-content: center;
align-items: center;
2016-08-31 21:12:18 +02: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');
}
}
2018-04-18 23:00:53 +02:00
margin-top: #{4 / $base-font-size}rem;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: #{300 / $base-font-size}rem;
}
.google-icon {
2018-04-18 23:00:53 +02:00
width: #{32 / $base-font-size}rem;
height: #{32 / $base-font-size}rem;
margin-right: #{10 / $base-font-size}rem;
}