style.less
1.8 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.la-test {
background: #f1f1f1;
height: 100%;
width: 100%;
padding-bottom: calc( 2% + 50px);
padding-top: calc( 2% + 300px);
&_header {
position: fixed;
top: 0;
left: 0;
right: 0;
img {
height: 300px;
width: auto;
}
}
&_footer {
position: fixed;
bottom: 2%;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20%;
input {
width: 80%;
}
}
&_content {
overflow-y: auto;
height: 100%;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 0.3s;
/* Webkit 浏览器(Chrome, Safari, Edge) */
::-webkit-scrollbar {
width: 5px; /* 或者 height: 12px; 对于水平滚动条 */
}
::-webkit-scrollbar-thumb {
background-color: #eee; /* 滚动条的颜色 */
border-radius: 6px; /* 滚动条的圆角 */
}
::-webkit-scrollbar-track {
background-color: #eee; /* 滚动条轨道的颜色 */
border-radius: 6px; /* 轨道的圆角 */
}
}
}
.mark-down {
width: auto;
max-width: 60%;
background: #fff;
border-radius: 10px;
padding: 20px;
.group {
margin-bottom: 10px;
}
}
.role {
width: 40px;
height: 28px;
line-height: 28px;
font-size: 14px;
border-radius: 14px;
text-align: center;
}
.text-right {
display: flex;
flex-direction: row-reverse;
padding-right: 2%;
.role {
margin-left: 20px;
background: #0A84FE;
color: #fff;
}
.mark-down {
background: #0A84FE;
color: #fff;
padding: 10px;
}
}
.text-left {
display: flex;
padding-left: 2%;
.role {
margin-right: 20px;
background: #fff;
}
.mark-down {
p {
overflow-wrap:break-word;
word-break: break-all;
}
}
}