<script>
import dvMixin from '@/mixins/dv'
import Designer from './MediaDesigner'
import Viewer from './MediaViewer'

export default {
  name: 'MediaList',
  components: {
    Designer,
    Viewer
  },
  mixins: [dvMixin]
}
</script>

<style lang="scss">
.c-media-type {
  width: 177px;
  padding: 60px $spacing 20px 0;
  margin-right: $spacing;
  border-right: 1px solid $gray--light;

  &__item {
    display: flex;
    align-items: center;
    height: 38px;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    border-radius: $radius--mini;

    & + & {
      margin-top: 20px;
    }

    &.section {
      color: $gray;

      &:hover {
        background-color: $blue--light;
      }

      &.active {
        color: #fff;
        background-color: $blue;
      }
    }
  }

  &__icon {
    margin-right: 10px;
    font-size: 24px;
  }
}

.o-media-name {
  padding-left: 10px !important;
}
</style>
