style.less
1.09 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
.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; /* 轨道的圆角 */
}
}
}