Project view: Fix transparent background of tree/sidebar
This commit is contained in:
parent
4cf7fde5bf
commit
e4763d809b
@ -5,7 +5,7 @@ $(function () {
|
|||||||
|
|
||||||
function NavbarTransparent() {
|
function NavbarTransparent() {
|
||||||
|
|
||||||
var startingpoint = 50;
|
var startingpoint = 15;
|
||||||
|
|
||||||
$(window).on("load scroll", function () {
|
$(window).on("load scroll", function () {
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
ul.project-tabs
|
ul.project-tabs
|
||||||
|
background-color: $color-background-nav-dark
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
list-style: none
|
list-style: none
|
||||||
@ -735,6 +736,7 @@ ul.project_nav-edit-list
|
|||||||
padding-bottom: 5px // some padding on bottom of jstree
|
padding-bottom: 5px // some padding on bottom of jstree
|
||||||
position: relative // for scrollbar alignment
|
position: relative // for scrollbar alignment
|
||||||
margin-top: $project_header-height
|
margin-top: $project_header-height
|
||||||
|
background-color: $color-background-nav
|
||||||
|
|
||||||
&.edit
|
&.edit
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
@ -578,9 +578,13 @@ script.
|
|||||||
// Initialize the page
|
// Initialize the page
|
||||||
loadContent();
|
loadContent();
|
||||||
|
|
||||||
|
var project_container = document.getElementById('project-container');
|
||||||
|
|
||||||
/* UI Stuff */
|
/* UI Stuff */
|
||||||
$(window).on("load resize",function(){
|
$(window).on("load resize",function(){
|
||||||
containerResizeY($(window).height());
|
containerResizeY($(window).height());
|
||||||
|
|
||||||
|
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
|
||||||
});
|
});
|
||||||
|
|
||||||
if (projectTree){
|
if (projectTree){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user