Create browse functionality for communities- categories in linking | fixing issue with footer |use seperate css file for custom css

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@47289 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2017-05-18 11:42:18 +00:00
parent 67c0e88fc1
commit 1fb9da3d44
9 changed files with 263 additions and 740 deletions

View File

@ -29,7 +29,7 @@ export class XLargeDirective {
<div id="tm-main" class=" uk-margin-large-top tm-middle custom-main-content" uk-height-viewport="mode: expand" >
<div id="tm-main" class=" uk-section uk-margin-large-top tm-middle custom-main-content" uk-height-viewport="mode: expand" >
<div class="uk-container ">
<div uk-grid uk-grid>
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">

View File

@ -33,6 +33,52 @@ import {ErrorCodes} from '../../login/utils/guardHelper.class';
</table>
<div *ngIf="loading" class="uk-alert uk-alert-primary" role="alert">Loading communities information...</div>
<div>Or <a uk-toggle="target: #browse; animation: uk-animation-fade"> Browse </a> through categories </div>
<div id="browse" class="uk-card uk-card-default uk-card-body uk-margin-small" hidden>
<a uk-toggle="target: #browse; animation: uk-animation-fade" class="uk-float-right"><span uk-icon="icon: close"></span></a>
<div *ngIf="selectedCommunityId =='0'" class="uk-alert uk-alert-warning" >Please select community first...</div>
<ul *ngIf="selectedCommunityId !='0'" class="uk-list ">
<li>
<span (click)="displaySubcategory(selectedCommunityId)" >
<span *ngIf="!conceptsClassDisplay[selectedCommunityId]" uk-icon="icon: triangle-down"></span>
<span *ngIf="conceptsClassDisplay[selectedCommunityId]" uk-icon="icon: triangle-up"></span>{{selectedCommunityLabel}}
</span>
<a *ngIf="!isSelected(selectedCommunityId)" (click)="addNewContext(selectedCommunityLabel,null,{'id':selectedCommunityId, 'label':selectedCommunityLabel})" class="uk-button-default uk-align-right" class="uk-icon-button" uk-icon="icon: plus"></a>
<ul *ngIf="conceptsClassDisplay[selectedCommunityId]" class="uk-animation-fade" >
<li *ngFor="let category of categories" >
<span (click)="browseConcepts(category.id)" >
<span *ngIf="!conceptsClassDisplay[category.id]" uk-icon="icon: triangle-down"></span>
<span *ngIf="conceptsClassDisplay[category.id]" uk-icon="icon: triangle-up"></span>
{{category.label}}</span><a *ngIf="!isSelected(category.id)" (click)="addNewContext(selectedCommunityLabel,category.label,{'id':category.id, 'label':category.label})" class="uk-button-default uk-align-right" class="uk-icon-button" uk-icon="icon: plus"></a>
<div *ngIf="conceptsCategoryLoading[category.id]" class="uk-alert uk-alert-primary" role="alert">Loading category information...</div>
<ul *ngIf="conceptsClass[category.id] && conceptsClassDisplay[category.id]" class="uk-list uk-animation-fade" id="ul_{{category.id}}" >
<li *ngFor="let concept1 of conceptsClass[category.id]" >
<span (click)="displaySubcategory(concept1.id)" >
<span *ngIf="!conceptsClassDisplay[concept1.id] && concept1.concept" uk-icon="icon: triangle-down"></span>
<span *ngIf="conceptsClassDisplay[concept1.id] && concept1.concept" uk-icon="icon: triangle-up"></span>
{{concept1.label}}
</span>
<a *ngIf="!isSelected(concept1.id)" (click)="addNewContext(selectedCommunityLabel,category.label,concept1)" class="uk-button-default uk-align-right" class="uk-icon-button" uk-icon="icon: plus"></a>
<ul *ngIf="concept1.concept && conceptsClassDisplay[concept1.id] " class="uk-animation-fade" >
<li *ngFor="let concept2 of concept1.concept"><span (click)="displaySubcategory(concept2.id)" >
<span *ngIf="!conceptsClassDisplay[concept2.id] && concept2.concept" uk-icon="icon: triangle-down"></span>
<span *ngIf="conceptsClassDisplay[concept2.id] && concept2.concept" uk-icon="icon: triangle-up"></span>
{{concept2.label}}</span>
<a *ngIf="!isSelected(concept2.id)" (click)="addNewContext(selectedCommunityLabel,category.label,concept2)" class="uk-button-default uk-align-right" class="uk-icon-button" uk-icon="icon: plus"></a>
<ul *ngIf="concept2.concept && conceptsClassDisplay[concept2.id] " class="uk-animation-fade" >
<li *ngFor="let concept3 of concept2.concept">{{concept3.label}}
<a *ngIf="!isSelected(concept3.id)" (click)="addNewContext(selectedCommunityLabel,category.label,concept3)" class="uk-button-default uk-align-right" class="uk-icon-button" uk-icon="icon: plus"></a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</ul>
</div>
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning" role="alert">{{warningMessage}}</div>
<div *ngIf="infoMessage.length > 0" class="uk-alert uk-alert-primary" role="alert">{{infoMessage}}</div>
</div>
@ -62,6 +108,9 @@ public selectedCommunityLabel:string = "Community:";
public categories:string[];
public selectedCategoryLabel:string ="Category:";
public concepts = [];
public conceptsClass = [];
public conceptsClassDisplay = [];
public conceptsCategoryLoading = [];
public warningMessage = "";
public infoMessage = "";
public loading:boolean = false;
@ -74,18 +123,23 @@ constructor(private _contextService: ContextsService,private router: Router) {
select($event){
var item = $event.value;
var context: ClaimContext= { community: this.selectedCommunityLabel, category: this.selectedCategoryLabel, concept: item };
var found:boolean = false;
this.warningMessage = "";
this.addNewContext( this.selectedCommunityLabel, this.selectedCategoryLabel, item);
}
isSelected(id):boolean{
for (var _i = 0; _i < this.selectedList.length; _i++) {
let item = this.selectedList[_i];
if(item.concept.id == context.concept.id){
found=true;
if(item.concept.id == id){
return true;
// this.warningMessage = "Concept already in selected list";
}
}
if (!found) {
return false;
}
addNewContext(community,category,concept){
var context: ClaimContext= { community: community, category: category, concept: concept };
var found:boolean = false;
this.warningMessage = "";
if (!this.isSelected(context.concept.id)) {
this.selectedList.push(context);
UIkit.notification({
@ -163,7 +217,7 @@ getCommunities () {
this.concepts = [];
this.addCommunityInConcepts();
var token=Session.getUserJwt();
this._contextService.getConcepts(this.selectedCategoryId, "",token).subscribe(
this._contextService.getConcepts(this.selectedCategoryId, "",token,true).subscribe(
data => {
this.concepts = data;
this.addCommunityInConcepts();
@ -185,6 +239,47 @@ getCommunities () {
this.loading = false;
}
}
displaySubcategory(id) {
if(this.conceptsClassDisplay[id] != null){
this.conceptsClassDisplay[id] = !this.conceptsClassDisplay[id];
}else{
this.conceptsClassDisplay[id] = true;
}
console.log("displaySubcategory: "+id+" value:"+ this.conceptsClassDisplay[id]);
}
browseConcepts (categoryId) {
this.conceptsCategoryLoading[categoryId] = true;
if(!Session.isValidAndRemove()){
this.saveStateAndRedirectLogin();
}else{
if(this.conceptsClass[categoryId] != null){
this.conceptsClassDisplay[categoryId] = !this.conceptsClassDisplay[categoryId];
return;
}else{
this.conceptsClassDisplay[categoryId] = true;
}
this.conceptsClass[categoryId] = [];
var token=Session.getUserJwt();
this._contextService.getConcepts(categoryId, "",token,false).subscribe(
data => {
for(var i=0;i<data.length; i++){
console.log("Data"+data[i]);
if(data[i].id.split("::").length==3){
this.conceptsClass[categoryId].push(data[i]);
}
}
console.log(this.conceptsClass[categoryId]);
this.conceptsCategoryLoading[categoryId] = false;
},
err => {
console.log(err);
this.conceptsCategoryLoading[categoryId] = false;
}
);
}
}
communityChanged(communityId:string, communityLabel:string){
console.log(communityId +" "+communityLabel);
console.log(this.selectedCommunityId +" ");

View File

@ -104,8 +104,8 @@ export class ClaimResultSearchFormComponent {
this.getCrossrefResults(this.keyword, this.size,1);
this.searchOrcid(this.keyword);
this.searchOpenairePubs(this.keyword, this.size, 1);
this.searchDatacite(this.keyword,10,1);
this.searchOpenaireData(this.keyword,10,1);
this.searchDatacite(this.keyword,this.size,1);
this.searchOpenaireData(this.keyword,this.size,1);
this.showSearchResults = true;
}

View File

@ -49,18 +49,18 @@ export class ContextsService {
this._cache.set(key, res);
});
}
public getConcepts(categoryId :string, keyword: string,token:string):any {
public getConcepts(categoryId :string, keyword: string,token:string,parsing:boolean):any {
console.info('ContextsService: request concept for category with id '+categoryId + ' and keyword '+ keyword);
let url= this.baseUrl + 'categories/' + categoryId+ "/concepts";
let key = url;
let key = url+"_parsing="+parsing;
if (this._cache.has(key)) {
return Observable.of(this._cache.get(key));
}
return this.http.get( url+"?token="+token)
.map(request => <any> request.json().data)
.map(res => this.parse(res.concept))
// .do(res => console.info(res ))
.map(res => (parsing)?this.parse(res.concept):res.concept)
.do(res => console.info(res ))
.catch(this.handleError)
.do(res => {
this._cache.set(key, res);

View File

@ -33,12 +33,12 @@ import {RouterHelper} from '../../utils/routerHelper.class';
<div class="page-header">
<h1>{{pageTitle}}</h1>
</div>
<div uk-grid>
<div >
<div class="uk-width-1-1 uk-margin uk-padding uk-panel uk-background-muted">
<search-form [(keyword)]=keyword (keywordChange)="keywordChanged($event)"></search-form>
</div>
<div class=" uk-grid uk-margin-top uk-width-1-1">
<div class=" uk-margin-top uk-width-1-1">
<ul class=" uk-tab " uk-tab="connect: #searchtabs; animation: uk-animation-fade">
<li (click)="searchPublications()" >
@ -88,7 +88,7 @@ import {RouterHelper} from '../../utils/routerHelper.class';
</ul>
<ul id="searchtabs" class="uk-switcher uk-width-1-1 uk-margin-top">
<ul id="searchtabs" class="uk-switcher uk-width-1-1 uk-margin-top custom-tab-content-large">
<li>
<div *ngIf = "keyword.length > 0" class ="uk-animation-fade">
<div class = "uk-text-right" *ngIf = "fetchPublications.searchUtils.totalResults> 10">
@ -207,7 +207,6 @@ import {RouterHelper} from '../../utils/routerHelper.class';
})
export class SearchComponent {
public sub: any;
public reloadPublications: boolean;
public reloadDatasets: boolean;
public reloadProjects: boolean;
@ -265,9 +264,19 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this._meta.updateMeta("description", description);
this._meta.updateMeta("og:description", description);
this._meta.updateMeta("og:title", title);
// console.log("Constr PORT:"+process.env.PORT);
// if (typeof document !== 'undefined') {
//
// console.log("Constr Cookie:"+document.cookie);
// }
}
public ngOnInit() {
// console.log("init PORT:"+process.env.PORT);
// if (typeof document !== 'undefined') {
//
// console.log("Init Cookie:"+document.cookie);
// }
this.sub = this.route.queryParams.subscribe(params => {
this.keyword = (params['keyword'])?params['keyword']:"";
if(this.keyword !=null && this.keyword.length > 0){

View File

@ -20,7 +20,7 @@ import {SearchFilterModalComponent} from './searchFilterModal.component';
<h1>{{pageTitle}}</h1>
</div>
<div>
<div *ngIf="showRefine" uk-grid>
<div *ngIf="showRefine" >
<div class="uk-width-1-1 uk-margin uk-padding uk-panel uk-background-muted">
<search-form [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)"></search-form>
<div *ngIf="isFiltered()" class = " uk-text-center ">

View File

@ -89,7 +89,7 @@ import {Session} from '../login/utils/helper.class';
</div>
</div>
</div>
<div class="tm-toolbar uk-visible@m">
<div class="tm-toolbar custom-discover-toolbar uk-visible@m">
<div class="uk-container uk-flex uk-flex-middle uk-container-expand">
<div class="uk-margin-auto-left">
<div class="uk-grid-medium uk-child-width-auto uk-flex-middle uk-grid uk-grid-stack" uk-grid="margin: uk-margin-small-top">
@ -97,7 +97,7 @@ import {Session} from '../login/utils/helper.class';
<div class="uk-panel inner" id="module-119">
<ul class="uk-subnav uk-subnav-line">
<li class="uk-active"><a href="http://dl119.madgik.di.uoa.gr/"><img class="uk-responsive-height" src="assets/dl119_files/Home-icon.png" alt="home"></a></li>
<li><a routerLinkActive="router-link-active" routerLink="/search/find" >Discover/Share</a></li>
<li class="custom-discover-li"><a routerLinkActive="router-link-active" routerLink="/search/find" >Discover/Share</a></li>
<li><a href="#">Join</a></li>
<li><a href="#">Connect</a></li>
<li><a href="#">Monitor_</a></li>

View File

@ -1,602 +1,144 @@
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Raleway|Roboto|Roboto:900|Roboto+Condensed|Roboto+Mono|Roboto+Slab');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400');
.hero_to_top {
}
.image-front-topbar {
margin-top:-40px;
}
.tm-header {
/*padding-top:40px;*/
}
.tm-toolbar {
border-top: 5px solid #05007A;
position:relative;
color: #fff;
padding-top: 0px;
padding-bottom:0px;
background:rgba(255,255,255, 0.0);
/*background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)), url(/images/toolbar_bg.png);*/
}
.tm-toolbar .forimage {
background:rgba(255,255,255, 0.4);
}
.uk-section-overlap {
/*margin-top:-40px!important;*/
}
.uk-sticky{
}
.tm-header .uk-navbar-left {position:relative;z-index:9999!important;}
.tm-header .uk-logo {padding: 5px 10px 10px 10px; position:relative;z-index:1000!important;}
.tm-header .uk-navbar-transparent{
/* background:rgba(255,255,255, 0.7);*/
padding-top:4px;
}
.inner {
left:0px;
background-color: #05007A;
}
.tm-toolbar .uk-container {
padding-right:0px;
}
.tm-toolbar ul.uk-subnav.uk-subnav-line{
background-color: #05007A;
padding-top:0px;
transform: skew(25deg);
padding-right:10px;
margin-right:10px;
padding-left:0px;
}
.tm-toolbar .uk-subnav-line li {
padding:5px 25px 5px 25px;
/*transition: background 0.2s;*/
/* display:inline-block;*/
font-family:Roboto!important;
font-weight:900!important;
text-transform:uppercase!important;
font-size:12px!important;
opacity:1!important;
display:inline-block;
}
.tm-toolbar .uk-subnav-line > :before {
content: none;
display: block;
/* display: inline-block*/
height: 10px;
vertical-align: middle
}
.uk-subnav-line > :nth-child(n + 2):before {
margin-right: 10px;
border-left: 0px ;
}
.tm-toolbar .uk-subnav-line li a{
display: block;
text-decoration:none;
transform: skew(-25deg);
font-family:Roboto:900!important;
text-transform:uppercase!important;
font-size:13px!important;
opacity:1!important;
color:#fff!important;
}
.tm-toolbar .uk-subnav-line li:hover {
color:#05007A!important;
.tm-toolbar .uk-subnav-line .custom-discover-li {
color:#05007A !important;
background:#fff;
display: block;
}
.tm-toolbar .uk-subnav-line li a:hover,
.tm-toolbar .uk-subnav-line li:hover a{
display: block;
color:#05007A!important;
.tm-toolbar .uk-subnav-line .custom-discover-li a{
color:#05007A !important;
}
.tm-toolbar .uk-dotnav, .tm-toolbar .uk-subnav {
margin-bottom:0px!important;
}
.movetotop .uk-slidenav-position{
/*top:-130px;
z-index:5;*/
}
.uk-navbar-container:not(.uk-navbar-transparent) {
background: #fff;
box-shadow: 2px 15px 50px rgba(41, 44, 61, .1);
}
.uk-navbar-sticky {
box-shadow: 2px 15px 50px rgba(41, 44, 61, .1);
}
.navbar .nav>li>.dropdown-menu, .uk-navbar-dropdown
{display: none;
position: absolute;
z-index: 1020;
box-sizing: border-box;
width: 200px;
padding: 25px;
background: #fff;
color: #4F5260;
border-radius: 2px;
box-shadow: 2px 15px 50px rgba(41, 44, 61, .1)
}
.uk-navbar-container:not(.uk-navbar-transparent) a, .uk-navbar-container:not(.uk-navbar-transparent) .uk-link,
.uk-offcanvas-bar a, .uk-offcanvas-bar .uk-link, .tm-toolbar a, .tm-toolbar .uk-link {
color:#292C3D;
color: #245BCC;
font-size: 14px;
line-height: 18px;
}
a:hover, .uk-link:hover{
color: #D53B23;
}
.uk-light .uk-navbar-nav>li>a, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a, .uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a, .uk-card-primary.uk-card-body .uk-navbar-nav>li>a, .uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a, .uk-card-secondary.uk-card-body .uk-navbar-nav>li>a, .uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a, .uk-overlay-primary .uk-navbar-nav>li>a, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li>a, .uk-offcanvas-bar .uk-navbar-nav>li>a, .tm-toolbar .uk-navbar-nav>li>a {
color:#292C3D;}
.uk-light .uk-navbar-nav>li.uk-active>a, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a, .uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a, .uk-card-primary.uk-card-body .uk-navbar-nav>li.uk-active>a, .uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li.uk-active>a, .uk-card-secondary.uk-card-body .uk-navbar-nav>li.uk-active>a, .uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li.uk-active>a, .uk-overlay-primary .uk-navbar-nav>li.uk-active>a, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li.uk-active>a, .uk-offcanvas-bar .uk-navbar-nav>li.uk-active>a, .tm-toolbar .uk-navbar-nav>li.uk-active>a
color:#292C3D;}
.uk-light .uk-navbar-nav>li>a::before, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a::before,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a::before,
.uk-card-primary.uk-card-body .uk-navbar-nav>li>a::before,
.uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a::before, .
uk-card-secondary.uk-card-body .uk-navbar-nav>li>a::before,
.uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a::before,
.uk-overlay-primary .uk-navbar-nav>li>a::before, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li>a::before,
.uk-offcanvas-bar .uk-navbar-nav>li>a::before, .tm-toolbar .uk-navbar-nav>li>a::before {
background-color: #128DD5;
}
.uk-navbar-nav>li>a::before {
/*height:2px;*/
background-color: #128DD5!important;
}
.uk-light .uk-navbar-nav>li:hover>a, .uk-light .uk-navbar-nav>li>a:focus, .uk-light .uk-navbar-nav>li>a.uk-open,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a:focus,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a.uk-open,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a:focus,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a.uk-open,
.uk-card-primary.uk-card-body .uk-navbar-nav>li:hover>a, .uk-card-primary.uk-card-body .uk-navbar-nav>li>a:focus,
.uk-card-primary.uk-card-body .uk-navbar-nav>li>a.uk-open,
.uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li:hover>a,
.uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a:focus,
.uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a.uk-open,
.uk-card-secondary.uk-card-body .uk-navbar-nav>li:hover>a,
.uk-card-secondary.uk-card-body .uk-navbar-nav>li>a:focus,
.uk-card-secondary.uk-card-body .uk-navbar-nav>li>a.uk-open,
.uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li:hover>a,
.uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a:focus,
.uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a.uk-open,
.uk-overlay-primary .uk-navbar-nav>li:hover>a, .uk-overlay-primary .uk-navbar-nav>li>a:focus,
.uk-overlay-primary .uk-navbar-nav>li>a.uk-open, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li:hover>a,
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li>a:focus,
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li>a.uk-open,
.uk-offcanvas-bar .uk-navbar-nav>li:hover>a, .uk-offcanvas-bar .uk-navbar-nav>li>a:focus,
.uk-offcanvas-bar .uk-navbar-nav>li>a.uk-open, .tm-toolbar .uk-navbar-nav>li:hover>a,
.tm-toolbar .uk-navbar-nav>li>a:focus, .tm-toolbar .uk-navbar-nav>li>a.uk-open {
color: #128DD5;
}
.uk-light .uk-navbar-nav > li:hover > a, .uk-light .uk-navbar-nav > li > a:focus,
.uk-light .uk-navbar-nav > li > a.uk-open, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li:hover > a,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li > a:focus,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li > a.uk-open,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li:hover > a,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li > a:focus,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li > a.uk-open,
.uk-card-primary.uk-card-body .uk-navbar-nav > li:hover > a, .uk-card-primary.uk-card-body .uk-navbar-nav > li > a:focus,
.uk-card-primary.uk-card-body .uk-navbar-nav > li > a.uk-open, .uk-card-primary > :not([class * ='uk-card-media']) .uk-navbar-nav > li:hover > a,
.uk-card-primary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a:focus,
.uk-card-primary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a.uk-open,
.uk-card-secondary.uk-card-body .uk-navbar-nav > li:hover > a, .uk-card-secondary.uk-card-body .uk-navbar-nav > li > a:focus,
.uk-card-secondary.uk-card-body .uk-navbar-nav > li > a.uk-open, .uk-card-secondary > :not([class * ='uk-card-media']) .uk-navbar-nav > li:hover > a,
.uk-card-secondary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a:focus,
.uk-card-secondary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a.uk-open,
.uk-overlay-primary .uk-navbar-nav > li:hover > a, .uk-overlay-primary .uk-navbar-nav > li > a:focus,
.uk-overlay-primary .uk-navbar-nav > li > a.uk-open, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav > li:hover > a,
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav > li > a:focus,
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav > li > a.uk-open,
.uk-offcanvas-bar .uk-navbar-nav > li:hover > a, .uk-offcanvas-bar .uk-navbar-nav > li > a:focus,
.uk-offcanvas-bar .uk-navbar-nav > li > a.uk-open, .tm-toolbar .uk-navbar-nav > li:hover > a,
.tm-toolbar .uk-navbar-nav > li > a:focus, .tm-toolbar .uk-navbar-nav > li > a.uk-open {
color: #128DD5!important;
}
.uk-light .uk-navbar-nav>li.uk-active>a, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a, .uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a, .uk-card-primary.uk-card-body .uk-navbar-nav>li.uk-active>a, .uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li.uk-active>a, .uk-card-secondary.uk-card-body .uk-navbar-nav>li.uk-active>a, .uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li.uk-active>a, .uk-overlay-primary .uk-navbar-nav>li.uk-active>a, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li.uk-active>a, .uk-offcanvas-bar .uk-navbar-nav>li.uk-active>a, .tm-toolbar .uk-navbar-nav>li.uk-active>a {
color: #128DD5!important;
}
.uk-light a:hover, .uk-light .uk-link:hover, .uk-section-primary:not(.uk-preserve-color) a:hover, .uk-section-primary:not(.uk-preserve-color) .uk-link:hover, .uk-section-secondary:not(.uk-preserve-color) a:hover, .uk-section-secondary:not(.uk-preserve-color) .uk-link:hover, .uk-card-primary.uk-card-body a:hover, .uk-card-primary.uk-card-body .uk-link:hover, .uk-card-primary>:not([class*='uk-card-media']) a:hover, .uk-card-primary>:not([class*='uk-card-media']) .uk-link:hover, .uk-card-secondary.uk-card-body a:hover, .uk-card-secondary.uk-card-body .uk-link:hover, .uk-card-secondary>:not([class*='uk-card-media']) a:hover, .uk-card-secondary>:not([class*='uk-card-media']) .uk-link:hover, .uk-overlay-primary a:hover, .uk-overlay-primary .uk-link:hover, .uk-navbar-container:not(.uk-navbar-transparent) a:hover, .uk-navbar-container:not(.uk-navbar-transparent) .uk-link:hover, .uk-offcanvas-bar a:hover, .uk-offcanvas-bar .uk-link:hover, .tm-toolbar a:hover, .tm-toolbar .uk-link:hover {
color: #128DD5!important;
}
.uk-light .uk-navbar-nav > li > a:active, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li > a:active,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li > a:active,
.uk-card-primary.uk-card-body .uk-navbar-nav > li > a:active, .uk-card-primary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a:active,
.uk-card-secondary.uk-card-body .uk-navbar-nav > li > a:active, .uk-card-secondary > :not([class * ='uk-card-media']) .uk-navbar-nav > li > a:active,
.uk-overlay-primary .uk-navbar-nav > li > a:active, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav > li > a:active,
.uk-offcanvas-bar .uk-navbar-nav > li > a:active, .tm-toolbar .uk-navbar-nav > li > a:active {
color: #292C3D!important;
}
.uk-light .uk-navbar-nav > li.uk-active > a, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li.uk-active > a,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li.uk-active > a,
.uk-card-primary.uk-card-body .uk-navbar-nav > li.uk-active > a, .uk-card-primary > :not([class * ='uk-card-media']) .uk-navbar-nav > li.uk-active > a,
.uk-card-secondary.uk-card-body .uk-navbar-nav > li.uk-active > a,
.uk-card-secondary > :not([class * ='uk-card-media']) .uk-navbar-nav > li.uk-active > a,
.uk-overlay-primary .uk-navbar-nav > li.uk-active > a, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav > li.uk-active > a,
.uk-offcanvas-bar .uk-navbar-nav > li.uk-active > a, .tm-toolbar .uk-navbar-nav > li.uk-active > a {
color: #292C3D!important;
}
.uk-light .uk-navbar-nav>li>a:active, .uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active, .uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active, .uk-card-primary.uk-card-body .uk-navbar-nav>li>a:active, .uk-card-primary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a:active, .uk-card-secondary.uk-card-body .uk-navbar-nav>li>a:active, .uk-card-secondary>:not([class*='uk-card-media']) .uk-navbar-nav>li>a:active, .uk-overlay-primary .uk-navbar-nav>li>a:active, .uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-nav>li>a:active, .uk-offcanvas-bar .uk-navbar-nav>li>a:active, .tm-toolbar .uk-navbar-nav>li>a:active {
color:#128DD5;
}
.uk-navbar-nav>li>a, .uk-navbar-item, .uk-navbar-toggle, .navbar .brand, .navbar-search, .navbar .nav>li>a {
font-size: 14px;
font-family: Roboto;
font-weight: 300 !important
}
.uk-navbar-dropdown, .navbar .nav>li>.dropdown-menu {
background:#fff;
}
.uk-navbar-dropdown-nav>li>a,
.uk-navbar-dropdown-nav .uk-nav-sub a {
color:#292C3D;
font-weight:300;
}
.uk-section-secondary:not(.uk-preserve-color) h3,
.uk-section-secondary:not(.uk-preserve-color) h3 a,
.uk-section-secondary:not(.uk-preserve-color) a:hover { color:#444!important;}
.uk-article-title {
font-size: 38px;
line-height: 1.1;
}
.uk-text-meta {
font-size: 14px;
line-height: 1.4;
color: #90929D;
font-family: PT Serif;
font-weight: 400;
text-transform: none;
letter-spacing: 0;
font-style: italic;
}
.uk-card-default .uk-card-title {
color: #292C3D !important;
}
.uk-light .uk-text-meta, .uk-section-primary:not(.uk-preserve-color) .uk-text-meta, .uk-section-secondary:not(.uk-preserve-color) .uk-text-meta, .uk-card-primary.uk-card-body .uk-text-meta, .uk-card-primary>:not([class*='uk-card-media']) .uk-text-meta, .uk-card-secondary.uk-card-body .uk-text-meta, .uk-card-secondary>:not([class*='uk-card-media']) .uk-text-meta, .uk-overlay-primary .uk-text-meta, .uk-navbar-container:not(.uk-navbar-transparent) .uk-text-meta, .uk-offcanvas-bar .uk-text-meta, .tm-toolbar .uk-text-meta{
color: #90929D;
}
.uk-text-primary {color: #040067!important;}
.uk-text-secondary {color: #00a0de!important;}
.uk-section-primary {
background: #040067;
}
.uk-section-secondary {
background: #00a0de;
}
.first_page_section {
/*position: relative;*/
.custom-discover-toolbar ul.uk-subnav.uk-subnav-line{
background-color: #f25f30 !important;
}
.first_page_section .uk-container {
/*max-width:100%!important;*/
/*width:100%!important;
padding:0px!important;*/
/*position: absolute;
bottom: 0;*/
}
.first_page_section .first_page_banner_headline {
/*position: relative;*/
font-family: 'Open Sans', sans-serif;
font-weight: 300;
color:#fff;
.custom-discover-toolbar .inner {
background-color: #f25f30 !important;
}
}
.first_page_panel h3.uk-h1 {
color:#fff;
}
.first_page_panel {
background-color:#05007A!important;
border: 0px solid #e5e5e7!important;
padding:20px 20px!important;
/*width:100%!important;*/
font-size:24pt!important;
padding:20px!important;
color:#fff;
}
.first_page_panel .banner_text_bottom {
font-size:20pt;
padding:20px;
}
body {
font-family: 'Open Sans', sans-serif!important;
}
h1, .uk-h1, h2, .uk-h2, h3, .uk-h3, h4, .uk-h4, h5, .uk-h5, h6, .uk-h6 {
font-family: 'Open Sans', sans-serif !important;
}
h2, .uk-h2 {
font-size:36px;
}
.nspArt h4.nspHeader {
font-family: 'Open Sans', sans-serif !important;
font-weight: 400;
font-size: 16px;
margin: 0;
padding: 5px 0 5px 0;
}
.nspArt p, .nspArt ul, .nspArt ol, .nspArt dl, .nspArt pre, .nspArt address, .nspArt fieldset, .nspArt figure {
margin-top: 0px;
margin-bottom: 8px;
}
.nspArt p.nspText {margin-bottom:15px;}
.readon , .readon:link{
margin: 0;
border: 1px solid #eaeaea;
overflow: visible;
font: inherit;
color: inherit;
text-transform: none;
display: inline-block;
box-sizing: border-box;
padding: 0 25px;
vertical-align: middle;
font-size: 13px;
line-height: 40px;
text-align: center;
text-decoration: none;
-webkit-transition: .1s ease-in-out;
transition: .1s ease-in-out;
-webkit-transition-property: color, background-color, border-color, box-shadow;
transition-property: color, background-color, border-color, box-shadow;
font-family: Roboto;
font-weight: normal;
text-transform: uppercase;
border-radius: 2px;
background-color: #fff;
color: #5b5b5b;
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.07);
}
.readon:hover{
background-color: #fff;
color: #00a0de;
box-shadow: 0 6px 50px rgba(0, 0, 0, 0.05);
}
.banner_text_white {font-weight: 300; font-size: 28px; color:white;}
/*footer*/
.footer-license {
font-size:11px!important;
line-height:16px!important;
}
.footer-license .uk-section-primary:not(.uk-preserve-color) a{
color: #128DD5!important;
font-size:11px!important;
line-height:16px!important;
}
.footer-license a:hover {
color: #D33A24;
}
/*custom classes */
.partner_slider .wk-link-reset, .partner_slider .wk-link-reset a, .partner_slider .wk-link-reset a:focus,
.partner_slider .wk-link-reset a:hover, .partner_slider .wk-link-reset:focus, .partner_slider .wk-link-reset:hover {
color: black;
}
.dark-divider hr, .dark-divider .uk-hr {
border-top: 1px solid #6c6c6c;
}
/*events*/
.calendar h3{text-transform:none; font-weight:300;}
.mod_events_latest_table td {
padding-top:5px;
padding-bottom:5px;
}
.mod_events_latest_table td p{
margin-bottom:10px;
margin-top:0px;
}
/*.mod_events_latest_table tr {
background: url(../../../images/header_line.png) bottom left repeat-x;
.custom-discover-toolbar{
border-top-color:#f25f30 !important;
}
/*.custom-footer{
position:relative;
bottom:0;
left:0;
}*/
.mod_events_latest_date {
width: 18%;
float: left;
position: relative;
color:#757575;
color:#fff;
font-size:12px!important;
background: #9c9c9c;
font-weight:400;
/*
border-radius: 1px;
-moz-border-radius: 1px;
-webkit-border-radius: 1px;
border: 1px solid #757575;
-moz-box-shadow: 0px 0px 3px #757575;
-webkit-box-shadow: 0px 0px 3px #757575;
box-shadow: 0px 0px 3px #757575;
*/
margin-right:8px;
margin-top:5px;
text-align:center;
padding:10px 0px;
line-height:20px;
}
.mod_events_latest_date .larger_font {
font-size:28px!important;
font-weight:700!important;}
.mod_events_latest_time {
//float: left;
position: relative;
width: 75%;
overflow:visible;
line-height:14px;
font-weight:400;
font-size:12px;
padding: 5px 0px;
margin-bottom: 8px;
text-transform:none;
}
.mod_events_latest_time {
font-size:12px;
}
.mod_events_latest_table td .content{
font-size:12px!important;
font-weight:300;
text-transform:none;
}
.mod_events_latest_table td .hdr{
font-size:14px!important;
line-height: 16px;
font-weight:400!important;
text-transform:none;
}
.mod_events_latest_rsslink a {
color: #767779;
}
.mod_events_latest_rsslink{
padding: 30;
line-height: 1.625;
background: 0;
color: #767779;
position: relative;
padding-right: 27px;
margin: 0;
border: 0;
overflow: visible;
font: inherit;
display: block;
box-sizing: border-box;
vertical-align: middle;
font-size: 13px;
display:inline-block;
/*
text-align: center;
*/
text-decoration: none;
-webkit-transition: .1s ease-in-out;
transition: .1s ease-in-out;
-webkit-transition-property: color, background-color, border-color, box-shadow;
transition-property: color, background-color, border-color, box-shadow;
font-family: Roboto;
font-weight: normal;
text-transform: uppercase;
border-radius: 2px;
background-origin: border-box;
}
.mod_events_latest_rsslink a:hover {
color: #00a0de
}
.mod_events_latest_rsslink:hover::before {
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2223%22%20height%3D%2211%22%20viewBox%3D%220%200%2023%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%2300a0de%22%20points%3D%2217%201%2022%205.5%2017%2010%20%22%3E%3C%2Fpolyline%3E%0A%20%20%20%20%3Cline%20fill%3D%22none%22%20stroke%3D%22%2300a0de%22%20x1%3D%220%22%20y1%3D%225.5%22%20x2%3D%2222.4%22%20y2%3D%225.5%22%3E%3C%2Fline%3E%0A%3C%2Fsvg%3E");
background-position: 100% 50%;
}
.mod_events_latest_rsslink::before{
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 22px;
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2223%22%20height%3D%2211%22%20viewBox%3D%220%200%2023%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23767779%22%20points%3D%2217%201%2022%205.5%2017%2010%20%22%3E%3C%2Fpolyline%3E%0A%20%20%20%20%3Cline%20fill%3D%22none%22%20stroke%3D%22%23767779%22%20x1%3D%220%22%20y1%3D%225.5%22%20x2%3D%2222.4%22%20y2%3D%225.5%22%3E%3C%2Fline%3E%0A%3C%2Fsvg%3E");
background-repeat: no-repeat;
background-position: calc(100% - 5px) 50%;
-webkit-transition: background-position .2s ease-out;
transition: background-position .2s ease-out;
}
.mod_events_latest_callink a, .mod_events_latest_callink a:hover{
color: #fff!important;
}
.mod_events_latest_callink {
padding:0px;
margin:10px 0px;
background-color: #00a0de;
color: #fff!important;
display: inline-block;
box-sizing: border-box;
padding: 0 25px;
vertical-align: middle;
font-size: 13px;
line-height: 40px;
text-align: center;
text-decoration: none;
-webkit-transition: .1s ease-in-out;
transition: .1s ease-in-out;
-webkit-transition-property: color, background-color, border-color, box-shadow;
transition-property: color, background-color, border-color, box-shadow;
font-family: Roboto;
font-weight: normal;
text-transform: uppercase;
border-radius: 2px;
background-origin: border-box;
.custom-external {
background: rgba(0, 0, 0, 0) url("/assets/icon_external.png") no-repeat scroll left center;
padding: 0 0 0 16px;
}
.mod_events_latest_callink:hover {
background-color: #008ec5;
color: #fff!important;
.custom-navbar-toggle-icon, .custom-user-mini-panel{
color:#444 !important
}
/* news pro */
.nspLinks ul li h4 {
font-weight: 400;
font-size: 16px;
line-height: 18px;
.custom-user-mini-panel a{
color:rgb(36, 91, 204);
}
.nspLinks ul li p {
text-transform:none;
/*.custom-main-content{
height: 100%;
min-height: 750px;
}*/
.custom-autocomplete .uk-nav-autocomplete > li > a:hover {
background: #00a8e6 none repeat scroll 0 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.05) inset;
color: #FFF;
outline: medium none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.custom-autocomplete .uk-nav-navbar > li > a {
color: #444;
}
.custom-description-list-horizontal{ line-height:200%}
.uk-alert-default {
background: #fff none repeat scroll 0 0;
border: 1px solid #ddd;
border-radius: 4px;
color: #444;
height: 30px;
max-width: 100%;
padding: 4px 6px;
}
.custom-hidden-dropdown-menu {position:static !important;}
.searchFilterBoxValues {overflow:auto; max-height:200px; }
.selected-filters-box {margin:5px; background-color:#F8F8F8; }
.search-form {margin:5px; }
.clickable { cursor:pointer; }
.search-filters .uk-accordion-title{
font-size: 14px;
font-weight:300;
line-height: 18px;
}
.readon-button{
text-transform: none;
font-size: 14px;
line-height: 20px;
font-weight: 300;
font-family: 'Open Sans', sans-serif !important;
.OPEN {
background: rgba(0, 0, 0, 0) url("/assets/openAccess.png") no-repeat scroll right center;
padding-right: 18px;
min-height: 18px;
}
.readon-button:hover {
.EMBARGO, .CLOSED, .RESTRICTED {
background: rgba(0, 0, 0, 0) url("/assets/closedAccess.png") no-repeat scroll right center;
padding-right: 18px;
}
.sc39 {
background: rgba(0, 0, 0, 0) url("/assets/sc39.png") no-repeat scroll right center;
padding-right: 24px;
}
.projectIcon {
display: inline-table;
}
.dateFilter .mydp{
margin-top:5px;
}
.tooltip {
max-width: none;
background: rgba(100, 100, 100, 1);
}
.custom-select-mini{
max-width:170px !important;
}
.custom-icon {
line-height: unset;
}
.custom-tab-content-large{
min-height: 600px;
}
.custom-tab-content {
min-height: 250px;
}
.custom-dataTable-content {
min-height: 600px;
}
.filterItem span {
display: inline-flex;
}
.filterItem .filterName {
max-width: 71%;
}
.browseFilters .filterItem .filterName {
max-width: 68%;
}
.filterItem .filterNumber {
width: 20%;
}
.filterItem span {
white-space: nowrap;
}
.filterItem span div {
overflow: hidden;
text-overflow: ellipsis;
}
.browseFilters{
overflow-y: auto;
overflow-x: hidden;
max-height:265px;
}

View File

@ -18,6 +18,7 @@
<!-- <link rel="stylesheet" href="node_modules/uikit/dist/css/uikit.min.css"> -->
<link rel="stylesheet" href="assets/dl119_files/theme.css">
<link rel="stylesheet" href="assets/dl119_files/custom.css">
<link rel="stylesheet" href="assets/custom.css">
<script src="assets/dl119_files/jquery.js"></script>
<script src="assets/dl119_files/uikit.js"></script>
<script src="node_modules/uikit/dist/js/uikit.min.js"></script>
@ -54,131 +55,7 @@
<!--script type='text/javascript' src='https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js'></script-->
<!-- End of Google sitelinks search markup-->
<style>
.custom-footer{
position:relative;
bottom:0;
left:0;
}
.custom-external {
background: rgba(0, 0, 0, 0) url("/assets/icon_external.png") no-repeat scroll left center;
padding: 0 0 0 16px;
}
.custom-navbar-toggle-icon, .custom-user-mini-panel{
color:#444 !important
}
.custom-user-mini-panel a{
color:rgb(36, 91, 204);
}
.custom-main-content{
height: 100%;
min-height: 750px;
}
.custom-autocomplete .uk-nav-autocomplete > li > a:hover {
background: #00a8e6 none repeat scroll 0 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.05) inset;
color: #FFF;
outline: medium none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.custom-autocomplete .uk-nav-navbar > li > a {
color: #444;
}
.custom-description-list-horizontal{ line-height:200%}
.uk-alert-default {
background: #fff none repeat scroll 0 0;
border: 1px solid #ddd;
border-radius: 4px;
color: #444;
height: 30px;
max-width: 100%;
padding: 4px 6px;
}
.custom-hidden-dropdown-menu {position:static !important;}
.searchFilterBoxValues {overflow:auto; max-height:200px; }
.selected-filters-box {margin:5px; background-color:#F8F8F8; }
.search-form {margin:5px; }
.clickable { cursor:pointer; }
.search-filters .uk-accordion-title{
font-size: 14px;
line-height: 18px;
}
.OPEN {
background: rgba(0, 0, 0, 0) url("/assets/openAccess.png") no-repeat scroll right center;
padding-right: 18px;
min-height: 18px;
}
.EMBARGO, .CLOSED, .RESTRICTED {
background: rgba(0, 0, 0, 0) url("/assets/closedAccess.png") no-repeat scroll right center;
padding-right: 18px;
}
.sc39 {
background: rgba(0, 0, 0, 0) url("/assets/sc39.png") no-repeat scroll right center;
padding-right: 24px;
}
.projectIcon {
display: inline-table;
}
.dateFilter .mydp{
margin-top:5px;
}
.tooltip {
max-width: none;
background: rgba(100, 100, 100, 1);
}
.custom-select-mini{
max-width:170px !important;
}
.custom-icon {
line-height: unset;
}
.custom-tab-content {
min-height: 250px;
}
.custom-dataTable-content {
min-height: 600px;
}
.filterItem span {
display: inline-flex;
}
.filterItem .filterName {
max-width: 71%;
}
.browseFilters .filterItem .filterName {
max-width: 68%;
}
.filterItem .filterNumber {
width: 20%;
}
.filterItem span {
white-space: nowrap;
}
.filterItem span div {
overflow: hidden;
text-overflow: ellipsis;
}
.browseFilters{
overflow-y: auto;
overflow-x: hidden;
max-height:265px;
}
</style>
</head>