[Library & openaire-theme & Explore | new-theme]: Beta indication in fos & sdgs (search, landing, dedicated pages) | Fixes in offcanvas and search all page for small screens.

1. badge.css: [NEW] Css file for uk-badge added.
2. import.css: Added @import "structure/badge.css";
3. fos.component.html & sdg.component.html: Added beta badge on top left of the title.
4. landing-utils/fos.component.ts & landing-utils/sdg.component.ts: Added [Beta] in title.
5. searchFields.ts: In sdg and fos RESULT_FIELDS, added [Beta] in their names.
6. offcanvas.css: [Bug fix] In rule .offcanvas .uk-offcanvas-bar added "max-width: 100vw", so that offcanvas does not exceed the screen width.
7. searchAll.component.html: Added some classes in <advanced-search-form> and uk-slider to be better displayed in small screens (form within page with some horizontal margins and arrows in slider).
This commit is contained in:
Konstantina Galouni 2022-05-30 15:36:33 +03:00
parent 5667a94756
commit e9a2163136
4 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ export class FosComponent {
public threshold: number = 2;
public routerHelper: RouterHelper = new RouterHelper();
public properties = properties;
public title: string = "Fields of Science (FOS)";
public title: string = "Fields of Science (FOS) [Beta]";
public viewAllClick() {
if(this.subjects.length <= this.threshold*2) {

View File

@ -39,7 +39,7 @@ export class SdgComponent {
public threshold: number = 4;
public routerHelper: RouterHelper = new RouterHelper();
public properties = properties;
public title: string = "Sustainable Development Goals (SDG)";
public title: string = "Sustainable Development Goals (SDG) [Beta]";
public viewAllClick() {
if(this.subjects.length <= this.threshold*2) {

View File

@ -10,7 +10,7 @@
<div class="uk-container uk-container-large uk-section uk-section-small uk-margin-bottom" id="searchForm">
<div class="uk-grid uk-flex uk-flex-middle uk-flex-center" uk-grid>
<div class="uk-width-1-1 uk-width-auto@m"><div id="searchImage"></div></div>
<advanced-search-form
<advanced-search-form class="uk-width-expand uk-padding uk-padding-remove-vertical"
entityType="all"
(queryChange)="keywordChanged($event)"
[isDisabled]="disableForms"
@ -28,9 +28,9 @@
<schema2jsonld *ngIf="name && logoURL" [URL]="properties.domain+ properties.baseLink +'/search/find'"
[logoURL]="properties.domain + properties.baseLink+logoURL" type="search" [name]=name
description="Search for {{openaireEntities.RESULTS}} ({{openaireEntities.PUBLICATIONS}}, {{openaireEntities.DATASETS}}, {{openaireEntities.SOFTWARE}}, {{openaireEntities.OTHER}}), {{openaireEntities.PROJECTS}}, {{openaireEntities.ORGANIZATIONS}}, {{openaireEntities.DATASOURCES}} in the OpenAIRE Research Graph. "></schema2jsonld>
<div class="uk-container-large uk-container uk-margin-large-top uk-flex uk-flex-center">
<div uk-slider="finite: true">
<div class="uk-position-relative">
<div class="uk-container-large uk-container uk-margin-large-top">
<div class="uk-width-1-1" uk-slider="finite: true">
<div class="uk-position-relative uk-flex uk-flex-center">
<div class="uk-slider-container">
<ul class="uk-slider-items" style="flex-wrap: nowrap !important;">
<li *ngIf="showPublications || showDatasets || showOrps || showSoftware" (click)="entityChanged('result')">

View File

@ -234,7 +234,7 @@ export class SearchFields {
filterType: "checkbox"
},
["sdg"]: {
name: "SDG",
name: "SDG [Beta]",
type: "vocabulary",
param: "sdg",
operator: "sg",
@ -242,7 +242,7 @@ export class SearchFields {
filterType: "checkbox"
},
["fos"]: {
name: "Field of Science",
name: "Field of Science [Beta]",
type: "vocabulary",
param: "fos",
operator: "fs",