app-button.less 812 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
.app-button.ivu-button {
  font-size: 12px;

  > span {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-content {
    display: flex;

    &.left {
      justify-content: flex-start;
      align-items: center;

      .icon + .caption {
        padding-left: 6px;
      }
    }

    &.right {
      flex-direction: row-reverse;
      justify-content: flex-start;
      align-items: center;

      .icon + .caption {
        padding-right: 6px;
      }
    }

    &.top {
      flex-direction: column;
      justify-content: flex-start;
    }

    &.bottom {
      flex-direction: column-reverse;
      justify-content: flex-start;
    }
  }
}
//  加载效果
.app-button.ivu-btn-loading {
  display: flex;
  line-height: 2;
  .ivu-icon-ios-loading {
    line-height: 2;
  }
}