mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-15 20:25:07 +02:00
45 lines
1.1 KiB
Stylus
45 lines
1.1 KiB
Stylus
/**
|
|
* Table's default style
|
|
*/
|
|
|
|
@import 'config'
|
|
|
|
table.TF
|
|
font-family $font-family
|
|
border-spacing 0
|
|
border 0
|
|
|
|
th
|
|
height $th-height
|
|
margin 0
|
|
background-color $th-bg-color
|
|
border-bottom 1px solid $th-bottom-border-color
|
|
border-top 1px solid $th-top-border-color
|
|
border-left 1px solid $th-left-border-color
|
|
border-right 1px solid $th-right-border-color
|
|
padding 0.1em 0.7em
|
|
color $th-font-color
|
|
&:last-child
|
|
border-right 1px solid $th-left-border-color
|
|
|
|
td
|
|
margin 0
|
|
padding $padding
|
|
border-bottom 1px solid $td-border-color
|
|
text-overflow ellipsis
|
|
|
|
// responsive
|
|
&.resp
|
|
display block
|
|
overflow-x auto
|
|
overflow-y hidden
|
|
|
|
.sort-arrow
|
|
position initial
|
|
|
|
// stick headers
|
|
&.sticky
|
|
th
|
|
position sticky
|
|
top -1px
|