| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/components/pages/home/ |
Upload File : |
<template>
<div class="property">
<i class="property__icon" :class="dataSource.icon" />
<div class="property__title">
{{ $t(dataSource.title) }}
</div>
{{ $t(dataSource.description) }}
</div>
</template>
<script>
export default {
name: "HomePropertyItem",
props: {
dataSource: {
required: true,
type: Object,
},
},
};
</script>
<style lang="scss" scoped>
.property {
background: $color-white;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
color: $color-text--light;
font-size: 14px;
line-height: 1.3;
margin-bottom: $padding-default/2;
min-height: 120px;
overflow: hidden;
padding: $padding-default;
position: relative;
&:after {
content: "";
clear: both;
display: block;
}
&__icon {
color: $color-primary;
float: right;
font-size: 48px;
margin: $padding-default/2;
margin-left: $padding-default;
margin-right: 0;
}
&__title {
color: $color-text;
font-size: 16px;
font-weight: bold;
height: 32px;
margin: 0;
padding: 0;
}
@media (min-width: $tablet) {
border-radius: $border-radius;
display: inline-block;
margin: 0 $padding-default/2;
vertical-align: top;
width: calc(33.33% - #{$padding-default});
}
@media (min-width: $desktop) {
height: 96px;
min-height: auto;
}
}
[data-lang="en"] {
.property {
&__icon {
float: left;
margin-left: 0;
margin-right: $padding-default;
}
}
}
</style>