@import '../../style/themes/default';
@import '../../style/mixins/index';
 .borderLayout {
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: @background-color-base;
    > div {
      background: @white;
      position: absolute;
      box-sizing: border-box;
      border-radius: 1px;
      overflow: hidden;
      &.showBorder {
        &.header{
          > div {
            &:last-child {
              border-bottom: 14px solid @background-color-base;
            }
          }
        }
        &.left{
          border-right: 14px solid @background-color-base;
        }
        &.right{
          border-left: 14px solid @background-color-base;
        }
        &.footer{
          > div {
            &:first-child {
              border-top: 14px solid @background-color-base;
            }
          }
        }

      }
      > .layoutCon {
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: auto;
        .beautifyScrollbar();
      }
      > .toolBar {
        width: 100%;
        display: flex;
        align-items: center;
        box-sizing: border-box;
      }
      &.center >.toolBar{
        padding-bottom:0px;
      }

    }
    &.showBorder {
      background-color: @background-color-base;
      border: 14px solid @background-color-base;
    }
    &.showPadding{
      >div{
        > div {
          padding: 6px;
        }
      }
    }

  }

  .toolBar {
    > span {
      .text-overflow();
      &.title {
        float: left;
        margin-right: 0px;
        color: @text-color;
        font-weight: 500;
        display: inline-block;
      }
      &.tool {
        flex: 1;
      }
      &.expand {
        float: right;
        color: @primary-color;
        text-align: right;
        margin-left: auto;
        font-size: 12px;
        cursor: pointer;
      }
    }
  }
  .centerFooter{
    position: absolute;
    bottom:0px;
    width: 100%;
    box-sizing: border-box;
  }


