Styles cleanup (#1764)

* remove useless context menu styles

* deprecate layout theme mixins

* cleanup name column

* use adf snackbar styles

* permissions and search results

* cleanup node versions dialog

* cleanup toolbar actions
This commit is contained in:
Denys Vuika
2020-10-30 11:49:51 +00:00
committed by GitHub
parent 7c894b250f
commit 53f61f19d6
24 changed files with 211 additions and 311 deletions

View File

@@ -0,0 +1,4 @@
.aca-toolbar-action {
color: var(--theme-foreground-text-color);
margin: 0 5px;
}

View File

@@ -29,6 +29,7 @@ import { ContentActionRef } from '@alfresco/adf-extensions';
@Component({
selector: 'aca-toolbar-action',
templateUrl: './toolbar-action.component.html',
styleUrls: ['./toolbar-action.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
host: { class: 'aca-toolbar-action' }

View File

@@ -45,7 +45,7 @@ export class SnackbarEffects {
infoEffect = this.actions$.pipe(
ofType<SnackbarInfoAction>(SnackbarActionTypes.Info),
map((action: SnackbarInfoAction) => {
this.showSnackBar(action, 'info-snackbar');
this.showSnackBar(action, 'adf-info-snackbar');
})
);
@@ -53,7 +53,7 @@ export class SnackbarEffects {
warningEffect = this.actions$.pipe(
ofType<SnackbarWarningAction>(SnackbarActionTypes.Warning),
map((action: SnackbarWarningAction) => {
this.showSnackBar(action, 'warning-snackbar');
this.showSnackBar(action, 'adf-warning-snackbar');
})
);
@@ -61,7 +61,7 @@ export class SnackbarEffects {
errorEffect = this.actions$.pipe(
ofType<SnackbarErrorAction>(SnackbarActionTypes.Error),
map((action: SnackbarErrorAction) => {
this.showSnackBar(action, 'error-snackbar');
this.showSnackBar(action, 'adf-error-snackbar');
})
);