@import (reference) '../extend.less';
.yo-authority-view {
  &--container {
    >.ant-descriptions-view {
      border: 0;
    }
  }
  .ant-descriptions-item-label {
    width: 150px;
  }
  .ant-descriptions {
    clear: both;

    margin-bottom: @padding-sm;
    .ant-descriptions-view {
      overflow: visible;
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
  .ant-descriptions-item-content {
    padding: @padding-sm @padding-md;
    .yo-authority-view--checkbox {
      display: inline-block;

      width: 150px;
      margin: @padding-xxs 0;
      .ant-checkbox-wrapper {
        margin: 0;
      }
    }
  }
  .ant-card-grid {
    width: 25%;
    margin-bottom: @padding-sm;
    padding: @padding-xs;

    cursor: pointer;
  }
  .ant-card {
    margin-bottom: 0;

    background-color: transparent;
    &-body {
      margin: -1px 0 0 -1px;
      padding: 0;
    }
    .ant-card-grid {
      margin-bottom: 0;
    }
  }
}
