@use 'element/hy-element';

* {
  margin: 0;
  padding: 0;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  position: relative;
}
video {
  width: 100%;
  height: 100%;
}
.svgBox {
  width: 16px;
  height: 16px;
}

.drawer_box {
  height: 92% !important;
  top: 3% !important;
  border-radius: 10px 0 0 10px;
  border: 4px solid var(--hy-main);
  border-right: 0;
}
.clickBox {
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.clickBox:active {
  opacity: 0.6;
}

.clickBox {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: 0.5s;

  &:active {
    transition: 0s;
    opacity: 0.6;
  }
}

.over_one_line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
}

.over_two_line,
.over_two_lines {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.over_any_lines {
  --line-clamp: 2;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/*禁止选中文本*/
.user-select-none {
  -webkit-touch-callout: none; /*系统默认菜单被禁用*/
  -webkit-user-select: none; /*webkit浏览器*/
  -khtml-user-select: none; /*早期浏览器*/
  -moz-user-select: none; /*火狐*/
  -ms-user-select: none; /*IE10*/
  user-select: none;
}

.search_lightColor {
  min-width: 254px;
  line-height: 32px;
  background: rgba(var(--hy-background), 1);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  border: 1px solid rgba(var(--hy-border), 1);
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.search_lightColor:focus,
.search_lightColor:hover {
  border-color: rgba(var(--hy-theme), 1);
}
.search_lightColor .hy-el-input .hy-el-input__wrapper {
  background: rgba(var(--hy-background), 1);
  border-color: rgba(var(--hy-background), 1);
  box-shadow: none;
  padding: 0 26px 0 10px;
  font-size: 12px;
  color: rgba(var(--hy-main), 1);
}

.search_lightColor .hy-el-input .hy-el-input__wrapper:focus,
.search_lightColor .hy-el-input .hy-el-input__wrapper:hover {
  border-color: rgba(var(--hy-background), 1);
  box-shadow: none;
}

.search_lightColor .searchBox:active {
  opacity: 0.6;
}
.search_lightColor .searchBox {
  width: 42px;
  height: 32px;
  background: rgba(var(--hy-background-3), 1);
  border-radius: 8px;
  line-height: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search_lightColor .searchBox .svgBox {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
