textBgTitleCom.less
1.39 KB
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
@charset "UTF-8";
.text-bg-title-com {
position: relative;
background-color: transparent;
width: 100%;
height: auto;
.bg-box {
width: 100%;
height: 100%;
.bg-img {
display: block;
width: 100%;
height: 100%;
}
}
.box {
position: absolute;
top: 0;
left: 0;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 auto;
padding: 0 30px;
width: 90%;
height: 100%;
.title-box {
display: flex;
justify-content: flex-start;
align-items: center;
flex: 1;
.title {
color: #4A4A4A;
font-size: 34px;
font-weight: 600;
max-width: 580px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.line {
background-color: #979797;
width: 1px;
height: 22px;
margin: 0 16px;
}
.sub-title {
color: #999999;
font-size: 24px;
font-weight: 400;
max-width: 580px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.extend-box {
& + .more-box {
margin-left: 20px;
}
}
.more-box {
display: flex;
justify-content: flex-end;
align-items: center;
color: #3C3C3C;
font-size: 24px;
font-weight: 400;
.more-text {
max-width: 90px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.more-img {
display: block;
width: 24px;
height: 24px;
}
}
}
}