@import '~nsn-comp/es/index.less';
@import '~antd/es/style/themes/default.less';

@font-face {
  font-family: 'DS-DIGI-NORMAL';
  src: url('./assets/fonts/DS-DIGI-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'DS-DIGIB-BOLD';
  src: url('./assets/fonts/DS-DIGIB-bold.ttf') format('truetype');
}

@font-face {
  font-family: 'MSTIFFHEI-ULTRABOLD';
  src: url('./assets/fonts/MStiffHei-PRC-UltraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'PINGFANG-SC-REGULAR';
  src: url('./assets/fonts/PingFang-SC-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'PINGFANG-SC-SEMIBOLD';
  src: url('./assets/fonts/PingFang-SC-Semibold.ttf') format('truetype');
}

// The prefix to use on all css classes from nsnui.
@bigscreen-prefix: ~'@{cls-prefix}-bigscreen';

@bigscreen-base-width: 3840;
@bigscreen-base-height: 2160;

@digi-color: #FFB657;
@digi-color-blue: #03ABFF;

// 内容分隔条颜色
@split-border-color: rgba(31, 244, 255, 30%);

.col-style() {
  border-right: 1px solid @split-border-color;
  padding-left: calc(10/@bigscreen-base-height * 100vw);
  padding-right: $padding-left;

  &:last-child {
    border-right: unset;
  }
}

// X/Y坐标轴颜色
@coordinator-color: @split-border-color;

.no-wrap() {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// // 饼形图颜色
// @line-chart-color-blue: rgba(30, 171, 174, 100%);
// @line-chart-color-blue: rgba(0, 248, 186, 100%);
// @line-chart-color-blue: rgba(217, 67, 49, 100%);
// @line-chart-color-blue: rgba(121, 47, 230, 100%);
// @line-chart-color-blue: rgba(251, 255, 143, 100%);
// // 饼形图颜色
// @line-chart-color-blue: rgba(2, 159, 236, 100%);
// @line-chart-color-blue: rgb(225, 169, 51, 100%);
// // X/Y坐标轴文字颜色
// @line-chart-color-blue: rgb(255, 255, 255, 70%);