scinote-web/app/assets/stylesheets/shared/breadcrumbs.scss

43 lines
728 B
SCSS
Raw Normal View History

2021-03-12 19:21:10 +08:00
.breadcrumbs-container {
@include font-small;
align-items: center;
display: flex;
flex-wrap: wrap;
.delimiter {
@include font-button;
2021-03-18 21:24:13 +08:00
color: $color-silver-chalice;
2021-03-12 19:21:10 +08:00
font-weight: bold;
padding: 0 .5em;
}
.breadcrumbs-link {
display: inline-block;
2021-03-18 21:24:13 +08:00
max-width: 180px;
2021-03-12 19:21:10 +08:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
&:hover {
text-decoration: none;
}
}
.breadcrumbs-collapsed-container {
color: $brand-primary;
position: relative;
.show-breadcrumbs {
align-items: center;
cursor: pointer;
display: flex;
position: relative;
}
a {
@include font-button;
color: $brand-primary;
}
}
}