Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
enable tooltip-label of Preference
  • Loading branch information
sosukesuzuki committed Oct 21, 2017
commit 2aeb53920c813f61fee93f7cfe6efdec7d45832d
21 changes: 21 additions & 0 deletions browser/main/SideNav/SideNav.styl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,27 @@
width 43px
height 60px
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"]
.root, .root--folded
Expand Down
1 change: 1 addition & 0 deletions browser/main/SideNav/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class SideNav extends React.Component {
onClick={(e) => this.handleMenuButtonClick(e)}
>
<i className='fa fa-wrench fa-fw' />
<span styleName='top-menu-label'>Preferences</span>
</button>
</div>
</div>
Expand Down