UI Project: move sticky breadcrumbs when sidebar is visible.

This commit is contained in:
Pablo Vazquez 2019-03-28 20:59:39 +01:00
parent f72c1fffca
commit 50d17de278

View File

@ -16,22 +16,38 @@ body.svnman, body.edit_node_types, body.search-project
overflow-y: auto
z-index: $z-index-base
&.is-sidebar-visible
.breadcrumbs-container
+media-xs
flex-direction: column-reverse
min-height: auto
left: $project_nav-width-xs
+media-sm
left: $project_nav-width-sm
+media-md
left: $project_nav-width-md
+media-lg
left: $project_nav-width-lg
+media-xl
left: $project_nav-width-xl
#project-side-container
display: flex
+media-xs
flex-direction: column-reverse
position: fixed
bottom: 0
right: 0
top: $project_header-height
left: 0
z-index: 1
height: 100%
#project_nav,
#project_tree,
#project_nav-container
+media-xs
width: $project_nav-width-xs
height: 100vh
width: 100%
+media-sm
width: $project_nav-width-sm
+media-md
@ -44,14 +60,13 @@ body.svnman, body.edit_node_types, body.search-project
width: $project_nav-width
#project_nav-container
+media-xs
display: block
height: initial !important
position: relative
position: fixed
z-index: $z-index-base + 5
.project-sidebar-toggle
right: 5px
z-index: 1
#project_sidebar
box-shadow: inset -1px 0 0 0 $color-background
flex-shrink: 0
@ -111,6 +126,8 @@ body.svnman, body.edit_node_types, body.search-project
right: 0
z-index: $z-index-base + 3
+media-xs
bottom: 0
/* Edit Asset buttons */
.project-mode-view,
@ -237,6 +254,8 @@ ul.project-edit-tools
min-height: 800px
border: none
.breadcrumbs-container
top: $project_header-height + 1
#project_context
.node-details-description
@ -250,8 +269,6 @@ ul.project-edit-tools
/* The actual navigation tree container */
#project_tree
+media-xs
margin-top: 0
overflow-y: auto // show vertical scrollbars when needed.
padding: 5px 0 // some padding on top/bottom of jsTree.
position: relative