diff --git a/customize.dist/src/less2/include/mentions.less b/customize.dist/src/less2/include/mentions.less new file mode 100644 index 000000000..424b8b710 --- /dev/null +++ b/customize.dist/src/less2/include/mentions.less @@ -0,0 +1,31 @@ +@import (reference) "./tools.less"; +@import (reference) "./avatar.less"; + +.mentions_main() { + --LessLoader_require: LessLoader_currentFile(); +} + +& { + .cp-mentions { + .avatar_main(20px); + .tools_unselectable(); + display: inline-flex; + align-items: center; + vertical-align: bottom; + background-color: #eee; + + span.cp-mentions-name { + max-width: 150px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + &.cp-mentions-clickable { + outline: none; + cursor: pointer; + &:hover { + background-color: #ddd; + } + } + } +}