From a551ed38a9f098f5a5c53e1cc2e0fd1b815c0dc1 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Fri, 20 May 2022 15:20:50 +0300 Subject: [PATCH] [Aggregator & Library | new-theme]: Fixes in search forms and logo | Removed animation in card results | Added service landing links for incompatible datasources in eosc portal. 1. home.component.html: a. Removed uk-margin-large-top from search form and logo. b. Removed uk-height-medium from search form and logo. c. Move searchImage on top of search form (uk-width-1-1) for small screens. 2. searchMyOrcidResults.component.html: Removed animation with uk-scrollspy. 3. searchAll.component.html: Move searchImage on top of search form (uk-width-1-1) for small screens. 4. newSearchPage.component.html: a. Removed animation with uk-scrollspy. b. For simple search, move searchImage on top of search form (uk-width-1-1) for small screens. c. For advanced search, searchImage is on top of search form for any screen size. 5. result-preview.component.html & result-preview.component.ts: For eosc portalType, added in incompatible datasources link to the service landing page. 6. aggregators.ts: a. In #searchImage commented custom margin-left. b. In #searchForm commented custom padding and width. c. Exclude also .uk-button-link from custom css for buttons with parent .search_box_bg or #searchForm. --- src/app/home/home.component.html | 9 ++++++--- src/app/openaireLibrary | 2 +- src/app/utils/aggregators.ts | 10 +++++----- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index ba52dad..5a844d0 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -66,9 +66,11 @@ --> -
-
-
+
+ +
+
+
@@ -85,6 +87,7 @@
+
diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 8154b9f..35d91a5 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 8154b9f307e123bde931f5976677d23c2ab182e8 +Subproject commit 35d91a5fc63272cc0709064ba81ca5675185ae61 diff --git a/src/app/utils/aggregators.ts b/src/app/utils/aggregators.ts index 8250e2e..7ff1450 100644 --- a/src/app/utils/aggregators.ts +++ b/src/app/utils/aggregators.ts @@ -111,15 +111,15 @@ background: url('https://marketplace.eosc-portal.eu/packs/media/images/eosc-logo width: 250px; height: 80px; background-size: 250px 80px; -margin-left: 80px; +/*margin-left: 80px;*/ } #searchForm advanced-search-form{ float:right; } #searchForm{ -padding:0; - width:100%; - max-width:100%; +/*padding:0;*/ + /*width:100%;*/ + /*max-width:100%;*/ } search-filter h6::after{ border-bottom: 1px solid gray; @@ -170,7 +170,7 @@ border-bottom:1px solid #ced4da; border:none !important; } - .search_box_bg .uk-button, #searchForm .uk-button:not(.uk-button-text), .search_box_bg .uk-button:hover, #searchForm .uk-button:hover:not(.uk-button-text) { + .search_box_bg .uk-button, #searchForm .uk-button:not(.uk-button-text):not(.uk-button-link), .search_box_bg .uk-button:hover, #searchForm .uk-button:hover:not(.uk-button-text):not(.uk-button-link) { border-radius: 0px; margin-left: 0px !important; color: rgb(102, 102, 102) !important;