1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/css/itcss/components/transaction-list.scss

142 lines
2.4 KiB
SCSS
Raw Normal View History

.tx-list-container {
height: 87.5%;
2017-08-14 10:31:27 +02:00
@media screen and (min-width: $break-large) {
overflow-y: scroll;
}
}
@media screen and (max-width: $break-small) {
.tx-list-header-wrapper {
2017-08-14 10:31:27 +02:00
margin-top: .2em;
margin-bottom: .6em;
// TODO: Resolve Layout Conflicst in Wallet View
// - This fixes txlist "transactions" title dispay
// margin-top: 0.2em;
// margin-bottom: 0.6em;
justify-content: center;
}
.tx-list-header {
align-self: center;
font-size: 12px;
color: $dusty-gray;
}
}
@media screen and (min-width: $break-large) {
.tx-list-header-wrapper {
flex: 0 0 55px;
}
.tx-list-header {
font-size: 16px;
2017-08-14 10:31:27 +02:00
margin: 1.8em 1.3em;
}
}
.tx-list-content-divider {
height: 1px;
background: rgb(231, 231, 231);
flex: 0 0 1px;
@media screen and (max-width: $break-small) {
2017-08-14 10:31:27 +02:00
margin: .1em 0;
}
@media screen and (min-width: $break-large) {
2017-08-14 10:31:27 +02:00
margin: .1em 1.3em;
}
}
2017-08-11 04:55:01 +02:00
.tx-list-item-wrapper {
flex: 0 0 70px;
2017-08-11 04:55:01 +02:00
align-items: stretch;
justify-content: flex-start;
@media screen and (max-width: $break-small) {
2017-08-14 10:31:27 +02:00
margin: 0 1.3em .95em;
}
@media screen and (min-width: $break-large) {
2017-08-14 10:31:27 +02:00
margin: 0 1.3em;
}
2017-08-11 04:55:01 +02:00
}
.tx-list-date-wrapper {
2017-08-14 10:31:27 +02:00
flex: 1 1 auto;
@media screen and (max-width: $break-small) {
margin-top: 6px;
margin-bottom: 20px;
}
2017-08-14 10:31:27 +02:00
@media screen and (min-width: $break-large) {
margin-top: 6px;
}
2017-08-11 04:55:01 +02:00
}
.tx-list-content-wrapper {
align-items: stretch;
margin-bottom: 8px;
2017-08-11 04:55:01 +02:00
}
.tx-list-date {
color: $dusty-gray;
font-size: 14px;
2017-08-11 04:55:01 +02:00
}
.tx-list-identicon-wrapper {
align-self: center;
2017-08-11 04:55:01 +02:00
flex: 1 1 auto;
margin-left: 3px;
2017-08-11 04:55:01 +02:00
}
.tx-list-account-and-status-wrapper {
display: flex;
flex: 8 8 auto;
@media screen and (max-width: $break-small) {
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
align-self: center;
}
2017-08-11 04:55:01 +02:00
@media screen and (min-width: $break-large) {
flex-direction: row;
justify-content: flex-start;
align-items: center;
2017-08-11 04:55:01 +02:00
.tx-list-account-wrapper {
flex: 2 2 auto;
}
.tx-list-status-wrapper {
flex: 6 6 auto;
}
}
.tx-list-account {
font-size: 16px;
}
.tx-list-status {
color: $dusty-gray;
font-size: 16px;
}
2017-08-11 04:55:01 +02:00
}
.tx-list-details-wrapper {
align-self: center;
2017-08-11 04:55:01 +02:00
flex: 2 2 auto;
.tx-list-value {
font-size: 16px;
}
.tx-list-fiat-value {
font-size: 12px;
}
2017-08-14 10:31:27 +02:00
}