mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-18 01:22:43 +00:00
Styled the divider
This commit is contained in:
@@ -51,7 +51,13 @@ var SplitPane = React.createClass({
|
|||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
renderDivider : function(){
|
renderDivider : function(){
|
||||||
return <div className='divider' onMouseDown={this.handleDown} />
|
return <div className='divider' onMouseDown={this.handleDown}>
|
||||||
|
<div className='dots'>
|
||||||
|
<i className='fa fa-circle' />
|
||||||
|
<i className='fa fa-circle' />
|
||||||
|
<i className='fa fa-circle' />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
},
|
},
|
||||||
|
|
||||||
render : function(){
|
render : function(){
|
||||||
|
|||||||
@@ -6,12 +6,26 @@
|
|||||||
outline : none;
|
outline : none;
|
||||||
flex-direction : row;
|
flex-direction : row;
|
||||||
.pane{
|
.pane{
|
||||||
flex : 1;
|
overflow-x : hidden;
|
||||||
overflow-x: hidden;
|
flex : 1;
|
||||||
}
|
}
|
||||||
.divider{
|
.divider{
|
||||||
width : 5px;
|
display : table;
|
||||||
|
height : 100%;
|
||||||
|
width : 12px;
|
||||||
cursor : ew-resize;
|
cursor : ew-resize;
|
||||||
background-color : black;
|
background-color : #bbb;
|
||||||
|
text-align : center;
|
||||||
|
.dots{
|
||||||
|
display : table-cell;
|
||||||
|
vertical-align : middle;
|
||||||
|
text-align : center;
|
||||||
|
i{
|
||||||
|
display : block;
|
||||||
|
margin : 10px 0px;
|
||||||
|
font-size : 6px;
|
||||||
|
color : #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user