vant-weapp/dist/popup/index.wxss
everywill d1b3cd3472 增加Capsule, Noticebar, Popup;修正Dialog在非最外层情况下引入的样式问题;更新readme。 (#32)
* style: badge上标大小改变更加灵活

* style: panel-title的行高跟随字号

* style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值

* style: 修复作为组件使用时dialog的定位问题

* style: 修正示例

* style: add

* style: capsule

* style: modify readme

* style: add noticebar

* style: modify readme

* style: noticebar优化

* style: add popup

* style: remove

* style: 左右反了...

* style: 通告栏支持同一页面多个

* style: 独立管理不同noticebar的动画数据
2017-10-01 23:39:53 +08:00

32 lines
503 B
Plaintext

.zan-popup {
position: fixed;
background-color: #fff;
width: 100%;
height: 100%;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
transition: .2s ease-out;
}
.zan-popup--top {
width: 100%;
top: 0;
right: auto;
bottom: auto;
left: 50%;
transform: translate3d(-50%, 0, 0);
}
.zan-popup--right {
transform: translate3d(50%, -50%, 0);
}
.zan-popup--left {
transform: translate3d(-150%, -50%, 0);
}
.zan-popup--show {
transform: translate3d(-50%, -50%, 0);
}