返回 AiToEarn
bellMessage.module.scss
根目录 / project / aitoearn-electron / src / layout / BellMessage / bellMessage.module.scss
1 .bellMessage {
2 display: flex;
3 width: 600px;
4 height: 500px;
5 :global {
6 .bellMessage-menu {
7 width: 200px;
8 border-right: 1px solid var(--grayColor2);
9 height: 100%;
10 box-sizing: border-box;
11 display: flex;
12 flex-direction: column;
13 .ant-menu {
14 height: 100%;
15 border-right: none;
16 }
17 &-title {
18 font-weight: 900;
19 font-size: var(--fs-sm);
20 color: var(--grayColor10);
21 padding: 0 0 0 18px;
22 margin: 18px 0 10px 0;
23 position: relative;
24 &:after {
25 content: "";
26 display: flex;
27 position: absolute;
28 top: 50%;
29 left: 0;
30 transform: translateY(-50%);
31 width: 2px;
32 height: 70%;
33 background: var(--colorPrimary5);
34 }
35 }
36 }
37
38 .bellMessage-content {
39 box-sizing: border-box;
40 height: 100%;
41 width: 100%;
42 overflow-y: auto;
43 &-item {
44 cursor: pointer;
45 padding: 15px;
46 border-bottom: 1px solid var(--grayColor2);
47 background: transparent;
48 transition: 0.3s;
49 &-title {
50 font-weight: 900;
51 text-overflow: ellipsis;
52 white-space: nowrap;
53 overflow: hidden;
54 width: 100%;
55 }
56 &-des {
57 margin: 5px 0;
58 }
59 &-time {
60 color: var(--grayColor6);
61 font-size: var(--fs-xs);
62 }
63 &:hover {
64 background: var(--grayColor0);
65 }
66 }
67 &-empty {
68 width: 100%;
69 height: 100%;
70 display: flex;
71 justify-content: center;
72 align-items: center;
73 }
74 }
75 }
76 }
77
78 .bellMessagePopover {
79 :global {
80 .ant-popover-inner {
81 padding: 0;
82 }
83 }
84 }
84 lines Plain Text