2015-08-03 09:50:15 +02:00
|
|
|
/**
|
2015-08-04 10:38:40 +02:00
|
|
|
* Filters' default style
|
2015-08-03 09:50:15 +02:00
|
|
|
*/
|
|
|
|
|
2015-08-07 12:11:27 +02:00
|
|
|
@import 'config'
|
|
|
|
@import 'mixins/arrow'
|
|
|
|
@import 'mixins/box-shadow'
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
// Filters row style
|
|
|
|
.fltrow
|
2015-08-07 12:11:27 +02:00
|
|
|
height 1em
|
|
|
|
background-color $filter-row-bg-color
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
td
|
2015-08-07 12:11:27 +02:00
|
|
|
border-bottom: 1px solid #CCC !important
|
2015-10-04 04:51:43 +02:00
|
|
|
border-top: 1px solid #f4f4f4
|
2015-08-07 12:11:27 +02:00
|
|
|
border-left 1px solid #CCC
|
|
|
|
border-right 1px solid #f4f4f4
|
2015-08-07 14:10:08 +02:00
|
|
|
padding 0.2em !important
|
2015-10-04 04:51:43 +02:00
|
|
|
&:last-child
|
|
|
|
border-right 1px solid #CCC
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
// button appearance
|
|
|
|
.btnflt
|
2015-08-07 12:11:27 +02:00
|
|
|
height $filter-height
|
|
|
|
font-family inherit
|
|
|
|
font-size inherit
|
|
|
|
vertical-align middle
|
|
|
|
margin 0 2px 0 2px
|
|
|
|
padding 0 1px 0 1px
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
// button appearance when displayIcons is true
|
|
|
|
.btnflt_icon
|
2015-08-07 12:11:27 +02:00
|
|
|
font-family inherit
|
|
|
|
font-size inherit
|
|
|
|
width $min-width
|
|
|
|
height $filter-height
|
|
|
|
cursor pointer !important
|
|
|
|
border 0 !important
|
|
|
|
vertical-align middle
|
|
|
|
background transparent url(themes/btn_filter.png) center center no-repeat !important
|
2015-08-03 09:50:15 +02:00
|
|
|
|
2015-08-07 12:11:27 +02:00
|
|
|
// input and select filter type
|
2015-08-03 09:50:15 +02:00
|
|
|
.flt
|
2015-08-07 12:11:27 +02:00
|
|
|
font-family inherit
|
2017-12-04 12:15:09 +01:00
|
|
|
font-size inherit
|
2015-08-07 12:11:27 +02:00
|
|
|
display block
|
|
|
|
color $filter-font-color
|
|
|
|
background-color $filter-bg-color
|
2015-08-07 14:10:08 +02:00
|
|
|
border 1px inset $filter-border-color
|
2015-08-07 12:11:27 +02:00
|
|
|
margin 0
|
|
|
|
padding 0 0 0 0.2em
|
|
|
|
width 100%
|
|
|
|
height $filter-height
|
|
|
|
vertical-align middle
|
|
|
|
border-radius 2px
|
|
|
|
box-sizing border-box
|
2015-08-03 09:50:15 +02:00
|
|
|
|
2015-08-07 12:11:27 +02:00
|
|
|
&:focus
|
|
|
|
border-color #66AFE9
|
|
|
|
outline 0 none
|
2015-08-07 16:23:32 +02:00
|
|
|
box-shadow 0 1px 1px rgba(0, 0, 0, 0.075) inset,
|
|
|
|
0 0 8px rgba(102, 175, 233, 0.6)
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
// multiple select type filter
|
|
|
|
select.flt_multi
|
2015-08-07 12:11:27 +02:00
|
|
|
font-family inherit
|
2017-12-04 12:15:09 +01:00
|
|
|
font-size inherit
|
2015-08-07 12:11:27 +02:00
|
|
|
color $filter-font-color
|
|
|
|
background-color $filter-bg-color
|
|
|
|
border 1px solid $filter-border-color
|
|
|
|
margin 0
|
|
|
|
padding 0.2em
|
|
|
|
width 100%
|
|
|
|
height 90px
|
|
|
|
vertical-align middle
|
|
|
|
box-sizing border-box
|
2015-08-03 09:50:15 +02:00
|
|
|
|
2017-01-07 12:51:49 +01:00
|
|
|
option
|
|
|
|
padding-top 5px
|
|
|
|
padding-bottom 5px
|
|
|
|
|
2015-08-03 09:50:15 +02:00
|
|
|
// tiny input type filter
|
|
|
|
.flt_s
|
2015-08-07 12:11:27 +02:00
|
|
|
@extend .flt
|
|
|
|
width 60%
|
|
|
|
box-sizing initial
|
|
|
|
display initial
|
2015-08-03 09:50:15 +02:00
|
|
|
|
|
|
|
// single filter type
|
|
|
|
.single_flt
|
2015-08-07 12:11:27 +02:00
|
|
|
@extend .flt
|
|
|
|
width 70%
|
|
|
|
box-sizing initial
|
|
|
|
display initial
|
2015-08-04 10:38:40 +02:00
|
|
|
|
2017-04-25 23:29:08 +02:00
|
|
|
// pop-up filters elements
|
2015-08-04 10:38:40 +02:00
|
|
|
div.popUpFilter
|
2015-08-07 12:11:27 +02:00
|
|
|
arrow(top, 10px white, 2px $th-bg-color)
|
|
|
|
box-shadow(3px 3px 2px #888)
|
|
|
|
margin 30px auto 0 0
|
|
|
|
position absolute
|
|
|
|
display none
|
|
|
|
width 100px
|
|
|
|
background-color $th-bg-color
|
|
|
|
border 1px solid $filter-row-bg-color
|
|
|
|
padding 0
|
2017-04-25 23:29:08 +02:00
|
|
|
|
|
|
|
// pop-up container
|
|
|
|
.popUpPlaceholder
|
|
|
|
position relative
|