| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- //@import '../theme/variables.scss';
- // @import '../theme/mixin.scss';
- // @import '../theme/_font.scss';
- @import "./animation.scss";
- @import './variables.scss';
- $module: #{$prefix}-breadcrumb;
- .#{$module} {
- overflow: hidden;
- &-wrapper {
- display: flex;
- flex-wrap: wrap;
- &-loose {
- @include font-size-regular;
- }
- &-compact {
- @include font-size-small;
- }
- }
- &-item-wrap {
- display: inline-flex;
- align-items: center;
- margin: $spacing-breadcrumb_item_wrap-marginY 0px;
- margin-right: $spacing-breadcrumb_item_wrap-marginRight;
- }
- &-item {
- display: inline;
- // flex-shrink: 0;
- margin-right: $spacing-breadcrumb_item-marginRight;
- color: $color-breadcrumb_default-text-default;
- font-weight: $font-breadcrumb_default-fontWeight;
- .#{$prefix}-typography {
- color: inherit;
- }
- // removed to item-link cls
- // &:hover {
- // color: $color-breadcrumb_default-text-hover;
- // cursor: pointer;
- // }
- // &:active {
- // color: $color-breadcrumb_default-text-active;
- // cursor: pointer;
- // }
- &-title-inline {
- display: inline-flex;
- }
- }
- &-item-active {
- color: $color-breadcrumb_active-text-default;
- font-weight: $font-breadcrumb_active-fontWeight;
- &:hover,
- &:active {
- border: none;
- margin-bottom: 0px;
- color: $color-breadcrumb_active-text-active;
- cursor: default;
- }
- }
- &-item-icon {
- margin-bottom: -1px;
- }
- // &-item-title,
- &-item-more {
- & svg {
- vertical-align: middle;
- }
- }
- &-item-icon+&-item-title {
- margin-left: $spacing-breadcrumb_item_text-marginLeft;
- }
- &-item-link {
- display: inline-flex;
- align-items: center;
- column-gap: 4px;
- text-decoration: inherit;
- transition: color $transition_duration-breadcrumb_link-text $transition-function_breadcrumb_link-text $transition_delay-breadcrumb_link-text;
- transform: scale($transform_scale-breadcrumb_link-text);
- &:hover {
- color: $color-breadcrumb_default-text-hover;
- cursor: pointer;
- }
- &:active {
- color: $color-breadcrumb_default-text-active;
- cursor: pointer;
- }
- }
- &-collapse {
- display: inline-flex;
- flex-shrink: 0;
- }
- &-separator {
- display: flex;
- color: $color-breadcrumb_sepearator_default-icon-default;
- }
- &-restItem {
- color: $color-breadcrumb_restItem-text-default;
- margin-right: $spacing-breadcrumb_restItem-marginRight;
- }
- }
- @import './rtl.scss';
|