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
118 lines
2.4 KiB
SCSS
118 lines
2.4 KiB
SCSS
@mixin adf-header-layout-theme($theme) {
|
|
$primary: map-get($theme, primary);
|
|
$accent: map-get($theme, accent);
|
|
$background: map-get($theme, background);
|
|
|
|
adf-layout-header .mat-toolbar-single-row {
|
|
|
|
color: mat-color($primary, default-contrast) !important;
|
|
position: relative;
|
|
padding: 0 24px;
|
|
|
|
.adf-menu-icon {
|
|
position: relative;
|
|
margin-right: 0;
|
|
|
|
.mat-icon {
|
|
font-size: 29px;
|
|
padding: 0 5px 0 0;
|
|
}
|
|
}
|
|
|
|
.adf-app-logo {
|
|
position: relative;
|
|
height: 28px;
|
|
width: 28px;
|
|
vertical-align: middle;
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.adf-app-title {
|
|
cursor: pointer;
|
|
outline: none;
|
|
letter-spacing: -0.3px;
|
|
font-weight: 100;
|
|
}
|
|
|
|
.adf-toolbar-divider {
|
|
margin: 0 5px;
|
|
|
|
& > div {
|
|
background-color: mat-color($background, card, 1);
|
|
}
|
|
}
|
|
|
|
.adf-header-delimiter {
|
|
height: 24px;
|
|
width: 2px;
|
|
background-color: mat-color($primary, default-contrast);
|
|
}
|
|
|
|
.adf-userinfo-container {
|
|
flex-direction: row;
|
|
padding: 0;
|
|
}
|
|
|
|
@media screen and ($mat-xsmall) {
|
|
.adf-app-logo,
|
|
.adf-app-title {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
[dir='rtl'] adf-layout-header .mat-toolbar-single-row {
|
|
.adf-menu-icon {
|
|
margin-right: -11px;
|
|
}
|
|
|
|
.adf-app-logo {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.adf-app-title {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.adf-header-delimiter {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.adf-userinfo-container {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.adf-userinfo-name {
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
|
|
[dir='ltr'] adf-layout-header .mat-toolbar-single-row {
|
|
.adf-menu-icon {
|
|
margin-left: -11px;
|
|
}
|
|
|
|
.adf-app-logo {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.adf-app-title {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.adf-header-delimiter {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.adf-userinfo-container {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.adf-userinfo-name {
|
|
padding-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|