/**
|
* filter
|
* @author Tevin
|
*/
|
|
@import "../../common/sassMixin";
|
|
.c-filter {
|
width: 100%;
|
height: 86px;
|
line-height: 86px;
|
font-size: 30px;
|
color: #666;
|
background-color: #fff;
|
border-top: 1px solid #eee;
|
box-sizing: border-box;
|
.c-filter-bar {
|
float: left;
|
width: 550px;
|
height: 100%;
|
padding: 0 20px;
|
box-sizing: border-box;
|
}
|
.c-filter-more {
|
float: right;
|
width: 200px;
|
height: 100%;
|
box-sizing: border-box;
|
text-align: center;
|
border-left: 1PX solid #d6e4ef;
|
transition: background-color .3s;
|
&:active {
|
background-color: #f2f2f2;
|
}
|
&.on {
|
position: relative;
|
color: #36a0e7;
|
&::after {
|
display: block;
|
@include position(absolute, 20px n n 44px);
|
width: 12px;
|
height: 12px;
|
content: " ";
|
background-color: #36a0e7;
|
border-radius: 50%;
|
}
|
}
|
.arrow {
|
color: #666;
|
}
|
}
|
.c-filter-drawer {
|
.at-drawer__content {
|
width: 550px;
|
}
|
.c-filter-drawer-list {
|
height: calc(100% - 90px);
|
border-top: 1PX solid #eee;
|
box-sizing: border-box;
|
.box {
|
min-height: 20px;
|
padding: 30px 0 10px 30px;
|
border-bottom: 1PX solid #eee;
|
}
|
}
|
.c-filter-drawer-btn {
|
height: 90px;
|
@include flexbox(flex, center center);
|
.at-button {
|
flex: 3;
|
height: 90px;
|
line-height: 88px;
|
border: none;
|
border-radius: 0;
|
background-color: #36a0e7;
|
&:first-child {
|
flex: 2;
|
color: #36a0e7;
|
background-color: #d4f1f7;
|
}
|
}
|
}
|
}
|
}
|
|
.c-filter-select {
|
.content {
|
@include flexbox(flex, flex-start center);
|
white-space: nowrap;
|
.empty,
|
.value {
|
display: inline-block;
|
vertical-align: middle;
|
@include ellipsis();
|
}
|
.empty {
|
color: #ccc;
|
}
|
.filled {
|
color: #6190e8;
|
}
|
.at-icon {
|
text-align: center;
|
color: #666;
|
}
|
}
|
&.type-bar {
|
.content {
|
height: 86px;
|
.label {
|
color: #666;
|
}
|
.at-icon {
|
padding-left: 4px;
|
vertical-align: middle;
|
}
|
}
|
}
|
&.type-item {
|
.label {
|
font-weight: bold;
|
color: #666;
|
line-height: 35px;
|
}
|
.content {
|
.empty,
|
.filled {
|
flex: 6;
|
}
|
.at-icon {
|
flex: 1;
|
}
|
}
|
}
|
}
|