返回 AiToEarn
finance.module.scss
根目录 / project / aitoearn-electron / src / views / finance / finance.module.scss
1 .publish {
2 width: 100%;
3 height: 100%;
4 display: flex;
5
6 :global {
7 .ant-segmented {
8 padding: 30px 10px;
9
10 .ant-segmented-item {
11 margin-bottom: 5px;
12 padding: 3px 40px 3px 0;
13 }
14 }
15 }
16 }
17
18 .finance {
19 height: 100%;
20 display: flex;
21 flex-direction: column;
22 background-color: #f5f5f5;
23 padding: 18px;
24
25 .header {
26 margin-bottom: 24px;
27
28 .balanceCard {
29 background: linear-gradient(135deg, #a66ae4 0%, #36cfcf 100%);
30 color: white;
31 border-radius: 12px;
32 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
33 padding: 12px;
34
35 .balanceLabel {
36 color: rgba(255, 255, 255, 0.8);
37 font-size: 16px;
38 }
39
40 .balanceAmount {
41 color: white;
42 margin: 0;
43 font-size: 32px;
44 }
45
46 .walletIcon {
47 font-size: 38px;
48 color: rgba(255, 255, 255, 0.8);
49 }
50 }
51 }
52
53 .content {
54 flex: 1;
55 display: flex;
56 gap: 24px;
57 background: white;
58 border-radius: 12px;
59 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
60 padding: 24px;
61
62 .sidebar {
63 width: 200px;
64 border-right: 1px solid #f0f0f0;
65 padding-right: 24px;
66
67 :global {
68 .ant-segmented {
69 background: transparent;
70 padding: 0;
71 width: 100%;
72 display: flex;
73 flex-direction: column;
74
75 .ant-segmented-item {
76 width: 100%;
77 margin: 8px 0;
78 padding: 14px 20px;
79 border-radius: 12px;
80 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
81 position: relative;
82 overflow: hidden;
83
84 &:hover {
85 background-color: rgba(24, 144, 255, 0.08);
86 transform: translateX(4px);
87
88 &::after {
89 content: '';
90 position: absolute;
91 right: 0;
92 top: 0;
93 height: 100%;
94 width: 3px;
95 background: #1890ff;
96 border-radius: 2px;
97 }
98 }
99
100 .ant-segmented-item-label {
101 display: flex;
102 align-items: center;
103 gap: 12px;
104 font-size: 15px;
105 color: #666;
106
107 .anticon {
108 font-size: 20px;
109 color: #1890ff;
110 opacity: 0.8;
111 }
112 }
113 }
114
115 .ant-segmented-item-selected {
116 background-color: #e6f7ff;
117 box-shadow: 0 2px 12px rgba(24, 144, 255, 0.12);
118
119 &::after {
120 content: '';
121 position: absolute;
122 right: 0;
123 top: 0;
124 height: 100%;
125 width: 3px;
126 background: #1890ff;
127 border-radius: 2px;
128 }
129
130 .ant-segmented-item-label {
131 color: #1890ff;
132 font-weight: 500;
133
134 .anticon {
135 opacity: 1;
136 }
137 }
138 }
139 }
140 }
141 }
142
143 .outlet {
144 flex: 1;
145 padding: 0 24px;
146 }
147 }
148 }
148 lines Plain Text