[Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter
1. styles.less: Renamed from styles.css and added imports of less files and portal-custom.css (to be updated). 2. angular.json: In styles configuration added styles.less. 3. index.html & beta/index.html: In beta badge, used background instead of background-color to css rules. 4. portal-custom.css: Added rule for .search-form to inherit color in background. 5. searchFields.ts: a. Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources refine filter "Type". b. In method "getResultAdvancedFields()" return always RESULT_ADVANCED_FIELDS without excluding "eoscifguidelines". 6. datasourcesHelper.class.ts: Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources queries and used updated type names "Research Entity Registry" (old "Registry") and "Journal Archive" (old "Journal archive"). 7. cache-interceptor.service.ts: Updated cachingRequests array, using new "eoscdatasourcetype" and its values. 8. dataProvider.component.html && result-preview.component.html: Do not add hardcoded compatibility label "Not yet registered" and updated checks. 9. resultLanding.service.ts & parsingFunctions.class.ts: Parse resultLandingInfo.eoscSubjects only by "eoscifguidelines" field not "subjects". 10. searchFilter.component.ts: [Bug fix] In Access filter, fixed bug in view all, when clearing the preselected value. * Do not forget to add in package.json in devDependencies, "@types/express-serve-static-core": "4.17.28"
This commit is contained in:
parent
a9f5e07cbb
commit
1530ce60ec
|
@ -46,7 +46,7 @@
|
||||||
"src/robots.txt"
|
"src/robots.txt"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css",
|
"src/styles.less",
|
||||||
"src/material.scss"
|
"src/material.scss"
|
||||||
],
|
],
|
||||||
"scripts": [
|
"scripts": [
|
||||||
|
@ -182,7 +182,7 @@
|
||||||
"tsConfig": "src/tsconfig.spec.json",
|
"tsConfig": "src/tsconfig.spec.json",
|
||||||
"karmaConfig": "src/karma.conf.js",
|
"karmaConfig": "src/karma.conf.js",
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css"
|
"src/styles.less"
|
||||||
],
|
],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"assets": [
|
"assets": [
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 032b91ae7a78ccad72a3a02a9463f6df5d00d223
|
Subproject commit a2466083683df7dfafb074221b27189bfbed9565
|
|
@ -68,3 +68,8 @@
|
||||||
.number {
|
.number {
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-form {
|
||||||
|
background-color: inherit !important;
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
|
@ -42,7 +42,7 @@
|
||||||
<title>EOSC Explore</title>
|
<title>EOSC Explore</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="uk-badge" style="border: 0px; border-radius: 0px; background-color: #bc2300 !important; position: absolute; z-index: 1000;">Beta instance</div>
|
<div class="uk-badge" style="border: 0px; border-radius: 0px; background: #bc2300 !important; position: absolute; z-index: 1000;">Beta instance</div>
|
||||||
<div class="uk-offcanvas-content uk-height-viewport">
|
<div class="uk-offcanvas-content uk-height-viewport">
|
||||||
<eosc-common-main-header></eosc-common-main-header>
|
<eosc-common-main-header></eosc-common-main-header>
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<title>Search OpenAIRE</title>
|
<title>Search OpenAIRE</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="uk-badge" style="border: 0px; border-radius: 0px; background-color: #bc2300 !important; position: absolute; z-index: 1000;">Beta instance</div>
|
<div class="uk-badge" style="border: 0px; border-radius: 0px; background: #bc2300 !important; position: absolute; z-index: 1000;">Beta instance</div>
|
||||||
<div class="uk-offcanvas-content uk-height-viewport">
|
<div class="uk-offcanvas-content uk-height-viewport">
|
||||||
<eosc-common-main-header></eosc-common-main-header>
|
<eosc-common-main-header></eosc-common-main-header>
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
/* You can add global styles to this file, and also import other style files */
|
|
||||||
@import "assets/openaire-theme/css/import.css";
|
|
||||||
@import "assets/common-assets/library.css";
|
|
||||||
@import "assets/portal-custom.css";
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
///* You can add global styles to this file, and also import other style files */
|
||||||
|
//@import "assets/openaire-theme/css/import.css";
|
||||||
|
//@import "assets/common-assets/library.css";
|
||||||
|
//@import "assets/portal-custom.css";
|
||||||
|
|
||||||
|
/* You can add global styles to this file, and also import other style files */
|
||||||
|
@import "~src/assets/openaire-theme/less/_import";
|
||||||
|
@import "~src/assets/common-assets/less/general";
|
||||||
|
@import "~src/assets/common-assets/less/user";
|
||||||
|
@import "~src/assets/common-assets/less/linking";
|
||||||
|
@import "~src/assets/common-assets/less/landing";
|
||||||
|
@import "assets/portal-custom.css";
|
Loading…
Reference in New Issue