mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
fix style a little
This commit is contained in:
@@ -22,7 +22,7 @@ const clipboard = electron.clipboard
|
|||||||
const ipc = electron.ipcRenderer
|
const ipc = electron.ipcRenderer
|
||||||
const remote = electron.remote
|
const remote = electron.remote
|
||||||
|
|
||||||
const OSX = process.platform === 'darwin'
|
const OSX = global.process.platform === 'darwin'
|
||||||
const BRAND_COLOR = '#18AF90'
|
const BRAND_COLOR = '#18AF90'
|
||||||
|
|
||||||
const editDeleteTutorialElement = (
|
const editDeleteTutorialElement = (
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ export default class ArticleTopBar extends React.Component {
|
|||||||
{status.isTutorialOpen ? searchTutorialElement : null}
|
{status.isTutorialOpen ? searchTutorialElement : null}
|
||||||
|
|
||||||
<div className={'ArticleTopBar-left-control'}>
|
<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'/>
|
<i className='fa fa-plus'/>
|
||||||
<span className='tooltip'>New Post ({OSX ? '⌘' : '^'} + n)</span>
|
<span className='tooltip'>New Post ({OSX ? '⌘' : '^'} + n)</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ infoBtnActiveBgColor = #3A3A3A
|
|||||||
height 33px
|
height 33px
|
||||||
margin-top 13.5px
|
margin-top 13.5px
|
||||||
margin-left 10px
|
margin-left 10px
|
||||||
button
|
button.ArticleTopBar-left-control-new-post-button
|
||||||
background transparent
|
background transparent
|
||||||
font-size 20px
|
font-size 20px
|
||||||
border none
|
border none
|
||||||
@@ -146,6 +146,8 @@ infoBtnActiveBgColor = #3A3A3A
|
|||||||
color textColor
|
color textColor
|
||||||
.tooltip
|
.tooltip
|
||||||
tooltip()
|
tooltip()
|
||||||
|
margin-left -80px
|
||||||
|
margin-top 40px
|
||||||
&:hover
|
&:hover
|
||||||
.tooltip
|
.tooltip
|
||||||
opacity 1
|
opacity 1
|
||||||
@@ -170,7 +172,7 @@ infoBtnActiveBgColor = #3A3A3A
|
|||||||
.tooltip
|
.tooltip
|
||||||
tooltip()
|
tooltip()
|
||||||
margin-left -50px
|
margin-left -50px
|
||||||
margin-top 29px
|
margin-top 20px
|
||||||
&:hover
|
&:hover
|
||||||
background-color infoBtnActiveBgColor
|
background-color infoBtnActiveBgColor
|
||||||
.tooltip
|
.tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user