mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
94381dca62
Fixes https://github.com/flarum/core/issues/1959 These transform lines are known to cause issues on iOS, and were added to hack around chrome issues that have since been fixed upstream.
18 lines
351 B
Plaintext
18 lines
351 B
Plaintext
.header-background() {
|
|
background: fade(@header-bg, 98%);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: @zindex-header;
|
|
border-bottom: 1px solid @control-bg;
|
|
.transition(~"box-shadow 0.2s, -webkit-transform 0.2s");
|
|
|
|
@media @phone {
|
|
height: @header-height-phone;
|
|
}
|
|
@media @tablet-up {
|
|
height: @header-height;
|
|
}
|
|
}
|