You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
willaengine/resources/js/Global/components/Blocks/Info.vue

49 lines
1.2 KiB

<template>
<div class="info-block" :class='direction'>
4 years ago
<div class="Label"><v-icon v-if="icon">WMi-{{icon}}</v-icon> {{ label }} </div>
5 years ago
<div class="Value" :class='valueClass' v-html="value"></div>
5 years ago
</div>
</template>
<script>
export default {
props: {
4 years ago
icon: String,
5 years ago
label: { default: " عنوان " },
5 years ago
value: { default: "" },
5 years ago
direction: { default: '' },
5 years ago
valueClass: { default: '' },
},
};
</script>
5 years ago
<style lang="scss" scoped>
.info-block {
5 years ago
text-align: right;
padding: 5px 10px 10px 10px;
margin: 0px 2px 10px;
5 years ago
border-right: 1px solid #dcdcdc;
}
.info-block.LTR {
5 years ago
text-align: left;
direction: ltr;
4 years ago
font-family: 'Montserrat-Regular' !important;
5 years ago
border-right: 0px;
border-left: 1px solid #dcdcdc;
}
.info-block .Label {
5 years ago
color: #797979;
5 years ago
font-size: 12px;
4 years ago
margin-bottom: 4px;
5 years ago
}
4 years ago
.info-block:not(.LTR) .Value {
5 years ago
color: #000;
5 years ago
font-size: 16px;
4 years ago
font-family: 'iranyekan-regular';
5 years ago
}
.info-block .v-icon {
5 years ago
margin-top: -5px;
line-height: 1.6;
font-size: 14px;
}
</style>