mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[HXCS-1479] Breadcrumbs as secondary entry point (#8750)
* Move breadcrumb outside of the core * Fix styling * Fix storybook
This commit is contained in:
33
lib/core/breadcrumbs/src/styles/_breadcrumb.theme.scss
Normal file
33
lib/core/breadcrumbs/src/styles/_breadcrumb.theme.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
@use 'sass:map';
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@mixin adf-breadcrumb-theme($theme) {
|
||||
$config: mat.get-color-config($theme);
|
||||
$foreground-palette: map.get($config, foreground);
|
||||
$primary-palette: map.get($config, primary);
|
||||
$text-color: mat.get-color-from-palette($foreground-palette, text);
|
||||
$primary: mat.get-color-from-palette($primary-palette, text);
|
||||
|
||||
adf-breadcrumb {
|
||||
.adf-breadcrumb__show-all-button-icon--rotate {
|
||||
color: mat.get-color-from-palette($primary-palette, 500);
|
||||
}
|
||||
|
||||
.adf-breadcrumb__item-wrapper {
|
||||
a,
|
||||
a:active,
|
||||
a:visited {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
&:last-child a {
|
||||
text-decoration: none;
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
&:last-child a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user