-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animate status bar max-height and margin-top #2981
Changes from 1 commit
f10bc8e
e08f97a
6b1d138
b582cf0
c4d246c
b7204bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,6 +202,25 @@ hr.mx_RoomView_myReadMarker { | |
width: 100%; | ||
-webkit-flex: 0 0 auto; | ||
flex: 0 0 auto; | ||
|
||
max-height: 0px; | ||
background-color: #fff; | ||
z-index: 1000; | ||
overflow: hidden; | ||
|
||
-webkit-transition: all .5s ease-in-out; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as per main comment, suggest .2s |
||
-moz-transition: all .5s ease-in-out; | ||
-ms-transition: all .5s ease-in-out; | ||
-o-transition: all .5s ease-in-out; | ||
} | ||
|
||
.mx_RoomView_statusArea_expanded { | ||
max-height: 50px; | ||
margin-top: 0px; | ||
} | ||
|
||
.mx_RoomView_statusArea_expanded.mx_RoomView_statusArea_mid_timeline { | ||
margin-top: -50px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hm. this is almost a beautiful hack, but it does result in a weird "inertial scrolling transition when you scroll from middle to bottom of timeline whilst the statusbar is visible. Feels like there should be a way to skip the transition in that scenario. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
would require some major threading-through of a theoretical |
||
} | ||
|
||
.mx_RoomView_statusAreaBox { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use $primary-bg-color or whatever the variable is in our brave new SCSS world
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there something I might have to merge in to get that to work? I've got
npm start:css
running, but it doesn't seem to be doing SCSSThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might have to be done as a separate PR because this was branched prior to scss stuff.