123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- @import (reference) '~antd/es/style/themes/index';
-
- .list {
- max-height: 400px;
- overflow: auto;
- &::-webkit-scrollbar {
- display: none;
- }
- .item {
- padding-right: 24px;
- padding-left: 24px;
- overflow: hidden;
- cursor: pointer;
- transition: all 0.3s;
-
- .meta {
- width: 100%;
- }
-
- .avatar {
- margin-top: 4px;
- background: @component-background;
- }
- .iconElement {
- font-size: 32px;
- }
-
- &.read {
- opacity: 0.4;
- }
- &:last-child {
- border-bottom: 0;
- }
- &:hover {
- background: @primary-1;
- }
- .title {
- margin-bottom: 8px;
- font-weight: normal;
- }
- .description {
- font-size: 12px;
- line-height: @line-height-base;
- }
- .datetime {
- margin-top: 4px;
- font-size: 12px;
- line-height: @line-height-base;
- }
- .extra {
- float: right;
- margin-top: -1.5px;
- margin-right: 0;
- color: @text-color-secondary;
- font-weight: normal;
- }
- }
- .loadMore {
- padding: 8px 0;
- color: @primary-6;
- text-align: center;
- cursor: pointer;
- &.loadedAll {
- color: rgba(0, 0, 0, 0.25);
- cursor: unset;
- }
- }
- }
-
- .notFound {
- padding: 73px 0 88px;
- color: @text-color-secondary;
- text-align: center;
- img {
- display: inline-block;
- height: 76px;
- margin-bottom: 16px;
- }
- }
-
- .bottomBar {
- height: 46px;
- color: @text-color;
- line-height: 46px;
- text-align: center;
- border-top: 1px solid @border-color-split;
- border-radius: 0 0 @border-radius-base @border-radius-base;
- transition: all 0.3s;
- div {
- display: inline-block;
- width: 50%;
- cursor: pointer;
- transition: all 0.3s;
- user-select: none;
-
- &:only-child {
- width: 100%;
- }
- &:not(:only-child):last-child {
- border-left: 1px solid @border-color-split;
- }
- }
- }
|