mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
40 lines
955 B
SCSS
40 lines
955 B
SCSS
@import '~@angular/material/theming';
|
|
|
|
@mixin adf-tooltip-card-directive($theme) {
|
|
$primary: map-get($theme, primary);
|
|
$accent: map-get($theme, accent);
|
|
$foreground: map-get($theme, foreground);
|
|
$background: map-get($theme, background);
|
|
|
|
:host {
|
|
display: block;
|
|
}
|
|
|
|
div.adf-tooltip-card {
|
|
@include mat-elevation(8);
|
|
background-color: mat-color($background, card);
|
|
border: 1px solid mat-color($primary);
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
|
|
p {
|
|
font-size: mat-font-size($alfresco-typography, caption);
|
|
color: mat-color($foreground, text, 0.75);
|
|
margin: 0;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid mat-color($primary);
|
|
margin: 6px 0;
|
|
}
|
|
|
|
img {
|
|
border-radius: 6px;
|
|
}
|
|
}
|
|
|
|
::ng-deep .cdk-overlay-connected-position-bounding-box {
|
|
margin-top: 10px !important;
|
|
}
|
|
}
|