返回 AiToEarn
pubRecord.module.scss
根目录 / project / aitoearn-electron / src / views / publish / children / pubRecord / pubRecord.module.scss
1 .pubRecord {
2 width: 100%;
3 min-width: 0;
4 padding: 20px;
5 box-sizing: border-box;
6 :global {
7 .pubRecord-options {
8 margin-bottom: 10px;
9 }
10 .pubRecord-record {
11 margin-top: 20px;
12 display: flex;
13 flex-wrap: wrap;
14 &-item {
15 background: rgb(247, 250, 250);
16 padding: 15px 15px 5px 15px;
17 border-radius: 6px;
18 box-sizing: border-box;
19 position: relative;
20 width: calc(50% - 8px);
21 margin-bottom: 16px;
22 &:nth-child(even) {
23 margin-left: 16px;
24 }
25 &-btns {
26 display: flex;
27 justify-content: right;
28 min-height: 30px;
29 button {
30 margin: 0;
31 padding: 0;
32 }
33 }
34 &-status {
35 position: absolute;
36 top: 0;
37 right: 0;
38 font-size: var(--fs-xs);
39 padding: 2px 5px;
40 border-radius: 6px 6px 0 6px;
41 }
42 &--success {
43 background: rgb(218, 245, 233);
44 color: var(--successColor);
45 }
46 &--processing {
47 background: #e6f4ff;
48 color: #1677ff;
49 }
50 &--fail {
51 background-color: #ffcccc;
52 color: var(--errerColor);
53 }
54 &-con {
55 display: flex;
56 &-avatar {
57 position: relative;
58 margin-right: 10px;
59 & > img {
60 width: 15px;
61 position: absolute;
62 border-radius: 50%;
63 bottom: 0;
64 right: 0;
65 }
66 }
67 }
68 &-failMsg {
69 white-space: nowrap;
70 overflow: hidden;
71 text-overflow: ellipsis;
72 width: 100%;
73 font-size: var(--fs-xs);
74 color: #ff0000;
75 }
76 &-userinfo {
77 overflow: hidden;
78 text-overflow: ellipsis;
79 &-time {
80 font-size: var(--fs-xs);
81 margin-top: 3px;
82 color: #b4b4b4;
83 }
84 }
85 }
86 }
87 }
88 }
89
90 .pubRecord-component {
91 :global {
92 tr {
93 cursor: pointer;
94 }
95 }
96 }
97
98 .pubRecord-pubCon {
99 display: flex;
100 align-items: center;
101 :global {
102 .ant-image {
103 flex-shrink: 0;
104 margin-right: 10px;
105 img {
106 object-fit: cover;
107 }
108 }
109 .pubRecord-pubCon-name {
110 white-space: nowrap;
111 overflow: hidden;
112 text-overflow: ellipsis;
113 }
114 }
115 }
116
116 lines Plain Text