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
|
@ -16,4 +16,8 @@
|
||||||
@input-border: @fl-body-control-bg;
|
@input-border: @fl-body-control-bg;
|
||||||
@input-border-focus: @fl-body-control-bg;
|
@input-border-focus: @fl-body-control-bg;
|
||||||
@input-color: @fl-body-control-color;
|
@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;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
|
z-index: @zindex-alerts;
|
||||||
|
|
||||||
& .alert {
|
& .alert {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: @zindex-navbar-fixed + 2;
|
z-index: @zindex-composer;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
.transition(left 0.2s);
|
.transition(left 0.2s);
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
|
|
||||||
&.paned {
|
&.paned {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: @zindex-navbar-fixed + 1;
|
z-index: @zindex-pane;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
top: 56px;
|
top: 56px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -111,6 +111,10 @@
|
||||||
&.showing, .with-pane & {
|
&.showing, .with-pane & {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
.with-pane & {
|
||||||
|
z-index: @zindex-composer - 1;
|
||||||
|
.transition(none);
|
||||||
|
}
|
||||||
& .container {
|
& .container {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -247,4 +251,4 @@
|
||||||
.load-more {
|
.load-more {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ body {
|
||||||
margin-right: 25px;
|
margin-right: 25px;
|
||||||
|
|
||||||
& .back {
|
& .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;
|
border-radius: @border-radius-base !important;
|
||||||
.transition(border-radius 0.2s);
|
.transition(border-radius 0.2s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user