common.css 5.52 KB
body,
h1,
h2,
h3,
h4,
ul,
li,
ol,
p {
  padding: 0;
  margin: 0;
}
body {
  font: 12px/1.5 sans-serif;
  background-color: #F5F5F5;
  position: relative;
  min-height: 100%;
}
* {
  margin: 0;
  padding: 0;
  border: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
li {
  list-style: none;
}
img {
  display: inline-block;
  vertical-align: middle;
  border: 0;
}
input {
  outline: none;
}
a {
  text-decoration: none;
}
.ll {
  float: left;
}
.rr {
  float: right;
}
.col-f60 {
  color: #f60;
}
.m-btn {
  display: inline-block;
  padding: 0 15px;
  line-height: 45px;
  font-size: 18px;
  color: #666;
  text-align: center;
  border: none;
  background-color: #FFF;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  cursor: pointer;
  vertical-align: middle;
  border: 1px solid #ddd;
}
.m-btn.btn-success {
  color: #FFF;
  background-color: #6C2;
  border: none;
}
.m-btn.btn-success.reverse {
  background-color: #FFF;
  color: #6C2;
  line-height: 43px;
  border: 1px solid #6C2;
}
.m-btn.btn-warning {
  color: #FFF;
  background-color: #ff9d2c;
  border: none;
}
.m-btn.btn-danger {
  color: #FFF;
  background-color: #fa4535;
  border: none;
}
.m-btn.btn-text {
  background: none;
  border: 1px solid #6c2;
  color: #6c2;
  width: 65px;
  font-size: 12px;
  text-align: center;
  line-height: 23px;
  padding: 0;
  float: right;
  border-radius: 2px;
  margin-top: -2px;
}
.m-btn.btn-block {
  display: block;
}
.btn-bar {
  margin: 10px;
  overflow: hidden;
}
.btn-bar .ll,
.btn-bar .rr {
  width: 38%;
}
.btn-bar .btn-block {
  margin-bottom: 10px;
}
.m-radio {
  background: url("../../images/icon.png") 0 0 no-repeat;
  width: 20px;
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  display: inline-block;
  background-size: 150px;
  border: none;
  cursor: pointer;
  margin: 0px;
  position: relative;
}
.m-radio:checked {
  background-position: -25px 0px;
}
.m-checkbox {
  background: url("../../images/icon.png") -75px -35px no-repeat;
  width: 20px;
  -webkit-appearance: none;
  appearance: none;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  background-size: 150px;
  border: none;
  cursor: pointer;
  margin: 0px;
  position: relative;
}
.m-checkbox:checked {
  background-position: -105px -35px;
}
.m-input {
  line-height: normal;
  padding: 10px 8px;
  background: none;
  font-size: 14px;
  color: #000;
  text-align: left;
  outline: none;
  border-radius: 3px;
  box-shadow: none;
  border: 0;
}
.m-input.m-password {
  background: #f5f5f5;
}
.m-header {
  height: 44px;
  text-align: center;
  border-bottom: 1px #ddd solid;
  background-color: #fff;
}
.m-header h1 {
  display: inline-block;
  vertical-align: middle;
  line-height: 44px;
  font-weight: normal;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.m-header .m-icon {
  width: 44px;
  background: url('../../images/icon.png') no-repeat;
  background-size: 150px;
  text-indent: -9999px;
}
.m-header .m-icon.icon-back {
  background-position: 15px -23px;
}
.m-header .lt-bar,
.m-header .rt-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 44px;
  height: 44px;
  cursor: pointer;
}
.m-header .rt-bar {
  right: 0;
}
.m-table-view {
  background-color: #FFF;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}
.m-table-view .cell {
  font-size: 14px;
  padding: 11px 15px;
  text-align: right;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  position: relative;
}
.m-table-view .cell .acc {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  right: 15px;
}
.m-table-view .title {
  color: #333;
  float: left;
  font-weight: 400;
}
.m-table-view .title .col-f60 {
  color: #f60;
}
.m-table-view .title span {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}
.m-table-view .title span .tips {
  color: #999;
  font-size: 13px;
}
.m-table-view .forms .title {
  line-height: 34px;
}
.m-table-view .text {
  display: inline-block;
  font-size: 14px;
  color: #999;
}
.m-table-view .m-input-box {
  overflow: hidden;
}
.m-table-view .m-input-box .m-input {
  width: 100%;
  padding: 10px 0;
  text-indent: 8px;
}
.login-view .title {
  width: 65px;
}
.tipsBox {
  margin: 15px;
  color: #78acf3;
}
.tips-icon {
  display: inline-block;
  vertical-align: middle;
  margin-top: -1px;
  width: 13px;
  height: 13px;
  background: url('../../images/icon.png') -35px -38px no-repeat;
  background-size: 150px;
}
.messages {
  margin: 40px 15px;
  text-align: center;
}
.messages .success {
  font-size: 16px;
  color: #8ad218;
}
.messages .error {
  font-size: 16px;
  color: #ff4412;
}
.messages p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.msg-icon {
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px;
  width: 26px;
  height: 26px;
  background: url('../../images/icon.png') -72px 0px no-repeat;
  background-size: 150px;
}
.msg-icon.error-icon {
  background-position: -107px 0;
}
.tipsWrap {
  margin: 10px 15px;
  color: #999;
}
.tipsWrap label {
  font-size: 14px;
  padding: 5px 0;
  display: block;
}
.m-message {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: none;
  text-align: center;
  z-index: 9999;
}
.m-message .text {
  margin-top: 45%;
  display: inline-block;
  vertical-align: middle;
  color: #FFF;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  font-size: 14px;
  padding: 15px 45px;
}
.m-animate-hide {
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
}