vault/ui/app/styles/core/breadcrumb.scss
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

62 lines
898 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.breadcrumb {
-ms-user-select: text;
-webkit-user-select: text;
user-select: text;
min-height: 1.5rem;
margin: 0;
overflow-x: auto;
&:not(:last-child) {
margin: 0;
}
.is-sidebar + .column & {
@include until($tablet) {
margin-left: $size-2;
}
}
li {
& + li::before {
display: none;
}
&:first-child {
.sep {
margin-left: 0;
}
}
}
a {
line-height: 1;
padding: 0 $size-11 0 0;
text-decoration: none;
&:hover {
color: $blue;
}
}
.sep {
display: inline-block;
color: transparent;
margin: 0.15rem 0.4rem 0 0.5rem;
overflow: hidden;
width: 0.5rem;
&::before {
color: $blue;
content: '';
font-size: 1rem;
line-height: 1;
opacity: 0.33;
}
}
}