caret.less
721 Bytes
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
// sortable
.sortable() {
display: inline-block;
width: 9px;
height: 12px;
margin-left: 4px;
margin-top: -1px;
vertical-align: middle;
overflow: hidden;
cursor: pointer;
position: relative;
i {
display: block;
height: 6px;
line-height: 6px;
overflow: hidden;
position: absolute;
color: @btn-disable-color;
transition: color @transition-time @ease-in-out;
font-size: @font-size-large;
&:hover{
color: inherit;
}
&.on{
color: @primary-color;
}
&:first-child{
top: 0;
}
&:last-child{
bottom: 0;
}
}
}