UI/UX - Fix arrow position. (#627)

* Fix arrow position.

* Add arrows from font-awesome.

* Add icons to bisq transfers.

* Fix icon size in mobile view.
This commit is contained in:
Miguel Medeiros
2021-07-15 17:23:37 -03:00
committed by GitHub
parent ecbd18087b
commit 52aea12f22
5 changed files with 64 additions and 123 deletions

View File

@@ -1,63 +1,25 @@
.arrow-td {
width: 22px;
width: 20px;
}
.green, .grey, .red {
font-size: 16px;
top: -2px;
position: relative;
@media( min-width: 576px){
font-size: 19px;
}
}
.green {
color:#28a745;
}
.arrow {
display: inline-block!important;
position: absolute;
width: 14px;
margin-top: 10px;
margin-left: -5px;
box-sizing: content-box
.red {
color:#dc3545;
}
.arrow:before {
position: absolute;
content: '';
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: calc(-1*30px/3);
width: 0;
height: 0;
border-top: 6.66px solid transparent;
border-bottom: 6.66px solid transparent
}
.arrow:after {
position: absolute;
content: '';
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: calc(30px/6);
width: calc(30px/3);
height: calc(20px/3);
background: rgba(0, 0, 0, 0);
}
.arrow.green:before {
border-left: 10px solid #28a745;
}
.arrow.green:after {
background-color:#28a745;
}
.arrow.red:before {
border-left: 10px solid #dc3545;
}
.arrow.red:after {
background-color:#dc3545;
}
.arrow.grey:before {
border-left: 10px solid #6c757d;
}
.arrow.grey:after {
background-color:#6c757d;
.grey {
color:#6c757d;
}
.mobile-bottomcol {