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