Merge branch 'angular-14' into explore-redesign
This commit is contained in:
commit
355e9ff627
|
@ -10,8 +10,19 @@
|
||||||
@dashboard-sidebar-border-width: @global-border-width;
|
@dashboard-sidebar-border-width: @global-border-width;
|
||||||
@dashboard-sidebar-border: @global-border;
|
@dashboard-sidebar-border: @global-border;
|
||||||
@dashboard-sidebar-width: 280px;
|
@dashboard-sidebar-width: 280px;
|
||||||
@dashboard-sidebar-mini-width: 125px;
|
@dashboard-sidebar-mini-width: 100px;
|
||||||
@dashboard-sidebar-mini-width-s: 100px;
|
|
||||||
|
@dashboard-sidebar-toggle-box-shadow: @global-default-shadow;
|
||||||
|
@dashboard-sidebar-toggle-border: @global-border;
|
||||||
|
@dashboard-sidebar-toggle-border-hover: @global-secondary-background;
|
||||||
|
@dashboard-sidebar-toggle-border-radius: 500px;
|
||||||
|
@dashboard-sidebar-toggle-border-width: @global-border-width;
|
||||||
|
@dashboard-sidebar-toggle-background: @global-inverse-color;
|
||||||
|
@dashboard-sidebar-toggle-background-hover: @global-secondary-background;
|
||||||
|
@dashboard-sidebar-toggle-color: @global-color;
|
||||||
|
@dashboard-sidebar-toggle-color-hover: @global-inverse-color;
|
||||||
|
@dashboard-sidebar-toggle-size: @icon-button-small-size;
|
||||||
|
@dashboard-sidebar-toggle-top: calc(@dashboard-header-height + 35px);
|
||||||
|
|
||||||
@dashboard-menu-section-margin: 10px;
|
@dashboard-menu-section-margin: 10px;
|
||||||
@dashboard-menu-section-font-size: @global-small-font-size;
|
@dashboard-menu-section-font-size: @global-small-font-size;
|
||||||
|
@ -39,16 +50,58 @@
|
||||||
@dashboard-page-content-sticky-border-width: @global-border-width;
|
@dashboard-page-content-sticky-border-width: @global-border-width;
|
||||||
@dashboard-page-content-sticky-border: @global-border;
|
@dashboard-page-content-sticky-border: @global-border;
|
||||||
|
|
||||||
|
@dashboard-page-content-header-z-index: @dashboard-z-index;
|
||||||
@dashboard-page-content-header-info-height: @global-header-height - 20px;
|
@dashboard-page-content-header-info-height: @global-header-height - 20px;
|
||||||
@dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height;
|
@dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height;
|
||||||
@dashboard-page-content-header-info-img-max-width: 180px;
|
@dashboard-page-content-header-info-img-max-width: 180px;
|
||||||
|
|
||||||
|
@dashboard-page-content-actions-z-index: @dashboard-z-index - 1;
|
||||||
|
@dashboard-page-content-inner-z-index: @dashboard-z-index - 2;
|
||||||
|
|
||||||
@dashboard-pages: #page_content, openaire-user > user > div, openaire-error > div;
|
@dashboard-pages: #page_content, openaire-user > user > div, openaire-error > div;
|
||||||
@dashboard-elements: #page_content .message, bottom > div;
|
@dashboard-elements: #page_content .message, bottom > div;
|
||||||
|
|
||||||
.sidebar_main_swipe {
|
.sidebar_main_swipe {
|
||||||
|
|
||||||
#sidebar_main {
|
#sidebar_main {
|
||||||
|
#sidebar_toggle {
|
||||||
|
position: fixed;
|
||||||
|
z-index: @dashboard-z-index + 1;
|
||||||
|
top: @dashboard-sidebar-toggle-top;
|
||||||
|
left: @dashboard-sidebar-width;
|
||||||
|
width: @dashboard-sidebar-toggle-size;
|
||||||
|
height: @dashboard-sidebar-toggle-size;
|
||||||
|
transition: left 0.5s linear;
|
||||||
|
-webkit-transition: left 0.5s linear;
|
||||||
|
-moz-transition: left 0.5s linear;
|
||||||
|
-o-transition: left 0.5s linear;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
box-shadow: @dashboard-sidebar-toggle-box-shadow;
|
||||||
|
border-radius: @dashboard-sidebar-toggle-border-radius;
|
||||||
|
border: @dashboard-sidebar-toggle-border-width solid @dashboard-sidebar-toggle-border;
|
||||||
|
background: @dashboard-sidebar-toggle-background;
|
||||||
|
color: @dashboard-sidebar-toggle-color;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: '\e5cb';
|
||||||
|
font-family: "Material Icons";
|
||||||
|
font-size: @dashboard-sidebar-toggle-size - 15px;
|
||||||
|
transition: transform 0.5s linear;
|
||||||
|
-webkit-transition: transform 0.5s linear;
|
||||||
|
-moz-transition: transform 0.5s linear;
|
||||||
|
-o-transition: transform 0.5s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: @dashboard-sidebar-toggle-background-hover;
|
||||||
|
color: @dashboard-sidebar-toggle-color-hover;
|
||||||
|
border-color: @dashboard-sidebar-toggle-border-hover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#sidebar_content {
|
#sidebar_content {
|
||||||
width: @dashboard-sidebar-width;
|
width: @dashboard-sidebar-width;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -59,12 +112,13 @@
|
||||||
z-index: @dashboard-z-index;
|
z-index: @dashboard-z-index;
|
||||||
background: @dashboard-sidebar-background;
|
background: @dashboard-sidebar-background;
|
||||||
border-right: @dashboard-sidebar-border-width solid @dashboard-sidebar-border;
|
border-right: @dashboard-sidebar-border-width solid @dashboard-sidebar-border;
|
||||||
transition: 0.5s;
|
transition: width 0.5s linear;
|
||||||
transition-property: width;
|
-webkit-transition: width 0.5s linear;
|
||||||
|
-moz-transition: width 0.5s linear;
|
||||||
|
-o-transition: width 0.5s linear;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
|
||||||
|
|
||||||
.menu_section {
|
& .menu_section {
|
||||||
margin-left: @dashboard-menu-section-margin;
|
margin-left: @dashboard-menu-section-margin;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: @dashboard-menu-section-font-size;
|
font-size: @dashboard-menu-section-font-size;
|
||||||
|
@ -154,10 +208,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@{dashboard-pages}, @{dashboard-elements} {
|
@{dashboard-pages}, @{dashboard-elements} {
|
||||||
padding-left: @dashboard-sidebar-width;
|
padding-left: @dashboard-sidebar-width;
|
||||||
transition: 0.5s;
|
transition: padding-left 0.5s linear;
|
||||||
|
-webkit-transition: padding-left 0.5s linear;
|
||||||
|
-moz-transition: padding-left 0.5s linear;
|
||||||
|
-o-transition: padding-left 0.5s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page_content {
|
#page_content {
|
||||||
|
@ -173,10 +231,13 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page_content_header.uk-sticky,
|
#page_content_header,
|
||||||
#page_content_actions.uk-sticky {
|
#page_content_actions {
|
||||||
z-index: @dashboard-z-index;
|
&:not(.uk-sticky) {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.uk-sticky {
|
||||||
&.uk-active:not(:has(*:last-child.uk-tab)) {
|
&.uk-active:not(:has(*:last-child.uk-tab)) {
|
||||||
border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border;
|
border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border;
|
||||||
}
|
}
|
||||||
|
@ -195,9 +256,10 @@
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#page_content_header {
|
#page_content_header {
|
||||||
overflow-x: hidden;
|
z-index: @dashboard-page-content-header-z-index;
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
height: @dashboard-page-content-header-info-height;
|
height: @dashboard-page-content-header-info-height;
|
||||||
|
@ -209,13 +271,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#page_content_actions {
|
||||||
|
z-index: @dashboard-page-content-actions-z-index;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@{dashboard-pages} {
|
@{dashboard-pages} {
|
||||||
min-height: calc(100vh - @dashboard-header-height);
|
min-height: calc(100vh - @dashboard-header-height);
|
||||||
background-color: @dashboard-page-content-background;
|
background-color: @dashboard-page-content-background;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: @dashboard-z-index - 1;
|
z-index: @dashboard-page-content-inner-z-index;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No sidebar */
|
/* No sidebar */
|
||||||
|
@ -232,8 +299,49 @@
|
||||||
|
|
||||||
/* Mini Sidebar*/
|
/* Mini Sidebar*/
|
||||||
&.sidebar_mini {
|
&.sidebar_mini {
|
||||||
|
|
||||||
|
&:not(.sidebar_hover) {
|
||||||
|
#sidebar_toggle {
|
||||||
|
left: @dashboard-sidebar-mini-width !important;
|
||||||
|
}
|
||||||
|
|
||||||
#sidebar_main #sidebar_content {
|
#sidebar_main #sidebar_content {
|
||||||
width: @dashboard-sidebar-mini-width;
|
width: @dashboard-sidebar-mini-width;
|
||||||
|
|
||||||
|
& .hide-on-close {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu_section {
|
||||||
|
|
||||||
|
& > ul > li {
|
||||||
|
&.uk-parent {
|
||||||
|
& > a {
|
||||||
|
padding-right: @dashboard-menu-section-item-padding-horizontal !important;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& .uk-nav-sub {
|
||||||
|
& a, & * {
|
||||||
|
width: 0 !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
padding-left: 0 !important;
|
||||||
|
padding-right: 0 !important;
|
||||||
|
margin-right: 0 !important;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar_toggle::before {
|
||||||
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@{dashboard-pages}, @{dashboard-elements} {
|
@{dashboard-pages}, @{dashboard-elements} {
|
||||||
|
@ -243,11 +351,11 @@
|
||||||
|
|
||||||
@media (max-width: @breakpoint-small - 1px) {
|
@media (max-width: @breakpoint-small - 1px) {
|
||||||
#sidebar_main #sidebar_content {
|
#sidebar_main #sidebar_content {
|
||||||
width: @dashboard-sidebar-mini-width-s !important;
|
width: @dashboard-sidebar-mini-width !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@{dashboard-pages}, @{dashboard-elements} {
|
@{dashboard-pages}, @{dashboard-elements} {
|
||||||
padding-left: @dashboard-sidebar-mini-width-s !important;
|
padding-left: @dashboard-sidebar-mini-width !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page_content .message {
|
#page_content .message {
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
@general-number-small-font-size: 26px;
|
@general-number-small-font-size: 26px;
|
||||||
@general-number-font-size: 41px;
|
@general-number-font-size: 41px;
|
||||||
@general-number-large-font-size: 64px;
|
@general-number-large-font-size: 64px;
|
||||||
|
@general-number-size-font-size: 80%;
|
||||||
|
|
||||||
@general-custom-external-color: @global-meta-color;
|
@general-custom-external-color: @global-meta-color;
|
||||||
|
|
||||||
|
@ -64,6 +65,10 @@ main {
|
||||||
&.uk-text-large {
|
&.uk-text-large {
|
||||||
font-size: @general-number-large-font-size;
|
font-size: @general-number-large-font-size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .number-size {
|
||||||
|
font-size: @general-number-size-font-size;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OpenAIRE portals texts */
|
/* OpenAIRE portals texts */
|
||||||
|
|
Loading…
Reference in New Issue