Commit Graph

359 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 9a1209353f Add less files for library-css and dashboard css. 2022-07-17 16:08:00 +03:00
Konstantina Galouni d577c6d69a [Connect & Library | new-theme]: Redesigned invite and join buttons | Added rule .uk-light .custom-external::after | Updated css for .multi-line-ellipsis - now supports inner elements.
1. invite.component.html:
   a. Redesigned invite button according to the new mocks.
   b. Button of invite is a route to invite page (removed dropdown for quick invitation).
2. subscribe.component.ts:
   a. Redesigned join (subscribe) button according to the new mocks.
   b. Subscribe renamed to Join/Leave and Member.
3 subscribe.module.ts: Imported IconsModule.
4. app.component.ts: Renamed id="subscribeAndInviteBtn" to id="joinAndInviteBtn".
5. connect-custom.less: Added rules under .communityApp for #joinAndInviteBtn, #join, #invite, .member-button.
6. utils.css:
   a. Added rule .uk-light .custom-external::after to set color with light-color.
   b. Updated css for .multi-line-ellipsis - now supports inner elements (e.g. <p>) inside parent <p>.
2022-07-06 13:14:47 +03:00
Alex Martzios 052d94e27c change for multi-line-ellipsis css rule 2022-06-30 18:23:09 +03:00
Konstantinos Triantafyllou 65cbf342bc Delete body overflow unset 2022-06-28 21:09:31 +03:00
Konstantinos Triantafyllou 1c7b42284c Delete deposit.css 2022-06-27 12:45:43 +03:00
Konstantinos Triantafyllou d2271102cd Add text-<portal> classes to text.css 2022-06-27 12:44:02 +03:00
Konstantinos Triantafyllou 752859b10d Add material in library-css 2022-06-23 19:44:50 +03:00
Alex Martzios d6fd642f21 add default deposit assets (explore colors) 2022-06-22 15:35:47 +03:00
Konstantina Galouni 787970f735 [Library | Explore | new-theme]: Added a container for modals | Fixes in orcid modal | for journals and registries use common query for beta & prod.
1. app.component.ts: Added <div id="modal-container"></div>.
2. alert.ts: [Bug fix] Updated target container in modal to id #modal-container (get portal specific css and have a generic z-index).
3. datasourcesHelper.class.ts: In method getQueryPrefix(), have a common setting for beta & prod environments.
4. orcid-work.component.ts: In grant modal, removed uk-text-center class and added [overflowBody]=false.
2022-06-20 13:02:23 +03:00
Konstantina Galouni 7d090b046b [Library & common-assets | new-theme]: Fixes in landing for offcanvas right sidebar.
1. resultLanding.component.html: Moved offcanvas right sidebar outside grid (problem with upcoming new openaire theme - .less version).
2. landing-utils.css: [Bug fix]: In  .landing .uk-offcanvas .uk-dropdown, set left and right to auto (dropdown shouldn't go out of offcanvas).
2022-06-17 16:20:17 +03:00
Konstantinos Triantafyllou 1e52629776 Landing utils: Add parent .landing class to all classes and remova text variable. 2022-06-17 14:30:39 +03:00
Konstantinos Triantafyllou f454570d5c Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-assets into new-theme 2022-06-16 19:47:23 +03:00
Konstantinos Triantafyllou d77c1739dc Move deposit and linking from openaire-theme 2022-06-16 19:47:16 +03:00
Konstantina Galouni 4b13058c7d [Library & common-assets | new-theme]: z-index problems in landing pages & scrolling on page change in tabs and versions modals | Bug fix in projects tab of organizatio landing.
1. landing-utils.css: [Bug fix] z-indexes of uk-dropdown set to 981 (landing only), z-index of #main-tabs-div set to 978, z-index of graph_and_feedback set to 979.
2. showAuthors.component.ts: [Bug fix] Added @Input() isSticky: boolean = false; and when isSticky is true, do not show orcid info & dropdown for authors (z-index problem).
3. resultLanding.component.ts: Added scrolling in "References" and "External Databases" (bioentiites) tabs on page change.
4. resultLanding.component.html: [Bug fix] For the right sidebar, added inner <div class="uk-overflow-auto uk-height-1-1"> inside sticky - z-index problem.
5. result/deletedByInference.component.ts & organization/deletedByInference.component.ts: Added scrolling on page change.
6. projects-in-modal.component.ts:
   a. Added scrolling in "Projects" tab on page change.
   b. Show number of projects and pages always.
   b. [Bug fix] On filterChange(), set page=1.
7. landing-header.component.ts: Added parameter isSticky in <showAuthors>.
8. Added scrolling in "Related Data Sources" tab on page change.
2022-06-16 19:37:30 +03:00
Konstantinos Triantafyllou b261d0f845 Change navbar-height to header-height in landing css 2022-06-16 01:44:56 +03:00
Konstantinos Triantafyllou 0e2c862e8b Library css: Change header height to global variable 2022-06-15 15:34:22 +03:00
Konstantina Galouni 2b7e2d4cc0 [common-assets & openaire-theme & Library | new-theme]: Updated class for graph color and moved to openaire.css | z-index fixes in dropdown and in landing pages.
1. dropdown.css: [Bug fix] Added z-index: 1 in uk-dropdown to prevent dropdown from being on top of menu.
2. text.css: Removed classes "text-orcid" and "text-argos" (moved to openaire-theme/css/openaire.css.
3. openaire.css: Removed class "graph" and added "text-graph", "text-orcid", "text-argos".
4. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html & newSearchPage.component.html: Use class "text-graph" instead of "graph" for graph color.
5. landing-utils.css: [Bug fix] Updated z-index of #graph_and_feedback to 980 (previous 979) to be on top of tabs in landing pages | background of #main-tabs-div was set twice.
2022-06-14 17:00:13 +03:00
Konstantina Galouni 828b3c4973 [common-assets & openaire-theme | new-theme]: Moved css for class "view-more-less-link" from link.css to utils.css. 2022-06-10 15:08:48 +03:00
Konstantina Galouni 5e4caf5e78 [Library & common-assets | new-theme]: min-width in landing right sidebar | fix in classified subjects display | tooltip for license in download from.
1. landing-utils.css: Added class .landing-right-sidebar-min-width { min-width: 360px; }.
2. resultLanding.component.html: In right sidebar added class "landing-right-sidebar-min-width".
3. showSubjects.component.ts: [Bug fix] Removed class "uk-flex-inline" from keys for loop div - so that each tag goes to a new line.
4. availableOn.component.ts: Added uk-tooltip for accessRight tooltip | On hovering licence, show in tooltip the whole value.
2022-06-09 17:51:58 +03:00
Alex Martzios ee3a9a4868 add zenodo logo on common assets 2022-05-30 16:53:45 +03:00
Konstantina Galouni 170a0490e6 [common-assets & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. addThis.component.ts: [Bug fix] Increased timeout to 4 sec and fix check (sometimes innerText was undefined).
2. searchMyOrcidResults.component.html: [Bug fix] Removed uk-animation-fade from results and added uk-scrollspy.
3. showAuthors.component.ts: [Bug fix] Fixed copy to clipboard - data-clipboard-target was not working because we have multiple clipboards in the same page (reverted code to old way of copying).
4. timeout-interceptor.service.ts: Reverted timeout time for client.
5. utils.css: Added custom css for .orcid-dropdown input (orcid dropdown in authors).
2022-05-17 12:15:15 +03:00
Konstantinos Triantafyllou e0ff412740 Add explore and connect logos as SVGs 2022-05-13 15:45:43 +03:00
Alex Martzios 960456e6f0 add stakeholder placeholder img asset 2022-05-06 16:22:46 +03:00
argirok 2cc666a9e8 Add blur background in tabs slider arrows and in search selected filters 2022-05-06 13:13:45 +03:00
Konstantina Galouni 72fc50c95c [Library & common-assets | new-theme]:
1. landing-utils.css: Deleted .landing-background-default-color (replaced in html with uk-background-default).
2. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Updates and fixes for redesign.
   a. #graph_and_feedback outside margins and checks (invisible when no info).
   b. [Bug fix] margin-top of center column fixed (uk-sticky-placeholder was adding space).
   c. [Bug fix] Show again right sidebar when screen becomes medium+.
   d. [Bug fix] Added grid in labels.
3. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: Added ResizeObserver and updated how graph_offset is calculated | Added graph_height field to set margin-top of center column.
4. project.component.ts: In getFileNameType() use OpenaireEntities.
5. organization.component.ts:
   a. In contentTypes field added type file names from OpenaireEntities
   b. Added field contentFileName.
   c. Added field shouldSticky and observer for "bottom" to stop sticky title & tabs when bottom is in viewport.
6. dataProvider.component.ts: Added field "provenanceUrls" and method "getProvenanceUrls()" to flatten all urls from dataProviderInfo.provenance.
2022-05-05 20:54:01 +03:00
Konstantina Galouni e322594022 [Explore & Library & common-assets | new-theme]: No animation in sticky tabs | Tabs stop being sticky when bottom component is in viewport | Updates in powered by bottom message | Updates in statistics in datasource landing.
1. landing-utils.css: Commented transition ease-out in #main-tabs-div.
2. app.component.ts: Added id="bottom" in <bottom>.
3. newSearchPage.component.html: Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
4. metrics.component.ts: Add classes "uk-text-small uk-text-meta" in "Powered by".
5. resultLanding.component.html & project.component.html & dataProvider.component.html:
   a. Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
   b. Add uk-sticky attribute in id="main-tabs-div" only if shouldSticky is true (bottom is not in the viewport).
6. resultLanding.component.ts & project.component.ts & dataProvider.component.ts: Added fields shouldSticky and observer, check in ngAfterViewInit() if bottom is intersecting and kill the observer in ngOnDestroy().
7. statisticsTab.component.ts: Added customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply" in <i-frame>.
8. showAuthors.component.ts: [Bug fix] In "View less authors" make only the link clickable, not the whole row.
2022-05-04 18:09:35 +03:00
Alex Martzios 574f63ebfd styles changes 2022-05-04 12:48:32 +03:00
Konstantina Galouni 29bdacee14 [common-assets | new-theme]: landing-utils.css: Removed rules related to .uk-progress (updated and moved to openaire-theme in progress.css). 2022-04-28 16:52:19 +03:00
Konstantina Galouni 99f61af203 [common-assets | new-theme]: Updates for redesign of landing pages.
1. landing-utils.css:
   a. Updated min-height of landing-section to 60vh and do not apply on landing-section-height-auto (summary tab)
   b. Added .separator-in-tab (not for small screens)
   c. Added .card-tab | Added css for .landing .uk-progress (currently not working).
2. utils.css: Uncommented .iframeContainer and .iframeContainer iframe.
3. common/argos_entities.svg: [NEW] Added for DMPs tab in project landing page.
2022-04-28 12:10:40 +03:00
Konstantina Galouni 542a34e607 [Explore & Library & Common Assets | new-theme]: Updates related to result landing redesign.
1. fos.component.css: Removed rule "mark.highlighted" and ".custom-bottom-border" updated with variables.
2. feedback.component.html: Updated width of email input for small screens.
3. parsingFunctions.class.ts: In "parseAllSubjects()" method, comment otherSubjects and push them in subjects.
4. showIdentifiers.component.ts: Updated classes in <modal-alert>.
5. showSubjects.component.ts: "Subjects by Vocabulary" and "Subjects" separated & view more functionality added in "Subjects".
6. resultLanding.component:
	a. Added button and modal for <addThis> (share in social media).
	b. View more functionality for related organizations.
	c. Graph and feedback section sticky.
	d. Added checks for summary tab and right sidebar.
	e. In small screens made right sidebar offcanvas.
7. resultLanding.module.ts: Updated iconsService.registerIcons to register link, graph, quotes.
8. orcid-work.component.ts: Added visually-hidden in icon buttons for landing | Updated classes in <modal-alert> and use buttons of alert instead of custom.
9. no-load-paging.component.ts: Use new component <results-and-pages> for results and pages number and set uk-flex-right in <paging-no-load> (default is center).
10. cookie-law.css: In ".cookie-law-wrapper" increased z-index from 100 to 1000.
11. showAuthors.component.ts: Removed shadow from search button | Updated classes in <modal-alert>.
12. icons.ts: Added "quotes" svg.
13. alert.ts: Updated modal to have header - body - footer (theme was updated too) | classTitle input set default to "uk-background-primary-opacity" | @Input() overflowBody: boolean = true; added to add overflow in body.
14. paging.module.ts: Added ResultsAndPagesNumComponent in declarations and exports.
15. pagingFormatter.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them.
16. pagingFormatterNoLoad.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them | Set customClasses default to "uk-flex-center".
17. tabs.component.ts: Updated margins/ paddings | Added @Input() offsetForSticky:number=0; to compare with the top distance for isSticky.
18. resultsAndPagesNum.component.ts: [NEW] Component to show number of results, number of pages and current page (used in paging).
19. landing-utils.css:
	a. Moved variables in .landing instead of :root.
	b. Added variable --landing-light-color-rgb: var(--light-color-rgb);
	c. Added glass filter in #graph_and_feedback.
	d. Set z-index of #main-tabs-div and #graph_and_feedback to 979 (default 980 caused problems with metrics box).
	e. Added padding-bottom: 80px and margin-top: 80px in .landing-sections.
	f. Added top rule for #right-sidebar-switcher.
	g. Added custom width rules for .landing-left-sidebar-width.
20. css-rules.txt: Added cookie-law-wrapper: 1000 info for z-index
21. explore-custom.css: Added variable --background-primary-rgb: var(--explore-color-rgb);
2022-04-20 17:40:18 +03:00
Konstantina Galouni 468555a58f [Library & common-assets | new-theme]: Updates for redesign.
1. availableOn.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external icon to links and updated accessright icons.
2. citation.class.ts: Added fileFormatOptions: Option[] to use it in input options.
3. citeThis.component.ts: Updated select inputs using "input" from InputComponent | Updated copy to clipboard button to link.
4. citeThis.module.ts: Import InputModule.
5. fos.component.ts: Updated class of title to "uk-text-light-grey".
6. fundedBy.component.ts: Updated class of title to "uk-text-light-grey" and updated links with uk-text-emphasis class.
7. landing-header.component.ts: Increase authorsLimit to 7 | Changed class of "under curation" to uk-text-primary (used to be custom class).
8. metrics.component.ts: Updated in clickOutside event.
parsingFunctions.class.ts: Updated open, closed and unknown with icon names instead of paths to svgs (download accessright icons).
9. relatedTo.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external for links.
10. resultLandingUtils.module.ts: Inport AlertModalModule (to open modal).
11. sdg.component.ts: Updated class of titlte to "uk-text-light-grey".
12. showIdentifiers.component.ts: Added view more functionality.
13. showPublisher.component.ts: Updated custon-external class.
14. resultLanding.module.ts: registerIcon link.
15. resultLanding.component.html: Updated css for result landing and commented annotations (b2note).
16. orcid-work.component.ts: Updated orcid action button for landing page.
17. orcid.module.ts: registerIcons orcid_add and orcid_bin.
18. customOptions.class.ts: [Bug fix] [By Kostis] registryOptions() was not returning properly httpHeaders.
19. showAuthors.component.ts: Updated css
20. icons.ts: Export svgs orcid_add, orcid_bin, link.
21. alert.ts: Removed margin from title.
22. result-preview.component.html: Title of results set to <h2> and uk-h6 and when links to uk-link-heading | accessRightIcon for hostedBy_collectedFrom.
23. result-preview.module.ts: Imported IconsModule.
24. landing-utils.css: Updates in landing css & css of landing-action-button & added backdrop filter missing rules.
25. utils.css: Updated class orcid-clipboard-wrapper and renamed to clipboad-wrapper | Update class .custom-external to set in content with code instead of name and updated not to underline it on hover
26. library.css: Added class .default-dropdown with max-width: 500px;
2022-04-16 10:47:30 +03:00
Konstantinos Triantafyllou cc2719364d Search: Add class for bg of search form 2022-04-15 11:09:46 +03:00
argirok fbbae04183 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-assets into new-theme 2022-04-12 18:19:13 +03:00
argirok 3c6c09e28e landing tabs - changes for the background color 2022-04-12 18:14:28 +03:00
Konstantina Galouni c1445656a2 [Library & common-assets| new-theme]: Fixes in custom-external.
1. resultLanding.component.html: [Bug fix] In EGI Notebook, uk-text-uppercase should be in text (custom-external icon could not be loaded).
2. resultLanding.component.ts: Removed unnecessary log.
3. result-preview.component.html: Added properly "custom-external" class.
4. utils.css: In class "custom-external", set verical-align: super.
2022-04-12 16:52:49 +03:00
Konstantina Galouni 84332ef82b [Common-assets | new-theme]: Updated css rules for landing pages & external icon & orcid-clipboard (authors dropdown) | Added svg image for SDGs in landing page.
1. utils.css: Added rules for classes "custom-external" (external icon on after), "orcid-clipboard-wrapper" and "orcid-clipboard-wrapper > input[name="code"]".
2. landing-utils.css: Added variables for colors and css rules for landing related classes (e.g. landing-modal-header, download-from, landing-action-tooltip).
3. common folder: The_Global_Goals_Icon_Color.svg added.
2022-04-12 13:59:28 +03:00
argirok c0f2132f4e Landing tabs: title to appear when tabs stick to top, add css for the sections, css for featured tabs 2022-04-08 18:26:27 +03:00
Konstantina Galouni 77d3480a05 [Library & Common-Assets | new-theme]: 1st version of restructure of result landing page according to redesign | Bug fix in method "hasMetrics".
1. landing-header.component.ts: Remove from <showTitle>, isH1 input.
2. metrics.component.ts: On metrics error, emit also "pageViews: 0".
3. showTitle.component.ts: Remove "isH1" input property and add in title class uk-h5 always.
4. resultLanding.component.html: Redesign (currently broken) of result landing page.
5. orcid-work.component.ts: Remove label "Add to / Remove from ORCID".
6. import.css: Import "landing-utils.css".
7. landing-utils.css: Comment all existing css rules and add new.
2022-04-04 12:14:53 +03:00
Konstantinos Triantafyllou bbad5016c9 Revert clickable class 2022-03-30 20:48:13 +03:00
Konstantinos Triantafyllou 776ba07197 Change monitor logos back to svgs 2022-03-15 16:18:50 +02:00
Konstantinos Triantafyllou 9a06b6e012 Change logo svgs to pngs 2022-03-14 19:05:44 +02:00
Konstantinos Triantafyllou b7ebcb7513 Add line height in number class 2022-03-10 19:52:36 +02:00
Konstantinos Triantafyllou f69fa42bda Delete filter-tag 2022-03-10 18:31:01 +02:00
Konstantinos Triantafyllou 940072a397 Set body overflow: unset, causing problem in sticky position 2022-03-08 21:14:37 +02:00
Konstantinos Triantafyllou c63acdeb5a Add new logos for monitor. Add login variables 2022-03-08 20:45:03 +02:00
Konstantinos Triantafyllou b5dcabf266 Delete old custom css. Comment all classes in custom.css. Add variables for login colors. Make main height as viewport 2022-03-04 17:32:45 +02:00
Alex Martzios 4e99b0887c add assets for monitor - about page 2022-02-21 12:11:11 +02:00
Konstantinos Triantafyllou 9224f3da59 Uncomment text.css file and add classes for numbers font size 2022-02-17 17:29:45 +02:00
Konstantinos Triantafyllou 1723114f30 Add filter tag class for filters 2022-02-14 17:59:25 +02:00
Konstantina Galouni 71d5195b97 [new-theme | Common assets]: import.css: Import login.css | login.css: Uncommented css for user in navbar and updated color variables. 2022-01-27 18:03:40 +02:00