1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-18 07:23:21 +01:00
metamask-extension/ui/app/css/itcss/components/token-list.scss

102 lines
1.8 KiB
SCSS
Raw Normal View History

2017-09-06 12:17:49 +02:00
$wallet-balance-breakpoint: 890px;
$wallet-balance-breakpoint-range: "screen and (min-width: #{$break-large}) and (max-width: #{$wallet-balance-breakpoint})";
2017-09-05 10:48:52 +02:00
.token-list-item {
display: flex;
flex-flow: row nowrap;
align-items: center;
padding: 20px 24px;
cursor: pointer;
2017-09-06 12:17:49 +02:00
transition: linear 200ms;
background-color: rgba($wallet-balance-bg, 0);
2017-09-29 12:10:50 +02:00
position: relative;
2017-09-06 12:17:49 +02:00
&__token-balance {
2018-01-11 06:09:09 +01:00
font-size: 1.5rem;
@media #{$wallet-balance-breakpoint-range} {
font-size: 105%;
}
}
&__fiat-amount {
margin-top: .25%;
font-size: 105%;
text-transform: uppercase;
@media #{$wallet-balance-breakpoint-range} {
font-size: 95%;
}
}
2017-09-06 12:17:49 +02:00
@media #{$wallet-balance-breakpoint-range} {
padding: 10% 4%;
}
&--active {
2018-01-11 06:09:09 +01:00
background-color: $manatee;
color: $white;
2017-09-06 12:17:49 +02:00
}
2017-09-05 10:48:52 +02:00
&__identicon {
margin-right: 15px;
border: '1px solid #dedede';
@media #{$wallet-balance-breakpoint-range} {
margin-right: 4%;
}
2017-09-05 10:48:52 +02:00
}
2017-09-29 12:10:50 +02:00
&__ellipsis {
2017-10-10 23:43:06 +02:00
// position: absolute;
// top: 20px;
// right: 24px;
line-height: 45px;
}
&__balance-wrapper {
flex: 1 1 auto;
2017-09-29 12:10:50 +02:00
}
2017-09-05 10:48:52 +02:00
}
2017-09-29 12:10:50 +02:00
.token-menu-dropdown {
height: 55px;
width: 191px;
border-radius: 4px;
background-color: rgba(0, 0, 0, .82);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .5);
position: absolute;
top: 60px;
right: 25px;
2017-10-24 00:57:14 +02:00
z-index: 2000;
2017-09-29 12:10:50 +02:00
&__close-area {
position: fixed;
top: 0;
left: 0;
2017-10-24 00:57:14 +02:00
z-index: 2100;
2017-09-29 12:10:50 +02:00
width: 100%;
height: 100%;
2017-10-24 00:57:14 +02:00
cursor: default;
2017-09-29 12:10:50 +02:00
}
&__container {
padding: 16px 34px 32px;
2017-10-24 00:57:14 +02:00
z-index: 2200;
2017-09-29 12:10:50 +02:00
position: relative;
}
&__options {
display: flex;
flex-direction: column;
justify-content: center;
}
&__option {
color: $white;
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-09-29 12:10:50 +02:00
font-size: 16px;
line-height: 21px;
text-align: center;
}
}