mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
64 lines
1.5 KiB
SCSS
64 lines
1.5 KiB
SCSS
|
|
@mixin adf-breadcrumb-dropdown-theme($theme) {
|
|
$primary: map-get($theme, primary);
|
|
$dropdownHorizontalOffset: 30px;
|
|
|
|
.adf {
|
|
&-dropdown-breadcrumb {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
height: 25px;
|
|
}
|
|
|
|
&-dropdown-breadcumb-trigger {
|
|
cursor: pointer;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
&-dropdown-breadcumb-trigger.isRoot {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
&-dropdown-breadcrumb-path {
|
|
width: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
margin-top: 35px;
|
|
margin-left: -$dropdownHorizontalOffset;
|
|
|
|
&.mat-select {
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
&-current-folder {
|
|
margin-left: $dropdownHorizontalOffset;
|
|
line-height: 26px;
|
|
white-space: pre-wrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&-current-folder.isRoot {
|
|
margin-left: 0;
|
|
}
|
|
|
|
&-dropdown-breadcrumb-path-option.mat-option {
|
|
height: 28px;
|
|
line-height: 28px;
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
&-dropdown-breadcrumb-path-option.mat-option:first-child {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
&-dropdown-breadcrumb-path-option.mat-option:last-child {
|
|
padding-bottom: 4px;
|
|
}
|
|
}
|
|
}
|