@use 'variables' as *;


// 重置样式
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --el-color-primary:#FF7575;
  --el-button-hover-bg-color:#f5a5a5;
  --el-color-primary-light-3:#f5a5a5;
  --el-color-primary-dark-2:#f55050;
  --el-checkbox-height:21px;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
think{
  color: #8b8b8b;
  white-space: pre-wrap;
  margin: 0;
  padding-left: 13px;
  line-height: 26px;
  position: relative;
  font-size: 16px;
  display: block;
  border-left: 1px solid #c9c9c9;
  margin-bottom: 24px;
}

@mixin multi-ellipsis($line: 1) {
  @if $line <= 0 {
      $line: 1;
  }

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $line;
  -webkit-box-orient: vertical;
}

.ellipsis-1 {
  @include multi-ellipsis(1);
}

.ellipsis-2 {
  @include multi-ellipsis(2);
}

#app {
  height: 100%;
}

input,textarea{
  &:focus{
    outline: none;
    border-color: $primary-color;
  }
}

button:disabled{
  background-color: #FF7575;
  opacity: 0.5;
}

.el-input__wrapper {
  --el-input-focus-border-color: #FF7575;
}

// 滚动条样式
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  
  &:hover {
    background: #a8a8a8;
  }
} 