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.
48 lines
1.2 KiB
48 lines
1.2 KiB
<template>
|
|
<div class="WM-Info-Block" :class='direction'>
|
|
<div class="Label"><v-icon>fas fa-{{icon}}</v-icon> {{ label }} </div>
|
|
<div class="Value" :class='valueClass' > {{ value }} </div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
icon: { default: 'check' },
|
|
label: { default: " عنوان " },
|
|
value: { default: " پسر خوب " },
|
|
direction: { default: '' },
|
|
valueClass: { default: '' },
|
|
},
|
|
};
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.WM-Info-Block {
|
|
text-align: right;
|
|
padding: 5px 10px 10px 10px;
|
|
margin-bottom: 10px;
|
|
border-right: 1px solid #dcdcdc;
|
|
}
|
|
.WM-Info-Block.LTR {
|
|
text-align: left;
|
|
direction: ltr;
|
|
font-family: "BYekan-Edited",'Montserrat-Regular' !important;
|
|
border-right: 0px;
|
|
border-left: 1px solid #dcdcdc;
|
|
}
|
|
.WM-Info-Block .Label {
|
|
color: #797979;
|
|
font-size: 12px;
|
|
}
|
|
.WM-Info-Block .Value {
|
|
color: #000;
|
|
font-size: 16px;
|
|
}
|
|
.WM-Info-Block .v-icon {
|
|
margin-top: -5px;
|
|
line-height: 1.6;
|
|
margin: 0px 3px;
|
|
font-size: 14px;
|
|
}
|
|
</style>
|