Start new branch for monitor dashboard redesign

This commit is contained in:
Konstantinos Triantafyllou 2022-02-23 13:52:35 +02:00
parent f76fd578c2
commit ab4c684e6d
7 changed files with 231 additions and 227 deletions

3
.gitmodules vendored
View File

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

@ -1 +1 @@
Subproject commit 514cd0dd12407f0b3c09d5f20c39a546888165a9 Subproject commit 31e56588271d0ed3fc64990a35ac007e7aa4b2b3

@ -1 +1 @@
Subproject commit 04d799f089c93ae28c9d2ca8436f283ebc0be3ae Subproject commit 4e99b0887c758579682eb1d9848d227e18f97799

@ -1 +1 @@
Subproject commit 3534471c8c7dcd58d53cb8ad84a92e051ef72dd8 Subproject commit a9e0079b207d8e2894f71fff5b683afe44d3eb57

View File

@ -1,249 +1,249 @@
:root { /*:root {*/
--portal-main-color: #8DCA26; /* --portal-main-color: #8DCA26;*/
--portal-main-contrast: white; /* --portal-main-contrast: white;*/
--portal-dark-color: #7c9144; /* --portal-dark-color: #7c9144;*/
}
.stakeholderPage {
--primary-color: var(--theme-secondary-color);
--secondary-color: var(--theme-secondary-color);
--primary-color-rgb: var(--theme-secondary-color-rgb);
--secondary-color-rgb: var(--theme-secondary-color-rgb);
}
/*Stakeholder Specific*/
.publicationsSearchForm {
background-image: none;
}
.stakeholderPage #page_content {
background-image: url("~src/assets/monitor-shapes-bg.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
background-attachment: fixed;
min-height: calc(70vh - var(--header-height));
}
/*General*/
.stakeholderPage {
background: #F9FBFC !important;
}
#style_switcher .uk-offcanvas-bar {
box-sizing: border-box;
padding: 16px;
}
#style_switcher_toggle {
top: 320px !important;
position: fixed;
height: 36px;
/*background: #fff;*/
background-color: rgb(255, 255, 255);
border-radius: 4px 0 0 4px;
cursor: pointer;
padding: 0 8px;
box-shadow: -2px 2px 5px rgba(0, 0, 0, .26);
box-sizing: border-box;
/*z-index: 981;*/
}
#filters_switcher_toggle {
top: 320px !important;
position: fixed;
height: 36px;
background-color: var(--secondary-color);
border-radius: 4px 0 0 4px;
cursor: pointer;
padding: 0 2px;
box-shadow: -2px 2px 5px rgba(0, 0, 0, .26);
box-sizing: border-box;
/*z-index: 981;*/
right: 0;
}
/*Sidebar*/
/*Style*/
/*#sidebar_main .menu_section > ul li.uk-active > a {*/
/* font-size: var(--sidebar-font-size);*/
/* color: rgba(0,0,0,.7);*/
/*}*/ /*}*/
/*Sidebar Header logo */
#sidebar_main .sidebar_main_header .portal-logo {
background: url("~src/assets/common-assets/logo-large-monitor.png") no-repeat;
background-size: contain;
}
.sidebar_mini #sidebar_main .sidebar_main_header .portal-logo { /*.stakeholderPage {*/
background: url("~src/assets/common-assets/logo-small-monitor.png") no-repeat; /* --primary-color: var(--theme-secondary-color);*/
background-size: contain; /* --secondary-color: var(--theme-secondary-color);*/
} /* --primary-color-rgb: var(--theme-secondary-color-rgb);*/
/* --secondary-color-rgb: var(--theme-secondary-color-rgb);*/
/*}*/
/*!*Stakeholder Specific*!*/
/*.publicationsSearchForm {*/
/* background-image: none;*/
/*}*/
/*Sidebar Rotation*/ /*.stakeholderPage #page_content {*/
/* background-image: url("~src/assets/monitor-shapes-bg.svg");*/
/* background-size: contain;*/
/* background-repeat: no-repeat;*/
/* background-position: bottom;*/
/* background-attachment: fixed;*/
/* min-height: calc(70vh - var(--header-height));*/
/*}*/
.stakeholderPage #sidebar_main .menu_section > ul > li.uk-active { /*!*General*!*/
width: 150px; /*.stakeholderPage {*/
height: 100%; /* background: #F9FBFC !important;*/
transition: 0.70s; /*}*/
-webkit-transition: 0.70s;
-moz-transition: 0.70s;
-ms-transition: 0.70s;
-o-transition: 0.70s;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
margin: 63px auto 63px auto;
}
.stakeholderPage #sidebar_main .menu_section > ul > li { /*#style_switcher .uk-offcanvas-bar {*/
transition: 0.70s; /* box-sizing: border-box;*/
-webkit-transition: 0.70s; /* padding: 16px;*/
-moz-transition: 0.70s; /*}*/
-ms-transition: 0.70s;
-o-transition: 0.70s;
/*display: block;*/
/*text-align: center;*/
/*margin-right: auto;*/
/*margin-left: auto;*/
}
.stakeholderPage.sidebar_mini #sidebar_main .menu_section > ul > li.uk-active { /*#style_switcher_toggle {*/
-webkit-transform: rotate(0deg); /* top: 320px !important;*/
-moz-transform: rotate(0deg); /* position: fixed;*/
-o-transform: rotate(0deg); /* height: 36px;*/
-ms-transform: rotate(0deg); /* !*background: #fff;*!*/
transform: rotate(0deg); /* background-color: rgb(255, 255, 255);*/
width: inherit; /* border-radius: 4px 0 0 4px;*/
height: inherit; /* cursor: pointer;*/
margin: 4px 0 0; /* padding: 0 8px;*/
} /* box-shadow: -2px 2px 5px rgba(0, 0, 0, .26);*/
/* box-sizing: border-box;*/
/* !*z-index: 981;*!*/
/*}*/
/*#filters_switcher_toggle {*/
/* top: 320px !important;*/
/* position: fixed;*/
/* height: 36px;*/
/* background-color: var(--secondary-color);*/
/* border-radius: 4px 0 0 4px;*/
/* cursor: pointer;*/
/* padding: 0 2px;*/
/* box-shadow: -2px 2px 5px rgba(0, 0, 0, .26);*/
/* box-sizing: border-box;*/
/* !*z-index: 981;*!*/
/* right: 0;*/
/*}*/
/*!*Sidebar*!*/
/*!*Style*!*/
/*!*#sidebar_main .menu_section > ul li.uk-active > a {*!*/
/*!* font-size: var(--sidebar-font-size);*!*/
/*!* color: rgba(0,0,0,.7);*!*/
/*!*}*!*/
/*!*Sidebar Header logo *!*/
/*#sidebar_main .sidebar_main_header .portal-logo {*/
/* background: url("~src/assets/common-assets/logo-large-monitor.png") no-repeat;*/
/* background-size: contain;*/
/*}*/
/*.sidebar_mini #sidebar_main .sidebar_main_header .portal-logo {*/
/* background: url("~src/assets/common-assets/logo-small-monitor.png") no-repeat;*/
/* background-size: contain;*/
/*}*/
/*!*Sidebar Rotation*!*/
/*.stakeholderPage #sidebar_main .menu_section > ul > li.uk-active {*/
/* width: 150px;*/
/* height: 100%;*/
/* transition: 0.70s;*/
/* -webkit-transition: 0.70s;*/
/* -moz-transition: 0.70s;*/
/* -ms-transition: 0.70s;*/
/* -o-transition: 0.70s;*/
/* -webkit-transform: rotate(-90deg);*/
/* -moz-transform: rotate(-90deg);*/
/* -o-transform: rotate(-90deg);*/
/* -ms-transform: rotate(-90deg);*/
/* transform: rotate(-90deg);*/
/* margin: 63px auto 63px auto;*/
/*}*/
/*.stakeholderPage #sidebar_main .menu_section > ul > li {*/
/* transition: 0.70s;*/
/* -webkit-transition: 0.70s;*/
/* -moz-transition: 0.70s;*/
/* -ms-transition: 0.70s;*/
/* -o-transition: 0.70s;*/
/* !*display: block;*!*/
/* !*text-align: center;*!*/
/* !*margin-right: auto;*!*/
/* !*margin-left: auto;*!*/
/*}*/
/*.stakeholderPage.sidebar_mini #sidebar_main .menu_section > ul > li.uk-active {*/
/* -webkit-transform: rotate(0deg);*/
/* -moz-transform: rotate(0deg);*/
/* -o-transform: rotate(0deg);*/
/* -ms-transform: rotate(0deg);*/
/* transform: rotate(0deg);*/
/* width: inherit;*/
/* height: inherit;*/
/* margin: 4px 0 0;*/
/*}*/
.stakeholderPage #sidebar_main #sidebar_content, .stakeholderPage #sidebar_switcher_toggle { /*.stakeholderPage #sidebar_main #sidebar_content, .stakeholderPage #sidebar_switcher_toggle {*/
border-color: var(--monitor-portal-color); /* border-color: var(--monitor-portal-color);*/
} /*}*/
/* Section Tools*/ /*!* Section Tools*!*/
.dashboard .section { /*.dashboard .section {*/
padding-top: 10px; /* padding-top: 10px;*/
padding-bottom: 10px; /* padding-bottom: 10px;*/
padding-right: 10px; /* padding-right: 10px;*/
border: rgba(0, 0, 0, 0) solid 1px; /* border: rgba(0, 0, 0, 0) solid 1px;*/
position: relative; /* position: relative;*/
} /*}*/
.dashboard .section .tools { /*.dashboard .section .tools {*/
position: absolute; /* position: absolute;*/
top: 0; /* top: 0;*/
left: 50%; /* left: 50%;*/
transform: translate(-50%, -100%); /* transform: translate(-50%, -100%);*/
width: 50px; /* width: 50px;*/
max-width: 50px; /* max-width: 50px;*/
background: var(--secondary-color); /* background: var(--secondary-color);*/
color: var(--contrast-color); /* color: var(--contrast-color);*/
-webkit-clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%); /* -webkit-clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%);*/
clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%); /* clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%);*/
display: none; /* display: none;*/
padding-left: 10px; /* padding-left: 10px;*/
} /*}*/
.dashboard .section { /*.dashboard .section {*/
border: transparent solid 1px; /* border: transparent solid 1px;*/
} /*}*/
.dashboard .section:hover { /*.dashboard .section:hover {*/
border: var(--secondary-color) solid 1px; /* border: var(--secondary-color) solid 1px;*/
} /*}*/
.dashboard .section:hover .tools { /*.dashboard .section:hover .tools {*/
display: block; /* display: block;*/
} /*}*/
.dashboard .section:hover .tools a { /*.dashboard .section:hover .tools a {*/
color: currentColor; /* color: currentColor;*/
} /*}*/
/* New section*/ /*!* New section*!*/
.dashboard .new-section { /*.dashboard .new-section {*/
border: #707070 dashed 1px; /* border: #707070 dashed 1px;*/
border-radius: 2px; /* border-radius: 2px;*/
background-color: white; /* background-color: white;*/
min-height: 200px; /* min-height: 200px;*/
position: relative; /* position: relative;*/
box-shadow: 0 2px 6px #00000038; /* box-shadow: 0 2px 6px #00000038;*/
} /*}*/
.dashboard .new-section .tools { /*.dashboard .new-section .tools {*/
position: absolute; /* position: absolute;*/
top: 50%; /* top: 50%;*/
left: 50%; /* left: 50%;*/
transform: translate(-50%, -50%); /* transform: translate(-50%, -50%);*/
} /*}*/
.dashboard .new-section .tools .md-btn .material-icons { /*.dashboard .new-section .tools .md-btn .material-icons {*/
position: absolute; /* position: absolute;*/
top: 50%; /* top: 50%;*/
left: 50%; /* left: 50%;*/
transform: translate(-50%, -50%); /* transform: translate(-50%, -50%);*/
margin: 0; /* margin: 0;*/
} /*}*/
/*Search */ /*!*Search *!*/
#searchFormPanel { /*#searchFormPanel {*/
margin-top: 30px; /* margin-top: 30px;*/
height: 250px; /* height: 250px;*/
} /*}*/
.visibility { /*.visibility {*/
border-right: 1px solid rgba(var(--secondary-color-rgb), 0.5); /* border-right: 1px solid rgba(var(--secondary-color-rgb), 0.5);*/
border-bottom: 1px solid rgba(var(--secondary-color-rgb), 0.5); /* border-bottom: 1px solid rgba(var(--secondary-color-rgb), 0.5);*/
padding: 10px 8px; /* padding: 10px 8px;*/
margin-right: 4px; /* margin-right: 4px;*/
color: rgba(var(--text-color-rgb), 0.5); /* color: rgba(var(--text-color-rgb), 0.5);*/
} /*}*/
.visibility.small { /*.visibility.small {*/
padding: 3px 2px; /* padding: 3px 2px;*/
} /*}*/
.more { /*.more {*/
position: absolute; /* position: absolute;*/
transform: translate(-50%, -50%); /* transform: translate(-50%, -50%);*/
right: -30px; /* right: -30px;*/
top: 50%; /* top: 50%;*/
} /*}*/
.descriptionIcon { /*.descriptionIcon {*/
position: absolute; /* position: absolute;*/
bottom: 3px; /* bottom: 3px;*/
left: 3px; /* left: 3px;*/
} /*}*/
.refresh-indicator { /*.refresh-indicator {*/
background-color: rgba(0, 0, 0, 0.50); /* background-color: rgba(0, 0, 0, 0.50);*/
border-radius: 4px; /* border-radius: 4px;*/
position: absolute; /* position: absolute;*/
color: white; /* color: white;*/
} /*}*/
.uk-modal-container .uk-modal-dialog { /*.uk-modal-container .uk-modal-dialog {*/
width: 900px; /* width: 900px;*/
} /*}*/
.stakeholderPage .uk-card.uk-disabled, .stakeholderPage .uk-card.semiFiltered{ /*.stakeholderPage .uk-card.uk-disabled, .stakeholderPage .uk-card.semiFiltered{*/
opacity: 0.5; /* opacity: 0.5;*/
} /*}*/
.stakeholderPage .uk-card.semiFiltered > * > .highcharts-series-group{ /*.stakeholderPage .uk-card.semiFiltered > * > .highcharts-series-group{*/
opacity: 0.5; /* opacity: 0.5;*/
} /*}*/
.stakeholderPage .selectedFilterLabel { /*.stakeholderPage .selectedFilterLabel {*/
background-color: #E6EEF2; /* background-color: #E6EEF2;*/
border-color: #E6EEF2; /* border-color: #E6EEF2;*/
} /*}*/
.landing .uk-dropdown, new-search-page .uk-dropdown, search-all .uk-dropdown { /*.landing .uk-dropdown, new-search-page .uk-dropdown, search-all .uk-dropdown {*/
padding: 25px; /* padding: 25px;*/
} /*}*/

@ -0,0 +1 @@
Subproject commit 0a34bf8f62ef7544060acc4e8333ce13ea929d91

View File

@ -1,7 +1,7 @@
/* 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/common-assets/common/custom.css";
@import "assets/dashboard-theme/main.css"; @import "assets/dashboard-theme/main.css";
@import "assets/new.css"; @import "assets/new.css";
@import "assets/print.css"; @import "assets/print.css";