mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
194 lines
3.3 KiB
SCSS
194 lines
3.3 KiB
SCSS
.tx-list-container {
|
|
height: 87.5%;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
overflow-y: scroll;
|
|
}
|
|
}
|
|
|
|
.tx-list-header {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
.tx-list-header-wrapper {
|
|
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;
|
|
margin: 1.5em 2.37em;
|
|
}
|
|
|
|
.tx-list-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.tx-list-content-divider {
|
|
height: 1px;
|
|
background: rgb(231, 231, 231);
|
|
flex: 0 0 1px;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
margin: .1em 0;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
margin: .1em 2.37em;
|
|
}
|
|
}
|
|
|
|
.tx-list-item-wrapper {
|
|
flex: 0 0 70px;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding: 0 1.3em .95em;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
// margin: 0 2.37em;
|
|
}
|
|
}
|
|
|
|
.tx-list-clickable {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: rgba($alto, .2);
|
|
}
|
|
}
|
|
|
|
.tx-list-pending-item-container {
|
|
cursor: pointer;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.tx-list-date-wrapper {
|
|
flex: 1 1 auto;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
margin-top: 6px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
margin-top: 13px;
|
|
}
|
|
}
|
|
|
|
.tx-list-content-wrapper {
|
|
align-items: stretch;
|
|
margin-bottom: 4px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.tx-list-date {
|
|
color: $dusty-gray;
|
|
font-size: 12px;
|
|
font-family: "Montserrat UltraLight";
|
|
}
|
|
|
|
.tx-list-identicon-wrapper {
|
|
align-self: center;
|
|
flex: 0 0 auto;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
|
|
.tx-list-account-wrapper {
|
|
flex: 1.3 2 auto;
|
|
min-width: 153px;
|
|
}
|
|
|
|
.tx-list-status-wrapper {
|
|
flex: 6 6 auto;
|
|
}
|
|
}
|
|
|
|
.tx-list-account {
|
|
font-size: 16px;
|
|
color: $scorpion;
|
|
}
|
|
|
|
.tx-list-status {
|
|
color: $dusty-gray;
|
|
font-size: 16px;
|
|
text-transform: capitalize;
|
|
}
|
|
}
|
|
|
|
.tx-list-item {
|
|
border-top: 1px solid rgb(231, 231, 231);
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
margin: 0 1.3em .95em;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
margin: 0 2.37em;
|
|
}
|
|
|
|
&:last-of-type {
|
|
border-bottom: 1px solid rgb(231, 231, 231);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
&__wrapper {
|
|
align-self: center;
|
|
flex: 2 2 auto;
|
|
color: $dusty-gray;
|
|
|
|
.tx-list-value {
|
|
font-size: 16px;
|
|
text-align: right;
|
|
}
|
|
|
|
.tx-list-fiat-value {
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
&--empty {
|
|
text-align: center;
|
|
border-bottom: none !important;
|
|
padding: 16px;
|
|
}
|
|
}
|