1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-01-05 21:19:18 +00:00

fix button tooltip & popup menu style

This commit is contained in:
Rokt33r
2016-01-04 19:57:01 +09:00
parent 4e0e11a611
commit 08b0c43382
3 changed files with 12 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ othersMenu.append(new MenuItem({
}))
const BRAND_COLOR = '#18AF90'
const OSX = global.process.platform === 'darwin'
const editDeleteTutorialElement = (
<svg width='300' height='500' className='tutorial'>
@@ -318,6 +319,7 @@ export default class ArticleDetail extends React.Component {
disabled={!isUnsaved}
>
<i className='fa fa-fw fa-save'/>&nbsp;Save
<span className='tooltip' children={`Save Post (${OSX ? '⌘' : '^'} + S)`}/>
</button>
</div>

View File

@@ -186,7 +186,7 @@ export default class ArticleNavigator extends React.Component {
<div className='title'>Folders</div>
<button onClick={e => this.handleNewFolderButton(e)} className='addBtn'>
<i className='fa fa-fw fa-plus'/>
<span className='tooltip'>Create a new folder ({OSX === 'darwin' ? '⌘' : '^'} + Shift + n)</span>
<span className='tooltip'>Create a new folder ({OSX ? '⌘' : '^'} + Shift + n)</span>
</button>
{status.isTutorialOpen ? newFolderTutorialElement : null}