322 lines
6.2 KiB
SCSS
322 lines
6.2 KiB
SCSS
@import '~@/styles/variables.scss';
|
|
|
|
.resource-list {
|
|
width: 100vw;
|
|
position: fixed;
|
|
top: 50px;
|
|
left: 0;
|
|
height: calc(100vh - 50px);
|
|
transition: 0.2s ease-in-out;
|
|
|
|
.resource-list__header {
|
|
height: 36px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
|
|
.group-list {
|
|
width: calc(100% - 40px);
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
display: flex;
|
|
overflow-x: auto;
|
|
justify-content: flex-start;
|
|
|
|
>span {
|
|
flex: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
padding: 0 8px;
|
|
color: $--color-text-1;
|
|
cursor: pointer;
|
|
background-color: $--color-black-5;
|
|
border-radius: 2px;
|
|
margin-right: 5px;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
>i {
|
|
font-size: 14px;
|
|
color: $--color-text-1;
|
|
cursor: pointer;
|
|
margin-left: 8px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
}
|
|
|
|
.active-tab {
|
|
color: $--color-primary;
|
|
|
|
>i {
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
.right-icon {
|
|
height: 100%;
|
|
width: 36px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
>i {
|
|
font-size: 18px;
|
|
color: $--color-text-1;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.resource-list__content {
|
|
height: calc(50vh - 136px);
|
|
width: 100%;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
|
|
.resource-item {
|
|
width: 100%;
|
|
height: 40px;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: rgb(13, 52, 72);
|
|
margin: 5px 0;
|
|
padding: 0 5px;
|
|
box-sizing: border-box;
|
|
|
|
>.icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0 6px;
|
|
border-radius: 50%;
|
|
border: 1px solid $--color-text-1;
|
|
box-shadow: 0 0 2px rgba(250, 250, 250, 0.8),
|
|
0 0 6px rgba(250, 250, 250, 0.6),
|
|
0 0 14px rgba(250, 250, 250, 0.3);
|
|
|
|
>i {
|
|
color: $--color-text-1;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
>.device-name {
|
|
display: inline-block;
|
|
width: 110px;
|
|
height: 40px;
|
|
text-align: left;
|
|
line-height: 40px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: $--color-text-1;
|
|
}
|
|
|
|
.battery {
|
|
color: $--color-text-1;
|
|
font-size: 14px;
|
|
width: 70px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
|
|
>i {
|
|
color: $--color-text-1;
|
|
font-size: 16px;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
&-normal {
|
|
color: #18da2e;
|
|
|
|
>i {
|
|
color: #18da2e;
|
|
}
|
|
}
|
|
|
|
&-weak {
|
|
color: #f59a23;
|
|
|
|
>i {
|
|
color: #f59a23;
|
|
}
|
|
}
|
|
|
|
&-danger {
|
|
color: #d9001b;
|
|
|
|
>i {
|
|
color: #d9001b;
|
|
}
|
|
}
|
|
}
|
|
|
|
.fly-height {
|
|
color: $--color-text-1;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
width: 70px;
|
|
|
|
>i {
|
|
color: #18da2e;
|
|
font-size: 14px;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.device-location {
|
|
color: $--color-text-1;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
flex: 1;
|
|
|
|
>i {
|
|
color: #d9001b;
|
|
font-size: 16px;
|
|
margin-right: 2px;
|
|
}
|
|
}
|
|
|
|
.device-lock {
|
|
font-size: 18px;
|
|
color: #ffff00;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.device-status {
|
|
width: 8px;
|
|
height: 8px;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
background: #d9001b;
|
|
|
|
//&__normal {
|
|
// background: #95f204;
|
|
//}
|
|
//&__weak {
|
|
// background: #f59a23;
|
|
//}
|
|
&__online {
|
|
background: #95f204;
|
|
}
|
|
}
|
|
|
|
.team-header {
|
|
background: rgb(13, 52, 72);
|
|
margin: 5px 0;
|
|
width: 100%;
|
|
height: 40px;
|
|
padding: 0 5px;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
|
|
>.icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0 6px;
|
|
border-radius: 50%;
|
|
border: 1px solid #a45d35;
|
|
box-shadow: 0 0 5px rgba(164, 93, 53, 0.8),
|
|
0 0 10px rgba(164, 93, 53, 0.6),
|
|
0 0 20px rgba(164, 93, 53, 0.3);
|
|
|
|
>i {
|
|
color: $--color-text-1;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
>.team-name {
|
|
display: inline-block;
|
|
flex: 1;
|
|
height: 40px;
|
|
text-align: left;
|
|
line-height: 40px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: $--color-text-1;
|
|
}
|
|
|
|
.team-command {
|
|
>i {
|
|
color: $--color-text-1;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.team-item {
|
|
>div {
|
|
background: rgb(13, 52, 72);
|
|
margin: 5px 0;
|
|
padding: 0 5px 0 15px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.uav-item .device-name {
|
|
width: 100px;
|
|
}
|
|
|
|
.people-item .people-name {
|
|
width: 170px;
|
|
}
|
|
|
|
.rescue-item .car-name {
|
|
width: 100px;
|
|
}
|
|
|
|
.fire-item .car-name {
|
|
width: 100px;
|
|
}
|
|
}
|
|
}
|
|
|
|
::v-deep .el-button.is-circle {
|
|
padding: 7px 8px !important;
|
|
|
|
i {
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.resource-list__large {
|
|
height: calc(50vh - 57px);
|
|
left: $--icon-mode-larger-card-left;
|
|
top: $--icon-mode-larger-card-top;
|
|
transition: 0.2s ease-in-out;
|
|
}
|
|
|
|
::v-deep .el-icon-plus {
|
|
position: relative;
|
|
top: 2px;
|
|
}
|