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