update Table
update Table
This commit is contained in:
parent
b8a4300003
commit
52874e27e5
7 changed files with 70 additions and 13 deletions
|
@ -197,7 +197,7 @@
|
|||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
box-shadow: 1px 0 8px #d3d4d6;
|
||||
box-shadow: @shadow-right;
|
||||
overflow-x: hidden;
|
||||
|
||||
&::before {
|
||||
|
@ -215,7 +215,7 @@
|
|||
top: 0;
|
||||
left: auto;
|
||||
right: 0;
|
||||
box-shadow: -1px 0 8px #d3d4d6;
|
||||
box-shadow: @shadow-left;
|
||||
}
|
||||
&-fixed-header{
|
||||
overflow: hidden;
|
||||
|
@ -227,4 +227,8 @@
|
|||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
&-sort{
|
||||
.sortable();
|
||||
}
|
||||
}
|
33
src/styles/mixins/caret.less
Normal file
33
src/styles/mixins/caret.less
Normal file
|
@ -0,0 +1,33 @@
|
|||
// sortable
|
||||
.sortable() {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
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;
|
||||
|
||||
&:hover{
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
&:first-child{
|
||||
top: 0;
|
||||
}
|
||||
&:last-child{
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,3 +12,4 @@
|
|||
@import "content"; // card、modal
|
||||
@import "tooltip";
|
||||
@import "select";
|
||||
@import "caret";
|
Loading…
Add table
Add a link
Reference in a new issue