hbt-training-ui/src/views/overview.component.scss

416 lines
7.1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

.layui-layer{
background: none;
}
.layui-layer-title{
color: #FFF;
background-color: rgba(0,0,0,0.6);
}
.layui-layer-ico{
background: none;
&::after{
content: "×";
color: #FFF;
top: -12px;
font-size: 26px;
position: relative;
}
}
.overview-container {
width: 100%;
height: 100%;
position: relative;
#map {
width: 100%;
height: 100%;
}
.bg-box {
width: 540px;
height: 100%;
position: absolute;
top: 0;
z-index: 9;
pointer-events: none;
animation-duration: 1s;
&.left {
left: 0;
padding-left: 50px;
padding-right: 160px;
background: linear-gradient(270deg, rgba(51, 51, 51, 0) 0%, rgba(11, 11, 11, 0.5) 24%, rgba(0, 0, 0, 0.8) 100%);
}
&.right {
right: 0;
padding-right: 50px;
padding-left: 160px;
background: linear-gradient(90deg, rgba(51, 51, 51, 0) 0%, rgba(11, 11, 11, 0.5) 31%, rgba(0, 0, 0, 0.8) 100%);
}
&.right.none{
background: none;
pointer-events: none;
}
.panel-container {
//width: 330px;
height: 100%;
padding: 100px 0 50px;
pointer-events: auto;
position: relative;
}
}
.top-bg {
width: 100%;
left: 0;
position: absolute;
top: 0;
z-index: 9;
pointer-events: none;
height: 90px;
background: linear-gradient(180deg, #333333 0%, rgba(51, 51, 51, 0) 100%);
transition:top 2s;
}
.exitFullScreen{
width: 100%;
left: 0;
position: absolute;
top: 0;
z-index: 9;
pointer-events: none;
height: 90px;
text-align: center;
background: linear-gradient(180deg, #333333 0%, rgba(51, 51, 51, 0) 100%);
line-height: 80px;
transition:top 2s;
.top-btn{
pointer-events: auto;
cursor: pointer;
}
}
.right-control{
width: 90px;
position: absolute;
top: 0;
z-index: 9;
pointer-events: none;
height: 100%;
text-align: center;
transition:right 2s;
display: flex;
flex-direction: column;
justify-content: center;
.play-btn{
background: rgba(51, 51, 51, 0.44);
padding: 20px 0;
margin-bottom: 10px;
pointer-events: auto;
cursor: pointer;
}
}
.fixed-btn {
width: 50px;
height: 50px;
position: absolute;
bottom: 60px;
right: 540px;
font-size: 26px;
cursor: pointer;
color: $font-color;
display: flex;
align-items: center;
justify-content: center;
background: rgba($color: #000000, $alpha: 0.3);
border-radius: 4px;
transition: right 1s;
}
.layer-btn-box {
width: 50px;
position: absolute;
bottom: 60px;
right: 440px;
font-size: 26px;
cursor: pointer;
color: $font-color;
background: rgba($color: #000000, $alpha: 0.3);
border-radius: 4px;
height: 50px;
z-index: 9;
overflow: hidden;
transition: all 1s;
.layer-btn {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
&.active {
&::after {
width: 32px;
height: 32px;
border: 1px solid #B5DCFF;
border-radius: 50%;
content: "";
top: 50%;
pointer-events: none;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
}
}
}
}
.info-content {
padding: 20px;
text-align: center;
.cycle-icon {
width: 8px;
height: 8px;
}
.blue {
background: #7FB0FF;
}
.yellow {
background: #F3D262;
}
.orange {
background: #F6974D;
}
.red {
background: #DD7171;
}
&-text {
display: flex;
align-items: center;
font-size: 12px;
margin-bottom: 20px;
text-align: left;
.label {
width: 80px;
}
.position-icon {
width: 16px;
height: 16px;
background: url("~@/assets/icons/png/point.png");
margin-left: 8px;
}
.text {
text-align: left;
&.blue {
color: #7FB0FF;
background: transparent;
}
&.yellow {
color: #F3D262;
background: transparent;
}
&.orange {
color: #F6974D;
background: transparent;
}
&.red {
color: #DD7171;
background: transparent;
}
}
.phone-btn {
width: 90px;
height: 24px;
background: rgba(255, 255, 255, 0.15);
border-radius: 16px;
border: 1px solid #FFFFFF;
cursor: pointer;
text-align: center;
font-size: 14px;
margin-left: 8px;
}
}
}
}
.cursor-pointer {
cursor: pointer;
}
.pop-btn-style {
width: 140px;
height: 34px;
border-radius: 17px 17px 17px 17px;
background: transparent;
border: 1px solid #E8E8E8;
font-size: 16px;
padding: 0;
margin: 0 auto;
span {
color: #E8E8E8;
}
&:hover, &:focus {
background: transparent;
span {
color: #E8E8E8 !important;
}
}
}
//表格通用样式
.tb-style {
.el-table, .el-table__expanded-cell {
background-color: transparent;
color: #E8E8E8;
}
.el-table th, .el-table thead.is-group th.el-table__cell {
background-color: rgba(232, 232, 232, 0.5);
color: #E8E8E8;
padding: 10px 0;
font-weight: 400;
}
.el-table tr {
background-color: transparent;
&:nth-child(2n+1) {
background-color: rgba(128, 128, 128, 0.6);
}
}
.el-table .el-table__cell {
padding: 10px 0;
text-align: center;
}
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
background-color: inherit;
}
.el-table .blue-row {
td {
&:first-child {
border-left: 4px solid #7FB0FF;
}
}
}
.el-table .yellow-row {
td {
&:first-child {
border-left: 4px solid #F3D262;
}
}
}
.el-table .orange-row {
td {
&:first-child {
border-left: 4px solid #F6974D;
}
}
}
.el-table .red-row {
td {
&:first-child {
border-left: 4px solid #DD7171;
}
}
}
}
//滚动条样式
@mixin scrollStyle($width) {
&::-webkit-scrollbar {
width: $width !important;
height: 100% !important;
}
&::-webkit-scrollbar-thumb {
border-radius: 2px;
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
opacity: 0.2;
background: #ffffff;
}
&::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 2px;
background: transparent;
}
}
.permit-info-content {
height: 320px;
overflow: auto;
@include scrollStyle(2px);
padding: 0 15px;
.el-table td.el-table__cell div {
font-size: 12px;
}
.info {
display: flex;
flex-wrap: wrap;
padding-top: 20px;
padding-bottom: 10px;
div {
width: 40%;
margin-bottom: 20px;
&:nth-child(2n) {
width: 60%;
}
}
}
}
.permit-tb {
.el-table {
width: 100%;
}
}
.popSide {
width: 560px !important;
.font-size-12 {
font-size: 12px;
}
.tb-info-style {
margin-bottom: 20px;
}
}