spaCy/website/assets/css/_components/_buttons.sass

25 lines
570 B
Sass
Raw Normal View History

2016-10-31 18:04:15 +00:00
//- 💫 CSS > COMPONENTS > BUTTONS
2016-10-03 18:19:13 +00:00
.c-button
display: inline-block
font-weight: bold
2016-10-31 18:04:15 +00:00
padding: 0.75em 1em
2016-10-03 18:19:13 +00:00
border: 2px solid
2016-10-31 18:04:15 +00:00
border-radius: 2px
text-align: center
transition: background 0.25s ease
2016-10-03 18:19:13 +00:00
&.c-button--primary
background: $color-theme
color: $color-back
border-color: $color-theme
2016-10-31 18:04:15 +00:00
&:hover
background: $color-theme-dark
border-color: $color-theme-dark
2016-10-03 18:19:13 +00:00
&.c-button--secondary
background: $color-back
color: $color-theme
border-color: $color-theme