mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-5456] improved theming bundling (#7180)
* theming barrel file for core * card-view theme * clipboard theme * rename core theme files * content services themes * process services theme * process services cloud theme * insights theming * try fix flaky test
This commit is contained in:
36
lib/core/directives/tooltip-card/tooltip-card.theme.scss
Normal file
36
lib/core/directives/tooltip-card/tooltip-card.theme.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
@mixin adf-tooltip-card-directive($theme) {
|
||||
$primary: map-get($theme, primary);
|
||||
$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, div {
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user