initial commit for new-theme branch

This commit is contained in:
argirok 2022-04-26 17:19:38 +03:00
parent 120983b937
commit 38bba7440b
6 changed files with 73 additions and 48 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "src/assets/common-assets"] [submodule "src/assets/common-assets"]
path = src/assets/common-assets path = src/assets/common-assets
url = gitea@code-repo.d4science.org:MaDgIK/openaire-assets.git url = gitea@code-repo.d4science.org:MaDgIK/openaire-assets.git
[submodule "src/assets/openaire-theme"]
path = src/assets/openaire-theme
url = gitea@code-repo.d4science.org:MaDgIK/openaire-theme.git

View File

@ -8,7 +8,7 @@
<div class="uk-grid uk-margin-small-left"> <div class="uk-grid uk-margin-small-left">
<div class="uk-margin-small-top uk-padding-remove-left"> <div class="uk-margin-small-top uk-padding-remove-left">
<entities-selection [simpleView]="true" currentEntity="all" [selectedEntity]="selectedEntity" <entities-selection [simpleView]="true" currentEntity="all" [selectedEntity]="selectedEntity"
[properties]="properties" [onChangeNavigate]="false" [onChangeNavigate]="false"
(selectionChange)="entityChanged($event)" [customFilter]="customFilter" (selectionChange)="entityChanged($event)" [customFilter]="customFilter"
></entities-selection> ></entities-selection>
</div> </div>

@ -1 +1 @@
Subproject commit 24848d2bee6a99afe8db2b894fc654e68a1e0c6c Subproject commit fc2fbb5ba008712b856a60d28e341dc1475fab80

@ -0,0 +1 @@
Subproject commit 3b518bbe8d442f0ce798663384ca33084da61009

View File

@ -1,53 +1,75 @@
/*:root {*/
/* --portal-main-color: #2d72d6;*/
/* --portal-main-contrast: white;*/
/* --portal-dark-color: #313179;*/
/* --openaire-main-color: #313179;*/
/* --graph-background: no-repeat bottom;;*/
/*}*/
/*new theme */
:root { :root {
--portal-main-color: #2d72d6; /*buttons*/
--portal-main-contrast: white; /*--button-primary-background: var(--explore-color);*/
--portal-dark-color: #313179; /*--button-primary-background-image: linear-gradient(104deg, var(--explore-dark-color) 0%, var(--explore-light-color) 100%);*/
--openaire-main-color: #313179;
--graph-background: no-repeat bottom;;
}
.graph-background { /*backgrounds*/
background-size: cover !important; /*--background-primary:var(--explore-color);*/
padding-bottom: 100px; /*--background-primary-image:none;*/
background-color: #FAFAFA !important; /*--background-secondary: var(--grey-color);*/
background: var(--graph-background); /*--background-secondary-image:none;*/
}
.mainPageSearchForm{
background-color: white !important;
background-image: none !important;
margin-bottom: 20px;
}
.searchForm, .generalSearchForm, /*fonts*/
.publicationsSearchForm, /*--text-primary-color: var(--explore-color);*/
.projectsSearchForm, .projectsTableSearchForm, /*--text-gradient-color: linear-gradient(110deg, var(--explore-dark-color) 0%, var(--explore-light-color) 100%);*/
.organizationsSearchForm,
.datasetsSearchForm,
.softwareSearchForm,
.orpsSearchForm,
.datasourcesSearchForm, .compatibleDatasourcesSearchForm, .compatibleDatasourcesTableSearchForm, .datasourcesTableSearchForm,
.journalsSearchForm, .journalsTableSearchForm,
.entityRegistriesSearchForm, .entityRegistriesTableSearchForm {
background-color: white !important; /* Label */
background-image: none !important; /*--label-secondary: var(--explore-color);*/
}
.explorePanelBackground { /*slider*/
background: transparent linear-gradient(133deg, #F5F5F5 0%, #D8D8D8 100%) 0 0 no-repeat padding-box; /*--slider-dot-background: rgba(var(--explore-color-rgb), 0.5);*/
/*--slider-dot-active-background: var(--explore-color);*/
} }
/*.graph-background {*/
/* background-size: cover !important;*/
/* padding-bottom: 100px;*/
/* background-color: #FAFAFA !important;*/
/* background: var(--graph-background);*/
/*}*/
/*.mainPageSearchForm{*/
/* background-color: white !important;*/
/* background-image: none !important;*/
/* margin-bottom: 20px;*/
/*}*/
.explorePanelBackground .uk-grid-divider > :not(.uk-first-column)::before { /*.searchForm, .generalSearchForm,*/
border-left: 1px solid rgba(0, 0, 0, .2); /*.publicationsSearchForm,*/
} /*.projectsSearchForm, .projectsTableSearchForm,*/
/*.organizationsSearchForm,*/
/*.datasetsSearchForm,*/
/*.softwareSearchForm,*/
/*.orpsSearchForm,*/
/*.datasourcesSearchForm, .compatibleDatasourcesSearchForm, .compatibleDatasourcesTableSearchForm, .datasourcesTableSearchForm,*/
/* .journalsSearchForm, .journalsTableSearchForm,*/
/*.entityRegistriesSearchForm, .entityRegistriesTableSearchForm {*/
.explorePanelBackground .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before { /* background-color: white !important;*/
color: #bfbfbf; /* background-image: none !important;*/
} /*}*/
.numbers-background { /*.explorePanelBackground {*/
background: transparent url('numbers_background_pattern.svg') repeat-x center bottom; /* background: transparent linear-gradient(133deg, #F5F5F5 0%, #D8D8D8 100%) 0 0 no-repeat padding-box;*/
} /*}*/
.number {
color: #1d1d1d; /*.explorePanelBackground .uk-grid-divider > :not(.uk-first-column)::before {*/
} /* border-left: 1px solid rgba(0, 0, 0, .2);*/
/*}*/
/*.explorePanelBackground .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {*/
/* color: #bfbfbf;*/
/*}*/
/*.numbers-background {*/
/* background: transparent url('numbers_background_pattern.svg') repeat-x center bottom;*/
/*}*/
/*.number {*/
/* color: #1d1d1d;*/
/*}*/

View File

@ -1,5 +1,4 @@
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
@import "assets/common-assets/common/theme.css"; @import "assets/openaire-theme/css/import.css";
@import "assets/common-assets/common/custom.css";
@import "assets/common-assets/library.css"; @import "assets/common-assets/library.css";
@import "assets/portal-custom.css"; @import "assets/portal-custom.css";