1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-13 11:56:46 +02:00
TableFilter/static/style/extensions/colsVisibility.styl

72 lines
1.7 KiB
Stylus
Raw Normal View History

2015-08-04 10:38:40 +02:00
/**
* ColsVisibility extension default style
*/
2015-08-09 07:18:09 +02:00
@import '../config'
2015-08-07 12:11:27 +02:00
@import '../mixins/arrow'
@import '../mixins/box-shadow'
2015-08-04 10:38:40 +02:00
$item-bg-color = #335EA8
$item-font-color = #fff
span.colVisSpan
2015-08-09 07:18:09 +02:00
text-align left
2015-08-04 10:38:40 +02:00
// link
a.colVis
2015-08-09 07:18:09 +02:00
display inline-block
padding 7px 5px 0
font-size inherit
font-weight inherit
vertical-align top
2015-08-04 10:38:40 +02:00
// container element
div.colVisCont
2015-08-07 12:11:27 +02:00
arrow(top, 10px white, 2px #ccc)
box-shadow(3px 3px 2px #888)
2015-08-04 10:38:40 +02:00
position absolute
display none
border 1px solid #ccc
height auto
width 250px
background-color #fff
2015-08-09 07:18:09 +02:00
margin 35px 0 0 -100px
2015-08-04 10:38:40 +02:00
z-index 10000
padding 10px 10px 10px 10px
text-align left
font-size inherit
2015-08-04 10:38:40 +02:00
p
margin 6px auto 6px auto
2015-08-09 07:18:09 +02:00
a.colVis
display initial
font-weight inherit
2015-08-04 10:38:40 +02:00
// checklist
ul.cols_checklist
padding 0
margin 0
2017-08-10 05:48:59 +02:00
list-style-type none
2015-08-04 10:38:40 +02:00
label
display block
2015-08-04 10:38:40 +02:00
input
vertical-align middle
margin 2px 5px 2px 1px
// check list item
li.cols_checklist_item
padding 4px
margin 0
2015-08-06 07:27:09 +02:00
&:hover
2015-08-04 10:38:40 +02:00
background-color $item-bg-color
color $item-font-color
// selected check list item
.cols_checklist_slc_item
background-color $item-bg-color
color $item-font-color