mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 04:46:10 +01:00
23 lines
449 B
SCSS
23 lines
449 B
SCSS
|
.collectible-default {
|
||
|
background-color: var(--color-background-alternative);
|
||
|
padding-top: 100%; // retains 1:1 aspect ratio
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
|
||
|
&__text {
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
text-align: center;
|
||
|
position: absolute;
|
||
|
white-space: nowrap;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
width: calc(100% - 32px);
|
||
|
}
|
||
|
|
||
|
&--clickable {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
}
|