browser-extension/src/app/components/WalletSend/AddressInput/AddressInput.module.scss
2023-04-19 21:49:00 +02:00

69 lines
No EOL
1.2 KiB
SCSS

@use "sass:math";
.textArea {
position: relative;
}
.textAreaAlias {
position: absolute;
top: 10px;
left: 0;
padding: 0 15px;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
input {
background-color: transparent;
color: #ffffff;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
padding-right: 40px;
}
span {
flex: 0 0 15px;
width: 15px;
height: 15px;
img {
max-width: 100%;
}
}
}
textarea {
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
background-color: #0C0C3A;
width: 100%;
resize: none;
min-height: 41px;
font-weight: 300;
line-height: math.div(21, 18);
color: #ffffff;
padding: 8px 12px 8px 12px;
transition: all 0.1s ease 0s;
transition-property: padding, font-size, color;
overflow: hidden;
&:focus {
border-color: rgba(255, 255, 255, 0.4);
}
&::placeholder {
color: rgba(255, 255, 255, 0.3);
}
&.thinText {
color: rgba(255, 255, 255, 0.5);
font-size: 16px;
padding: 35px 12px 12px 12px;
}
}
.addAliasBtn {
opacity: 0.7;
transition: opacity 0.2s ease 0s;
&.active {
opacity: 1;
pointer-events: auto;
}
}