popup.less 1.38 KB
/***************************************************
* feature  :  popup;
* update   :  2015/02/03;
* use      :  .m-popup;
* extend   :  ;
* example  :  ;
* desc     :  ;
* feedback :  此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
*          -  demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.m-popup{
	position: fixed;
	right: 0;
	left: 50%;
	bottom: -100%;
	width: 250px;
	margin-left: -125px;
	// background: rgba(255, 255, 255, .9);
	background-color: #fff;
	border-radius: 6px;
	z-index: 20;
	visibility: hidden;
	-webkit-transition: -webkit-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
	-moz-transition: -moz-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
	-o-transition: -o-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
	transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
	&.popup-large{
		left: 25px;
		right: 25px;
		width: auto;
		margin-left: 0;
	}
	.popup-head{
		h1{
			font-size: 15px;
			color: #333;
			line-height: 45px;
			text-align: center;
			font-weight: normal;
		}
	}
	.popup-cont{
		padding: 15px 10px;
		font-size: 13px;
		color: #999;
		.title{
			color: #666;
		}
	}
	.popup-foot{
		padding: 15px;
		background-color: #f8f8f8;
		border-bottom-left-radius: 6px;
		border-bottom-right-radius: 6px;
	}
}