philosophyship-mobile
Version:
philosophship-mobile 手机端H5 ui 样式库
66 lines (65 loc) • 1.53 kB
CSS
/*
* @Author: Shenxf
* @Date: 2019-07-29 21:21:29
* @Last Modified by: Shenxf
* @Last Modified time: 2019-07-30 15:46:29
*/
/* 页面加载提示组件 */
.tt-loading{
padding: 1rem 0;
text-align: center;
}
/* 页面加载提示组件的图标 */
.tt-loading > .tt-loading-icon{
font-size: 4.5rem;
color: rgba(0, 0, 0, .05);
}
/* 页面加载提示组件的提示信息 */
.tt-loading > .tt-loading-info{
display: block;
margin-top: .6rem;
font-size: .8rem;
color: #ccc;
}
/* 单行加载提示组件 */
.tt-loading-inline{
margin: 1.5rem auto 1rem;
width: 12.5rem;
position: relative;
box-sizing: border-box;
text-align: center;
color: #999;
height: 1rem;
border-top: 1px solid rgba(0, 0, 0, .1);
}
/* 单行加载提示组件的文本信息 */
.tt-loading-inline > .tt-loading-info{
display: inline-block;
padding: 0 .5rem;
position: relative;
top: -.7rem;
height: 1rem;
line-height: 1rem;
font-size: .7rem;
background: #fff;
}
/* 单行加载提示组件的图标 */
.tt-loading-inline > .tt-loading-info > .tt-loading-icon{
color: rgba(0, 0, 0, .2);
}
/* 垂直方向上振动 */
.fa-vibrate-y{
animation: fa-vibrate-y 1.5s infinite ease-in;
}
/* 振动轨迹 */
@keyframes fa-vibrate-y{
0% {
transform: translateY(-10%);
}
50% {
transform: translateY(10%);
}
100% {
transform: translateY(-10%);
}
}