para-bridge-demo
Version:
a bridge api for js-ios/andriod rest
72 lines (63 loc) • 1.45 kB
text/less
@import './themes/default';
@import './mixin.less';
@import './anim.less';
@import './arrow.less';
*,
*:before,
*:after {
cursor: pointer;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
/* FIXME: At the risk of sounding like Carly Rae Jepsen, this is crazy but I think this was working until yesterday after I updated my iOS to 10.3.3:*/
/* Add cursor: pointer to fix */
;
}
html,
body {
-webkit-tap-highlight-color: transparent;
}
body {
background-color: @fill-body;
font-size: 16 * @hd;
font-family: "Helvetica Neue", Helvetica, sans-serif;
-webkit-user-select: none;
user-select: none;
}
*[contenteditable] {
-webkit-user-select: auto ;
}
*:focus {
outline: none;
}
a {
outline: none;
background: transparent;
text-decoration: none;
}
#global-spinner {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 99999;
background-color: #fff; // 这里用PX 不用REM 因为HTML根的font-size大小是一个计算值,有一定的延迟
.global-spinner-icon-container {
position: absolute;
top: 50%;
left: 50%;
margin-top: -40PX;
margin-left: -40PX;
width: 80PX;
height: 80PX;
}
.global-spinner-icon {
margin: 0 auto;
width: 80PX;
height: 80PX;
background: url('//file.40017.cn/css40017cnproduct/jinrong/common/jf-app.gif') center center no-repeat;
background-size: auto 100%;
}
&.hide {
display: none;
}
}