<template>
  <div class="d-f f-d-c w-h-100" >
    <div ref="appContentRef" class="f-1-h">
      <router-view></router-view>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent} from 'vue'



export default defineComponent({
  name: 'App',
  components: {},
  setup () {
  }
})
</script>

<style lang="scss" scoped>
@import "../../common";

.header {
  position: relative;
  padding: 0 20px 0 32px;
  background-color: $darken;
}

.header-logo {
  width: auto;
  height: 42px;
  margin: 19px 0;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  div {
    cursor: pointer;
    padding: 0 28px;
    font-size: 14px;
    color: $white;
    transition: background-color 0.15s;
    background-color: $darken-lighten;

    &.active {
      background-color: $darkener;
    }
  }

  img {
    width: auto;
    height: 28px;
    margin-bottom: 4px;
  }
}

.header-right {
  div {
    cursor: pointer;
    padding: 0 20px;
    font-size: 14px;
    color: $white;
    border-left: 1px solid $grey;
  }

  img {
    width: auto;
    height: 20px;
    margin-right: 6px;
  }
}
</style>
