|
- .message-content {
- display: flex;
- flex: 1;
- flex-direction: column;
- min-width: 0;
- height: 100%;
- .backgroundFullImage(url(@/assets/img/message/content-bg.png));
-
- &__tabs {
- display: flex;
- align-items: center;
- height: 76px;
- padding: 0 30px;
- border-bottom: 1px dashed rgba(130, 132, 164, 0.18);
-
- &__item {
- margin-right: 20px;
- color: @text-color-secondary;
- font-size: @font-size;
-
- &--selected,
- &:hover {
- color: @text-color;
- }
- }
- }
-
- &__check-container {
- display: flex;
- align-items: center;
- margin: 16px 0 10px;
- padding-left: 30px;
- color: @text-color-secondary;
- font-size: @font-size;
-
- &__count {
- margin: 0 2px;
- color: @primary-color;
- }
- }
-
- &__list {
- display: flex;
- flex: 1;
- flex-direction: column;
- width: 100%;
- overflow-y: auto;
-
- &__item {
- display: flex;
- align-items: center;
- width: 100%;
- height: 56px;
- padding: 0 30px;
- color: @text-color;
- font-size: @font-size;
-
- &__status {
- flex: none;
- margin-right: 10px;
- padding: 2px 4px;
- font-size: 12px;
- border-radius: 4px;
-
- &--unread {
- color: #d7312a;
- background-color: rgba(215, 49, 42, 0.07);
- }
-
- &--readed {
- color: #2a814b;
- background-color: rgba(42, 129, 75, 0.07);
- }
- }
-
- &__time {
- display: block;
- margin-left: auto;
- color: @text-color-secondary;
- }
-
- &__button {
- display: none;
- flex: none;
- padding-right: 0;
- padding-left: 0;
- color: @primary-color-hover;
- font-size: @font-size;
-
- &:hover {
- color: @primary-color !important;
- }
-
- &:first-of-type {
- margin-right: 10px;
- margin-left: auto;
- }
- }
-
- &:hover {
- color: @primary-color;
- background-color: .addAlpha(@primary-color, 0.05) [];
- }
-
- &:hover &__button {
- display: block;
- }
-
- &:hover &__time {
- display: none;
- }
- }
- }
-
- :global {
- .ant-pagination {
- margin-right: 30px;
- margin-bottom: 40px;
- }
- }
-
- &__empty {
- flex: 1;
- }
- }
|