mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ADF-1902] Buttons of the Create / Edit folder dialog do not match design (#2634)
This commit is contained in:
parent
efac6eeafe
commit
5d480ba366
@ -41,7 +41,7 @@
|
||||
</form>
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-dialog-actions>
|
||||
<mat-dialog-actions class="adf-dialog-buttons">
|
||||
<span class="adf-fill-remaining-space"></span>
|
||||
|
||||
<button
|
||||
@ -50,7 +50,7 @@
|
||||
{{ 'CORE.FOLDER_DIALOG.CANCEL_BUTTON.LABEL' | translate }}
|
||||
</button>
|
||||
|
||||
<button
|
||||
<button class="adf-dialog-action-button"
|
||||
mat-button
|
||||
(click)="submit()"
|
||||
[disabled]="!form.valid">
|
||||
|
@ -5,3 +5,16 @@
|
||||
.adf-full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@mixin adf-dialog-theme($theme) {
|
||||
|
||||
$primary: map-get($theme, primary);
|
||||
|
||||
.adf-dialog-buttons button {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.adf-dialog-action-button:enabled {
|
||||
color: mat-color($primary);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
@import '../src/components/pagination/pagination.component';
|
||||
@import '../src/components/info-drawer/info-drawer-layout.component';
|
||||
@import '../src/components/settings/host-settings.component';
|
||||
@import '../src/dialogs/folder.dialog';
|
||||
|
||||
@mixin alfresco-core-theme($theme) {
|
||||
@include adf-host-settings-theme($theme);
|
||||
@ -20,4 +21,5 @@
|
||||
@include adf-pagination-theme($theme);
|
||||
@include adf-colors-theme($theme);
|
||||
@include adf-default-class($theme);
|
||||
@include adf-dialog-theme($theme);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user