mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
316 lines
5.4 KiB
SCSS
316 lines
5.4 KiB
SCSS
.tx-list-container {
|
|
height: 87.5%;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
overflow-y: scroll;
|
|
}
|
|
}
|
|
|
|
.tx-list-header-wrapper {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.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;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.tx-list-header {
|
|
align-self: center;
|
|
font-size: 12px;
|
|
color: $dusty-gray;
|
|
font-family: Roboto;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
.tx-list-header {
|
|
font-size: 16px;
|
|
margin: 1.1em 2.37em .8em;
|
|
}
|
|
|
|
.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: 1 1 auto;
|
|
width: 0;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding: 0 1.3em .8em;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
padding-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.tx-list-clickable {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: rgba($alto, .2);
|
|
}
|
|
}
|
|
|
|
.tx-list-pending-item-container {
|
|
cursor: pointer;
|
|
opacity: .5;
|
|
}
|
|
|
|
.tx-list-date-wrapper {
|
|
margin-top: 6px;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.tx-list-content-wrapper {
|
|
align-items: stretch;
|
|
margin: 4px 0;
|
|
flex: 1 0 auto;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
font-size: 12px;
|
|
|
|
.tx-list-status {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.tx-list-account {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.tx-list-value {
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.tx-list-fiat-value {
|
|
font-size: 12px;
|
|
line-height: 22px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tx-list-item-retry-container {
|
|
background: #d1edff;
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
font-size: .75rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-left: 44px;
|
|
width: calc(100% - 44px);
|
|
padding: 4px;
|
|
cursor: pointer;
|
|
|
|
@media screen and (min-width: 576px) and (max-width: 679px) {
|
|
flex-flow: column;
|
|
align-items: center;
|
|
}
|
|
|
|
@media screen and (min-width: 380px) and (max-width: 575px) {
|
|
flex-flow: row;
|
|
}
|
|
|
|
@media screen and (max-width: 379px) {
|
|
flex-flow: column;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.tx-list-item-retry-link {
|
|
text-decoration: underline;
|
|
margin-left: 6px;
|
|
cursor: pointer;
|
|
|
|
@media screen and (min-width: 576px) and (max-width: 679px) {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
@media screen and (min-width: 380px) and (max-width: 575px) {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
@media screen and (max-width: 379px) {
|
|
margin-left: 0px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.tx-list-date {
|
|
color: $dusty-gray;
|
|
font-size: 12px;
|
|
font-family: Roboto;
|
|
}
|
|
|
|
.tx-list-identicon-wrapper {
|
|
align-self: center;
|
|
flex: 0 0 auto;
|
|
margin-right: 16px;
|
|
display: flex;
|
|
}
|
|
|
|
.tx-list-account-and-status-wrapper {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-flow: row wrap;
|
|
width: 0;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
align-self: center;
|
|
|
|
.tx-list-account-wrapper {
|
|
height: 18px;
|
|
|
|
.tx-list-account {
|
|
line-height: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@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-status--rejected,
|
|
.tx-list-status--failed {
|
|
color: $monzo;
|
|
}
|
|
|
|
.tx-list-status--dropped {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.tx-list-item {
|
|
border-top: 1px solid rgb(231, 231, 231);
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
// margin: 0 1.3em .95em; !important
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
padding: 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-value--confirmed {
|
|
color: $caribbean-green;
|
|
}
|
|
|
|
.tx-list-fiat-value {
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
&--empty {
|
|
text-align: center;
|
|
border-bottom: none !important;
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
.tx-list-details-wrapper {
|
|
overflow: hidden;
|
|
flex: 0 0 35%;
|
|
}
|
|
|
|
.tx-list-value {
|
|
font-size: 16px;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tx-list-fiat-value {
|
|
font-size: 12px;
|
|
line-height: initial;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tx-list-value--confirmed {
|
|
color: $caribbean-green;
|
|
}
|