cycat-project-website/_sass/components/_buttons.scss

26 lines
677 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
.button {
white-space: nowrap;
display: inline-block;
height: 40px;
line-height: 40px;
padding: 0 14px;
2020-08-23 12:01:06 +02:00
//box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
2018-12-09 08:21:01 +01:00
background: $primary;
border-radius: 4px;
2020-08-23 12:01:06 +02:00
font-size: 14px;
font-weight: normal;
2018-12-09 08:21:01 +01:00
text-transform: uppercase;
letter-spacing: 0.025em;
2020-08-23 12:01:06 +02:00
color: #ffffff;
2018-12-09 08:21:01 +01:00
text-decoration: none;
-webkit-transition: all 0.15s ease;
transition: all 0.15s ease;
&:hover {
2020-08-23 12:01:06 +02:00
color: #ffffff;
2018-12-09 08:21:01 +01:00
background-color: lighten($primary, 10%);
transform: translateY(-1px);
2020-08-23 12:01:06 +02:00
//box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
2018-12-09 08:21:01 +01:00
text-decoration: none;
}
}