A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/components/app/collectible-details/index.scss

103 lines
2.0 KiB

$card-width-break-large: 224px;
$link-title-width: 160px;
$spacer-break-large: 24px;
$spacer-break-small: 16px;
.collectible-details {
padding: 0 $spacer-break-small;
@media screen and (min-width: $break-large) {
padding: 0 $spacer-break-large;
}
&__top-section {
display: flex;
flex-direction: column;
margin-bottom: $spacer-break-small;
@media screen and (min-width: $break-large) {
margin-bottom: $spacer-break-large;
flex-direction: row;
}
}
&__info {
@media screen and (min-width: $break-large) {
max-width:
calc(
100% - #{$card-width-break-large} - #{$spacer-break-large}
);
flex: 0 0 calc(100% - #{$card-width-break-large} - #{$spacer-break-large});
}
}
&__card {
overflow: hidden;
margin-bottom: $spacer-break-small;
@media screen and (min-width: $break-large) {
margin-right: $spacer-break-large;
margin-bottom: 0;
max-width: $card-width-break-large;
flex: 0 0 $card-width-break-large;
height: $card-width-break-large;
}
}
&__image {
width: 100%;
object-fit: contain;
}
&__address {
overflow-wrap: break-word;
}
&__contract-wrapper {
max-width: calc(100% - #{$link-title-width});
}
&__contract-copy-button {
@include H6;
width: 80px;
display: flex;
align-items: flex-start;
justify-content: center;
background-color: transparent;
cursor: pointer;
color: var(--ui-4);
border: 0;
&:active {
transform: scale(0.97);
}
}
&__contract-link {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__image-link {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 332px;
}
&__link-title {
flex: 0 0 $link-title-width;
max-width: 0 0 $link-title-width;
}
&__send-button {
margin-inline-end: 8px;
@media screen and (min-width: $break-large) {
max-width: 160px;
}
}
}