Skip to content
app.scss 4.82 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
@import "../theme/icon";
@import "../theme/style";
//html,ion-app.ios{
//  font-family: "webfont",serif !important;
//  font-style: normal;
//  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
//}
//.web-font {
//  font-family: "webfont",serif !important;
//  font-size: 16px;
//  font-style: normal;
//  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
//}
p {
  margin: 0;
}

.back-button.show-back-button {
  margin-left: 5px;
}
.scroll-content {
  padding-bottom: 0 !important;
}

//列表
.item-ios {
  padding-left: 0;
}

.list-ios .item-block .item-inner {
  padding-left: 10px;
}

.list-ios .item-block .item-inner {
  border-bottom: 1px solid #dadada;
}

.list-ios > .item-block:last-child,
.list-ios > .item-block:first-child {
  border: none;
}

.list-ios > .item-block:last-child, .list-ios > .item-wrapper:last-child .item-block {
  border-bottom: 1px solid #dadada;
}

.back-button-icon-ios {
  line-height: 20px;
  font-size: 3rem;
  color: #fff;
}

.bgc-e7e8ed {
  background-color: #ebedf2;
}

.bgc-fff {
  background-color: #fff;
}

.bgc-19b5ff {
  background-color: #19b5ff;
}

.submit-btn {
  height: 40px;
  margin-bottom: 15px;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  color: #fff;
  font-size: 15px;
  position: relative;
  text-align: center;
  white-space: nowrap;
  border-radius: 3px;
wangqinghua's avatar
wangqinghua committed
  margin-top: 20px;
  border: 1px solid #e12724;
  background-color: #e12724;
wangqinghua's avatar
wangqinghua committed
}

.label-input .text-input {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 35px;
}

.no-info {
  text-align: center;
  margin-top: 8rem;
  color: #666;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.swiper-title {
  position: relative;
  color: #24bafc;
}

.swiper-title::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #24bafc;
  bottom: -9px;
  left: 0px;
}

//border

.border-none {
  border: none !important;
}

//tabs
.tabs-ios .tabbar {
  border-top: 1px solid #eeeeee;
  background-color: #f7f7f7;
}

//导航栏
.toolbar-title-ios {
  color: #ffffff;
  font-weight: 400;
}

.toolbar-background-ios {
  background-color: #e12724;
}

.header-ios .toolbar-ios:last-child .toolbar-background-ios {
  border-bottom: 1px solid #e12724;
}

.toolbar-ios ion-title {
  padding: 0;
}

.space {
  background-color: #ebedf2;
  height: 10px;
}

//toast
.toast-ios .toast-wrapper.toast-middle {
  width: 50%;
  text-align: center;
}

.item-ios .item-button {
  height: 2rem;
}

//tab切换头
.tabs-parent {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  background-color: #fff;
  margin-bottom: .5rem;
  font-size: 1.7rem;
}

.tabs-children {
  flex: 1;
  text-align: center;
  cursor: pointer;
  height: 4rem;
  line-height: 4rem;
}

#tips {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 3rem;
wangqinghua's avatar
wangqinghua committed
  background-color: #e12724;
wangqinghua's avatar
wangqinghua committed
  -webkit-transition: left 500ms;
  -moz-transition: left 500ms;
  -ms-transition: left 500ms;
  -o-transition: left 500ms;
  transition: left 500ms;
}

.gray {
  color: #b3b3b3;
  font-size: 1.4rem;
  border: 1px solid #b3b3b3;
  padding: 1px 8px;
  border-radius: 2px;
}

.green {
  color: #50b632;
  font-size: 1.4rem;
  border: 1px solid #50b632;
  padding: 1px 8px;
  border-radius: 2px;
}

.yellow {
  color: #fd9a2b;
  font-size: 1.4rem;
  border: 1px solid #fd9a2b;
  padding: 1px 8px;
  border-radius: 2px;
}

.red {
  color: #f76063;
  font-size: 1.4rem;
  border: 1px solid #f76063;
  padding: 1px 8px;
  border-radius: 2px;
}

.toast-message{
  word-break: break-all;
}
.fontSize-15{
  font-size: 1.5rem;
}
.tabs-ios .tab-button:hover:not(.disable-hover), .tabs-ios .tab-button[aria-selected=true]{
  color: #e12724;

wangqinghua's avatar
wangqinghua committed
}
.toolbar-img{
  width: 4.5rem;
  margin-left: 1rem;
}
.toolbar-icon{
  position: relative;
  ion-icon{
    font-size: 2.5rem;
    color: #ffffff;
    margin-right: 1rem;
  }
  .num{
    position: absolute;
    top: 0px;
    right: 6px;
    background-color: #fff;
    padding: 1px 5px;
    color: #e12724;
    font-size: .8rem;
    border-radius: 100px;
  }
}

//签到
.signMask{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.4);
  z-index: 99999;
  .mask-content{
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 48%;
    background-color: #fff;
    border-radius: 5px;
    background: url(../assets/imgs/home/signBgc.png) repeat;
    background-size: cover;
    padding: 1rem;
    .record-conten{
      margin-left: 25%;
      margin-top: 30%;
      color: #333333;
      font-size: 1.4rem;
      line-height: 1.8rem;
      height: 50%;
      overflow: scroll;
    }
  }
}
a[disabled], button[disabled], [ion-button][disabled],
.bar-button-default-ios.activated, .bar-button-default.bar-button-ios-default.activated, .bar-button-clear-ios-default.activated{
  opacity: 1;
wangqinghua's avatar
wangqinghua committed
}