ten-design-vue
Version:
ten-vue
109 lines (108 loc) • 2.01 kB
CSS
/* dependencies input,icon,loading */
/**
* 文字部分
* size 大小,line 行高, color 颜色
*/
/* button */
/* input */
/* transfer */
/* alert */
/* menu */
/* message */
/* modal */
/* badge */
/* tag */
/* progress */
/* popup */
/* tooltip */
/* loading */
/* tabs */
/* check */
/* mention */
/* popup */
/* steps */
/* tabs */
/* modal */
/* form */
/* table */
/* pagination */
/* upload */
/* collapse */
/* anchor */
/* list */
.ten-mention {
position: relative;
cursor: pointer;
}
.ten-mention .ten-input-textarea textarea {
resize: none;
}
.ten-mention-options {
max-height: 400px;
overflow-y: auto;
outline: none;
}
.ten-mention-option {
padding: 0 10px;
line-height: 48px;
cursor: pointer;
}
.ten-mention-option .ten-checkbox {
margin-right: 8px;
}
.ten-mention-option--mentioned {
color: #0052d9;
}
.ten-mention-option:hover:not(.ten-mention-option--disabled),
.ten-mention-option:focus:not(.ten-mention-option--disabled),
.ten-mention-option.ten-mention-option--focused:not(.ten-mention-option--disabled) {
background: #e8f1ff;
}
.ten-mention-option--disabled {
color: #c0c0c0;
cursor: not-allowed;
}
.ten-mention__spy,
.ten-mention__textarea {
overflow-x: hidden;
overflow-y: auto;
word-wrap: break-word;
white-space: pre-wrap;
}
.ten-mention__spy {
min-height: 34px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 9px 8px;
line-height: 16.1px;
z-index: -1;
color: transparent;
text-align: left;
pointer-events: none;
}
.ten-mention__popup-content {
position: relative;
}
.ten-mention__popup.ten-popup {
padding: 0;
}
.ten-mention__popup--size-small .ten-mention-option {
line-height: 40px;
}
.ten-mention__popup--loading .ten-mention__popup-content {
min-height: 48px;
}
.ten-mention__popup .ten-mention__empty {
padding: 0 10px;
text-align: center;
color: #999;
line-height: 48px;
}
.ten-mention__popup .ten-mention__loading {
position: relative;
width: 80px;
height: 48px;
}