mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-3177] added general header component * [ADF-3177] added documentation and removed user info mobile behaviour * [ADF-3177] eddited doc file * [ADF-3177] renamed folder and style changes * [ADF-3177] style changes * [ADF-3177] fix tests * [ADF-3177] fix lint errors and tests * [APM-3177] css changes * [ADF-3177] fix pr * [ADF-3177] updated documentation * [ADF-3177] expose module with old name * [ADF-3177] expose module with old name
65 lines
2.4 KiB
SCSS
65 lines
2.4 KiB
SCSS
@mixin adf-sidebar-action-menu-theme($theme) {
|
|
|
|
$primary: map-get($theme, primary);
|
|
$foreground: map-get($theme, foreground);
|
|
|
|
$adf-sidebar-action-menu-button-height: 37.5px;
|
|
$adf-sidebar-action-menu-button-border-radius: 4px;
|
|
$adf-sidebar-action-menu-opacity: 0.54;
|
|
$adf-sidebar-action-menu-item-opacity: 0.87;
|
|
$adf-sidebar-action-menu-item-line-spacing: -0.4px;
|
|
$adf-sidebar-action-menu-item-font-size: 14px;
|
|
|
|
.adf {
|
|
&-sidebar-action-menu {
|
|
& .mat-raised-button {
|
|
width: 100%;
|
|
display: block;
|
|
box-shadow: none !important;
|
|
height: $adf-sidebar-action-menu-button-height;
|
|
font-weight: bold;
|
|
background-color: mat-color($primary);
|
|
color: mat-color($primary, default-contrast) !important;
|
|
border-radius: $adf-sidebar-action-menu-button-border-radius;
|
|
& mat-icon {
|
|
width: 24px;
|
|
height: 25px;
|
|
color: mat-color($primary, default-contrast) !important;
|
|
}
|
|
}
|
|
&-text {
|
|
width: 100%;
|
|
height: 20px;
|
|
text-align: left;
|
|
}
|
|
}
|
|
&-sidebar-action-menu-icon {
|
|
margin: 18px 0px 0px 20px;
|
|
color: mat-color($foreground, text, $adf-sidebar-action-menu-opacity);
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: mat-color($primary);
|
|
}
|
|
}
|
|
&-sidebar-action-menu-options {
|
|
text-align: left;
|
|
letter-spacing: $adf-sidebar-action-menu-item-line-spacing;
|
|
.mat-menu-item {
|
|
font-size: $adf-sidebar-action-menu-item-font-size;
|
|
color: mat-color($foreground, text, $adf-sidebar-action-menu-item-opacity);
|
|
text-align: left;
|
|
line-height: 1.5;
|
|
letter-spacing: $adf-sidebar-action-menu-item-line-spacing;
|
|
}
|
|
.mat-menu-item:hover {
|
|
color: mat-color($primary);
|
|
opacity: inherit;
|
|
}
|
|
}
|
|
&-sidebar-action-menu-panel {
|
|
margin-top: 7.5px;
|
|
border-radius: 2px;
|
|
box-shadow: #{map-get($_umbra-elevation-map, 2)}, #{map-get($_penumbra-elevation-map, 2)},#{map-get($_ambient-elevation-map, 2)};
|
|
}
|
|
}
|
|
} |