2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2022-10-05 19:21:34 +00:00
|
|
|
%breadcrumbs {
|
|
|
|
display: grid;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2020-04-23 15:29:44 +00:00
|
|
|
%breadcrumbs > li {
|
|
|
|
list-style-type: none;
|
2019-06-14 17:27:37 +00:00
|
|
|
display: inline-flex;
|
2022-10-05 19:21:34 +00:00
|
|
|
overflow: hidden
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
2020-04-23 15:29:44 +00:00
|
|
|
%breadcrumb-milestone::before {
|
|
|
|
margin-right: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
%breadcrumb {
|
2020-05-19 16:18:04 +00:00
|
|
|
/* as the separator is a '/' the left margin needs */
|
|
|
|
/* to be different from the right in order to center it */
|
|
|
|
margin-left: 6px;
|
2022-10-05 19:21:34 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
2020-04-23 15:29:44 +00:00
|
|
|
%breadcrumb::before {
|
|
|
|
margin-right: 8px;
|
|
|
|
display: inline-block;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|