|
|
@ -40,28 +40,23 @@
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
background-color: @cp_token-bg;
|
|
|
|
white-space: nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 2px 0;
|
|
|
|
margin: 2px 0;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
height: 24px;
|
|
|
|
height: 24px;
|
|
|
|
vertical-align: middle;
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: default;
|
|
|
|
cursor: default;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_token-fg;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
background-color: @cp_token-bg-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.invalid {
|
|
|
|
&.invalid {
|
|
|
|
background: none;
|
|
|
|
background: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom: 1px dotted #d9534f;
|
|
|
|
border-bottom: 1px dotted @cp_token-invalid;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid.active {
|
|
|
|
|
|
|
|
background: #ededed;
|
|
|
|
|
|
|
|
border: 1px solid #ededed;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.token-label {
|
|
|
|
.token-label {
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
@ -82,15 +77,8 @@
|
|
|
|
vertical-align: middle;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-right: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
|
|
|
|
border-color: rgba(82, 168, 236, 0.8);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.duplicate {
|
|
|
|
|
|
|
|
border-color: #ebccd1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.token-input {
|
|
|
|
.token-input {
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
border: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|