Browse Source

UI: Router tabs style improvements

pull/8247/head
Igor Kulikov 4 years ago
parent
commit
359565e115
  1. 2
      ui-ngx/src/app/core/services/menu.service.ts
  2. 11
      ui-ngx/src/app/modules/home/components/route-tabs.component.scss
  3. 2
      ui-ngx/src/app/modules/home/components/router-tabs.component.html

2
ui-ngx/src/app/core/services/menu.service.ts

@ -577,7 +577,7 @@ export class MenuService {
id: guid(),
name: 'audit-log.audit-logs',
type: 'link',
path: '/auditLogs',
path: '/security-settings/auditLogs',
icon: 'track_changes'
}
]

11
ui-ngx/src/app/modules/home/components/route-tabs.component.scss

@ -24,17 +24,8 @@
align-items: center;
overflow: hidden;
line-height: 40px;
opacity: 1;
&:hover {
border-bottom: none;
background-color: rgba(255,255,255,0.08);
}
&:focus {
border-bottom: none;
}
&.tb-active {
font-weight: 500;
background-color: rgba(255, 255, 255, .15);
opacity: 1;
}
mat-icon {
margin-right: 8px;

2
ui-ngx/src/app/modules/home/components/router-tabs.component.html

@ -16,7 +16,7 @@
-->
<div fxFlex fxLayout="column" style="width: 100%;">
<nav mat-tab-nav-bar backgroundColor="primary" class="tb-router-tabs">
<nav mat-tab-nav-bar class="tb-router-tabs">
<a *ngFor="let tab of tabs$ | async"
routerLink="{{tab.path}}"
routerLinkActive

Loading…
Cancel
Save