Apply changes from Elixir branch r58296
add impact factors: add fontawesome (package.json, styles.css, angular.json) add them in community page - most recent results git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58414 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
8cf1edfee7
commit
a6404f7120
|
@ -23,6 +23,7 @@
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css",
|
"src/styles.css",
|
||||||
"src/material.scss",
|
"src/material.scss",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
|
||||||
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
||||||
],
|
],
|
||||||
"scripts": [
|
"scripts": [
|
||||||
|
@ -81,6 +82,7 @@
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css",
|
"src/styles.css",
|
||||||
"src/material.scss",
|
"src/material.scss",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
|
||||||
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
||||||
],
|
],
|
||||||
"assets": [
|
"assets": [
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
"@angular/platform-browser-dynamic": "7.2.14",
|
"@angular/platform-browser-dynamic": "7.2.14",
|
||||||
"@angular/platform-server": "7.2.14",
|
"@angular/platform-server": "7.2.14",
|
||||||
"@angular/router": "7.2.14",
|
"@angular/router": "7.2.14",
|
||||||
|
"@fortawesome/fontawesome-free": "^5.12.1",
|
||||||
"@nguniversal/express-engine": "^6.0.0",
|
"@nguniversal/express-engine": "^6.0.0",
|
||||||
"@nguniversal/module-map-ngfactory-loader": "^6.0.0",
|
"@nguniversal/module-map-ngfactory-loader": "^6.0.0",
|
||||||
"@types/express": "^4.16.1",
|
"@types/express": "^4.16.1",
|
||||||
|
|
|
@ -49,7 +49,7 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
|
||||||
</li>
|
</li>
|
||||||
</div>-->
|
</div>-->
|
||||||
<search-result [results]="results"
|
<search-result [results]="results"
|
||||||
[type]="resultType" [properties] = properties class="communityRecentResults">
|
[type]="resultType" [properties] = properties class="communityRecentResults" [showImpactFactors]="(community.communityId == 'elixir-gr')" >
|
||||||
</search-result>
|
</search-result>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -182,3 +182,45 @@ div:not(.connect_App) bottom .uk-totop{
|
||||||
.communityPanelBackground .uk-grid-divider > :not(.uk-first-column)::before {
|
.communityPanelBackground .uk-grid-divider > :not(.uk-first-column)::before {
|
||||||
border-left: 1px solid rgba(255, 255, 255, .2);
|
border-left: 1px solid rgba(255, 255, 255, .2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Impact Factor - ATHENA CODE */
|
||||||
|
#popularity-A{
|
||||||
|
color:red;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
#popularity-B{
|
||||||
|
color:#eabd35;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
|
||||||
|
#popularity-C{
|
||||||
|
color:grey;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
|
||||||
|
#influence-A{
|
||||||
|
color:red;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
#influence-B{
|
||||||
|
color:#eabd35;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
|
||||||
|
#influence-C{
|
||||||
|
color:grey;
|
||||||
|
content: 'Test';
|
||||||
|
}
|
||||||
|
.fa-university::before {
|
||||||
|
|
||||||
|
content: "\f19c";
|
||||||
|
|
||||||
|
}
|
||||||
|
.fa-fire::before {
|
||||||
|
|
||||||
|
content: "\f06d";
|
||||||
|
|
||||||
|
}
|
||||||
|
/* ATHENA CODE */
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
|
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
|
||||||
|
@import "~@fortawesome/fontawesome-free/css/all.min.css"; /*ATHENA CODE */
|
||||||
|
|
Loading…
Reference in New Issue