2020-04-19 18:10:28 +00:00
|
|
|
<template>
|
|
|
|
<div class="row settings--section">
|
2020-09-29 19:42:32 +00:00
|
|
|
<div class="medium-4 small-12 title--section">
|
2020-04-19 18:10:28 +00:00
|
|
|
<p class="sub-block-title">
|
|
|
|
{{ title }}
|
|
|
|
</p>
|
|
|
|
<p class="sub-head">
|
|
|
|
{{ subTitle }}
|
|
|
|
</p>
|
2022-04-11 07:05:03 +00:00
|
|
|
<p v-if="note">
|
|
|
|
<span class="note">{{ $t('INBOX_MGMT.NOTE') }}</span>
|
|
|
|
{{ note }}
|
|
|
|
</p>
|
2020-04-19 18:10:28 +00:00
|
|
|
</div>
|
2020-05-30 11:58:00 +00:00
|
|
|
<div class="medium-6 small-12">
|
2020-04-19 18:10:28 +00:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
subTitle: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-04-11 07:05:03 +00:00
|
|
|
note: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
2020-04-19 18:10:28 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '~dashboard/assets/scss/variables';
|
|
|
|
|
|
|
|
.settings--section {
|
|
|
|
border-bottom: 1px solid $color-border;
|
|
|
|
display: flex;
|
2020-09-29 19:42:32 +00:00
|
|
|
padding: $space-normal $space-normal $space-normal 0;
|
2020-04-19 18:10:28 +00:00
|
|
|
|
|
|
|
.sub-block-title {
|
|
|
|
color: $color-woot;
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2021-01-17 17:14:03 +00:00
|
|
|
|
|
|
|
.title--section {
|
|
|
|
padding-right: var(--space-large);
|
|
|
|
}
|
2022-04-11 07:05:03 +00:00
|
|
|
|
|
|
|
.note {
|
|
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
}
|
2020-04-19 18:10:28 +00:00
|
|
|
}
|
|
|
|
</style>
|