You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.less 2.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .message-content {
  2. display: flex;
  3. flex: 1;
  4. flex-direction: column;
  5. min-width: 0;
  6. height: 100%;
  7. .backgroundFullImage(url(@/assets/img/message/content-bg.png));
  8. &__tabs {
  9. display: flex;
  10. align-items: center;
  11. height: 76px;
  12. padding: 0 30px;
  13. border-bottom: 1px dashed rgba(130, 132, 164, 0.18);
  14. &__item {
  15. margin-right: 20px;
  16. color: @text-color-secondary;
  17. font-size: @font-size;
  18. &--selected,
  19. &:hover {
  20. color: @text-color;
  21. }
  22. }
  23. }
  24. &__check-container {
  25. display: flex;
  26. align-items: center;
  27. margin: 16px 0 10px;
  28. padding-left: 30px;
  29. color: @text-color-secondary;
  30. font-size: @font-size;
  31. &__count {
  32. margin: 0 2px;
  33. color: @primary-color;
  34. }
  35. }
  36. &__list {
  37. display: flex;
  38. flex: 1;
  39. flex-direction: column;
  40. width: 100%;
  41. overflow-y: auto;
  42. &__item {
  43. display: flex;
  44. align-items: center;
  45. width: 100%;
  46. height: 56px;
  47. padding: 0 30px;
  48. color: @text-color;
  49. font-size: @font-size;
  50. &__status {
  51. flex: none;
  52. margin-right: 10px;
  53. padding: 2px 4px;
  54. font-size: 12px;
  55. border-radius: 4px;
  56. &--unread {
  57. color: #d7312a;
  58. background-color: rgba(215, 49, 42, 0.07);
  59. }
  60. &--readed {
  61. color: #2a814b;
  62. background-color: rgba(42, 129, 75, 0.07);
  63. }
  64. }
  65. &__time {
  66. display: block;
  67. margin-left: auto;
  68. color: @text-color-secondary;
  69. }
  70. &__button {
  71. display: none;
  72. flex: none;
  73. padding-right: 0;
  74. padding-left: 0;
  75. color: @primary-color-hover;
  76. font-size: @font-size;
  77. &:hover {
  78. color: @primary-color !important;
  79. }
  80. &:first-of-type {
  81. margin-right: 10px;
  82. margin-left: auto;
  83. }
  84. }
  85. &:hover {
  86. color: @primary-color;
  87. background-color: .addAlpha(@primary-color, 0.05) [];
  88. }
  89. &:hover &__button {
  90. display: block;
  91. }
  92. &:hover &__time {
  93. display: none;
  94. }
  95. }
  96. }
  97. :global {
  98. .ant-pagination {
  99. margin-right: 30px;
  100. margin-bottom: 40px;
  101. }
  102. }
  103. &__empty {
  104. flex: 1;
  105. }
  106. }