File tree Expand file tree Collapse file tree
matrix-react-sdk/structures Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ var LeftPanel = React.createClass({
8989 var BottomLeftMenu = sdk . getComponent ( 'structures.BottomLeftMenu' ) ;
9090
9191 var collapseButton ;
92- var classes = "mx_LeftPanel" ;
92+ var classes = "mx_LeftPanel mx_fadable " ;
9393 if ( this . props . collapsed ) {
9494 classes += " collapsed" ;
9595 }
@@ -109,7 +109,7 @@ var LeftPanel = React.createClass({
109109 }
110110
111111 return (
112- < aside className = { classes } >
112+ < aside className = { classes } style = { { opacity : this . props . opacity } } >
113113 { collapseButton }
114114 { callPreview }
115115 < RoomList
Original file line number Diff line number Diff line change @@ -158,13 +158,13 @@ module.exports = React.createClass({
158158
159159 }
160160
161- var classes = "mx_RightPanel" ;
161+ var classes = "mx_RightPanel mx_fadable " ;
162162 if ( this . props . collapsed ) {
163163 classes += " collapsed" ;
164164 }
165165
166166 return (
167- < aside className = { classes } >
167+ < aside className = { classes } style = { { opacity : this . props . opacity } } >
168168 < div className = "mx_RightPanel_header" >
169169 { buttonGroup }
170170 </ div >
Original file line number Diff line number Diff line change @@ -58,6 +58,15 @@ input[type=text]:focus, textarea:focus {
5858 box-shadow : none;
5959}
6060
61+ /* applied to side-panels and messagepanel when in RoomSettings */
62+ . mx_fadable {
63+ opacity : 1 ;
64+ -webkit-transition : opacity 0.2s ease-in-out;
65+ -moz-transition : opacity 0.2s ease-in-out;
66+ -ms-transition : opacity 0.2s ease-in-out;
67+ -o-transition : opacity 0.2s ease-in-out;
68+ }
69+
6170/* XXX: critical hack to GeminiScrollbar to allow them to work in FF 42 and Chrome 48.
6271 Stop the scrollbar view from pushing out the container's overall sizing, which causes
6372 flexbox to adapt to the new size and cause the view to keep growing.
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ limitations under the License.
8989 margin : auto;
9090
9191 overflow : auto;
92- border-bottom : 1px solid # eee ;
92+ border-bottom : 1px solid # ccc ;
9393
9494 -webkit-flex : 0 0 auto;
9595 flex : 0 0 auto;
You can’t perform that action at this time.
0 commit comments