vant/packages/vant-css/src/actionsheet.css
2017-08-18 15:38:24 +08:00

68 lines
1.1 KiB
CSS

@import './common/var.css';
@import './mixins/border_retina.css';
@import './popup.css';
.van-actionsheet {
position: fixed;
left: 0;
right: 0;
bottom: 0;
color: $c-black;
transition: .2s ease-out;
background-color: #e0e0e0;
backface-visibility: hidden;
&--withtitle {
background-color: $c-white;
}
&__item {
height: 50px;
line-height: 50px;
font-size: 16px;
text-align: center;
position: relative;
background-color: $c-white;
&::after {
@mixin border-retina (top);
}
}
&__subname {
font-size: 12px;
color: $c-gray-darker;
}
&__loading {
display: inline-block;
}
&__cancel {
margin-top: 5px;
}
&__header {
line-height: 44px;
text-align: center;
position: relative;
&::after {
@mixin border-retina (top, bottom);
}
.van-icon-close {
top: 11px;
right: 15px;
position: absolute;
font-size: 22px;
line-height: 22px;
}
}
&-float-enter,
&-float-leave-active {
transform: translate3d(0, 100%, 0);
}
}