mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-03 21:00:55 +00:00
94 lines
2.4 KiB
Plaintext
94 lines
2.4 KiB
Plaintext
.receive {
|
|
|
|
.address {
|
|
position: relative;
|
|
padding: 0px 48px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.value {
|
|
// same as input (inputs.less)
|
|
font-size: 14px;
|
|
font-weight: 300;
|
|
line-height: 1.42857143;
|
|
font-family: @font-family-monospace;
|
|
color: @color_text_primary;
|
|
border: 1px solid @color_divider;
|
|
border-radius: 3px;
|
|
padding: 6px 12px;
|
|
padding-right: 38px; // eye icon
|
|
position: relative;
|
|
flex: 1;
|
|
user-select: all; /* Chrome and Opera */
|
|
}
|
|
|
|
button {
|
|
padding: 6px 24px;
|
|
|
|
&.white {
|
|
padding: 0px;
|
|
border: 0px;
|
|
position: absolute;
|
|
height: 100%;
|
|
background: transparent;
|
|
right: 48px;
|
|
}
|
|
|
|
span {
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
&:before {
|
|
.icomoon-eye;
|
|
font-size: 32px;
|
|
line-height: 14px;
|
|
// padding-top: 2px;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
&.hidden {
|
|
.value {
|
|
padding-right: 6px; // no eye icon
|
|
user-select: none;
|
|
border-radius: 3px 0px 0px 3px;
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: linear-gradient(to right,
|
|
rgba(255,255,255, 0) 0%,
|
|
rgba(255,255,255, 1) 220px
|
|
);
|
|
pointer-events: none; /* so the text is still selectable */
|
|
}
|
|
}
|
|
|
|
button {
|
|
border-radius: 0px 3px 3px 0px;
|
|
}
|
|
}
|
|
|
|
&.unverified {
|
|
button span:before {
|
|
.icomoon-eye-error;
|
|
color: @color_error_primary;
|
|
font-size: 32px;
|
|
line-height: 14px;
|
|
padding-top: 0px;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.qr {
|
|
margin: 24px 48px;
|
|
}
|
|
} |