cleanup todos

This commit is contained in:
Dennis Eichhorn 2019-12-31 23:36:49 +01:00
parent 3cbca69936
commit bcd1c8a558

View File

@ -1,5 +1,3 @@
.crumbs-1 {
list-style: none;
overflow: hidden;
@ -14,8 +12,7 @@
float: left;
cursor: pointer;
// todo: maybe replace .last with :last-child
&:not(.last):after, &:before {
&:not(:last-child):after, &:before {
content:" ";
display: block;
width: 0;
@ -29,7 +26,7 @@
left: 100%;
}
&:not(.last):after {
&:not(:last-child):after {
z-index: 2;
}
@ -39,12 +36,12 @@
z-index: 1;
}
&.active:not(.last):after, &:hover:not(.last):after {
&.active:not(:last-child):after, &:hover:not(:last-child):after {
border-left: 14px solid #ffffff;
}
}
.last {
:last-child {
padding-right: 20px;
&:before {