autocomplete.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * based upon apps/comments/js/vendor/At.js/dist/css/jquery.atwho.css,
  3. * only changed colors and font-weight
  4. */
  5. .atwho-view {
  6. position:absolute;
  7. top: 0;
  8. left: 0;
  9. display: none;
  10. margin-top: 18px;
  11. background: $color-main-background;
  12. color: $color-main-text;
  13. border: 1px solid $color-border;
  14. border-radius: $border-radius;
  15. box-shadow: 0 0 5px $color-box-shadow;
  16. min-width: 120px;
  17. z-index: 11110 !important;
  18. }
  19. .atwho-view .atwho-header {
  20. padding: 5px;
  21. margin: 5px;
  22. cursor: pointer;
  23. border-bottom: solid 1px $color-border;
  24. color: $color-main-text;
  25. font-size: 11px;
  26. font-weight: bold;
  27. }
  28. .atwho-view .atwho-header .small {
  29. color: $color-main-text;
  30. float: right;
  31. padding-top: 2px;
  32. margin-right: -5px;
  33. font-size: 12px;
  34. font-weight: normal;
  35. }
  36. .atwho-view .atwho-header:hover {
  37. cursor: default;
  38. }
  39. .atwho-view .cur {
  40. background: $color-primary;
  41. color: $color-primary-text;
  42. }
  43. .atwho-view .cur small {
  44. color: $color-primary-text;
  45. }
  46. .atwho-view strong {
  47. color: $color-main-text;
  48. font-weight: normal;
  49. }
  50. .atwho-view .cur strong {
  51. color: $color-primary-text;
  52. font-weight: normal;
  53. }
  54. .atwho-view ul {
  55. /* width: 100px; */
  56. list-style:none;
  57. padding:0;
  58. margin:auto;
  59. max-height: 200px;
  60. overflow-y: auto;
  61. }
  62. .atwho-view ul li {
  63. display: block;
  64. padding: 5px 10px;
  65. border-bottom: 1px solid $color-border;
  66. cursor: pointer;
  67. }
  68. .atwho-view small {
  69. font-size: smaller;
  70. color: $color-main-text;
  71. font-weight: normal;
  72. }