2024-02-19 22:53:42 +00:00
|
|
|
export default {
|
2024-03-12 08:19:23 +00:00
|
|
|
css: ({ dt }) => `
|
2024-02-19 22:53:42 +00:00
|
|
|
.p-breadcrumb {
|
2024-03-13 06:56:24 +00:00
|
|
|
background: ${dt('breadcrumb.background')};
|
2024-02-19 22:53:42 +00:00
|
|
|
border: 0 none;
|
2024-03-13 06:56:24 +00:00
|
|
|
border-radius: ${dt('rounded.base')};
|
2024-02-19 22:53:42 +00:00
|
|
|
padding: 1rem;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2024-04-09 11:51:45 +00:00
|
|
|
.p-breadcrumb-list {
|
2024-02-19 22:53:42 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-04-09 11:51:45 +00:00
|
|
|
.p-breadcrumb-separator {
|
2024-02-19 22:53:42 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-04-09 11:51:45 +00:00
|
|
|
margin: 0 0.5rem 0 0.5rem;
|
|
|
|
color: ${dt('breadcrumb.separator.color')};
|
2024-02-19 22:53:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-breadcrumb::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-04-09 12:01:07 +00:00
|
|
|
.p-breadcrumb-item-link {
|
2024-04-09 11:51:45 +00:00
|
|
|
text-decoration: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-03-12 08:19:23 +00:00
|
|
|
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
|
|
|
border-radius: ${dt('rounded.base')};
|
2024-02-19 22:53:42 +00:00
|
|
|
outline-color: transparent;
|
|
|
|
}
|
|
|
|
|
2024-04-09 12:01:07 +00:00
|
|
|
.p-breadcrumb-item-link:focus-visible {
|
2024-03-12 08:19:23 +00:00
|
|
|
outline: ${dt('focus.ring.width')} ${dt('focus.ring.style')} ${dt('focus.ring.color')};
|
|
|
|
outline-offset: ${dt('focus.ring.offset')};
|
2024-02-19 22:53:42 +00:00
|
|
|
}
|
|
|
|
|
2024-04-09 12:01:07 +00:00
|
|
|
.p-breadcrumb-item-link {
|
2024-03-13 06:56:24 +00:00
|
|
|
color: ${dt('breadcrumb.item.color')};
|
2024-03-12 08:19:23 +00:00
|
|
|
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
2024-02-19 22:53:42 +00:00
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2024-04-09 12:01:07 +00:00
|
|
|
.p-breadcrumb-item-label:hover {
|
2024-03-13 06:56:24 +00:00
|
|
|
color: ${dt('breadcrumb.item.hover.color')};
|
2024-02-19 22:53:42 +00:00
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2024-04-09 12:01:07 +00:00
|
|
|
.p-breadcrumb-item-icon {
|
2024-03-13 06:56:24 +00:00
|
|
|
color: ${dt('breadcrumb.item.icon.color')};
|
2024-02-19 22:53:42 +00:00
|
|
|
}
|
|
|
|
`
|
|
|
|
};
|