2023-02-15 10:49:04 +01:00
|
|
|
@import (less) "~src/assets/openaire-theme/less/text.less";
|
|
|
|
|
2023-01-25 13:43:00 +01:00
|
|
|
:root {
|
|
|
|
--dashboard-sidebar-width: 280px;
|
|
|
|
--dashboard-sidebar-mini-width: 100px;
|
2023-01-26 15:47:03 +01:00
|
|
|
--dashboard-transition-delay: 0.25s;
|
2023-01-25 13:43:00 +01:00
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-page-content-background: @global-background;
|
2022-07-26 13:33:37 +02:00
|
|
|
@dashboard-z-index: @global-z-index - 21;
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-header-height: var(--header-height);
|
2023-01-25 13:43:00 +01:00
|
|
|
@dashboard-transition-delay: var(--dashboard-transition-delay);
|
2022-07-17 15:08:00 +02:00
|
|
|
|
|
|
|
@dashboard-primary-background: @global-primary-background;
|
|
|
|
@dashboard-primary-gradient: @global-primary-gradient;
|
|
|
|
@dashboard-primary-inverse-color: @global-inverse-color;
|
|
|
|
|
2022-07-29 11:17:34 +02:00
|
|
|
@dashboard-sidebar-background: @global-inverse-color;
|
2022-11-03 14:50:25 +01:00
|
|
|
@dashboard-sidebar-border-width: @global-border-width;
|
|
|
|
@dashboard-sidebar-border: @global-border;
|
2023-01-25 13:43:00 +01:00
|
|
|
@dashboard-sidebar-width: var(--dashboard-sidebar-width);
|
|
|
|
@dashboard-sidebar-mini-width: var(--dashboard-sidebar-mini-width);
|
2023-01-25 06:59:30 +01:00
|
|
|
|
|
|
|
@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;
|
2023-03-01 14:20:56 +01:00
|
|
|
@dashboard-sidebar-toggle-top: 50%;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
2023-11-16 13:27:21 +01:00
|
|
|
@dashboard-logo-width: 30%;
|
|
|
|
|
2023-08-22 16:09:03 +02:00
|
|
|
@dashboard-menu-section-font-size: @global-small-font-size;
|
|
|
|
@dashboard-menu-section-line-height: 1.5 * @global-small-font-size;
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-menu-section-margin: 10px;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-item-padding-vertical: 5px;
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-menu-section-item-padding-horizontal: 20px;
|
2023-03-22 16:55:51 +01:00
|
|
|
@dashboard-menu-section-item-padding-horizontal-s: 30px;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-item-parent-icon-color: @global-meta-color;
|
|
|
|
@dashboard-menu-section-item-color-hover: @dashboard-primary-background;
|
2022-12-12 18:02:10 +01:00
|
|
|
@dashboard-menu-section-item-color-active: @dashboard-primary-background;
|
2022-11-03 14:50:25 +01:00
|
|
|
@dashboard-menu-section-icon-padding: 6px;
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-menu-section-icon-border-radius: @global-border-radius;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-icon-color: @global-meta-color;
|
|
|
|
@dashboard-menu-section-sublist-padding-left: @nav-sublist-padding-left + @dashboard-menu-section-icon-padding;
|
|
|
|
@dashboard-menu-section-sublist-margin-right: @dashboard-menu-section-item-padding-horizontal;
|
|
|
|
@dashboard-menu-section-sublist-border-width: 3px;
|
2023-03-02 15:46:06 +01:00
|
|
|
@dashboard-menu-section-sublist-border: fade(@global-secondary-background, 30%);
|
2022-11-03 14:50:25 +01:00
|
|
|
@dashboard-menu-section-sublist-item-padding-vertical: 5px;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-sublist-item-padding-horizontal: 15px;
|
2022-11-03 14:50:25 +01:00
|
|
|
@dashboard-menu-section-sublist-item-border-radius: @global-small-border-radius;
|
2022-12-12 18:02:10 +01:00
|
|
|
@dashboard-menu-section-sublist-item-background-hover: @dashboard-page-content-background;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-sublist-item-color-hover: @dashboard-primary-background;
|
2022-12-12 18:02:10 +01:00
|
|
|
@dashboard-menu-section-sublist-item-background-active: @dashboard-page-content-background;
|
2022-11-04 15:33:24 +01:00
|
|
|
@dashboard-menu-section-sublist-item-color-active: @dashboard-primary-background;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
2023-03-01 14:20:56 +01:00
|
|
|
@dashboard-back-background: @global-muted-background;
|
|
|
|
@dashboard-back-color: @global-primary-background;
|
|
|
|
@dashboard-back-color-hover: @global-link-hover-color;
|
|
|
|
@dashboard-back-padding-vertical: 15px;
|
|
|
|
@dashboard-back-padding-horizontal: @dashboard-menu-section-margin + @dashboard-menu-section-item-padding-horizontal;
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-page-content-sticky-border-width: @global-border-width;
|
|
|
|
@dashboard-page-content-sticky-border: @global-border;
|
|
|
|
|
2022-12-22 10:38:55 +01:00
|
|
|
@dashboard-page-content-header-z-index: @dashboard-z-index;
|
2022-08-04 14:30:22 +02:00
|
|
|
@dashboard-page-content-header-info-height: @global-header-height - 20px;
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height;
|
|
|
|
@dashboard-page-content-header-info-img-max-width: 180px;
|
|
|
|
|
2022-12-22 10:38:55 +01:00
|
|
|
@dashboard-page-content-actions-z-index: @dashboard-z-index - 1;
|
|
|
|
@dashboard-page-content-inner-z-index: @dashboard-z-index - 2;
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
@dashboard-pages: #page_content, openaire-user > user > div, openaire-error > div;
|
|
|
|
@dashboard-elements: #page_content .message, bottom > div;
|
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
.menu-icon {
|
|
|
|
display: block;
|
|
|
|
padding: @dashboard-menu-section-icon-padding;
|
|
|
|
border-radius: @dashboard-menu-section-icon-border-radius;
|
|
|
|
background-color: transparent;
|
|
|
|
color: @dashboard-menu-section-icon-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar_mobile_toggle {
|
2023-08-22 16:09:03 +02:00
|
|
|
line-height: @dashboard-menu-section-line-height;
|
2023-02-15 10:49:04 +01:00
|
|
|
|
|
|
|
& .menu-icon {
|
|
|
|
background-color: @dashboard-primary-background;
|
|
|
|
background-image: @dashboard-primary-gradient;
|
|
|
|
color: @dashboard-primary-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-09 10:43:46 +01:00
|
|
|
.menu_section {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& > ul > li {
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
position: relative;
|
|
|
|
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
|
2023-08-22 16:09:03 +02:00
|
|
|
line-height: @dashboard-menu-section-line-height;
|
2023-02-09 10:43:46 +01:00
|
|
|
|
|
|
|
&:not(.uk-flex) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.uk-flex {
|
|
|
|
& > [class*="uk-width-expand"] {
|
|
|
|
flex: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.uk-parent {
|
|
|
|
& > a {
|
2023-03-22 16:55:51 +01:00
|
|
|
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
|
2023-02-09 10:43:46 +01:00
|
|
|
|
2023-08-22 16:09:03 +02:00
|
|
|
.uk-nav-parent-icon::after {
|
2023-02-09 10:43:46 +01:00
|
|
|
color: @dashboard-menu-section-item-parent-icon-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.uk-flex)::after {
|
|
|
|
position: absolute;
|
|
|
|
right: (@dashboard-menu-section-item-padding-horizontal/2);
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2023-08-22 16:09:03 +02:00
|
|
|
line-height: (@dashboard-menu-section-line-height - 10px);
|
2023-02-09 10:43:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .uk-nav-sub {
|
|
|
|
margin-right: @dashboard-menu-section-sublist-margin-right;
|
|
|
|
padding-left: @dashboard-menu-section-sublist-padding-left;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& a {
|
|
|
|
border-radius: @dashboard-menu-section-sublist-item-border-radius;
|
|
|
|
padding: @dashboard-menu-section-sublist-item-padding-vertical @dashboard-menu-section-sublist-item-padding-horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > li:hover > a {
|
|
|
|
background-color: @dashboard-menu-section-sublist-item-background-hover;
|
|
|
|
color: @dashboard-menu-section-sublist-item-color-active;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > li.uk-active > a {
|
|
|
|
background-color: @dashboard-menu-section-sublist-item-background-active;
|
|
|
|
color: @dashboard-menu-section-sublist-item-color-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
left: @dashboard-menu-section-item-padding-horizontal + 2*@dashboard-menu-section-icon-padding;
|
|
|
|
border-left: @dashboard-menu-section-sublist-border-width solid @dashboard-menu-section-sublist-border;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.uk-active) > a {
|
|
|
|
color: @dashboard-menu-section-item-color-hover;
|
|
|
|
|
|
|
|
& .menu-icon {
|
|
|
|
color: @dashboard-menu-section-item-color-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.uk-active > a {
|
|
|
|
color: @dashboard-menu-section-item-color-active;
|
|
|
|
|
|
|
|
& .menu-icon {
|
|
|
|
background-color: @dashboard-primary-background;
|
|
|
|
background-image: @dashboard-primary-gradient;
|
|
|
|
color: @dashboard-primary-inverse-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-22 16:55:51 +01:00
|
|
|
&.mobile {
|
|
|
|
& > ul > li {
|
|
|
|
& > a {
|
|
|
|
padding-left: @dashboard-menu-section-item-padding-horizontal-s;
|
|
|
|
padding-right: @dashboard-menu-section-item-padding-horizontal-s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.uk-parent {
|
|
|
|
& > a {
|
|
|
|
padding-left: @dashboard-menu-section-item-padding-horizontal-s;
|
|
|
|
padding-right: @dashboard-menu-section-item-padding-horizontal-s;
|
|
|
|
|
|
|
|
&:not(.uk-flex)::after {
|
|
|
|
right: (@dashboard-menu-section-item-padding-horizontal-s/2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .uk-nav-sub:before {
|
|
|
|
left: @dashboard-menu-section-item-padding-horizontal-s + 2*@dashboard-menu-section-icon-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-22 16:09:03 +02:00
|
|
|
&:not(.mobile) .uk-nav-default {
|
|
|
|
font-size: @dashboard-menu-section-font-size;
|
|
|
|
line-height: @dashboard-menu-section-line-height;
|
2023-02-15 10:49:04 +01:00
|
|
|
margin-left: @dashboard-menu-section-margin;
|
2023-08-22 16:09:03 +02:00
|
|
|
|
|
|
|
& .uk-nav-sub > li {
|
|
|
|
font-size: @dashboard-menu-section-font-size;
|
|
|
|
line-height: @dashboard-menu-section-line-height;
|
|
|
|
}
|
2023-02-09 10:43:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-01 14:20:56 +01:00
|
|
|
.back {
|
|
|
|
& > a:extend(.uk-text-small) {
|
|
|
|
background: @dashboard-back-background;
|
|
|
|
color: @dashboard-back-color;
|
|
|
|
padding: @dashboard-back-padding-vertical @dashboard-back-padding-horizontal;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @dashboard-back-color-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
.sidebar_main_swipe {
|
|
|
|
#sidebar_main {
|
2023-10-25 14:15:52 +02:00
|
|
|
height: calc(100vh - @dashboard-header-height);
|
|
|
|
position: relative;
|
|
|
|
|
2023-01-25 06:59:30 +01:00
|
|
|
#sidebar_toggle {
|
2023-10-25 14:15:52 +02:00
|
|
|
position: absolute;
|
2023-01-25 06:59:30 +01:00
|
|
|
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;
|
2023-01-25 13:43:00 +01:00
|
|
|
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;
|
2023-01-25 06:59:30 +01:00
|
|
|
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";
|
2023-03-01 14:20:56 +01:00
|
|
|
font-size: @dashboard-sidebar-toggle-size - 10px;
|
2023-01-25 13:43:00 +01:00
|
|
|
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;
|
2023-01-25 06:59:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: @dashboard-sidebar-toggle-background-hover;
|
|
|
|
color: @dashboard-sidebar-toggle-color-hover;
|
|
|
|
border-color: @dashboard-sidebar-toggle-border-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
#sidebar_content {
|
|
|
|
width: @dashboard-sidebar-width;
|
2023-10-25 14:15:52 +02:00
|
|
|
position: absolute;
|
2022-07-17 15:08:00 +02:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2022-07-26 13:33:37 +02:00
|
|
|
z-index: @dashboard-z-index;
|
2022-07-29 11:17:34 +02:00
|
|
|
background: @dashboard-sidebar-background;
|
2023-10-25 14:15:52 +02:00
|
|
|
border: @dashboard-sidebar-border-width solid @dashboard-sidebar-border;
|
|
|
|
border-left: none;
|
2023-01-25 13:43:00 +01:00
|
|
|
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;
|
2022-11-03 14:50:25 +01:00
|
|
|
overflow-y: auto;
|
2023-11-16 13:27:21 +01:00
|
|
|
|
|
|
|
& #sidebar_logo:extend(.uk-flex):extend(.uk-flex-center) {
|
|
|
|
& > img {
|
|
|
|
width: @dashboard-logo-width;
|
|
|
|
}
|
|
|
|
}
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@{dashboard-pages}, @{dashboard-elements} {
|
2023-10-27 16:11:08 +02:00
|
|
|
width: 100%;
|
2023-10-25 14:15:52 +02:00
|
|
|
box-sizing: border-box;
|
2022-07-17 15:08:00 +02:00
|
|
|
padding-left: @dashboard-sidebar-width;
|
2023-01-25 13:43:00 +01:00
|
|
|
transition: padding-left @dashboard-transition-delay linear;
|
|
|
|
-webkit-transition: padding-left @dashboard-transition-delay linear;
|
|
|
|
-moz-transition: padding-left @dashboard-transition-delay linear;
|
|
|
|
-o-transition: padding-left @dashboard-transition-delay linear;
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#page_content {
|
2022-11-03 14:50:25 +01:00
|
|
|
.set-blur-background(@dashboard-page-content-background, 80%);
|
2022-07-17 15:08:00 +02:00
|
|
|
|
2023-03-10 16:10:57 +01:00
|
|
|
.uk-slider-arrow, .uk-slider-arrow > .uk-icon-button {
|
2023-02-09 10:43:46 +01:00
|
|
|
background: @dashboard-page-content-background;
|
|
|
|
}
|
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
.message {
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
position: absolute;
|
|
|
|
padding-left: calc(@dashboard-sidebar-width - 100px);
|
|
|
|
padding-right: @global-small-gutter;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-12-22 10:38:55 +01:00
|
|
|
#page_content_header,
|
|
|
|
#page_content_actions {
|
|
|
|
&:not(.uk-sticky) {
|
|
|
|
position: relative;
|
2022-12-12 15:17:22 +01:00
|
|
|
}
|
2022-07-17 15:08:00 +02:00
|
|
|
|
2022-12-22 10:38:55 +01:00
|
|
|
&.uk-sticky {
|
|
|
|
& .uk-tab {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-09 10:43:46 +01:00
|
|
|
&.uk-active *:last-child.uk-tab:before {
|
2022-12-22 10:38:55 +01:00
|
|
|
content: none;
|
|
|
|
}
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#page_content_header {
|
2022-12-22 10:38:55 +01:00
|
|
|
z-index: @dashboard-page-content-header-z-index;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
|
|
|
.info {
|
|
|
|
height: @dashboard-page-content-header-info-height;
|
2022-08-04 14:30:22 +02:00
|
|
|
overflow: hidden;
|
2022-07-17 15:08:00 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: @dashboard-page-content-header-info-img-max-height;
|
|
|
|
max-width: @dashboard-page-content-header-info-img-max-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-22 10:38:55 +01:00
|
|
|
|
|
|
|
#page_content_actions {
|
|
|
|
z-index: @dashboard-page-content-actions-z-index;
|
|
|
|
}
|
|
|
|
|
2023-01-25 13:43:00 +01:00
|
|
|
& .uk-sticky {
|
|
|
|
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;
|
|
|
|
}
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@{dashboard-pages} {
|
|
|
|
min-height: calc(100vh - @dashboard-header-height);
|
|
|
|
background-color: @dashboard-page-content-background;
|
|
|
|
position: relative;
|
2022-12-22 10:38:55 +01:00
|
|
|
z-index: @dashboard-page-content-inner-z-index;
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* No sidebar */
|
2023-02-15 10:49:04 +01:00
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
&:not(.sidebar_main_active):not(.sidebar_mini) {
|
|
|
|
@{dashboard-pages}, @{dashboard-elements} {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar_main #sidebar_content {
|
|
|
|
display: none;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Mini Sidebar*/
|
2023-02-15 10:49:04 +01:00
|
|
|
|
2022-07-17 15:08:00 +02:00
|
|
|
&.sidebar_mini {
|
2023-01-25 06:59:30 +01:00
|
|
|
|
|
|
|
&:not(.sidebar_hover) {
|
|
|
|
#sidebar_toggle {
|
|
|
|
left: @dashboard-sidebar-mini-width !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar_main #sidebar_content {
|
2023-02-15 10:49:04 +01:00
|
|
|
width: @dashboard-sidebar-mini-width;
|
2023-01-25 06:59:30 +01:00
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
& .hide-on-close {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-01-25 06:59:30 +01:00
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
.menu_section {
|
2023-01-25 06:59:30 +01:00
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
& > ul > li {
|
|
|
|
&.uk-parent {
|
|
|
|
& > a::after {
|
|
|
|
content: '';
|
|
|
|
}
|
2023-01-25 06:59:30 +01:00
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
& .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;
|
2023-01-25 06:59:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-15 10:49:04 +01:00
|
|
|
}
|
2023-01-25 06:59:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar_toggle::before {
|
|
|
|
transform: rotate(180deg);
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@{dashboard-pages}, @{dashboard-elements} {
|
|
|
|
padding-left: @dashboard-sidebar-mini-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-15 10:49:04 +01:00
|
|
|
@media (max-width: @breakpoint-small-max) {
|
2023-02-09 10:43:46 +01:00
|
|
|
#sidebar_main #sidebar_content, #sidebar_toggle {
|
|
|
|
display: none !important;
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@{dashboard-pages}, @{dashboard-elements} {
|
2023-02-09 10:43:46 +01:00
|
|
|
padding-left: 0 !important;
|
2022-07-17 15:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#page_content .message {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|