mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-4402] remove styling of non-existent items * [ADF-4402] remove not needed style - bcs overwritten by style from core * [ADF-4559] remove demo-shell only class from core styling - use class name from core component for styling * [ADF-4402] remove not used styling code - .adf-app-layout-toolbar no longer exists, so no need keep its style * [ADF-4402] move style from demo-shell to core - same style was needed in ACA, so probably should be best in core ADF * [ADF-4402] remove not used styling code * [ADF-4402] move adf-toolbar-title style from demo-shell to core * [ADF-4402] remove not used styling code * [ADF-4402] use existing css class * [ADF-4402] remove style already set from pagination component * [ADF-4402] remove not used styling code * [ADF-4402] viewer toolbar width
52 lines
1.2 KiB
SCSS
52 lines
1.2 KiB
SCSS
@mixin adf-toolbar-theme($theme) {
|
|
$foreground: map-get($theme, foreground);
|
|
$adf-toolbar-height: 48px !default;
|
|
$adf-toolbar-single-row-height: 64px !default;
|
|
$adf-toolbar-font-size: 14px !default;
|
|
$adf-toolbar-padding: 16px !default;
|
|
|
|
.adf-toolbar {
|
|
&--spacer {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
&-title {
|
|
overflow: hidden;
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.mat-toolbar {
|
|
min-height: $adf-toolbar-height;
|
|
border: 1px solid mat-color($foreground, text, 0.07);
|
|
}
|
|
|
|
.mat-toolbar-row {
|
|
height: $adf-toolbar-height;
|
|
font-size: $adf-toolbar-font-size;
|
|
white-space: normal;
|
|
}
|
|
|
|
.mat-toolbar-single-row {
|
|
padding: 0 $adf-toolbar-padding;
|
|
height: $adf-toolbar-single-row-height;
|
|
}
|
|
|
|
&.adf-toolbar--inline {
|
|
.mat-toolbar {
|
|
background-color: inherit;
|
|
border: none !important;
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.adf-viewer {
|
|
.adf-toolbar {
|
|
.mat-toolbar {
|
|
color: mat-color($foreground, text, 0.54);
|
|
}
|
|
}
|
|
}
|
|
}
|