Fix up z-indexes

This commit is contained in:
Toby Zerner 2015-02-06 10:34:41 +10:30
parent 1c1381ae82
commit bb5ec3929b
5 changed files with 14 additions and 5 deletions

View File

@ -16,4 +16,8 @@
@input-border: @fl-body-control-bg;
@input-border-focus: @fl-body-control-bg;
@input-color: @fl-body-control-color;
@input-color-placeholder: @fl-body-control-color;
@input-color-placeholder: @fl-body-control-color;
@zindex-composer: @zindex-navbar-fixed + 4;
@zindex-pane: @zindex-navbar-fixed + 5;
@zindex-alerts: @zindex-modal + 10;

View File

@ -2,6 +2,7 @@
position: fixed;
bottom: 20px;
left: 20px;
z-index: @zindex-alerts;
& .alert {
display: inline-block;

View File

@ -6,7 +6,7 @@
bottom: 0;
left: 0;
right: 0;
z-index: @zindex-navbar-fixed + 2;
z-index: @zindex-composer;
pointer-events: none;
.transition(left 0.2s);

View File

@ -98,7 +98,7 @@
&.paned {
position: fixed;
z-index: @zindex-navbar-fixed + 1;
z-index: @zindex-pane;
overflow: auto;
top: 56px;
bottom: 0;
@ -111,6 +111,10 @@
&.showing, .with-pane & {
left: 0;
}
.with-pane & {
z-index: @zindex-composer - 1;
.transition(none);
}
& .container {
width: auto;
margin: 0;
@ -247,4 +251,4 @@
.load-more {
text-align: center;
margin-top: 10px;
}
}

View File

@ -64,7 +64,7 @@ body {
margin-right: 25px;
& .back {
z-index: 3; // z-index of an active .btn-group .btn is 2
z-index: 3 !important; // z-index of an active .btn-group .btn is 2
border-radius: @border-radius-base !important;
.transition(border-radius 0.2s);
}