Merged amount directive.

This commit is contained in:
Brendon Duncan 2018-07-31 13:28:16 +12:00
commit 2987d17e11
4 changed files with 125 additions and 0 deletions

View file

@ -0,0 +1,35 @@
.amount {
.start,
.middle,
.end,
.currency {
display: inline-block;
}
.start {
font-size: 1em;
}
.middle {
font-size: 0.7857em;
margin-left: 5px;
}
.end {
font-size: 0.7857em;
margin-left: 5px;
}
&.size-equal {
.middle,
.end {
font-size: 1em;
}
}
.currency {
font-size: 1em;
margin-left: 5px;
text-transform: uppercase;
}
}

View file

@ -0,0 +1 @@
@import "amount.scss";