mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 11:18:39 +00:00
71 lines
1.7 KiB
SCSS
71 lines
1.7 KiB
SCSS
@import "_mixins", "_vars";
|
|
|
|
.crumbs-1 {
|
|
list-style: none;
|
|
overflow: hidden;
|
|
font-size: $breadcrumb-font-size;
|
|
|
|
li {
|
|
background: $breadcrumb-inactive-background;
|
|
border: $breadcrumb-border solid $breadcrumb-border-color;
|
|
padding: $breadcrumb-padding;
|
|
position: relative;
|
|
display: block;
|
|
float: left;
|
|
text-shadow: -1px -1px 1px #ffffff;
|
|
cursor: pointer;
|
|
|
|
@include box-shadow-out(#ffffff);
|
|
|
|
&:first-child {
|
|
@include border-left-radius($breadcrumb-border-radius);
|
|
}
|
|
|
|
// todo: maybe replace .last with :last-child
|
|
&:not(.last):after, &:before {
|
|
content:" ";
|
|
display: block;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 18px solid transparent;
|
|
border-bottom: 17px solid transparent;
|
|
border-left: 14px solid $content-background-color;
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -18px;
|
|
left: 100%;
|
|
}
|
|
|
|
&:not(.last):after {
|
|
z-index: 2;
|
|
}
|
|
|
|
&:before {
|
|
border-left-color: $breadcrumb-border-color;
|
|
margin-left: $breadcrumb-border;
|
|
z-index: 1;
|
|
}
|
|
|
|
&.active:not(.last):after, &:hover:not(.last):after {
|
|
border-left: 14px solid #ffffff;
|
|
}
|
|
}
|
|
|
|
.last {
|
|
padding-right: 20px;
|
|
@include border-right-radius($breadcrumb-border-radius);
|
|
|
|
&:before {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
cursor: default;
|
|
}
|
|
|
|
.active, li:hover {
|
|
background: $breadcrumb-active-background;
|
|
}
|
|
}
|