// stylelint-disable-next-line selector-max-id
#nprogress .bar {
  // 最顶部页面切换时的加载进度条的颜色
  background: #04fa87 !important; // 自定义颜色
}
// 禁止选中(鼠标指针样式)
.global-not-allowed {
  cursor: not-allowed;
  background: var(--el-fill-color-light);
}

// 用于播放点击音效
.global-play-click-sound {
  cursor: pointer;
}

// 全局透明度弹窗
.el-overlay.global-transparency-modal {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: none;
}

.el-segmented.global-img-segmented {
  --el-segmented-color: var(--el-text-color-regular);
  --el-segmented-bg-color: var(--el-fill-color-light);
  --el-segmented-padding: 2px;
  --el-segmented-item-selected-color: var(--el-color-white);
  --el-segmented-item-selected-bg-color: var(--el-color-primary);
  --el-segmented-item-selected-disabled-bg-color: var(--el-color-primary-light-5);
  --el-segmented-item-hover-color: var(--el-text-color-primary);
  --el-segmented-item-hover-bg-color: transparent;
  --el-segmented-item-active-bg-color: transparent;
  --el-segmented-item-disabled-color: transparent;
  padding: 0;

  .el-segmented__item-selected {
    width: 50px;
    height: 50px;
    background-color: transparent;
    background-image: url('@/assets/images/canvas/on_base_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
  }

  .el-segmented__item {
    padding: 0;
  }
}
