1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
| @import '../../styles/public.less';
|
| .layout {
| position: relative;
| width: 100%;
| height: 100%;
|
| &-header {
| height: 48px;
| min-height: 48px;
| background-color: #ffffff;
| display: flex;
|
| &-logo {
| padding: 0 24px;
| min-width: 200px;
| text-align: center;
| line-height: 48px;
| }
|
| &-menu {
| flex: 1;
| display: flex;
|
| &-item {
| padding: 0 24px;
| height: 48px;
| line-height: 48px;
| }
|
| &-active {
| background-color: @red-1;
| color: @main-color;
| }
| }
|
| &-user {
| display: flex;
| padding-right: 24px;
|
| &-item {
| padding: 0 16px;
| height: 48px;
| line-height: 48px;
|
| svg {
| font-size: 16px;
| }
|
| &:hover {
| background-color: @red-1;
| cursor: pointer;
| }
| }
|
| &-avatar {
| display: flex;
| align-items: center;
| padding: 0 16px;
| height: 48px;
|
| &:hover {
| background-color: @red-1;
| cursor: pointer;
| }
| }
|
| &-name,
| &-unit {
| margin-left: 8px;
| overflow: hidden;
| text-overflow: ellipsis;
| white-space: nowrap;
| }
|
| &-name {
| width: 80px;
| }
|
| &-unit {
| width: 100px;
| font-size: 12px;
| line-height: 20px;
| color: @second-text-color;
| }
| }
| }
|
| &-main {
| display: flex;
| position: absolute;
| top: 49px;
| bottom: 0;
| left: 0;
| right: 0;
| }
|
| &-nva {
| height: 100%;
| background-color: #ffffff;
| }
|
| &-child {
| flex: 1;
| position: relative;
| }
| }
|
|