| 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 : /inetpub/wwwroot/parsmega.nuxt/components/product/tab/ |
Upload File : |
<template>
<div class="tab-btn" :class="{ 'tab-btn--active': isActive }">
<i class="tab-btn__icon" :class="icon" />
{{ title }}
</div>
</template>
<script>
export default {
name: "productTabDesktopTile",
props: {
icon: {
required: true,
type: String,
},
isActive: {
required: true,
type: Boolean,
},
title: {
required: true,
type: String,
},
},
};
</script>
<style lang="scss" scoped>
.tab-btn {
background: $color-white--dark;
border: 1px solid $color-border;
color: $color-text--light;
cursor: pointer;
display: inline-block;
font-size: 14px;
height: 36px;
line-height: 36px;
padding: 0 $padding-default;
position: relative;
right: -1px;
text-align: center;
vertical-align: top;
z-index: 1;
&__icon {
display: inline-block;
font-size: 18px;
vertical-align: middle;
}
&--active {
background: $color-white;
border-bottom-color: transparent;
color: $color-text;
z-index: 2;
}
}
[data-lang="en"] {
.tab-btn {
left: -1px;
right: unset;
}
}
</style>