inspec/www/source/stylesheets/_buttons.scss

54 lines
1 KiB
SCSS
Raw Normal View History

2017-01-07 04:53:01 +00:00
//Normal Links
a {
font-family: $heading-font;
color: $color_link;
@extend %transition;
}
2016-09-19 22:06:36 +00:00
2017-01-07 04:53:01 +00:00
//All CTA's
.btn {
2017-01-07 04:53:01 +00:00
@extend %transition;
background: transparent;
border: 1px solid transparent;
border-radius: 4px;
color: $color_purple;
padding: 0.6rem 1.25rem;
border-left: 1px solid $color_purple;
border-right: 1px solid $color_link;
box-sizing: border-box;
background-position: 0 0, 0 100%;
background-repeat: no-repeat;
background-size: 100% 1px;
background-image: linear-gradient(to right, $color_purple 0, $color_link 100%), linear-gradient(to right, $color_purple 0, $color_link 100%);
&:hover {
background-color: $color_purple;
color: $color_white;
border-color: $color_purple;
background-image: initial;
}
&.btn-inverse {
color: $color_purple;
&:hover {
background-color: $color_purple;
color: $color_white;
}
}
}
2017-01-07 04:53:01 +00:00
//Form Buttons
button {
@extend %transition;
background: $color_purple;
border: 2px $color-purple;
border-radius: 4px;
color: $color_white;
padding: 0.6rem 1.25rem;
}
button:hover {
opacity:0.8;
}