Move setting sidebar height to OL only file so var can be moved to specific scope

This commit is contained in:
Alasdair Smith 2017-12-01 17:58:35 +00:00
parent e7f83c73ae
commit bf23a09644
4 changed files with 6 additions and 3 deletions

View file

@ -55,7 +55,6 @@
}
.project-list-sidebar when (@is-overleaf) {
height: calc(~"100% -" @v1-dash-link-height);
overflow-x: hidden;
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;

View file

@ -1,3 +1,9 @@
@v1-dash-link-height: 110px;
.project-list-sidebar {
height: calc(~"100% -" @v1-dash-link-height);
}
.project-list-sidebar-v1-link {
position: absolute;
bottom: 0;

View file

@ -852,7 +852,6 @@
@sidebar-active-bg : @link-color;
@sidebar-hover-bg : transparent;
@sidebar-hover-text-decoration : underline;
@v1-dash-link-height : 0;
@folders-menu-margin : 0;
@folders-menu-line-height : 1.2;

View file

@ -110,7 +110,6 @@
@sidebar-active-bg : @ol-blue-gray-6;
@sidebar-hover-bg : @ol-blue-gray-4;
@sidebar-hover-text-decoration : none;
@v1-dash-link-height : 110px;
@v1-dash-link-bg : @ol-blue-gray-4;
@v1-dash-link-btn-bg : @ol-blue-gray-5;
@v1-dash-link-btn-hover-bg : @ol-blue-gray-6;