mirror of
https://github.com/flarum/framework.git
synced 2025-02-09 04:48:29 +08:00
![Sami Mazouz](/assets/img/avatar_default.png)
* 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>
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
.Navigation-back {
|
|
z-index: 3 !important; // z-index of an active .btn-group .btn is 2
|
|
border-radius: @border-radius !important;
|
|
transition: border-radius 0.2s;
|
|
max-width: 150px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
|
|
.icon {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
.Navigation-pin {
|
|
display: none;
|
|
opacity: 0;
|
|
margin-left: -5px !important;
|
|
border-radius: 0 @border-radius @border-radius 0;
|
|
transition: opacity 0.2s, margin-left 0.2s;
|
|
|
|
.icon {
|
|
transform: rotate(45deg);
|
|
}
|
|
}
|
|
|
|
@media @desktop-hd {
|
|
.Navigation-pin {
|
|
display: block;
|
|
}
|
|
.hasPane.panePinned, .hasPane.paneShowing {
|
|
.Navigation-back {
|
|
border-radius: @border-radius 0 0 @border-radius !important;
|
|
}
|
|
.Navigation-pin {
|
|
opacity: 1;
|
|
margin-left: 1px !important;
|
|
}
|
|
}
|
|
.hasPane.panePinned .Navigation-pin .icon {
|
|
transform: rotate(0);
|
|
}
|
|
}
|
|
|
|
.Navigation-drawer.new {
|
|
position: relative;
|
|
|
|
&:after {
|
|
content: ' ';
|
|
display: block;
|
|
position: absolute;
|
|
background: @header-color;
|
|
top: 10px;
|
|
right: 3px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 7px;
|
|
border: 2px solid @header-bg;
|
|
}
|
|
}
|