stylesheet: add a "small" button variant

This commit is contained in:
Pierre de La Morinerie 2019-02-18 16:42:32 +00:00
parent 2f30b37afe
commit d159d72aab
2 changed files with 10 additions and 0 deletions

View file

@ -100,6 +100,11 @@
}
}
&.small {
line-height: 14px;
padding: 5px 10px 6px 10px;
}
&.large {
font-size: 18px;
line-height: 26px;

View file

@ -78,6 +78,11 @@
= link_to ".button.without-continuation", "#", class: "button without-continuation"
%p
= link_to ".button.small", "#", class: "button small"
= link_to ".button.small.primary", "#", class: "button small primary"
%p
= link_to ".button.large", "#", class: "button large"