@charset "utf-8";
@cornflower: #6865fd;
@cornflower_bg: #e4eaf4;
@dark-sky-blue: #4292f0;
@night-blue: #050930;
@slate-grey: #5e677b;
@bluey-grey: #8897a8;
@coral: #f36565;
@butterscotch: #fcb750;
@ice-blue: #f7fcff;

@theme_color: @dark-sky-blue;
@theme_holder_color: #7bb3f3;
@theme_color_hover: darken(@dark-sky-blue, 10);
@holder_color: @bluey-grey;
@base_color: @slate-grey;
@theme_bg_color: #e9eff8;
@line_color: #c7d0d9;
@base_size: 14px;
@base_bg_color: #f4f4f4;
@base_select_color: #f4f7fd;
@content_width: 1000px;

.theme,
.theme a,
.theme a:hover {
  color: @theme_color;
}

.night {
  color: @night-blue;
}

.link {
  // text-decoration: underline;
  // text-decoration-style: dashed;
  // text-decoration-color: @theme_color;
  border-bottom: 1px dashed @theme_color;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-12 {
  font-size: 12px;
}

.t-d-l {
  text-decoration: underline;
}

.f-w-b {
  font-weight: bold;
}

.t-l {
  text-align: left;
}

.t-r {
  text-align: right;
}

.t-c {
  text-align: center;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

.p-a {
  position: absolute;
}

.d-i-b {
  display: inline-block;
}

.m-l-5 {
  margin-left: 5px;
}

.m-l-1 {
  margin-left: 10px;
}

.m-l-2 {
  margin-left: 20px;
}

.m-r-5 {
  margin-right: 5px;
}

.m-r-1 {
  margin-right: 10px;
}

.m-r-2 {
  margin-right: 20px;
}

.m-t-5 {
  margin-top: 5px;
}

.m-t-1 {
  margin-top: 10px;
}

.m-t-2 {
  margin-top: 20px;
}

.m-b-5 {
  margin-bottom: 5px;
}

.m-b-1 {
  margin-bottom: 10px;
}

.m-b-2 {
  margin-bottom: 20px;
}

.p-l-5 {
  padding-left: 5px;
}

.p-l-1 {
  padding-left: 10px;
}

.p-l-2 {
  padding-left: 20px;
}

.p-r-5 {
  padding-right: 5px;
}

.p-r-1 {
  padding-right: 10px;
}

.p-r-2 {
  padding-right: 10px;
}

.p-t-5 {
  padding-top: 5px;
}

.p-t-1 {
  padding-top: 10px;
}

.p-t-2 {
  padding-top: 20px;
}

.p-b-5 {
  padding-bottom: 5px;
}

.p-b-1 {
  padding-bottom: 10px;
}

.p-b-2 {
  padding-bottom: 20px;
}

.c-p {
  cursor: pointer;
}

.w-1 {
  width: 10%;
}

.w-2 {
  width: 20%;
}

.w-3 {
  width: 30%;
}

.w-4 {
  width: 40%;
}

.w-5 {
  width: 50%;
}

input,
textarea {
  outline: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: @holder_color;
}

.d-i-b {
  display: inline-block;
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
}

body {
  color: @base_color;
  font-size: @base_size;
  line-height: 1.7;
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  background: @base_bg_color;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;

  #page {
    height: 100%;
  }

  #full-page {
    height: 100%;
    background: #fff;
  }

  .content {
    width: @content_width;
    margin: 0 auto;
  }
}

#root {}

body {
  .ant-tooltip {

    .ant-tooltip-arrow {
      border-top-color: #fff;
    }

    .ant-tooltip-inner {
      background: #fff;
      color: @base_color;
    }
  }
}