sass-site/source/assets/css/components/_buttons.scss

34 lines
777 B
SCSS
Raw Normal View History

2018-12-28 01:31:28 +01:00
.sl-c-button {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0;
border: 0 {
radius: sl-px-to-rem(4px);
};
padding: sl-px-to-rem(12px) sl-px-to-rem(16px);
background: $sl-color--iron;
box-shadow: 0 2px 1px rgba($sl-color--midnight-blue, .125);
color: darken($sl-color--hopbush, 10%);
cursor: pointer;
2012-11-28 17:23:08 +01:00
2013-10-11 22:06:20 +02:00
&:hover,
2018-12-28 01:31:28 +01:00
&:focus { color: darken($sl-color--bouquet, 10%); }
2012-11-28 17:23:08 +01:00
2018-12-28 01:31:28 +01:00
&:active { color: darken($sl-color--venus, 10%); }
&--primary {
background-color: darken($sl-color--hopbush, 10%);
&,
&:hover,
&:focus,
&:active { color: $sl-color--white; }
&:hover,
&:focus { background-color: darken($sl-color--bouquet, 10%); }
2013-02-09 04:10:33 +01:00
2018-12-28 01:31:28 +01:00
&:active { background-color: darken($sl-color--venus, 10%); }
}
2013-10-09 12:30:53 +02:00
}