<template>
  <div class="editor-navigation">
    <GroupSettings class="group-settings-area"/>
    <div
      class="app-player"
      ref="layer"
    >
      <Core/>
      <Toolbar class="navigation-toolbar"></Toolbar>
    </div>
    <InitialSceneSettings class="initial-scene-settings-area"></InitialSceneSettings>
  </div>
</template>

<script>
import InitialSceneSettings from "./initialSceneSettings.vue";
import GroupSettings from "./groupSettings.vue";
import Core from "@/framework/core/core-v1.2.vue";
import Toolbar from "@/framework/Toolbar.vue";

export default {
  name: "EditorNavigation",
  components: {
    InitialSceneSettings,
    GroupSettings,
    Core,
    Toolbar,
  },
};
</script>

<style lang="less" scoped>
.editor-navigation {
  height: 100%;
  display: flex;
  .group-settings-area {
    width: 300px;
    flex: 0 0 auto;
  }
  .app-player {
    flex: 1 1 auto;
    padding: 10px;
    position: relative;
    height: 100%;
    .navigation-toolbar {
      position: absolute;
      left: 10%;
      right: 10%;
      top: 70%;
      bottom: 10%;
    }
  }
  .initial-scene-settings-area {
    width: 274px;
    flex: 0 0 auto;
  }
}
</style>
