primevue-mirror/components/lib/themes/primeone/base/breadcrumb/index.js

61 lines
1.5 KiB
JavaScript
Raw Normal View History

export default {
css: ({ dt }) => `
.p-breadcrumb {
2024-03-13 06:56:24 +00:00
background: ${dt('breadcrumb.background')};
border: 0 none;
2024-03-13 06:56:24 +00:00
border-radius: ${dt('rounded.base')};
padding: 1rem;
overflow-x: auto;
}
2024-04-09 11:51:45 +00:00
.p-breadcrumb-list {
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 {
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')};
}
.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;
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
border-radius: ${dt('rounded.base')};
outline-color: transparent;
}
2024-04-09 12:01:07 +00:00
.p-breadcrumb-item-link:focus-visible {
outline: ${dt('focus.ring.width')} ${dt('focus.ring.style')} ${dt('focus.ring.color')};
outline-offset: ${dt('focus.ring.offset')};
}
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')};
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
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')};
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')};
}
`
};