﻿/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 3px;
  height: 1px;
  background-color: #004e8f;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  background-color: #004e8f;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #004e8f;
}

body {
  padding: 0;
  margin: 0;
  --primary: #409eff;
  --success: #67c23a;
  --warning: #e6a23c;
  user-select: none;
}

.box {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

[class^="bg-"] {
  width: 0;
  height: 0;
  position: absolute;
  left: 250px;
  top: 300px;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.6s;
  -moz-transition: all 0.6s; /* Firefox 4 */
  -webkit-transition: all 0.6s; /* Safari 和 Chrome */
  -o-transition: all 0.6s; /* Opera */
}

[class^="bg-"].active {
  width: 800px;
  height: 800px;
  left: -150px;
  top: -100px;
}

.bg-primary {
  background-color: var(--primary);
}

.bg-success {
  background-color: var(--success);
}

.bg-warning {
  background-color: var(--warning);
}

.container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  z-index: 1;
}

.info,
.status {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.title {
  display: flex;
  width: 100%;
  font-size: 50px;
  align-items: center;
}

.privateIcon,
.setIcon {
  position: relative;
  cursor: pointer;
  font-size: 32px;
  line-height: 50px;
  margin-left: 10px;
}

.privateIcon.hidden::after {
  position: absolute;
  content: "/";
  left: calc(50% - 8px);
}

.setIcon {
  display: none !important;
  animation: rotatiing 2s linear infinite;
  -webkit-animation: rotatiing 2s linear infinite;
}

.title:hover > .setIcon,
.title:hover > .privateIcon {
  display: inline-block !important;
}

.message {
  font-size: 12px;
  margin-bottom: 10px;
}

.row {
  width: 100%;
  flex: unset;
}

.ipAddress {
    font-size: 18px;
}

@keyframes rotatiing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
