update Table

update Table
This commit is contained in:
梁灏 2016-11-27 20:43:54 +08:00
parent 340681ab50
commit b8a4300003
3 changed files with 63 additions and 35 deletions

View file

@ -33,7 +33,7 @@
top: 0;
right: 0;
background-color: @border-color-base;
z-index: 1;
z-index: 3;
}
&-with-header{
@ -140,7 +140,9 @@
vertical-align: middle;
}
&-stripe &-body{
&-stripe &-body,
&-stripe &-fixed-body
{
tr:nth-child(2n) {
td{
background-color: @table-td-stripe-bg;
@ -183,7 +185,8 @@
&-row-highlight,
tr&-row-highlight&-row-hover,
&-stripe &-body tr&-row-highlight:nth-child(2n)
&-stripe &-body tr&-row-highlight:nth-child(2n),
&-stripe &-fixed-body tr&-row-highlight:nth-child(2n)
{
td{
background-color: @table-td-highlight-bg;
@ -214,4 +217,14 @@
right: 0;
box-shadow: -1px 0 8px #d3d4d6;
}
&-fixed-header{
overflow: hidden;
position: relative;
z-index: 3;
}
&-fixed-body{
overflow: hidden;
position: relative;
z-index: 3;
}
}