mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
modify: remove tooltips
This commit is contained in:
@@ -39,8 +39,6 @@ $control-height = 30px
|
|||||||
color $ui-active-color
|
color $ui-active-color
|
||||||
&:hover
|
&:hover
|
||||||
color $ui-text-color
|
color $ui-text-color
|
||||||
.control-button-tooltip
|
|
||||||
opacity 1
|
|
||||||
|
|
||||||
.control-button--active
|
.control-button--active
|
||||||
@extend .control-button
|
@extend .control-button
|
||||||
@@ -48,17 +46,6 @@ $control-height = 30px
|
|||||||
&:hover
|
&:hover
|
||||||
color $ui-active-color
|
color $ui-active-color
|
||||||
|
|
||||||
.control-button-tooltip
|
|
||||||
tooltip()
|
|
||||||
position absolute
|
|
||||||
top 20px
|
|
||||||
right 5px
|
|
||||||
padding 5px
|
|
||||||
opacity 0
|
|
||||||
white-space nowrap
|
|
||||||
border-radius 2px
|
|
||||||
z-index 1
|
|
||||||
|
|
||||||
.list
|
.list
|
||||||
absolute left right bottom
|
absolute left right bottom
|
||||||
top $control-height
|
top $control-height
|
||||||
|
|||||||
@@ -395,9 +395,6 @@ class NoteList extends React.Component {
|
|||||||
onClick={(e) => this.handleListStyleButtonClick(e, 'DEFAULT')}
|
onClick={(e) => this.handleListStyleButtonClick(e, 'DEFAULT')}
|
||||||
>
|
>
|
||||||
<i className='fa fa-th-large'/>
|
<i className='fa fa-th-large'/>
|
||||||
<span styleName='control-button-tooltip'>
|
|
||||||
Default Size
|
|
||||||
</span>
|
|
||||||
</button>
|
</button>
|
||||||
<button styleName={config.listStyle === 'SMALL'
|
<button styleName={config.listStyle === 'SMALL'
|
||||||
? 'control-button--active'
|
? 'control-button--active'
|
||||||
@@ -406,9 +403,6 @@ class NoteList extends React.Component {
|
|||||||
onClick={(e) => this.handleListStyleButtonClick(e, 'SMALL')}
|
onClick={(e) => this.handleListStyleButtonClick(e, 'SMALL')}
|
||||||
>
|
>
|
||||||
<i className='fa fa-list-ul'/>
|
<i className='fa fa-list-ul'/>
|
||||||
<span styleName='control-button-tooltip'>
|
|
||||||
Small Size
|
|
||||||
</span>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div styleName='list'
|
<div styleName='list'
|
||||||
|
|||||||
Reference in New Issue
Block a user