Skip to content

Commit e17fd71

Browse files
updated button
1 parent d95a661 commit e17fd71

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

src/Elements/Button/mixins.scss

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ PUNICA CSS > ELEMENTS : BUTTON > MIXINS **************/
2828
color: $text-color;
2929
text-shadow: $button-icon-shadow;
3030
}
31+
@content;
3132
}
3233
// Secondary Button
3334
@mixin secondary-button() {
@@ -48,28 +49,13 @@ PUNICA CSS > ELEMENTS : BUTTON > MIXINS **************/
4849
}
4950
// Link Button
5051
@mixin link-button() {
51-
&.#{$button-class-link},
52+
&.#{$button-class-link}.#{$button-class},
5253
&.#{$button-class-link} > .#{$button-class} {
53-
background: transparent;
54-
border-color: transparent;
55-
color: $main-font-color;
56-
//min-height: 100%;
57-
border: none;
58-
&:focus,
59-
&:hover,
60-
&:active,
61-
&.#{$button-class-active} {
62-
color: darken($main-font-color, 8%);
63-
}
64-
&.#{$button-class-invert} {
65-
color: $main-invert-color;
66-
.#{$button-class},
67-
i, [class^="material-icons"] {
68-
background: transparent;
69-
border-color: transparent;
70-
color: $main-invert-color;
54+
@include button-styles(transparent, $main-font-color) {
55+
&:hover {
56+
background: $button-bg-active;
7157
}
72-
}
58+
};
7359
}
7460
}
7561
// Button Sizes

0 commit comments

Comments
 (0)