mirror of
https://github.com/flarum/framework.git
synced 2025-02-13 09:35:31 +08:00
af89b23f67
* refactor: Avatar classes refactor * refactor: Badge classes refactor * chore: Remove commented dead code * chore: Remove SignUpModal dead CSS code Flarum seem to have had some kind of user display in the sign up modal on successful sign up, which no longer exists. https://github.com/flarum/core/blob/v0.1.0-beta/js/forum/src/components/SignUpModal.js#L111 * chore: Deprecate unneeded vendor mixins * chore: Normalize property values format Co-authored-by: David Wheatley <hi@davwheat.dev> * chore: Remove @-webkit-keyframes * chore: Combine animation properties * chore: Avoid `all` for transition * chore: translate3d is no longer necessary for hardware acceleration * fix: Lost cursor pointer to normalize update * chore: Use CSS variables for more things * chore: Remove unecessary overspecification Co-authored-by: David Wheatley <hi@davwheat.dev>
18 lines
328 B
Plaintext
18 lines
328 B
Plaintext
.header-background() {
|
|
background: @header-bg;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: @zindex-header;
|
|
border-bottom: 1px solid @control-bg;
|
|
transition: box-shadow 0.2s, transform 0.2s;
|
|
|
|
@media @phone {
|
|
height: @header-height-phone;
|
|
}
|
|
@media @tablet-up {
|
|
height: @header-height;
|
|
}
|
|
}
|