1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix style a little

This commit is contained in:
Rokt33r
2016-01-02 05:24:42 +09:00
parent 00360c77d2
commit c36a46cad6
3 changed files with 6 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ const clipboard = electron.clipboard
const ipc = electron.ipcRenderer
const remote = electron.remote
const OSX = process.platform === 'darwin'
const OSX = global.process.platform === 'darwin'
const BRAND_COLOR = '#18AF90'
const editDeleteTutorialElement = (

View File

@@ -198,7 +198,7 @@ export default class ArticleTopBar extends React.Component {
{status.isTutorialOpen ? searchTutorialElement : null}
<div className={'ArticleTopBar-left-control'}>
<button onClick={e => this.handleNewPostButtonClick(e)}>
<button className='ArticleTopBar-left-control-new-post-button' onClick={e => this.handleNewPostButtonClick(e)}>
<i className='fa fa-plus'/>
<span className='tooltip'>New Post ({OSX ? '⌘' : '^'} + n)</span>
</button>

View File

@@ -123,7 +123,7 @@ infoBtnActiveBgColor = #3A3A3A
height 33px
margin-top 13.5px
margin-left 10px
button
button.ArticleTopBar-left-control-new-post-button
background transparent
font-size 20px
border none
@@ -146,6 +146,8 @@ infoBtnActiveBgColor = #3A3A3A
color textColor
.tooltip
tooltip()
margin-left -80px
margin-top 40px
&:hover
.tooltip
opacity 1
@@ -170,7 +172,7 @@ infoBtnActiveBgColor = #3A3A3A
.tooltip
tooltip()
margin-left -50px
margin-top 29px
margin-top 20px
&:hover
background-color infoBtnActiveBgColor
.tooltip