Merge remote-tracking branch 'upstream/master' into clean-css

This commit is contained in:
jingsam 2016-11-27 00:26:04 +08:00
commit 6dee0a655c
7 changed files with 228 additions and 125 deletions

View file

@ -10,7 +10,7 @@
border: 1px solid @border-color-base;
border-bottom: 0;
border-right: 0;
border-collapse: collapse;
//border-collapse: collapse;
box-sizing: border-box;
position: relative;
@ -130,6 +130,9 @@
word-break: break-all;
box-sizing: border-box;
}
&-hidden{
visibility: hidden;
}
th &-cell{
display: inline-block;
position: relative;
@ -186,4 +189,29 @@
background-color: @table-td-highlight-bg;
}
}
&-fixed, &-fixed-right{
position: absolute;
top: 0;
left: 0;
box-shadow: 1px 0 8px #d3d4d6;
overflow-x: hidden;
&::before {
content: '';
width: 100%;
height: 1px;
background-color: @border-color-base;
position: absolute;
left: 0;
bottom: 0;
z-index: 4;
}
}
&-fixed-right{
top: 0;
left: auto;
right: 0;
box-shadow: -1px 0 8px #d3d4d6;
}
}