[Improvement] Cell: add arrow-direction prop (#1323)

* [Improvement] Cell: add arrow-direction prop

* update
This commit is contained in:
Fyerl
2018-06-28 08:27:24 +08:00
committed by neverland
parent 83ab9b1917
commit f5fc86f182
5 changed files with 23 additions and 3 deletions

View File

@@ -58,6 +58,20 @@
margin-left: 5px;
}
&__arrow {
&--left::before {
transform: rotate(180deg);
}
&--up::before {
transform: rotate(-90deg);
}
&--down::before {
transform: rotate(90deg);
}
}
&--clickable {
&:active {
background-color: $active-color;