mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +01:00
2dc329dd37
* Start work on some new snippet examples * Update for dark mode, fixes * Add images, update descriptions * examples fixes
51 lines
1.3 KiB
CSS
51 lines
1.3 KiB
CSS
.breadcrumb-chevron {
|
|
--bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
|
|
gap: .5rem;
|
|
}
|
|
.breadcrumb-chevron .breadcrumb-item {
|
|
display: flex;
|
|
gap: inherit;
|
|
align-items: center;
|
|
padding-left: 0;
|
|
line-height: 1;
|
|
}
|
|
.breadcrumb-chevron .breadcrumb-item::before {
|
|
gap: inherit;
|
|
float: none;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
.breadcrumb-custom .breadcrumb-item {
|
|
position: relative;
|
|
flex-grow: 1;
|
|
padding: .75rem 3rem;
|
|
}
|
|
.breadcrumb-custom .breadcrumb-item::before {
|
|
display: none;
|
|
}
|
|
.breadcrumb-custom .breadcrumb-item::after {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: -25px;
|
|
z-index: 1;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-top: -25px;
|
|
content: "";
|
|
background-color: var(--bs-tertiary-bg);
|
|
border-top-right-radius: .5rem;
|
|
box-shadow: 1px -1px var(--bs-border-color);
|
|
transform: scale(.707) rotate(45deg);
|
|
}
|
|
.breadcrumb-custom .breadcrumb-item:first-child {
|
|
padding-left: 1.5rem;
|
|
}
|
|
.breadcrumb-custom .breadcrumb-item:last-child {
|
|
padding-right: 1.5rem;
|
|
}
|
|
.breadcrumb-custom .breadcrumb-item:last-child::after {
|
|
display: none;
|
|
}
|