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
108
109
| @import '~ant-design-vue/es/style/themes/default.less';
|
| .text-overflow() {
| overflow: hidden;
| text-overflow: ellipsis;
| word-break: break-all;
| white-space: nowrap;
| }
|
| // mixins for clearfix
| // ------------------------
| .clearfix() {
| zoom: 1;
|
| &::before,
| &::after {
| display: table;
| content: ' ';
| }
|
| &::after {
| height: 0;
| clear: both;
| font-size: 0;
| visibility: hidden;
| }
| }
|
| .page-header-content {
| display: flex;
|
| .avatar {
| flex: 0 1 72px;
|
| & > span {
| display: block;
| width: 72px;
| height: 72px;
| border-radius: 72px;
| }
| }
|
| .content {
| position: relative;
| top: 4px;
| margin-left: 24px;
| line-height: 22px;
| color: @text-color-secondary;
| flex: 1 1 auto;
|
| .content-title {
| margin-bottom: 12px;
| font-size: 20px;
| font-weight: 500;
| line-height: 28px;
| color: @heading-color;
| }
| }
| }
|
| .extra-content {
| .clearfix();
|
| float: right;
| white-space: nowrap;
|
| .stat-item {
| position: relative;
| display: inline-block;
| padding: 0 32px;
|
| > p:first-child {
| margin-bottom: 4px;
| font-size: @font-size-base;
| line-height: 22px;
| color: @text-color-secondary;
| }
|
| > p {
| margin: 0;
| font-size: 30px;
| line-height: 38px;
| color: @heading-color;
|
| > span {
| font-size: 20px;
| color: @text-color-secondary;
| }
| }
|
| &::after {
| position: absolute;
| top: 8px;
| right: 0;
| width: 1px;
| height: 40px;
| background-color: @border-color-split;
| content: '';
| }
|
| &:last-child {
| padding-right: 0;
|
| &::after {
| display: none;
| }
| }
| }
| }
|
|