mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
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:
@@ -0,0 +1,4 @@
|
||||
.aca-toolbar-action {
|
||||
color: var(--theme-foreground-text-color);
|
||||
margin: 0 5px;
|
||||
}
|
@@ -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' }
|
||||
|
@@ -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');
|
||||
})
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user