Merge remote-tracking branch 'origin/angular-14' into explore-redesign
This commit is contained in:
commit
328760bed9
|
@ -68,64 +68,7 @@
|
|||
@dashboard-pages: #page_content, openaire-user > user > div, openaire-error > div;
|
||||
@dashboard-elements: #page_content .message, bottom > div;
|
||||
|
||||
.sidebar_main_swipe {
|
||||
#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 @dashboard-transition-delay linear;
|
||||
-webkit-transition: left @dashboard-transition-delay linear;
|
||||
-moz-transition: left @dashboard-transition-delay linear;
|
||||
-o-transition: left @dashboard-transition-delay 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 @dashboard-transition-delay linear;
|
||||
-webkit-transition: transform @dashboard-transition-delay linear;
|
||||
-moz-transition: transform @dashboard-transition-delay linear;
|
||||
-o-transition: transform @dashboard-transition-delay linear;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @dashboard-sidebar-toggle-background-hover;
|
||||
color: @dashboard-sidebar-toggle-color-hover;
|
||||
border-color: @dashboard-sidebar-toggle-border-hover;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar_content {
|
||||
width: @dashboard-sidebar-width;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding-top: @dashboard-header-height;
|
||||
z-index: @dashboard-z-index;
|
||||
background: @dashboard-sidebar-background;
|
||||
border-right: @dashboard-sidebar-border-width solid @dashboard-sidebar-border;
|
||||
transition: width @dashboard-transition-delay linear;
|
||||
-webkit-transition: width @dashboard-transition-delay linear;
|
||||
-moz-transition: width @dashboard-transition-delay linear;
|
||||
-o-transition: width @dashboard-transition-delay linear;
|
||||
overflow-y: auto;
|
||||
|
||||
& .menu_section {
|
||||
.menu_section {
|
||||
margin-left: @dashboard-menu-section-margin;
|
||||
position: relative;
|
||||
font-size: @dashboard-menu-section-font-size;
|
||||
|
@ -141,6 +84,12 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
&.uk-flex {
|
||||
& > [class*="uk-width-expand"] {
|
||||
flex: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& .menu-icon {
|
||||
display: block;
|
||||
padding: @dashboard-menu-section-icon-padding;
|
||||
|
@ -154,10 +103,6 @@
|
|||
& > a {
|
||||
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
|
||||
|
||||
& > .uk-flex {
|
||||
margin-right: @dashboard-menu-section-item-padding-horizontal;
|
||||
}
|
||||
|
||||
&::after {
|
||||
color: @dashboard-menu-section-item-parent-icon-color;
|
||||
}
|
||||
|
@ -217,8 +162,69 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.mobile {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar_main_swipe {
|
||||
#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 @dashboard-transition-delay linear;
|
||||
-webkit-transition: left @dashboard-transition-delay linear;
|
||||
-moz-transition: left @dashboard-transition-delay linear;
|
||||
-o-transition: left @dashboard-transition-delay 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 @dashboard-transition-delay linear;
|
||||
-webkit-transition: transform @dashboard-transition-delay linear;
|
||||
-moz-transition: transform @dashboard-transition-delay linear;
|
||||
-o-transition: transform @dashboard-transition-delay linear;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @dashboard-sidebar-toggle-background-hover;
|
||||
color: @dashboard-sidebar-toggle-color-hover;
|
||||
border-color: @dashboard-sidebar-toggle-border-hover;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar_content {
|
||||
width: @dashboard-sidebar-width;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding-top: @dashboard-header-height;
|
||||
z-index: @dashboard-z-index;
|
||||
background: @dashboard-sidebar-background;
|
||||
border-right: @dashboard-sidebar-border-width solid @dashboard-sidebar-border;
|
||||
transition: width @dashboard-transition-delay linear;
|
||||
-webkit-transition: width @dashboard-transition-delay linear;
|
||||
-moz-transition: width @dashboard-transition-delay linear;
|
||||
-o-transition: width @dashboard-transition-delay linear;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@{dashboard-pages}, @{dashboard-elements} {
|
||||
|
@ -232,6 +238,10 @@
|
|||
#page_content {
|
||||
.set-blur-background(@dashboard-page-content-background, 80%);
|
||||
|
||||
.uk-slider-arrow, .uk-icon-button {
|
||||
background: @dashboard-page-content-background;
|
||||
}
|
||||
|
||||
.message {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
@ -249,21 +259,11 @@
|
|||
}
|
||||
|
||||
&.uk-sticky {
|
||||
&.uk-active:not(:has(*:last-child.uk-tab)) {
|
||||
border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border;
|
||||
}
|
||||
|
||||
&:has(*:last-child.uk-tab) {
|
||||
& .header , & .actions {
|
||||
border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border;
|
||||
}
|
||||
}
|
||||
|
||||
& .uk-tab {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
& *:last-child.uk-tab:before {
|
||||
&.uk-active *:last-child.uk-tab:before {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
@ -363,12 +363,12 @@
|
|||
}
|
||||
|
||||
@media (max-width: @breakpoint-small - 1px) {
|
||||
#sidebar_main #sidebar_content {
|
||||
width: @dashboard-sidebar-mini-width !important;
|
||||
#sidebar_main #sidebar_content, #sidebar_toggle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@{dashboard-pages}, @{dashboard-elements} {
|
||||
padding-left: @dashboard-sidebar-mini-width !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
#page_content .message {
|
||||
|
|
|
@ -217,17 +217,30 @@ noscript, ol, section, table, tfoot, ul, video;
|
|||
&.number-card {
|
||||
border-bottom: @general-number-card-border-width solid transparent;
|
||||
position: relative;
|
||||
height: @general-number-card-height;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background: @general-number-card-border;
|
||||
top: 0;
|
||||
width: @general-number-card-border-width;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: @general-number-card-border-width;
|
||||
margin-bottom: -@general-number-card-border-width;
|
||||
border-radius: 50px 0 0 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: @breakpoint-medium) {
|
||||
.uk-card.number-card {
|
||||
height: @general-number-card-height;
|
||||
|
||||
&::before {
|
||||
right: 0;
|
||||
top: unset;
|
||||
width: auto;
|
||||
height: @general-number-card-border-width;
|
||||
border-radius: 0 0 50px 50px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue