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

53 lines
1.1 KiB
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
2017-10-03 12:14:52 +00:00
padding: 0.8em 1.1em 1em
margin-bottom: 1px
2017-10-03 12:14:52 +00:00
border: 2px solid $color-theme
border-radius: 2em
2016-10-31 18:04:15 +00:00
text-align: center
2017-10-03 12:14:52 +00:00
transition: background-color, color 0.25s ease
&:hover
border-color: $color-theme-dark
&.c-button--small
font-size: 1.1rem
padding: 0.65rem 1.1rem 0.825rem
2016-10-03 18:19:13 +00:00
&.c-button--primary
background: $color-theme
color: $color-back
2016-10-31 18:04:15 +00:00
&:hover
background: $color-theme-dark
2016-10-03 18:19:13 +00:00
&.c-button--secondary
background: $color-back
color: $color-theme
2017-10-03 12:14:52 +00:00
&:hover
color: $color-theme-dark
&.c-button--secondary-light
background: transparent
color: $color-back
border-color: $color-back
.c-icon-button
@include size(35px)
background: $color-subtle-light
color: $color-subtle-dark
border-radius: 50%
padding: 0.5rem
transition: color 0.2s ease
&:hover
color: $color-theme
&.c-icon-button--right
float: right
margin-left: 3rem