懒羊羊
2023-11-14 8286c62256f23bc2367a6729c0f46f84215e380b
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
/** 水平分割 */
.split-group {
    height: 200px;
}
 
.split-group:after {
    content: "";
    clear: both;
}
 
.split-group > .split-item {
    float: left;
    height: 100%;
    box-sizing: border-box;
}
 
/** 垂直分割 */
.split-group-vertical {
    height: 458px;
}
 
.split-group-vertical > .split-item {
    box-sizing: border-box;
}
 
/** 嵌套分割 */
.split-group > .split-item > .split-group-vertical {
    height: 100%;
}
 
.split-group-vertical > .split-item > .split-group {
    height: 100%;
}
 
/** 分割线 */
.gutter {
    position: relative;
    background-color: #f8f8f9;
    border: 1px solid #dcdee2;
    box-sizing: border-box;
}
 
/* 水平分割线*/
.gutter.gutter-horizontal {
    float: left;
    height: 100%;
    cursor: col-resize;
    border-top: none;
    border-bottom: none;
}
 
.gutter.gutter-horizontal:before, .gutter.gutter-horizontal:after {
    content: "";
    height: 6px;
    border: 2px solid #dcdee2;
    border-left: 0;
    border-right: 0;
    position: absolute;
    left: 0;
    right: 0;
}
 
.gutter.gutter-horizontal:before {
    top: 50%;
    transform: translateY(-50%);
    margin-top: -8px;
}
 
.gutter.gutter-horizontal:after {
    margin-bottom: -8px;
    bottom: 50%;
    transform: translateY(50%);
}
 
/* 垂直分割线 */
.gutter.gutter-vertical {
    cursor: row-resize;
    border-left: none;
    border-right: none;
    text-align: center;
}
 
.gutter.gutter-vertical:before, .gutter.gutter-vertical:after {
    content: "";
    width: 6px;
    border: 2px solid #dcdee2;
    border-top: 0;
    border-bottom: 0;
    display: inline-block;
    height: 100%;
    margin: 0 3px;
    vertical-align: top;
}