Include Talent component in the playground

This commit is contained in:
Melvin Valster
2019-07-25 09:59:17 +02:00
parent 45e68a11e2
commit 7b51daa3d7
7 changed files with 79 additions and 46 deletions
+18
View File
@@ -64,6 +64,24 @@ a {
margin-right: 1em;
background-color: #111;
.talent {
position: absolute;
// Rows
@for $i from 0 through 6 {
&[data-row="#{$i}"] {
top: $row-offset + (($i) * $row-distance);
}
}
// Columns
@for $i from 0 through 3 {
&[data-col="#{$i}"] {
left: $col-offset + ($col-distance * $i);
}
}
}
&:last-child {
margin-right: 0;
}