@charset "UTF-8";
@import "./lj-style-variable.less";
@import "./lj-apply.less";
@import "./lj-common.less";

body {
  font-family: "微软雅黑";
  -webkit-overflow-scrolling:touch
}

.lj-background-color-primary {
  background-color: @vuxPrimaryActive;
}

// 卡片统一布局↓↓↓↓↓↓↓↓↓↓
.lj-card-item {
  background-color: @cardItemBackgroundColor;
  margin-bottom: @cardItemMarginBottom;
  padding-top: @cardItemPaddingTop;
  padding-right: @cardItemPaddingRight;
  padding-bottom: @cardItemPaddingBottom;
  padding-left: @cardItemPaddingLeft;
}

// 概述灰色div
.lj-card-summary {
  padding-top: @cardSummaryPaddingTop;
  padding-right: @cardSummaryPaddingRight;
  padding-bottom: @cardSummaryPaddingBottom;
  padding-left: @cardSummaryPaddingLeft;
  background-color: @summaryAreaBackgroundColor;
  border-radius: 10px;
  margin-bottom: @blockMargin;
}

.lj-card-summary-heavy-text {
  color: @summaryHeavyTextColor;
}

.lj-card-summary-light-text {
  color: @summaryLightTextColor;
}

.lj-card-summary-icon {
  font-size: @summaryIconFontSize !important;
  vertical-align: -2px;
}

// 卡片标签div
.lj-card-tag {
  background-color: @summaryAreaBackgroundColor;
  border-radius: 5px;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  padding: 0 10px;
  margin-right: @blockMargin;
}

.lj-card-tag-text {
  font-size: @statusBadgeTextFontSize;
}

.lj-card-detail-button {
  position: absolute;
  right: 20px;
}

// 一级标题
.lj-card-primary-title {
  font-size: @primaryTextFontSize;
  font-weight: @titleFontWeight;
}

// 二级标题（字段名称）
.lj-card-secondary-title {
  font-size: @secondaryTextFontSize;
  font-weight: @titleFontWeight;
  text-align: right;
}

// 二级内容（字段内容）
.lj-card-secondary-content {
  font-size: @secondaryTextFontSize;
}

// 三级标题（字段名称）
.lj-card-tertiary-title {
  font-size: @tertiaryTextFontSize;
  font-weight: @titleFontWeight;
  text-align: right;
}

// 三级内容（字段内容）
.lj-card-tertiary-content {
  font-size: @tertiaryTextFontSize;
}

// 四级标题（字段名称）
.lj-card-quaternary-title {
  font-size: @quaternaryTextFontSize;
  font-weight: @titleFontWeight;
  text-align: right;
}

// 四级内容（字段内容）
.lj-card-quaternary-content {
  font-size: @quaternaryTextFontSize;
}

.lj-sharp-red-text {
  color: @colorSharpTextRed
}

.lj-card-secondary-edit {
  color: @editableTextColor;
}

// ↑↑↑↑↑↑↑↑↑↑

// 单据详细页面↓↓↓↓↓↓↓↓↓↓
// 顶部带颜色的状态栏
.lj-detail-status-header {
  height: 80px;
  padding: 10px;
  color: @colorStatusText;
}

.lj-detail-content {
  margin-top: -30px;
}

.lj-detail-content-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.lj-detail-are-title {
  font-size: @detailAreaTitleFontSize;
  font-weight: 700;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: -@cardItemPaddingTop;
  height: 42px;
  line-height: 43px;
  border-bottom: 1px solid @detailAreaTitleDividerColor;
}

.lj-detail-are-title-two {
  font-weight: 700;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: -@cardItemPaddingTop;
  height: 42px;
  line-height: 43px;
  border-bottom: 1px solid @detailAreaTitleDividerColor;
}

.lj-detail-mx-list-content {
  padding: 10px 0px;
}

.lj-detail-mx-item {
  // font-size: @secondaryTextFontSize;
  line-height: 30px;
}

.lj-oa-detail-status-header {
  font-size: 16px;
  font-weight: bold;
  align-items: center;
  height: 35px;
  padding: 5px 20px 5px 20px;
  color: @colorStatusText;
}

.lj-bottom-sheet {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 10px 20px 0 20px;
}

.lj-bottom-sheet-button {
  color: #ffffff;
  font-size: 16px;
  //width: 100%;
  text-align: center;
  padding: 8px 0;
  margin: 0 -20px;
  background-color: @vuxPrimaryActive;
  //border-radius: 20px;
}

.lj-textarea-border {
  width: 100%;
  font-size: 15px;
  margin: 10px 0;
}

// ↑↑↑↑↑↑↑↑↑↑

// 状态展示相关↓↓↓↓↓↓↓↓↓↓
.lj-status-alert {
  background-color: @colorAlert;
}

.lj-status-alert-sec {
  background-color: @colorAlertSec;
}

.lj-status-alert-thr {
  background-color: @colorAlertThr;
}

.lj-status-warn {
  background-color: @colorWarn;
}

.lj-status-normal {
  background-color: @colorNormal;
}

.lj-status-normal-sec {
  background-color: @colorNormalSec;
}

.lj-status-normal-thr {
  background-color: @colorNormalThr;
}

.lj-status-pass {
  background-color: @colorPass;
}

.lj-status-pass-sec {
  background-color: @colorPassSec;
}

.lj-status-pass-thr {
  background-color: @colorPassThr;
}

.lj-status-text {
  color: @colorStatusText;
  font-size: @statusBadgeTextFontSize;
  font-weight: bold;
}

// ↑↑↑↑↑↑↑↑↑↑

// 全局style修改，或对第三方控件的class的修正↓↓↓↓↓↓↓↓↓↓
//x-number组件的加减号和input要加 style="box-sizing: content-box;"
.vux-number-selector {
  box-sizing: content-box;
}

.vux-number-input {
  box-sizing: content-box;
}

body {
  margin: 0 0;
  font-family: @globalFont;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.iconfont {
  font-size: 24px;
}
.flex {
    display: flex;

    &.flex-space-between {
        justify-content: space-between;
    }
}
.flx-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-1 {
    flex: 1;
}
.flex_shrink-0 {
    flex-shrink: 0;
}

// ↑↑↑↑↑↑↑↑↑↑

// div图形↓↓↓↓↓↓↓↓↓↓
// 分隔线
.lj-divider {
  background-color: @dividerColor;
  height: @dividerSize;
}

// 备注、明细概述等圆角区域
.lj-summary-area {
  background-color: @summaryAreaBackgroundColor;
  margin: 5px;
  border-radius: 10px;
}

// ↑↑↑↑↑↑↑↑↑↑

// 仅用于主页图标、div块的颜色设置↓↓↓↓↓↓↓↓↓↓
.lj-color-orange {
  color: @colorOrange
}

.lj-color-green {
  color: @colorGreen
}

.lj-color-blue {
  color: @colorBlue
}

.lj-color-pink {
  color: @colorPink
}

.lj-color-red {
  color: @colorRed
}

// ↑↑↑↑↑↑↑↑↑↑
.lj-group {
  margin-bottom: @groupMarginBottom;
  background-color: @groupCellBackgroundColor;
}

.lj-group-title {
  background-color: @groupTitleBackgroundColor;
  padding-left: @groupPaddingLeft;
}

.lj-cell {
  padding-left: @groupPaddingLeft;
  padding-right: @groupPaddingRight;
}

.lj-group-sub-font {
  font-weight: @titleFontWeight;
  font-size: @secondaryTextFontSize;
}

//主页模块
.lj-home-module {
  margin: 8px 5px 10px 5px;
  padding-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  background-color: @homeModuleBackgroundColor;
}

//主页模块标题
.lj-home-module-title {
  position: relative;
  background-color: @homeModuleTitleBackgroundColor;
  color: @homeModuleTitleColor;
  font-weight: bold;
  font-size: @homeModuleTitleFontSize;
  padding: 8px 20px;

  .tips {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: @homeModuleContentLabelColor;
    font-size: 14px;
    font-weight: normal;

    .iconfont {
      color: @homeModuleContentLabelColor;
      font-size: 14px;
    }
  }
  .iconfont {
    font-weight: normal!important;
  }
  .hide-eye {
    padding-left: 8px;
  }
}

//主页模块内容
.lj-home-module-content {
  //padding-left: 10px;
}

//主页模块内容标题
.lj-home-module-content-label {
  padding-top: 5px;
  font-size: @homeModuleContentLabelFontSize;
  color: @homeModuleContentLabelColor;
}

.lj-home-module-data-margin {
  margin-left: 20px;
  margin-top: 10px;
}

.lj-home-module-content-value {
  font-size: @homeModuleContentValueFontSize;
  font-weight: bold;
  color: @homeModuleContentValueColor;
}

// 以下用于直接使用mu-table组件，而非公共封装组件，待替换成lj-grid后删除
.lj-input-center {
  text-align: center;
  width: 100%;
}

.lj-muse-data-table td {
  padding: 0;
}

.lj-muse-data-table th {
  background-color: lightgray;
  padding: 0;
  font-size: 14px;
  height: 20px;
  line-height: 1.0;
  font-weight: bold;
}

.lj-muse-data-table .mu-checkbox-col {
  text-align: center;
}

.lj-input-box {
  border:1px solid black;
  border-radius:5px;
}

.lj-topDate {
  background-color: #99CCFF;
  padding: 5px;
  border-radius: 5px;
}

.lj-taskinfo-title{
  font-weight: bold;
  width: 80px;
  text-align: right;
  display:inline-block; 
}

.lj-taskinfo-content{
  color: #333;
  
}

.lj-peizhi-justify{
  display:block;
  float:left;
  width:70%;
  text-align:justify;
}

.text-ellipsis-one {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  // display: -webkit-box;
  // -webkit-line-clamp: 1;
  // -webkit-box-orient: vertical;
  // overflow: hidden;
}
.text-ellipsis-one_2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}
.text-ellipsis-two {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*阴影*/
.shadow{
  box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.04), 0px 0px 6px 0px rgba(0,0,0,0.12);
}

.mu-elevation-4 {
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.04), 0px 0px 3px 0px rgba(0,0,0,0.08);
}

.mu-elevation-3 {
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.06), 0px 0px 3px 0px rgba(0,0,0,0.1);
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/*lj-icon: checkbox, radio样式*/
.lj-icon {
  // display: flex;
  // align-items: center;
  // justify-content: center;
  position: relative;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  border-radius: 4px;
  border: 1px solid @tertiary;
  transition: all ease-in-out 0.2s;

  &.single {
      border-radius: 50%;
  }
  &.checked {
      border-color: @musePrimary;
      background-color: @musePrimary;
  }
  .iconfont {
      margin-right: 0!important;
      font-size: 12px!important;
      color: #ffffff;
  }
}

/* jc/状态标签 ↓↓↓↓↓↓↓↓↓↓ */
.lj-status-red {
  background-color: @light-system-red;
}

.lj-status-orange {
  background-color: @light-system-orange;
}

.lj-status-yellow {
  background-color: @light-system-yellow;
}

.lj-status-indigo {
  background-color: @light-system-indigo;
}

.lj-status-green1 {
  background-color: @light-system-green1;
}

.lj-status-green2 {
  background-color: @light-system-green2;
}

.lj-status-green3 {
  background-color: @light-system-green3;
}

.lj-status-teal {
  background-color: @light-system-teal;
}

.lj-status-blue {
  background-color: @light-system-blue;
}

.lj-status-pink {
  background-color: @light-system-pink;
}

.lj-status-gray1 {
  background-color: @light-system-gray1;
}
.lj-linear-status-blue {
  background: linear-gradient(138.09deg, #1890FF 19.93%, #0052D4 77.42%);
}
.lj-linear-status-red {
  background: linear-gradient(138.09deg, #FF3B30 19.93%, #DA0000 77.42%);
}
.lj-linear-status-indigo {
  background: linear-gradient(138.09deg, #8886FF 19.93%, #5856D6 77.42%);
}
/* ↑↑↑↑↑↑↑↑↑↑ */


.event-icon-status {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), inset  1px 1px 2px rgba(0,0,0,0.05);
  text-align: center;

  &.status-plus {
      background-color: rgba(255, 222, 59, 1);
  }
  &.status-send {
      background-color: rgba(255, 213, 153, 1);
  }
  &.status-check {
      background-color: rgba(122, 192, 152, 1);
  }
  &.status-audit {
      background-color: rgba(102, 181, 255, 1);
  }
  &.status-stop {
      background-color: rgba(189, 189, 189, 1);
  }
  &.status-chat {
      background-color: rgba(169, 226, 193, 1);
  }
  &.status-danger {
      background-color: rgba(190, 190, 245, 1);
  }
  &.status-close {
      background-color: rgba(255, 177, 172, 1);
  }
  .iconfont {
      // display: inline-block;
      margin: auto auto;
      font-size: 14px;
      color: #fff;
  }
}

// 长按动画
@-webkit-keyframes long-press {
  0% {
      transform: scale(1);
  }
  10% {
      transform: scale(1.3);
  }
  20% {
      transform: scale(0.9);
  }
  35% {
      transform: scale(1);
  }
}
@keyframes long-press {
  0% {
      transform: scale(1);
  }
  10% {
    transform: scale(1.3);
  }
  20% {
      transform: scale(0.9);
  }
  35% {
      transform: scale(1);
  }
}
// 水纹动画
@-webkit-keyframes ball-scale-multiple {
    0% {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 0; 
    }
    5% { opacity: 1; }
    100% {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 0; 
    } 
}

@keyframes ball-scale-multiple {
    0% {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 0;
    }
    5% { opacity: 1; }
    100% {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 0; 
    } 
}

/* app版本管理 ↓↓↓↓↓↓↓↓↓↓ */
.version-confirm {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;

  .check-btn {
      flex: 1;
  }
  .progress-btn {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      height: 44px;
  }
  .confirm-btn {
      flex: 1;
      transition: all 0.2s ease-in-out;
      transform-origin: 100% 50%;
      height: 44px;
      
      .van-progress__portion, .van-progress__pivot {
          transition: all 0.2s ease-in-out;
      }
  }

  .btn + .btn {
      margin-left: 10px;
  }
  &.hasdownload .confirm-btn {
      margin-left: 0;
      width: 100%;
  }
  &.hasdownload .close-btn {
      margin-right: 0;
      width: 0;
      opacity: 0;
  }
}
/* ↑↑↑↑↑↑↑↑↑↑ */

/* 重置vant样式 ↓↓↓↓↓↓↓↓↓↓ */
.van-cell-group--inset {
  margin: 0 5px;

  .van-cell-group__title--inset {
    padding: 16px 16px 8px 16px;
  }
}
.lj-van-cell-group {
  & +& {
    margin-top: 16px;
  }
}
/* ↑↑↑↑↑↑↑↑↑↑ */

.win-header-title {
  .title-item {
      transition: all 0.2s ease-in-out;
      line-height: 32px;
  }
  .billcode {
      display: block;
      font-size: 12px;
      color: @light-label-secondary;
      line-height: 16px;
  }
}