_mention.scss 523 B

123456789101112131415161718192021222324252627282930
  1. .mention {
  2. border-radius: 5px;
  3. padding: 0 5px 0 20px;
  4. line-height: 10pt !important;
  5. &.me,
  6. &.all {
  7. background-color: #8b8b8b;
  8. color: #ffffff;
  9. }
  10. &.id {
  11. box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  12. background-color: #e0e0e0;
  13. color: #000000;
  14. }
  15. &::before {
  16. position: relative;
  17. top: -2px;
  18. opacity: .6;
  19. margin-left: -16px;
  20. font-size: 10pt;
  21. content: '@';
  22. }
  23. &.link {
  24. cursor: pointer;
  25. }
  26. }