From 1e30595f3dc6c1045ca844e7a8df48f28d17326f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 19 May 2022 12:14:28 +0300 Subject: [PATCH] [Aggregator | Library | new-theme]: Fixes for eosc portal in search forms. 1. advancedSearchForm.component.html: Updated width in div for entity selection in advanced search form (uk-width-large@m uk-width-2-5@xl uk-width-1-1). 2. newSearchPage.component.html: In added horizontal padding (on the left it was already there) - the form is centered and leaves some space from the right side of page. 3. aggregators.ts: a. Commented background css in .search_box_bg. b. Do not apply custom button css for .uk-button-text with parent .search_box_bg or #searchForm. c. Added padding: 10px in buttons with parent .search_box_bg or #searchForm. --- src/app/openaireLibrary | 2 +- src/app/utils/aggregators.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index ba40958..6caba7a 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit ba409585c172a833dfeb12d11f750496bd91f591 +Subproject commit 6caba7a15528071c6c40d250c4d21480d7b0512c diff --git a/src/app/utils/aggregators.ts b/src/app/utils/aggregators.ts index be0fa29..a51e65a 100644 --- a/src/app/utils/aggregators.ts +++ b/src/app/utils/aggregators.ts @@ -100,10 +100,10 @@ export class PortalAggregators { color:#0c2bd5; } .search_box_bg { - background: url(//marketplace.eosc-portal.eu/packs/media/images/home-bg-89b63b3d579f3530ec6283f51e1648bc.png) no-repeat; - background-position-x: 0%; - background-position-y: 0%; - background-position: 50% -120px; + /*background: url(//marketplace.eosc-portal.eu/packs/media/images/home-bg-89b63b3d579f3530ec6283f51e1648bc.png) no-repeat;*/ + /* background-position-x: 0%;*/ + /* background-position-y: 0%;*/ + /* background-position: 50% -120px;*/ z-index: 3; } #searchImage{ @@ -170,7 +170,7 @@ border-bottom:1px solid #ced4da; border:none !important; } - .search_box_bg .uk-button, #searchForm .uk-button, .search_box_bg .uk-button:hover, #searchForm .uk-button:hover { + .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) { border-radius: 0px; margin-left: 0px !important; color: rgb(102, 102, 102) !important; @@ -178,7 +178,7 @@ border-bottom:1px solid #ced4da; background-color: rgba(255, 255, 255, 1.0) !important; border: 1px solid rgba(0, 0, 0, 0.40) !important; background-image: none !important; - + padding: 10px; } `)