Move CSS to remove button styling into mixins.scss

This commit is contained in:
Scott Nonnenberg 2018-05-08 09:51:19 -07:00
parent 420f81ebcd
commit b4bf9733ad
2 changed files with 12 additions and 14 deletions

View file

@ -751,13 +751,7 @@ span.status {
cursor: pointer;
button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
@include remove-button-styles;
}
.first-line {
@ -875,13 +869,7 @@ span.status {
margin-right: auto;
button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
@include remove-button-styles;
}
.image-container {

View file

@ -1,3 +1,13 @@
@mixin remove-button-styles() {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}
@mixin color-svg($svg, $color) {
-webkit-mask: url($svg) no-repeat center;
-webkit-mask-size: 100%;