@import "../../style/themes/default";
@import "../../style/mixins/index";

@layout-prefix-cls: ~"@{mkui-prefix}-layout";
@layout-detail-prefix-cls: ~"@{layout-prefix-cls}-detail";
.@{layout-detail-prefix-cls} {
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  &-header {
    height: @layout-detail-head-height;
    line-height: @layout-detail-head-height;
    overflow: hidden;
    background-color: @background-color-light;
    &-title {
      display: inline-block;
      font-weight: 500;
      padding-left: @layout-detail-horiz-padding;
    }
    &-operates {
      display: inline-block;
      padding-right: @layout-detail-horiz-padding;
      float: right;
      > button {
        margin-left: 16px;
      }
    }
  }
  &-content {
    padding: @layout-detail-vertical-padding @layout-detail-horiz-padding;
    flex-grow: 1;
  }
  &-footer {
    height: @layout-detail-footer-height;
    line-height: @layout-detail-footer-height;
    text-align: left;
    padding: 0 30px;
    border-top: 1px solid @border-color-split;
    > button {
      margin-right: 16px;
    }
  }
}
