bg-removal.module.scss
1.6 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
.upload-button {
padding: 10px 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
/* 使用 Flexbox 布局 */
display: flex;
justify-content: center;
/* 水平居中 */
align-items: center;
/* 垂直居中 */
min-height: 45px;
}
.loading-content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
.removal-body {
height: 100vh;
height: 100vh;
overflow: hidden;
.splitter {
height:100%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width:100vw;
overflow: hidden;
.splitterPanel{
height: 100%;
display: flex;
direction: 'column';
overflow: 'hidden';
.panelFlex{
height: 100%;
width: 100%;
overflow: 'hidden';
.preview{
position:relative;
width: 100%;
height: 100%;
overflow: 'hidden';
display: flex;
justify-content: center;
align-items: center;
.previewImage{
max-width: 100%;
max-height: 100%;
object-fit: contain;
display: block;
}
.icon{
position: absolute;
top: 10px;
right: 10px;
z-index: 5;
}
}
}
}
}
}