mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
ACS-8602 fix header alignment and replace old selectors with new
This commit is contained in:
committed by
Darya Blavanovich
parent
9c68f68c0a
commit
dd14a9349d
@@ -114,9 +114,7 @@ $dialog-padding: 24px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-dialog-header {
|
.adf-dialog-header {
|
||||||
position: relative;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-bottom: $dialog-padding;
|
padding-bottom: $dialog-padding;
|
||||||
|
|
||||||
@@ -124,6 +122,16 @@ $dialog-padding: 24px;
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-dialog-title-container {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
|
&.adf-centered-title {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.adf-dialog-title {
|
.adf-dialog-title {
|
||||||
font-size: large;
|
font-size: large;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
@@ -170,10 +178,6 @@ $dialog-padding: 24px;
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#{$mat-dialog-title}::before {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-dialog-actions {
|
.adf-dialog-actions {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -277,14 +281,10 @@ $dialog-padding: 24px;
|
|||||||
color: var(--theme-primary-color);
|
color: var(--theme-primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Update after migration to Angular 15
|
#{$mat-dialog-actions} #{$mat-button-base} + #{$mat-button-base} {
|
||||||
/* stylelint-disable-next-line selector-class-pattern */
|
|
||||||
.mat-dialog-actions .mat-button-base + .mat-button-base {
|
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Update after migration to Angular 15
|
#{$mat-dialog-container} #{$mat-dialog-surface} {
|
||||||
/* stylelint-disable-next-line selector-class-pattern */
|
|
||||||
.mat-dialog-container {
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user