mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
enable tooltip-label of Preference
This commit is contained in:
@@ -75,6 +75,27 @@
|
|||||||
width 43px
|
width 43px
|
||||||
height 60px
|
height 60px
|
||||||
text-align center
|
text-align center
|
||||||
|
&:hover .top-menu-label
|
||||||
|
transition opacity 0.15s
|
||||||
|
opacity 1
|
||||||
|
.top-menu-label
|
||||||
|
position fixed
|
||||||
|
display inline-block
|
||||||
|
height 30px
|
||||||
|
left 43px
|
||||||
|
padding 0 10px
|
||||||
|
margin-top -8px
|
||||||
|
opacity 0
|
||||||
|
margin-left 0
|
||||||
|
overflow hidden
|
||||||
|
background-color $ui-tooltip-backgroundColor
|
||||||
|
z-index 10
|
||||||
|
color white
|
||||||
|
line-height 30px
|
||||||
|
border-top-right-radius 2px
|
||||||
|
border-bottom-right-radius 2px
|
||||||
|
pointer-events none
|
||||||
|
font-size 12px
|
||||||
|
|
||||||
body[data-theme="dark"]
|
body[data-theme="dark"]
|
||||||
.root, .root--folded
|
.root, .root--folded
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ class SideNav extends React.Component {
|
|||||||
onClick={(e) => this.handleMenuButtonClick(e)}
|
onClick={(e) => this.handleMenuButtonClick(e)}
|
||||||
>
|
>
|
||||||
<i className='fa fa-wrench fa-fw' />
|
<i className='fa fa-wrench fa-fw' />
|
||||||
|
<span styleName='top-menu-label'>Preferences</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user