49 lines
947 B
Vue
49 lines
947 B
Vue
<template>
|
|
<div class="settings-tariff-card">
|
|
<div class="settings-tariff-card__header">
|
|
<div>
|
|
<slot name="icon" />
|
|
<h4 class="d-inline-block ml-8 text-clr-grey-600">
|
|
{{ title }}
|
|
</h4>
|
|
</div>
|
|
|
|
<slot name="subtitle" />
|
|
</div>
|
|
<div class="settings-tariff-card__content">
|
|
<slot name="content" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps({
|
|
title: { type: String, required: true },
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.settings-tariff-card {
|
|
&__header{
|
|
padding: 24px;
|
|
border-top-left-radius: 12px;
|
|
border-top-right-radius: 12px;
|
|
background-color: $clr-grey-100;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
&__content{
|
|
padding: 24px;
|
|
border-bottom-left-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
border: 2px solid $clr-grey-100;
|
|
|
|
display: flex;
|
|
gap: 32px;
|
|
}
|
|
}
|
|
</style>
|