/* 白屏阶段会执行的 CSS 加载动画 */

#app-loading {
  position: relative;
  top: 45vh;
  margin: 0 auto;
  color: #409eff;
  font-size: 12px;
}

#app-loading,
#app-loading::before,
#app-loading::after {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  animation: 2s ease-in-out infinite app-loading-animation;
}

#app-loading::before,
#app-loading::after {
  content: "";
  position: absolute;
}

#app-loading::before {
  left: -4em;
  animation-delay: -0.2s;
}

#app-loading::after {
  left: 4em;
  animation-delay: 0.2s;
}

@keyframes app-loading-animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -2em;
  }
  40% {
    box-shadow: 0 2em 0 0;
  }
}
body{
  margin: 0;
  overflow: overlay;
  background-color: transparent;
  transition: .3s background-color;
}
::-webkit-scrollbar{
  background-color: transparent;
  width: 12px;
}
::-webkit-scrollbar-thumb{
  background-color: inherit;
  border-radius: 8px;
  background-clip: content-box;
  border: 2px solid transparent;
}
body[scroll],
::-webkit-scrollbar-thumb:hover{
  transition: 0s;
  background-color: rgba(0,0,0,.5);
}

.jsoneditor{
  border-color: gray !important;
  background-color: var(--el-bg-color);
}
.jsoneditor-menu {
  background-color: gray !important;
  border-bottom: none !important;
}
.ace-jsoneditor .ace_scroller,
.ace-jsoneditor .ace_gutter-active-line,
.ace-jsoneditor .ace_gutter,
.ace-jsoneditor.ace_editor{
  background-color: var(--el-color-info-light-9) !important;
  color: var(--el-text-color-primary) !important;
}
.ace_variable{
  color: var(--el-text-color-primary) !important;
}
.ace-jsoneditor .ace_marker-layer .ace_active-line {
  background: rgba(64, 158, 255, 0.2);
}
.jsoneditor-statusbar{
  background: var(--el-bg-color)!important;
  border-top-color: gray !important;
}
