[Trunk|Admin]: Add scrollbar on menu.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56447 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
6d967d4fcf
commit
3364939e1d
|
@ -5,7 +5,8 @@
|
|||
<div id="wrapper" class="uk-section uk-margin-top uk-padding-remove-bottom">
|
||||
<div class="uk-grid" uk-height-viewport="expand: true">
|
||||
<sidebar *ngIf="showSidebar && !wellcome" [menuItems]="sideMenuItems" class="uk-width-1-5 uk-light sidebar uk-margin-top uk-margin-left"></sidebar>
|
||||
<div class="uk-width-expand uk-margin-large-top" [ngClass]="(!wellcome)?'uk-container':''">
|
||||
<div class="uk-width-expand uk-margin-large-top" [ngClass]="(!wellcome)?'uk-container uk-overflow-auto':''"
|
||||
[ngStyle]="{maxHeight: (!wellcome)?'85vh':''}">
|
||||
<router-outlet></router-outlet>
|
||||
</div>
|
||||
<!--
|
||||
|
|
|
@ -169,25 +169,22 @@ export class AppComponent implements OnInit{
|
|||
items: []
|
||||
}
|
||||
);
|
||||
this.sideMenuItems.push(adminTools);
|
||||
this.sideMenuItems.push( {
|
||||
rootItem: new MenuItem('communities', 'Manage Communities', '',
|
||||
adminTools.items.push( {
|
||||
rootItem: new MenuItem('communities', 'Manage Communities', '/',
|
||||
'/', false, [], [], null),
|
||||
items: [],
|
||||
ukIcon: 'desktop'
|
||||
});
|
||||
this.sideMenuItems.push( {
|
||||
adminTools.items.push( {
|
||||
rootItem: new MenuItem('communities', 'Manage Explore', '',
|
||||
'/dashboard', false, [], [], {communityId: 'openaire'}),
|
||||
items: [],
|
||||
ukIcon: 'desktop'
|
||||
});
|
||||
this.sideMenuItems.push( {
|
||||
adminTools.items.push( {
|
||||
rootItem: new MenuItem('communities', 'Manage Connect', '',
|
||||
'/dashboard', false, [], [], {communityId: 'connect'}),
|
||||
items: [],
|
||||
ukIcon: 'desktop'
|
||||
});
|
||||
this.sideMenuItems.push(adminTools);
|
||||
} else if (this.communityId && this.communityId !== '') {
|
||||
this.sideMenuItems.push({
|
||||
rootItem: new MenuItem('overview', 'Overview', '/dashboard',
|
||||
|
|
|
@ -83,7 +83,16 @@
|
|||
}
|
||||
|
||||
.sidebar .uk-nav>li>a{
|
||||
font-weight: 400 !important;
|
||||
font-weight: 400;
|
||||
color: rgb(255,255,255);
|
||||
}
|
||||
|
||||
.sidebar .uk-nav>li>.uk-link{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.sidebar .uk-nav-sub>li>.uk-link{
|
||||
text-decoration: underline;
|
||||
color: rgb(255,255,255);
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/theme.css" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/custom.css" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/common-assets/library.css?v=1" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/connect-custom.css?v=1" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/connect-custom.css?v=2" />
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue