From fd348dc4e24ab2657901de657724869b1a7ca920 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 28 Apr 2020 15:56:57 +0200 Subject: [PATCH] Add missing less file --- .../src/less2/include/mentions.less | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 customize.dist/src/less2/include/mentions.less 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; + } + } + } +}