// common pane

.common-panel-wrapper {
  width: $content-width;
  background: $content-bg;
  border-radius: 1rem 1rem 0 0;

  .common-panel-title-bar {
    height: 2.4rem;
    padding: 0 0.3rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: white;

    .common-panel-title {
      display: inline-block;
      height: 2.4rem;

      span {
        margin-left: 0.5rem;
      }
    }

    .common-panel-close-icon {
      position: absolute;
      right: 0.3rem;
      font-size: 1.7rem;
      line-height: 1.5;
      color: white;
      cursor: pointer;
    }
  }

  .common-panel-contanier {
    height: calc(100% - 2.4rem);
    min-height: 3rem;
    overflow: hidden;
    border: $content-border;
    border-top: 0;

    .common-panel-content {
      height: 100%;
    }
  }
}
