*, *:before, *:after { padding: 0; margin: 0; box-sizing: border-box; } html, body { height: 100%; font-size: 14px; background-color: #ecffff; font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif; } .flex { display: flex; } .flex1 { flex: 1; } .flex2 { flex: 2; } .flex-around { display: flex; justify-content: space-around; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .flex-end { display: flex; justify-content: flex-end; } .flex-align-center { display: flex; align-items: center; } .text-center { text-align: center; } .font12 { font-size: 12px; } .main-color { color: #0bf1ff; } .danger-color { color: #f15450 !important; } .error-color { color: #ffc704 !important; } .btm10 { margin-bottom: 10px; } .btm20 { margin-bottom: 20px; } a { text-decoration: none; cursor: pointer; } [v-cloak] { display: none; } #app { background: url('../images/page-bg.png') center center no-repeat; background-size: 100% 100%; padding-top: 10px; height: 100vh; overflow: hidden; color: #fff; } .my-header { position: relative; height: 70px; line-height: 70px; background: url('../images/header-bg.png') center center no-repeat; background-size: 100% 100%; text-align: center; font-weight: bold; font-size: 32px; font-weight: 600; } .my-header span { background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .my-header span.right { position: absolute; right: 60px; top: 0px; font-size: 16px; } .main { padding: 15px; height: calc(100vh - 25px); background: url('../images/back-big.png') no-repeat center bottom; padding-bottom: 65px; display: grid; grid-template-rows: 1fr 2fr; gap: 10px; } .top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .center, .footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .top-left, .top-right { height: 100%; background: url('../images3/big.png') no-repeat; background-size: 100% 100%; position: relative; } .panel-title { position: relative; text-align: center; height: 50px; line-height: 50px; } .panel-title .text { font-size: 20px; font-weight: 600; color: #05fbfe; text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48); background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; } .panel-title .text::before { position: absolute; content: ' '; top: 10px; left: -40px; width: 30px; height: 10px; background: url('../images/title-left.png') no-repeat; } .panel-title .text::after { position: absolute; content: ' '; top: 10px; right: -40px; width: 30px; height: 10px; background: url('../images/title-right.png') no-repeat; } .top-left-bottom, .top-right-bottom, .center-right-bottom, .center-center-bottom, .center-left-bottom, .footer-right-bottom, .footer-center-bottom { height: calc(100% - 50px); width: 100%; padding: 10px; } .top-left-bottom-left { height: 100%; width: 20%; background: url('../images3/big.png') no-repeat; background-size: 100% 100%; position: relative; } .top-left-bottom-right { height: 100%; width: calc(80% - 10px); background: url('../images3/big.png') no-repeat; background-size: 100% 100%; } .light { width: 120px; height: 100px; } .top-left-bottom-left > .num { color: #69c0ff; font-size: 20px; font-weight: bold; position: absolute; top: 50px; } .downList { background: url('../images3/down-back.png') no-repeat; background-size: 100% 100%; width: 85px; height: 30px; position: absolute; right: 10px; top: 10px; } .downList > img { width: 11px; height: 7px; margin-left: 10px; } .center-right, .center-center, .center-left, .footer-right, .footer-center, .footer-left { background: url('../images3/small.png') no-repeat; background-size: 100% 100%; } .center-right-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .center-right-bottom > div, .center-center-bottom > div { background: url('../images3/small.png') no-repeat; background-size: 100% 100%; } .center-right-bottom-right { width: 100%; height: 100%; position: relative; } .center-right-bottom-right-text { color: #40a9ff; font-size: 18px; font-weight: bold; position: absolute; width: 100px; height: 40px; line-height: 40px; text-align: center; left: calc(50% - 50px); top: calc(50% - 30px); } .center-center-bottom, .center-left-bottom { width: 100%; display: grid; grid-template-columns: 60% 40%; gap: 10px; } .center-center-bottom > div:nth-child(1) > div:nth-child(1) { height: 20%; padding-bottom: 10px; } .center-center-bottom-list { height: 80%; display: flex; flex-direction: column; justify-content: space-between; } .center-center-bottom-list .el-progress-bar__inner { background: linear-gradient(to right, #092854, #00aeff); } .center-center-bottom-list .el-progress__text { color: #fff; } .el-progress { border: 1px solid #115079; } .center-center-bottom > div { padding: 10px; } .center-center-bottom-right { display: flex; justify-content: center; align-items: center; position: relative; } .center-center-bottom-right > div:nth-child(1) { border: 1px dashed #00ffff; width: 1px; height: 80%; } .center-center-bottom-right > div:nth-child(2) { position: absolute; top: calc(20% - 30px); left: calc(50% - 95px); background-color: #166592; color: #2cc6ff; width: 190px; height: 20px; line-height: 20px; text-align: center; } .center-center-bottom-right > div:nth-child(3) { position: absolute; top: 60px; left: 117px; background-color: #166592; color: #2cc6ff; width: 60px; height: 20px; line-height: 20px; text-align: center; } .center-center-bottom-right > div:nth-child(4) { position: absolute; top: 100px; left: 55px; background-color: #416d63; color: #ffd802; width: 60px; height: 20px; line-height: 20px; text-align: center; } .center-center-bottom-right > div:nth-child(5) { position: absolute; top: 140px; left: 117px; background-color: #166592; color: #2cc6ff; width: 60px; height: 20px; line-height: 20px; text-align: center; } .center-left-bottom-list { border: 1px solid #06345e; } .center-left-bottom-list > span { display: inline-block; padding: 5px 30px; cursor: pointer; } .center-left-bottom-list > span:hover { color: #2abbff; } .center-left-bottom-list > span:nth-child(odd) { background-color: #1a426c; } .footer-right-bottom { padding: 0 50px !important; padding-bottom: 20px !important; } .footer-right-bottom .el-progress-bar__inner { background: linear-gradient(to right, #092854, #00aeff); } .footer-right-bottom .el-progress { width: 85%; } .el-progress-bar__outer { background-color: #6fa0ce; } .blue { color: #3af7fe; } .yellow { color: #ffd200; } .pink { color: #d87aff; } .footer-left-bottom { height: 100%; padding: 10px; font-size: 14px; } .bottom-right { height: 100%; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; } .bottom-right-right { height: 100%; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; } .bottom-right-left { width: 100%; height: 100%; } .bottom-right-left-content { width: 100%; height: calc(100% - 50px); display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; } .center-center { height: 100%; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; } .bottom-right-left-content-top, .bottom-right-left-content-bottom { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bottom-right-left-content-top-right { width: 100%; height: 100%; display: grid; gap: 10px; grid-template-rows: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr)); } .bottom-right-left-content-bottom { padding: 10px; } .bottom-right-left-content-bottom div { width: 100%; height: 100%; } .bottom-right-left-content-bottom-bottom { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; } .bottom-right-back { background-color: #0e3b63; padding: 10px; } .arrow { top: 10px; right: 30px; width: 30px !important; height: 30px !important; } /* zhb */ /* 宽高纵横比 */ .aspect-auto { aspect-ratio: auto; } .aspect-square { aspect-ratio: 1 / 1; } .aspect-video { aspect-ratio: 16 / 9; } /* aspect-[4/3] */ /* 居中 */ .mx-auto { margin: 0 auto; } /* 设置容器内的列数/每列距离 */ .columns-1 { columns: 1; } /* columns-[20px] */ /* 盒子模型 */ .box-border { box-sizing: border-box; } .box-content { box-sizing: content-box; } /* 消失 */ .hidden { display: none; } /* 块级元素 */ .block { display: block; } /* 行内块 */ .inline-block { display: inline-block; } /* 行内元素 */ .inline { display: inline; } /* 弹性布局 */ .flex { display: flex; } /* 主轴起点在左边 */ .flex-row { flex-direction: row; } /* 主轴起点在右边 */ .flex-row-reverse { flex-direction: row-reverse; } /* 主轴竖向排列,在上面 */ .flex-col { flex-direction: column; } /* 主轴竖向排列,在下面 */ .flex-col-reverse { flex-direction: column-reverse; } /* 自动换行 */ .flex-wrap { flex-wrap: wrap; } /* 自动换行下起点 */ .flex-wrap-reverse { flex-wrap: wrap-reverse; } /* 不换行 */ .flex-nowrap { flex-wrap: nowrap; } /* 弹性成长 */ .grow { flex-grow: 1; } /* 不允许弹性成长 */ .grow-0 { flex-grow: 0; } /* 主轴从左开始 */ .justify-start { justify-content: flex-start; } /* 主轴从右开始 */ .justify-end { justify-content: flex-end; } /* 主轴剧中 */ .justify-center { justify-content: center; } /* 主轴两端无间隔 */ .justify-between { justify-content: space-between; } /* 主轴两端有间隔 */ .justify-around { justify-content: space-around; } /* 所有间隔相等 */ .justify-evenly { justify-content: space-evenly; } /* 纵向起点最上方 */ .items-start { align-items: flex-start; } /* 纵向起点最下方 */ .items-end { align-items: flex-end; } .items-center { align-items: center; } /* 网格布局 */ .grid { display: grid; } /* 有几列 */ .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* 有几行 */ .grid-rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); } /* 间距 */ .gap-7 { gap: 1.75rem; } /* 允许弹性成长 */ .shrink { flex-shrink: 1; } /* 不允许弹性成长 */ .shrink-0 { flex-shrink: 0; } /* 不允许成长也不允许收缩 */ .flex-none { flex: none; } /* 浮动布局 */ .float-right { float: right; } .float-left { float: left; } .clear-both { clear: both; } /* 溢出 */ .overflow-auto { overflow: auto; } .overflow-hidden { overflow: hidden; } .overflow-scroll { overflow: scroll; } .overflow-x-auto { overflow-x: auto; } .overflow-y-auto { overflow-y: auto; } /* 定位 */ .fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; } .top-0 { top: 0px; } .right-0 { right: 0px; } .bottom-0 { bottom: 0px; } .left-0 { left: 0px; } /* top-[3px] */ /* z-[100] */ /* 显示隐藏未脱离文档流 */ .visible { visibility: visible; } .invisible { visibility: hidden; } /* 内边距 */ .p-0 { padding: 0px; } .px-0 { padding-left: 0px; padding-right: 0px; } .py-0 { padding-top: 0px; padding-bottom: 0px; } .pt-0 { padding-top: 0px; } .pr-0 { padding-right: 0px; } .pb-0 { padding-bottom: 0px; } .pl-0 { padding-left: 0px; } /* p-[5px] */ /* 外边距 */ .m-0 { margin: 0px; } .mx-0 { margin-left: 0px; margin-right: 0px; } .my-0 { margin-top: 0px; margin-bottom: 0px; } .mt-0 { margin-top: 0px; } .mr-0 { margin-right: 0px; } .mb-0 { margin-bottom: 0px; } .ml-0 { margin-left: 0px; } /* m-[5px] */ /* 宽度 */ .w-full { width: 100%; } .w-screen { width: 100vw; } /* w-[32rem] */ /* min-w-[50%] */ /* max-w-[50%] */ /* 高度 */ .h-full { height: 100%; } .h-screen { height: 100vh; } /* h-[32rem] */ /* min-h-[50%] */ /* max-h-[32rem] */ /* 字体 */ .text-xs { font-size: 0.75rem; /* 12px */ line-height: 1rem; /* 16px */ } .text-sm { font-size: 0.875rem; /* 14px */ line-height: 1.25rem; /* 20px */ } .text-base { font-size: 1rem; /* 16px */ line-height: 1.5rem; /* 24px */ } .text-lg { font-size: 1.125rem; /* 18px */ line-height: 1.75rem; /* 28px */ } .text-xl { font-size: 1.25rem; /* 20px */ line-height: 1.75rem; /* 28px */ } .text-2xl { font-size: 1.5rem; /* 24px */ line-height: 2rem; /* 32px */ } .text-3xl { font-size: 1.875rem; /* 30px */ line-height: 2.25rem; /* 36px */ } .text-4xl { font-size: 2.25rem; /* 36px */ line-height: 2.5rem; /* 40px */ } .text-5xl { font-size: 3rem; /* 48px */ line-height: 1; } .text-6xl { font-size: 3.75rem; /* 60px */ line-height: 1; } .text-7xl { font-size: 4.5rem; /* 72px */ line-height: 1; } .text-8xl { font-size: 6rem; /* 96px */ line-height: 1; } .text-9xl { font-size: 8rem; /* 128px */ line-height: 1; } /* text-[14px] */ /* 字体粗细font-weight */ /* font-[1100] */ /* https://tailwindcss.com/docs/font-weight */ /* 字体间距letter-spacing */ /* tracking-[.25em] */ /* 行高line-height */ /* leading-[3rem] */ /* 无列表样式 */ .list-none { list-style-type: none; } /* 小圆点 */ .list-disc { list-style-type: disc; } /* 数字列表 */ .list-decimal { list-style-type: decimal; } .text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } /* 所有文本头尾对齐 */ .text-justify { text-align: justify; } /* 文本颜色 */ /* text-[#50d71e] */ /* https://tailwindcss.com/docs/text-color */ /* 下划线 */ .underline { text-decoration-line: underline; } /* 上划线 */ .overline { text-decoration-line: overline; } /* 中划线 */ .line-through { text-decoration-line: line-through; } /* 无划线 */ .no-underline { text-decoration-line: none; } /* 全小写 */ .lowercase { text-transform: lowercase; } /* 全大写 */ .uppercase { text-transform: uppercase; } /* 首字母大写 */ .capitalize { text-transform: capitalize; }