Fix tags UI

pull/1/head
yflory 5 years ago
parent f478c313c8
commit e93339769f

@ -1,3 +1,4 @@
@import (reference) "./colortheme-all.less";
@import (reference) "./tools.less"; @import (reference) "./tools.less";
.tokenfield_main () { .tokenfield_main () {
@ -21,22 +22,19 @@
width: ~"calc(100% - 20px)"; width: ~"calc(100% - 20px)";
.token { .token {
box-sizing: border-box; box-sizing: border-box;
border-radius: 3px;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
border: 1px solid #d9d9d9; background-color: rgba(0, 0, 0, 0.1);
background-color: #ededed;
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: #222;
&:hover { &:hover {
border-color: #b9b9b9; background-color: rgba(0, 0, 0, 0.2);
} }
&.invalid { &.invalid {
background: none; background: none;
@ -57,6 +55,7 @@
vertical-align: middle; vertical-align: middle;
} }
.close { .close {
opacity: 1;
font-family: Arial; font-family: Arial;
display: inline-block; display: inline-block;
line-height: 1.49em; line-height: 1.49em;

Loading…
Cancel
Save