/* 基础样式设置 */
body,
html {
  height: 100%;
  width: 100vw;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
*,
::before,
::after {
  border-width: 0;
  border-style: solid;
  border-color: theme('borderColor.DEFAULT', currentColor);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  border: none;
}
body {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  font-size: 15px;
  color: #64748b;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-family: PingFangSC-Regular, Helvetica Neue, Helvetica, Arial, sans-serif, Tahoma, 'Lucida Grande', Verdana, 'Microsoft Yahei';
}
/* 定义屏幕尺寸 */
/* 定义颜色 */
/* 定义阴影 */
/* 定义圆角 */
/* 定义全局颜色变量 */
/* 定义全局尺寸变量 */
/* 侧边栏按钮激活状态样式 */
.onactive {
  background-color: #1e3a8a !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
  color: #fff !important;
}
/* 侧边栏按钮点击时样式 */
.onactive:active {
  background-color: #1e40af !important;
}
/* 整体布局框样式 */
#layout {
  width: 100vw;
  height: 100vh;
  min-width: 800px;
}
#layout #left {
  background-color: #2563eb;
}
#layout #right {
  width: 100vw;
  height: 100vh;
}
#layout #right #navbar {
  height: 50px;
  width: 100%;
  min-width: 800px;
  background: #fff;
  display: flex;
  padding: 0 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
#layout #right #navbar #logo {
  height: 50px;
  margin-right: 20px;
  padding: 2px 0;
}
#layout #right #navbar #breadcrumb {
  width: 30%;
  height: 50px;
  display: flex;
  justify-content: start;
}
#layout #right #navbar #breadcrumb .item {
  height: 50px;
  line-height: 50px;
  color: #64748b;
  margin: 0 3px;
}
#layout #right #navbar #breadcrumb .link:hover {
  color: #2563eb;
  font-weight: 600;
}
#layout #right #navbar #btn-list {
  width: 70%;
  height: 50px;
  line-height: 50px;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
  /* 顶部Navibar分隔符 */
}
#layout #right #navbar #btn-list .btn-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 4px;
}
#layout #right #navbar #btn-list .btn-item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
#layout #right #navbar #btn-list .btn-item img:hover {
  transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  /* IE 9 */
  -moz-transform: scale(1.1, 1.1);
  /* Firefox */
  -webkit-transform: scale(1.1, 1.1);
  /* Safari 和 Chrome */
  -o-transform: scale(1.1, 1.1);
  /* Opera */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
}
#layout #right #navbar #btn-list #split-line {
  position: relative;
  top: 12px;
  width: 1px;
  height: 28px;
  background-color: #ccc;
  margin: 0 12px;
}
#layout #right #navbar #btn-list #school-name {
  margin-left: 4px;
}
#layout #right #main-content {
  height: 92vh;
  position: relative;
  top: 1vh;
  overflow: hidden;
}
#layout #right #main-content #app-container {
  overflow: auto;
}
/* poptip 提示框 */
.poptip {
  position: relative;
  z-index: 101;
}
.poptip::before,
.poptip::after {
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: all 0.3s ease 0.2s;
  box-sizing: border-box;
}
.poptip::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #475569 transparent transparent transparent;
  left: calc(50% - 8px);
  top: 0px;
  transform: translateX(0%) translateY(36px) rotate(180deg);
}
.poptip::after {
  font-size: 14px;
  color: #fff;
  content: attr(aria-controls);
  position: absolute;
  padding: 6px 12px;
  white-space: nowrap;
  z-index: -1;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(70px);
  background: #475569;
  line-height: 1;
  border-radius: 2px;
}
.poptip:hover::before,
.poptip:hover::after {
  visibility: visible;
  opacity: 1;
}
