html,
body,
:root {
--padding-left: 24px;
--padding-right: 24px;
--main-color: rgb(2, 238, 255);
--title-color: #58c96b;
--header-height: 85px;
--s: 6; // 轮播的个数
--h: 36; // 单个 li 容器的高度
--speed: 3s; // 单次动画的时长
}
@font-face {
font-family: "Rubik";
src: url(../fonts/Rubik.ttf);
}
html,
body {
margin: 0;
padding: 0;
}
.u-m-t {
margin-top: 2vh;
}
.u-p-t {
padding-top: 1vh;
}
.page-padding-left {
padding-left: var(--padding-left);
}
.ntitle {
height: 38px;
line-height: 38px;
text-align: left;
// background: url(../img/ntitle.png) no-repeat;
// background-size: 100% 100%;
text-indent: 40px;
// margin-bottom: 10px;
}
.addr {
text-align: right;
padding-right: 24px;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 1em;
}
// 更改下拉框颜色
.el-select-dropdown.el-popper {
background-color: rgba(0, 166, 208, 0.3);
border-color: var(--main-color);
backdrop-filter: blur(6px);
.el-select-dropdown__item {
color: #fff;
}
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
background-color: var(--main-color);
color: #00292c;
}
.popper__arrow {
border-bottom-color: var(--main-color) !important;
&::after {
border-bottom-color: var(--main-color) !important;
}
}
}
@mixin mbg($o) {
background-color: rgba(0, 166, 208, $o);
}
.blur-wrap {
// backdrop-filter: blur(6px);
@include mbg(0.3);
border: 1px solid var(--main-color);
border-radius: 8px;
}
.scroll-event {
height: calc(100% - 48px);
// .header-item:last-child{
// display: none;
// }
.row-item {
.ceil:last-of-type {
display: none;
flex: none;
}
}
}
.scroll-base {
.row-item {
.ceil:last-of-type {
display: none;
width: 0 !important;
flex: none;
}
}
}
.left-wrap {
position: absolute;
left: calc(1vw + 1em + 48px + 20px);
height: calc(100vh - var(--header-height) - 24px);
top: calc(var(--header-height) + 24px);
width: 20vw;
min-width: 390px;
// padding: 15px;
box-sizing: border-box;
// display: flex;
// flex-direction: column;
.left-item {
background-image: url("../img/left_bac.png");
background-size: 100% 100%;
// flex: 1;
height: calc((100vh - var(--header-height) - 24px - 50px) / 3);
// @include mbg(0.3);
// border: 1px solid var(--main-color);
// background: rgba(11,21,17,.6);
// border-radius: 8px;
margin-bottom: 17px;
&.chart-wrap .ntitle {
margin-bottom: 10px;
}
}
// &.event-page{
// width: 30vw;
// }
}
.dv-scroll-board {
.row-item {
overflow: hidden;
&:active{
background-color: #fff;
}
&:hover {
transform: scale(1.05);
// transform:scaleZ(5);
box-shadow: 0 0 5px 3px rgba(1, 68, 73, 0.5);
}
}
}
.right-wrap {
pointer-events: none;
& > * {
pointer-events: auto;
}
position: absolute;
top: calc(var(--header-height) + 24px);
// height: calc( 100vh - var(--header-height) - 24px );
right: 10px;
.scroll-board-wrap {
position: relative;
// margin-left: auto;
// background-color: rgba(1,33,35,.7);
width: 380px;
// border-radius: 8px;
overflow: hidden;
padding-top: 15px;
&.close {
height: 80px;
.scroll-board-01 {
.rows {
opacity: 0;
}
}
.inner {
img {
transform: rotate(180deg);
}
}
}
.scroll-board-01 {
height: calc(100vh - var(--header-height) - 272px);
// height: 60vh;
box-sizing: border-box;
padding: 0 15px;
color: #08eeff;
.header {
color: #fff;
}
.rows {
.ceil:last-of-type {
padding: 0;
}
}
}
.scroll-board-tool {
height: 40px;
margin: 30px 15px 0;
.inner {
position: absolute;
left: 15px;
right: 15px;
bottom: 0;
height: 40px;
line-height: 40px;
background-color: rgba(8, 238, 255, 0.1);
text-align: center;
}
}
}
}
.xiaoban {
margin: 10px 0;
width: 380px;
// margin-left: auto;
color: var(--main-color);
.el-input .el-input__inner {
border: none;
font-size: 18px;
// height: 50px;
// line-height: 50px;
color: var(--main-color);
background: url(../img/xiaoban-bg.png) no-repeat;
background-size: 100% 100%;
&::-webkit-input-placeholder {
// color: var(--main-color);
color: #016262;
}
}
.el-input__icon {
color: var(--main-color);
font-size: 24px;
}
.title {
white-space: nowrap;
font-size: 18px;
}
}
.nav-wrap {
position: fixed;
left: 1vw;
top: calc(var(--header-height) + 24px);
.nav-item {
color: var(--main-color);
&:not(:first-of-type) {
margin-top: 1vh;
}
width: 1em;
background: url(../img/nav-item.png);
background-size: 100% 100%;
padding: 2vh 24px;
cursor: pointer;
&.active {
background-image: url(../img/nav-item-s.png);
color: #ffaa00;
}
}
}