2019-03-22 00:03:30 +01:00
|
|
|
@import 'token-list-placeholder/index';
|
2018-05-20 08:04:19 +02:00
|
|
|
|
|
|
|
.token-list {
|
|
|
|
&__title {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H7;
|
2018-05-20 08:04:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__tokens-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__token {
|
|
|
|
transition: 200ms ease-in-out;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 10px;
|
|
|
|
cursor: pointer;
|
2020-10-30 19:31:42 +01:00
|
|
|
border: 1px solid transparent;
|
2018-05-20 08:04:19 +02:00
|
|
|
position: relative;
|
|
|
|
|
2020-11-05 19:05:41 +01:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2022-03-24 15:45:16 +01:00
|
|
|
border-color: var(--color-primary-muted);
|
2018-05-20 08:04:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
2022-03-24 15:45:16 +01:00
|
|
|
border-color: var(--color-primary-default) !important;
|
2018-05-20 08:04:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled {
|
2020-07-15 15:13:40 +02:00
|
|
|
opacity: 0.4;
|
2018-05-20 08:04:19 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__token-icon {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
border-radius: 50%;
|
2022-03-24 15:45:16 +01:00
|
|
|
background-color: var(--color-background-default);
|
2020-07-15 15:13:40 +02:00
|
|
|
box-shadow: 0 2px 4px 0 rgba($black, 0.24);
|
2018-05-20 08:04:19 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__token-data {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__token-name {
|
2019-09-03 19:47:54 +02:00
|
|
|
/*rtl:ignore*/
|
|
|
|
direction: ltr;
|
2018-05-20 08:04:19 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|