.window-header {
  padding: 14px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  // 背景
  // background: rgba(255, 255, 255, 0.2);
  background: #FFFFFF;
  // 背景模糊程度
  backdrop-filter: blur(2px);
  // 上方线条
  // border-bottom: 1px solid rgba(55, 155, 255, 0.5);
  border-bottom: 1px solid #dedede;
}

.window-header-title {
  color: #FFFFFF;
  max-width: calc(100% - 100px);
  overflow: hidden;

  .window-header-main-title {
    font-size: 20px;
    font-weight: bolder;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 50vw;
    // 字体颜色
    color: var(--color-fg-default);
  }

  .window-header-sub-title {
    font-size: 14px;
    text-align: left;
    // 字体颜色
    color: var(--color-fg-default);
  }
}

.window-actions {
  display: inline-flex;
}

.window-action-button:not(:first-child) {
  margin-left: 10px;
}