@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './form.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  color: $fontColorMain;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  overflow: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container{
  min-height: calc(100vh - 80px);
  background-color: #f0f2f5;
  padding: 30px;
}

// 自定义全局样式

// 省略号
.ellipsis {
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

// 鼠标形状
.cursor-disabled {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

// placeholder
input::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #bcbdbe !important;
}

input::-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #bcbdbe !important;
  opacity: 1;
}

input:-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #bcbdbe !important;
  opacity: 1;
}

input:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #bcbdbe !important;
}

// 表格中的用户头像信息展示
.user-avater {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  img {
    display: block;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    border-radius: 50%;
    flex: 0 0 auto;
  }
}

// 原点
.point{
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 2px;
  line-height: inherit;
}
.point-default{
  background: $pointDefault;
}
.point-success{
  background: $pointSuccess;  
}
.point-danger{
  background: $pointDanger;  
}
.point-warning{
  background: $pointWarning;  
}
.point-info{
  background: $pointInfo;  
}