<template>
  <section class="border15">
    <h2>{{ title }}</h2>
    <div class="slot">
      <slot/>
    </div>
  </section>
</template>
<script>
export default {
  name: 'border15',
  props: ['title', 'theme']
}
</script>

<style lang="scss" scoped>
.border15 {
  height: 100%;

  h2 {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    background-image: linear-gradient(270deg, rgba(31, 67, 102, 0), rgba(31, 78, 102, 0.4));
    margin-bottom: 12px;
  }

  .slot {
    height: calc(100% - 30px);
  }
}
</style>
