This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bla bla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function for getting colors from the array | |
@function color($colorname) { | |
@return map-get($colors, $colorname); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// List of colors | |
$colors: ( | |
primary: #4a90e2, | |
success: #13b843, | |
warning: #FFA726, | |
danger: #F44336, | |
dark: #4c5b74 | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hv-item-child{ | |
padding: 0 15px; | |
position: relative; | |
&:before, &:after{ | |
content: ''; | |
position: absolute; | |
background-color: $line-color; | |
left: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hv-item-parent{ | |
&:after{ | |
position: absolute; | |
content: ''; | |
width: 2px; | |
height: $bottom-margin / 2; | |
bottom: 0; | |
left: 50%; | |
background-color: $line-color; | |
transform: translateY(100%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple style for the content of parent & child | |
p{ | |
margin: 0; | |
background-color: #fff; | |
color: #00B9AE; | |
padding: 20px; | |
border-radius: 10px; | |
box-shadow: 0 3px 6px rgba(#CC8367, 0.22); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Key component --> | |
<div class="hv-item"> | |
<div class="hv-item-parent"> | |
<p> This will be parent </p> | |
</div> | |
<div class="hv-item-children"> | |
<div class="hv-item-child"> | |
<p> child Item </p> |