<template>
  <div>
    <div id="map" class="map-container"></div>
  </div>
</template>

<script>
//import baseMap from '../../positioning/mixins/baseMap'
export default {
  //mixins: [baseMap]
}
</script>
<style lang="scss" scoped>
.map-container {
  width: 100%;
  height: 600px;
}
::v-deep #title {
  width: 100%;
  height: 50px;
  display: table;
  text-align: center;
  background-color: #3c8dbc;
  p {
    margin: auto;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: white;
    font-family: SimHei, STHeiti;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 5px;
  }
}

::v-deep .page-main {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow-y: auto;
}

::v-deep .left {
  width: 20%;
  height: 100%;
  float: left;
  background-color: #101c45;
}

::v-deep .right {
  width: 20%;
  height: 100%;
  float: left;
  background-color: #101c45;
}

::v-deep .map {
  width: 100%;
  height: 100%;
  height: calc(100vh - 84px);
  float: left;
}

::v-deep .map-debugpanel {
  background: rgba(135, 196, 240, 0.8);
  width: 450px;
  height: 120px;
  border: 2px #fff solid;
  padding: 10px;
  color: #fff;
}

::v-deep .map-debugpanel input {
  color: #bbb;
}

::v-deep .map-debugpanel a {
  color: #fff;
  float: right;
  margin-right: 15px;
}

::v-deep .map-floorpanel {
  background: rgb(52, 73, 94);
  width: 40px;
  height: 120px;
  padding: 0px;
  color: #fff;
  border: 0px solid rgb(231, 234, 236) !important;
}

::v-deep .map-floorpanel tr {
  text-align: center;
  height: 30px;
}

::v-deep .map-floorpanel td {
  text-align: center;
  height: 30px;
}

::v-deep .map-floorpanel button {
  width: 40px;
  height: 30px;
  border: none;
  background: rgb(52, 73, 94);
  color: #fff;
}

::v-deep .map-buildpanel {
  background: rgb(52, 73, 94);
  width: 40px;
  height: 120px;
  padding: 0px;
  color: #fff;
  border: 0px solid rgb(231, 234, 236) !important;
}

::v-deep .map-buildpanel tr {
  text-align: center;
  height: 30px;
}

::v-deep .map-buildpanel td {
  text-align: center;
  height: 30px;
}

::v-deep .map-buildpanel button {
  width: 40px;
  height: 30px;
  border: none;
  background: rgb(52, 73, 94);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

::v-deep .up-arrows {
  width: 0;
  height: 0;
  border-bottom: 20px solid white;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

::v-deep .down-arrows {
  width: 0;
  height: 0;
  border-top: 20px solid white;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}
</style>
