
/**
 * 主题4 全局样式（静态 css，由 utils/themeUtil.ts#setThemeCss 通过 useHead 注入）
 * <p>
 *   由 public/css/global.less 转换而来：
 *   - 该文件不再走 vite 的 less 编译，因此无法使用 @/assets/less/variables.less 注入的变量
 *   - 原 @fontColor 取自 assets/less/variables.less（值为 #222），已直接写为字面量
 *   - 修改本文件后无需重启 dev server，但浏览器有缓存，必要时强刷
 * </p>
 */

:focus-visible {
  outline: unset;
}

ul,
li {
  list-style: none;
}

input:focus {
  outline: none
}

a {
  text-decoration: none;
  color: #222;
  cursor: pointer;
}

button {
  cursor: pointer;
  outline: none;
  border: none
}

button,
input,
optgroup,
option,
select,
textarea {
  font-family: inherit;
  font-style: inherit;

  outline: 0;

}

img {
  vertical-align: middle;

}

.mobileView {
  display: none;
}

input&testarea::placeholder {
  color: #c9c9c9;
}

textarea {
  /* color: #666; */
  background: #fff;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid #bbb;
  display: block;
  padding: 10px;
  width: 100%;
}

a {
  display: inline-block;
}

@media screen and (max-width:1024px) and (orientation: portrait) {
  body {
    min-width: unset;
  }

  .pcView {
    display: none !important;
  }

  .mobileView {
    display: block !important;
  }

  .mobileContainer {
    padding: 10px;
  }
}
