-
Notifications
You must be signed in to change notification settings - Fork 138
/
content.less
117 lines (103 loc) 路 2.25 KB
/
content.less
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
108
109
110
111
112
113
114
115
116
117
.@{transfer-prefix}-content {
width: @transfer-content-width;
display: flex;
flex-direction: column;
flex-shrink: 0;
border: 1px solid @transfer-border-color;
border-radius: @transfer-border-radius;
color: @transfer-color;
background-color: @transfer-background-color;
&-disabled {
opacity: 0.6;
}
& .@{spin-prefix} {
height: 100%;
&-container {
height: 100%;
display: flex;
flex-direction: column;
}
}
}
.@{transfer-prefix}-header {
width: 100%;
height: @transfer-header-height;
padding: @transfer-header-padding;
display: flex;
align-items: center;
flex-shrink: 0;
border-bottom: 1px solid @transfer-border-color;
&-check-all + &-label {
margin-left: @spacing-xs;
}
&-inner {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
}
&-search-input {
width: @transer-search-width;
margin-left: auto;
}
&-search-icon {
font-size: @transfer-search-icon-font-size;
color: @transfer-search-icon-color;
cursor: pointer;
}
&-clear-icon {
margin-left: auto;
font-size: @transfer-clear-icon-font-size;
color: @transfer-clear-icon-color;
&:hover:not(&-disabled) {
color: @transfer-clear-icon-hover-color;
}
&:focus:not(&-disabled),
&:active:not(&-disabled) {
color: @transfer-clear-icon-active-color;
}
cursor: pointer;
&-disabled {
color: @transfer-disabled-color;
cursor: not-allowed;
}
}
&-suffix {
line-height: 1;
margin-left: auto;
}
&-clear-icon + &-suffix,
&-search-input + &-suffix,
&-search-input + &-clear-icon {
margin-left: @transfer-header-suffix-margin-left;
}
}
.@{transfer-prefix}-body {
width: 100%;
flex: auto;
overflow: hidden;
&-empty-wrapper {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
}
.@{transfer-prefix}-footer {
width: 100%;
height: @transfer-footer-height;
padding: @transfer-footer-padding;
display: flex;
align-items: center;
flex-shrink: 0;
border-top: 1px solid @transfer-border-color;
&-inner {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
}