mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Fix up z-indexes
This commit is contained in:
parent
1c1381ae82
commit
bb5ec3929b
|
@ -17,3 +17,7 @@
|
|||
@input-border-focus: @fl-body-control-bg;
|
||||
@input-color: @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;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
position: fixed;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
z-index: @zindex-alerts;
|
||||
|
||||
& .alert {
|
||||
display: inline-block;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user