2021-11-03 11:53:26 +01:00
|
|
|
button,
|
|
|
|
submit{
|
|
|
|
box-sizing: border-box;
|
2021-11-08 12:26:21 +01:00
|
|
|
cursor: pointer;
|
2021-11-03 11:53:26 +01:00
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
transition: 0.3s;
|
2021-11-03 11:53:26 +01:00
|
|
|
|
|
|
|
// Button sizes
|
|
|
|
&.small{
|
|
|
|
padding: 5px 32px;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
&.medium{
|
|
|
|
padding: 10px 32px;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
&.large{
|
|
|
|
padding: 12px 32px;
|
|
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Button colors
|
|
|
|
&.blue{
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
background-color: $blue;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($blue, 3%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.white-blue{
|
|
|
|
color: $blue;
|
|
|
|
|
|
|
|
background-color: $white;
|
|
|
|
border: 1px $blue solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($white, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.white-black{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $white;
|
|
|
|
border: 1px $black solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($white, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.gray{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $gray;
|
|
|
|
border: 1px $black solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.yellow{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $yellow;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($yellow, 2%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.red{
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
background-color: $red;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($red, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
}
|