mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
modify: remove border color of slidebar
This commit is contained in:
@@ -165,7 +165,7 @@ class Main extends React.Component {
|
|||||||
/>
|
/>
|
||||||
{!config.isSideNavFolded &&
|
{!config.isSideNavFolded &&
|
||||||
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
|
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
|
||||||
style={{left: this.state.navWidth - 1}}
|
style={{left: this.state.navWidth}}
|
||||||
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
|
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
|
||||||
draggable='false'
|
draggable='false'
|
||||||
>
|
>
|
||||||
@@ -202,7 +202,7 @@ class Main extends React.Component {
|
|||||||
<div styleName='slider-hitbox' />
|
<div styleName='slider-hitbox' />
|
||||||
</div>
|
</div>
|
||||||
<Detail
|
<Detail
|
||||||
style={{left: this.state.listWidth + 1}}
|
style={{left: this.state.listWidth}}
|
||||||
{..._.pick(this.props, [
|
{..._.pick(this.props, [
|
||||||
'dispatch',
|
'dispatch',
|
||||||
'data',
|
'data',
|
||||||
|
|||||||
@@ -11,15 +11,10 @@
|
|||||||
|
|
||||||
.slider
|
.slider
|
||||||
absolute top bottom
|
absolute top bottom
|
||||||
width 1px
|
width 0
|
||||||
background-color $ui-borderColor
|
|
||||||
border-width 0
|
|
||||||
border-style solid
|
|
||||||
border-color $ui-borderColor
|
|
||||||
|
|
||||||
.slider--active
|
.slider--active
|
||||||
@extend .slider
|
@extend .slider
|
||||||
background-color $ui-button--active-backgroundColor
|
|
||||||
|
|
||||||
.slider-hitbox
|
.slider-hitbox
|
||||||
absolute top bottom left right
|
absolute top bottom left right
|
||||||
@@ -32,10 +27,3 @@
|
|||||||
body[data-theme="dark"]
|
body[data-theme="dark"]
|
||||||
.root
|
.root
|
||||||
absolute top left bottom right
|
absolute top left bottom right
|
||||||
|
|
||||||
.slider
|
|
||||||
background-color $ui-dark-borderColor
|
|
||||||
border-color $ui-dark-borderColor
|
|
||||||
|
|
||||||
.slider--active
|
|
||||||
background-color $ui-button--active-backgroundColor
|
|
||||||
|
|||||||
Reference in New Issue
Block a user