.#{$namespace} {
  &-border-box,
  * {
    box-sizing: border-box;
  }
  &-box,
  * {
    box-sizing: content-box;
  }
  &-clear {
    clear: both;
    *zoom: 1;
    &::after {
      content: "\20";
      clear: both;
      *zoom: 1;
      display: block;
      height: 0;
    }
    &-slace {
      word-spacing: -5px;
    }
  }

  &-inline {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
  }

  &-edge {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: dashed;
    border-color: transparent;
    overflow: hidden;
    &-top {
      top: -4px;
      border-bottom-color: $g-999;
      border-bottom-style: solid;
    }
    &-bottom {
      top: 2px;
      border-top-color: $g-999;
      border-top-style: solid;
    }
    &-left {
      border-right-color: $g-999;
      border-right-style: solid;
    }
    &-right {
      border-left-color: $g-999;
      border-left-style: solid;
    }
  }

  &-elip {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  &-disabled,
  &-icon,
  &-unselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }

  &-disabled,
  &-disabled:hover {
    color: $g-300 !important;
    cursor: not-allowed !important;
  }

  &-show {
    display: block !important;
  }

  &-hide {
    display: none !important;
  }

  &-show-v {
    visibility: visible !important;
  }

  &-hide-v {
    visibility: hidden !important;
  }

  &-btn,
  &-input,
  &-select,
  &-textarea,
  &-upload-button {
    outline: 0;
    -webkit-appearance: none;
    @include transition();
  }
  // 引用区块
  &-elem-quote {
    margin-bottom: 10px;
    padding: 15px;
    line-height: 1.8;
    border-left: 5px solid $primary;
    border-radius: 0 2px 2px 0;
    background-color: $g-100;

    &.quote-nm {
      border-style: solid;
      border-width: 1px 1px 1px 5px;
      background: 0 0;
    }
  }
  // 字段集区块
  &-elem-field {
    margin-bottom: 10px;
    padding: 0;
    border-width: 1px;
    border-style: solid;

    legend {
      margin-left: 20px;
      padding: 0 10px;
      font-size: 20px;
    }
  }

  &.field-title {
    margin: 16px 0;
    border-width: 0;
    border-top-width: 1px;
  }
  &-field-box {
    padding: 10px 15px;
  }
  &.field-title &-field-box {
    padding: 10px 0;
  }

  // 进度条
  &-progress {
    position: relative;
    height: 6px;
    background-color: $g-300;
    border-radius: 20px;
    &-bar {
      @include position(0, 0);
      width: 0;
      max-width: 100%;
      height: 6px;
      border-radius: 20px;
      text-align: right;
      background-color: $primary;
      @include transition();
    }

    &-big,
    &-big &-bar {
      height: 18px;
      line-height: 18px;
    }

    &-big &-text {
      position: static;
      padding: 0 10px;
      color: $white;
    }
    &-text {
      position: relative;
      top: -20px;
      line-height: 18px;
      font-size: $ft-sm;
      color: $g-666;
    }
  }

  // 圆角
  &-circle {
    border-radius: $border-radius-round;
  }
  &-auxiliar-moving {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: 0 0;
    z-index: 9999999999;
  }

  //??
  &-flow-more {
    margin: 10px 0;
    text-align: center;
    color: $g-999;
    font-size: $ft-sm;
    clear: both;
    a {
      height: 32px;
      line-height: 32px;
      cite {
        padding: 0 20px;
        border-radius: 3px;
        background-color: #eee;
        color: $g-333;
        font-style: normal;

        &:hover {
          opacity: 0.8;
        }
      }
      & > * {
        display: inline-block;
        vertical-align: top;
      }
      i {
        font-size: 30px;
        color: $g-600;
      }
    }
  }
}
