返回 AiToEarn
navigation.module.scss
根目录 / project / aitoearn-electron / src / layout / Navigation / navigation.module.scss
1 .navigation {
2 background: var(--gradientBackColor);
3 display: flex;
4 justify-content: space-between;
5 align-items: center;
6 flex-shrink: 0;
7 padding: 0 15px;
8
9 :global {
10 .navigation-userinfo {
11 flex-shrink: 0;
12 display: flex;
13 align-items: center;
14 .navigation-line {
15 width: 1px;
16 height: 15px;
17 background: #fff;
18 margin: 0 15px;
19 }
20 }
21
22 .navigation-icon {
23 display: flex;
24 flex-direction: column;
25 justify-content: center;
26 align-items: center;
27 color: #fff;
28 cursor: pointer;
29 .anticon {
30 font-size: var(--fs-xl);
31 }
32 &-text {
33 font-size: var(--fs-xs);
34 }
35 }
36
37 .navigation_drag {
38 width: 100%;
39 height: 100%;
40 user-select: none;
41 -webkit-app-region: drag;
42 }
43
44 .navigation_left {
45 display: flex;
46 align-items: center;
47 flex-shrink: 0;
48 .navigation-logo {
49 color: #fff;
50 font-weight: 900;
51 display: flex;
52 align-items: center;
53 margin-right: 20px;
54 font-size: var(--fs-lg);
55 user-select: none;
56 -webkit-app-region: drag;
57 img {
58 margin-right: 4px;
59 }
60 }
61
62 .navigation-list {
63 display: flex;
64 &-text {
65 display: block;
66 margin-top: 3px;
67 white-space: nowrap;
68 }
69 &-item {
70 .anticon {
71 font-size: 20px;
72 }
73 a {
74 width: 101px;
75 box-sizing: border-box;
76 color: #fff;
77 display: flex;
78 flex-direction: column;
79 align-items: center;
80 padding: 10px 15px;
81 font-size: var(--fs-sm);
82 }
83
84 &--active {
85 background: rgba(255, 255, 255, 0.05);
86 }
87 }
88 }
89 }
90 }
91 }
92
93 .navigation-win32 {
94 //padding-right: 140px;
95 padding-right: 0;
96 :global {
97 .navigation-userinfo {
98 margin-right: 10px;
99 }
100 }
101 }
102
103 .navigation-darwin {
104 padding-left: 80px;
105 }
106
106 lines Plain Text