1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-20 07:16:41 +02:00
TableFilter/static/style/table.styl

44 lines
1.1 KiB
Stylus
Raw Normal View History

2015-08-03 09:50:15 +02:00
/**
2015-08-04 10:38:40 +02:00
* Table's default style
2015-08-03 09:50:15 +02:00
*/
2015-08-07 12:11:27 +02:00
@import 'config'
2015-08-03 09:50:15 +02:00
table.TF
2015-08-07 12:11:27 +02:00
font-family $font-family
border-spacing 0
border 0
2015-08-03 09:50:15 +02:00
th
2015-08-07 12:11:27 +02:00
height $th-height
2015-08-03 09:50:15 +02:00
margin 0
background-color $th-bg-color
2015-08-07 12:11:27 +02:00
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
2015-08-03 09:50:15 +02:00
color $th-font-color
2015-10-04 04:51:43 +02:00
&:last-child
border-right 1px solid $th-left-border-color
2015-08-03 09:50:15 +02:00
td
2015-08-07 12:11:27 +02:00
margin 0
padding $padding
border-bottom 1px solid $td-border-color
text-overflow ellipsis
2018-06-15 16:21:26 +02:00
// responsive
&.resp
display block
overflow-x auto
.sort-arrow
position initial
2018-06-15 16:21:26 +02:00
// stick headers
thead.sticky
th
position sticky
top 0